Class: Google::Apis::ConnectorsV2::ExecuteToolResponse

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

Response message for ConnectorAgentService.ExecuteTool

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#_metaHash<String,Object>

Metadata for the tool execution result. Corresponds to the JSON property _meta

Returns:

  • (Hash<String,Object>)


621
622
623
# File 'lib/google/apis/connectors_v2/classes.rb', line 621

def _meta
  @_meta
end

#metadataHash<String,Hash<String,Object>>

Metadata like service latency, etc. Corresponds to the JSON property metadata

Returns:

  • (Hash<String,Hash<String,Object>>)


626
627
628
# File 'lib/google/apis/connectors_v2/classes.rb', line 626

def 
  @metadata
end

#resultHash<String,Object>

Output from the tool execution. Corresponds to the JSON property result

Returns:

  • (Hash<String,Object>)


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