Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::SetAgentRequest.
The request message for Agents.SetAgent.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#agent
def agent() -> ::Google::Cloud::Dialogflow::V2::Agent
Returns
- (::Google::Cloud::Dialogflow::V2::Agent) — Required. The agent to update.
#agent=
def agent=(value) -> ::Google::Cloud::Dialogflow::V2::Agent
Parameter
- value (::Google::Cloud::Dialogflow::V2::Agent) — Required. The agent to update.
Returns
- (::Google::Cloud::Dialogflow::V2::Agent) — Required. The agent to update.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::Google::Protobuf::FieldMask) — Optional. The mask to control which fields get updated.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::Google::Protobuf::FieldMask) — Optional. The mask to control which fields get updated.
Returns
- (::Google::Protobuf::FieldMask) — Optional. The mask to control which fields get updated.