Class: Google::Apis::ConnectorsV2::ExecuteSqlQueryResponse
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV2::ExecuteSqlQueryResponse
- 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
A response returned by the connection after executing the sql query.
Instance Attribute Summary collapse
-
#results ⇒ Array<Hash<String,Object>>
In the case of successful execution of the query the response contains results returned by the external system.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExecuteSqlQueryResponse
constructor
A new instance of ExecuteSqlQueryResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExecuteSqlQueryResponse
Returns a new instance of ExecuteSqlQueryResponse.
204 205 206 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 204 def initialize(**args) update!(**args) end |
Instance Attribute Details
#results ⇒ Array<Hash<String,Object>>
In the case of successful execution of the query the response contains results
returned by the external system. For example, the result rows of the query are
contained in the 'results' Struct list - "results": [ "field1": "val1", "
field2": "val2",..,.. ] Each Struct row can contain fields any type of like
nested Structs or lists.
Corresponds to the JSON property results
202 203 204 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 202 def results @results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
209 210 211 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 209 def update!(**args) @results = args[:results] if args.key?(:results) end |