Class: Google::Apis::ConnectorsV2::GetResourcePostRequest
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV2::GetResourcePostRequest
- 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
-
#execution_config ⇒ Google::Apis::ConnectorsV2::ExecutionConfig
execution config for the request.
-
#tool_spec ⇒ Google::Apis::ConnectorsV2::ToolSpec
List of tool specifications.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GetResourcePostRequest
constructor
A new instance of GetResourcePostRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_config ⇒ Google::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_spec ⇒ Google::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 |