Class: Google::Apis::ConnectorsV2::ExecuteActionResponse

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 ActionService.ExecuteAction

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExecuteActionResponse

Returns a new instance of ExecuteActionResponse.



159
160
161
# File 'lib/google/apis/connectors_v2/classes.rb', line 159

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

Instance Attribute Details

#resultsArray<Hash<String,Object>>

In the case of successful invocation of the specified action, the results Struct contains values based on the response of the action invoked. 1. If the action execution produces any entities as a result, they are returned as an array of Structs with the 'key' being the field name and the 'value' being the value of that field in each result row. 'results': ['key': 'value', ...] Corresponds to the JSON property results

Returns:

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


157
158
159
# File 'lib/google/apis/connectors_v2/classes.rb', line 157

def results
  @results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



164
165
166
# File 'lib/google/apis/connectors_v2/classes.rb', line 164

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