Class: Google::Apis::ConnectorsV2::ExecuteToolResponse
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV2::ExecuteToolResponse
- 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
Response message for ConnectorAgentService.ExecuteTool
Instance Attribute Summary collapse
-
#_meta ⇒ Hash<String,Object>
Metadata for the tool execution result.
-
#metadata ⇒ Hash<String,Hash<String,Object>>
Metadata like service latency, etc.
-
#result ⇒ Hash<String,Object>
Output from the tool execution.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExecuteToolResponse
constructor
A new instance of ExecuteToolResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExecuteToolResponse
Returns a new instance of ExecuteToolResponse.
633 634 635 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 633 def initialize(**args) update!(**args) end |
Instance Attribute Details
#_meta ⇒ Hash<String,Object>
Metadata for the tool execution result.
Corresponds to the JSON property _meta
621 622 623 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 621 def @_meta end |
#metadata ⇒ Hash<String,Hash<String,Object>>
Metadata like service latency, etc.
Corresponds to the JSON property metadata
626 627 628 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 626 def @metadata end |
#result ⇒ Hash<String,Object>
Output from the tool execution.
Corresponds to the JSON property result
631 632 633 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 631 def result @result end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
638 639 640 641 642 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 638 def update!(**args) @_meta = args[:_meta] if args.key?(:_meta) @metadata = args[:metadata] if args.key?(:metadata) @result = args[:result] if args.key?(:result) end |