Class: Google::Apis::ConnectorsV2::GenerateCustomToolspecResponse

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) ⇒ GenerateCustomToolspecResponse

Returns a new instance of GenerateCustomToolspecResponse.



768
769
770
# File 'lib/google/apis/connectors_v2/classes.rb', line 768

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#tool_specGoogle::Apis::ConnectorsV2::ToolSpec

tool spec that has tool_defitions array containing the tools for all sted tool_names. Corresponds to the JSON property toolSpec



766
767
768
# File 'lib/google/apis/connectors_v2/classes.rb', line 766

def tool_spec
  @tool_spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



773
774
775
# File 'lib/google/apis/connectors_v2/classes.rb', line 773

def update!(**args)
  @tool_spec = args[:tool_spec] if args.key?(:tool_spec)
end