Class: Google::Apis::ConnectorsV2::ToolSpec
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV2::ToolSpec
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v2/classes.rb,
lib/google/apis/connectors_v2/representations.rb,
lib/google/apis/connectors_v2/representations.rb
Instance Attribute Summary collapse
-
#tool_definitions ⇒ Array<Hash<String,Object>>
List of tool definitions.
-
#tool_spec_version ⇒ String
Version of the tool spec.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ToolSpec
constructor
A new instance of ToolSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ToolSpec
Returns a new instance of ToolSpec.
2493 2494 2495 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 2493 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tool_definitions ⇒ Array<Hash<String,Object>>
List of tool definitions.
Corresponds to the JSON property toolDefinitions
2486 2487 2488 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 2486 def tool_definitions @tool_definitions end |
#tool_spec_version ⇒ String
Version of the tool spec. Format: providerId/connectorId/versionId/toolSpecId
Corresponds to the JSON property toolSpecVersion
2491 2492 2493 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 2491 def tool_spec_version @tool_spec_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2498 2499 2500 2501 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 2498 def update!(**args) @tool_definitions = args[:tool_definitions] if args.key?(:tool_definitions) @tool_spec_version = args[:tool_spec_version] if args.key?(:tool_spec_version) end |