Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::CreateCompanionAgentRequest (v1.18.0)

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

#companion_agent=

def companion_agent=(value) -> ::Google::Cloud::Dialogflow::V2::CompanionAgent
Parameter
Returns

#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}