Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::CompanionAgent.
Companion agent.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#ces_tool_specs
def ces_tool_specs() -> ::Array<::Google::Cloud::Dialogflow::V2::CesToolSpec>
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::CesToolSpec>) — Optional. List of CES tool specs that the companion agent can choose from.
#ces_tool_specs=
def ces_tool_specs=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::CesToolSpec>
Parameter
- value (::Array<::Google::Cloud::Dialogflow::V2::CesToolSpec>) — Optional. List of CES tool specs that the companion agent can choose from.
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::CesToolSpec>) — Optional. List of CES tool specs that the companion agent can choose from.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Creation time of this companion agent.
#description
def description() -> ::String
Returns
- (::String) — Optional. Description for the companion agent.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — Optional. Description for the companion agent.
Returns
- (::String) — Optional. Description for the companion agent.
#display_name
def display_name() -> ::String
Returns
- (::String) — Optional. Display name for the companion agent. Character limit is 63.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Optional. Display name for the companion agent. Character limit is 63.
Returns
- (::String) — Optional. Display name for the companion agent. Character limit is 63.
#name
def name() -> ::String
Returns
-
(::String) — Identifier. The unique identifier of the companion agent.
Format:
projects/{project}/locations/{location}/companionAgents/{companion_agent}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Identifier. The unique identifier of the companion agent.
Format:
projects/{project}/locations/{location}/companionAgents/{companion_agent}
Returns
-
(::String) — Identifier. The unique identifier of the companion agent.
Format:
projects/{project}/locations/{location}/companionAgents/{companion_agent}
#skill_configs
def skill_configs() -> ::Array<::Google::Cloud::Dialogflow::V2::CompanionAgent::SkillConfig>
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::CompanionAgent::SkillConfig>) — Optional. List of skill configs for the companion agent. Allows at most one instance of each SkillConfig type.
#skill_configs=
def skill_configs=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::CompanionAgent::SkillConfig>
Parameter
- value (::Array<::Google::Cloud::Dialogflow::V2::CompanionAgent::SkillConfig>) — Optional. List of skill configs for the companion agent. Allows at most one instance of each SkillConfig type.
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::CompanionAgent::SkillConfig>) — Optional. List of skill configs for the companion agent. Allows at most one instance of each SkillConfig type.
#toolset_tools
def toolset_tools() -> ::Array<::Google::Cloud::Dialogflow::V2::ToolsetTool>
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::ToolsetTool>) — Optional. List of CES toolset specs that the companion agent can choose from.
#toolset_tools=
def toolset_tools=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::ToolsetTool>
Parameter
- value (::Array<::Google::Cloud::Dialogflow::V2::ToolsetTool>) — Optional. List of CES toolset specs that the companion agent can choose from.
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::ToolsetTool>) — Optional. List of CES toolset specs that the companion agent can choose from.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Update time of this companion agent.