Class: Google::Apis::ConnectorsV2::GenerateCustomToolspecRequest

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

Returns a new instance of GenerateCustomToolspecRequest.



748
749
750
# File 'lib/google/apis/connectors_v2/classes.rb', line 748

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

Instance Attribute Details

#tool_namesArray<Google::Apis::ConnectorsV2::ToolName>

list of tools to be generated. Corresponds to the JSON property toolNames



746
747
748
# File 'lib/google/apis/connectors_v2/classes.rb', line 746

def tool_names
  @tool_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



753
754
755
# File 'lib/google/apis/connectors_v2/classes.rb', line 753

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