Class: Google::Apis::ConnectorsV2::GetResourcePostRequest

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

Overview

Request message for ConnectorAgentService.GetResourcePost

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GetResourcePostRequest

Returns a new instance of GetResourcePostRequest.



792
793
794
# File 'lib/google/apis/connectors_v2/classes.rb', line 792

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

Instance Attribute Details

#execution_configGoogle::Apis::ConnectorsV2::ExecutionConfig

execution config for the request. Corresponds to the JSON property executionConfig



785
786
787
# File 'lib/google/apis/connectors_v2/classes.rb', line 785

def execution_config
  @execution_config
end

#tool_specGoogle::Apis::ConnectorsV2::ToolSpec

List of tool specifications. Corresponds to the JSON property toolSpec



790
791
792
# File 'lib/google/apis/connectors_v2/classes.rb', line 790

def tool_spec
  @tool_spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



797
798
799
800
# File 'lib/google/apis/connectors_v2/classes.rb', line 797

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