Class: Google::Apis::CesV1::RetrieveToolSchemaRequest
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::RetrieveToolSchemaRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb
Overview
Request message for ToolService.RetrieveToolSchema.
Instance Attribute Summary collapse
-
#tool ⇒ String
Optional.
-
#toolset_tool ⇒ Google::Apis::CesV1::ToolsetTool
A tool that is created from a toolset.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RetrieveToolSchemaRequest
constructor
A new instance of RetrieveToolSchemaRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RetrieveToolSchemaRequest
Returns a new instance of RetrieveToolSchemaRequest.
5416 5417 5418 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5416 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tool ⇒ String
Optional. The name of the tool to retrieve the schema for. Format: projects/
project/locations/location/apps/app/tools/tool
Corresponds to the JSON property tool
5409 5410 5411 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5409 def tool @tool end |
#toolset_tool ⇒ Google::Apis::CesV1::ToolsetTool
A tool that is created from a toolset.
Corresponds to the JSON property toolsetTool
5414 5415 5416 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5414 def toolset_tool @toolset_tool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5421 5422 5423 5424 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5421 def update!(**args) @tool = args[:tool] if args.key?(:tool) @toolset_tool = args[:toolset_tool] if args.key?(:toolset_tool) end |