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.



189
190
191
# File 'lib/google/apis/connectors_v2/classes.rb', line 189

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>>)


187
188
189
# File 'lib/google/apis/connectors_v2/classes.rb', line 187

def results
  @results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



194
195
196
# File 'lib/google/apis/connectors_v2/classes.rb', line 194

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