Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::CreateCompanionAgentRequest.
Request of CreateCompanionAgent.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#companion_agent
def companion_agent() -> ::Google::Cloud::Dialogflow::V2::CompanionAgent
Returns
- (::Google::Cloud::Dialogflow::V2::CompanionAgent) — Required. The companion agent to create.
#companion_agent=
def companion_agent=(value) -> ::Google::Cloud::Dialogflow::V2::CompanionAgent
Parameter
- value (::Google::Cloud::Dialogflow::V2::CompanionAgent) — Required. The companion agent to create.
Returns
- (::Google::Cloud::Dialogflow::V2::CompanionAgent) — Required. The companion agent to create.
#companion_agent_id
def companion_agent_id() -> ::String
Returns
- (::String) — Optional. The resource ID of the companion agent to create. If not provided, the server will auto-generate a resource ID.
#companion_agent_id=
def companion_agent_id=(value) -> ::String
Parameter
- value (::String) — Optional. The resource ID of the companion agent to create. If not provided, the server will auto-generate a resource ID.
Returns
- (::String) — Optional. The resource ID of the companion agent to create. If not provided, the server will auto-generate a resource ID.
#parent
def parent() -> ::String
Returns
-
(::String) — Required. Resource identifier of the project creating the companion agent.
Format:
projects/{project}/locations/{location}
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. Resource identifier of the project creating the companion agent.
Format:
projects/{project}/locations/{location}
Returns
-
(::String) — Required. Resource identifier of the project creating the companion agent.
Format:
projects/{project}/locations/{location}