Class: Google::Apis::ConnectorsV2::ToolSpec

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_definitionsArray<Hash<String,Object>>

List of tool definitions. Corresponds to the JSON property toolDefinitions

Returns:

  • (Array<Hash<String,Object>>)


2486
2487
2488
# File 'lib/google/apis/connectors_v2/classes.rb', line 2486

def tool_definitions
  @tool_definitions
end

#tool_spec_versionString

Version of the tool spec. Format: providerId/connectorId/versionId/toolSpecId Corresponds to the JSON property toolSpecVersion

Returns:

  • (String)


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