Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::ToolsetTool.
A tool that is created from a toolset.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#confirmation_requirement
def confirmation_requirement() -> ::Google::Cloud::Dialogflow::V2::Tool::ConfirmationRequirement
Returns
- (::Google::Cloud::Dialogflow::V2::Tool::ConfirmationRequirement) — Optional. Indicates whether the tool requires human confirmation.
#confirmation_requirement=
def confirmation_requirement=(value) -> ::Google::Cloud::Dialogflow::V2::Tool::ConfirmationRequirement
Parameter
- value (::Google::Cloud::Dialogflow::V2::Tool::ConfirmationRequirement) — Optional. Indicates whether the tool requires human confirmation.
Returns
- (::Google::Cloud::Dialogflow::V2::Tool::ConfirmationRequirement) — Optional. Indicates whether the tool requires human confirmation.
#operation_id
def operation_id() -> ::String
Returns
- (::String) — Optional. The operationId field of the OpenAPI endpoint. The operationId must be present in the toolset's definition.
#operation_id=
def operation_id=(value) -> ::String
Parameter
- value (::String) — Optional. The operationId field of the OpenAPI endpoint. The operationId must be present in the toolset's definition.
Returns
- (::String) — Optional. The operationId field of the OpenAPI endpoint. The operationId must be present in the toolset's definition.
#toolset
def toolset() -> ::String
Returns
-
(::String) — Required. The name of the toolset to retrieve the schema for.
Format:
projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}
#toolset=
def toolset=(value) -> ::String
Parameter
-
value (::String) — Required. The name of the toolset to retrieve the schema for.
Format:
projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}
Returns
-
(::String) — Required. The name of the toolset to retrieve the schema for.
Format:
projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}