Class: Google::Cloud::Dialogflow::V2::CreateToolRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::CreateToolRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/tool.rb
Overview
Request message of CreateTool.
Instance Attribute Summary collapse
-
#parent ⇒ ::String
Required.
-
#tool ⇒ ::Google::Cloud::Dialogflow::V2::Tool
Required.
-
#tool_id ⇒ ::String
Optional.
Instance Attribute Details
#parent ⇒ ::String
Returns Required. The project/location to create tool for. Format:
projects/<Project ID>/locations/<Location ID>.
44 45 46 47 |
# File 'proto_docs/google/cloud/dialogflow/v2/tool.rb', line 44 class CreateToolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#tool ⇒ ::Google::Cloud::Dialogflow::V2::Tool
Returns Required. The tool to create.
44 45 46 47 |
# File 'proto_docs/google/cloud/dialogflow/v2/tool.rb', line 44 class CreateToolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#tool_id ⇒ ::String
Returns Optional. The ID to use for the tool, which will become the final component of the tool's resource name.
The tool ID must be compliant with the regression formula
[a-zA-Z][a-zA-Z0-9_-]* with the characters length in range of [3,64].
If the field is not provide, an Id will be auto-generated.
If the field is provided, the caller is responsible for
- the uniqueness of the ID, otherwise the request will be rejected.
- the consistency for whether to use custom ID or not under a project to better ensure uniqueness.
44 45 46 47 |
# File 'proto_docs/google/cloud/dialogflow/v2/tool.rb', line 44 class CreateToolRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |