Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResultView
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResultView
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb
Instance Attribute Summary collapse
-
#code ⇒ Fixnum
Error code when there is a failure.
-
#error ⇒ String
Error message when there is a failure.
-
#metadata ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetadata
Metadata contains information like metrics, dimenstions etc of the AsyncQuery.
-
#rows ⇒ Array<Object>
Rows of query result.
-
#state ⇒ String
State of retrieving ResultView.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1AsyncQueryResultView
constructor
A new instance of GoogleCloudApigeeV1AsyncQueryResultView.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1AsyncQueryResultView
Returns a new instance of GoogleCloudApigeeV1AsyncQueryResultView.
1581 1582 1583 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1581 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ Fixnum
Error code when there is a failure.
Corresponds to the JSON property code
1558 1559 1560 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1558 def code @code end |
#error ⇒ String
Error message when there is a failure.
Corresponds to the JSON property error
1563 1564 1565 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1563 def error @error end |
#metadata ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetadata
Metadata contains information like metrics, dimenstions etc of the AsyncQuery.
Corresponds to the JSON property metadata
1568 1569 1570 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1568 def @metadata end |
#rows ⇒ Array<Object>
Rows of query result. Each row is a JSON object. Example: sum(message_count):
1, developer_app: "(not set)",…
Corresponds to the JSON property rows
1574 1575 1576 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1574 def rows @rows end |
#state ⇒ String
State of retrieving ResultView.
Corresponds to the JSON property state
1579 1580 1581 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1579 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1586 1587 1588 1589 1590 1591 1592 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1586 def update!(**args) @code = args[:code] if args.key?(:code) @error = args[:error] if args.key?(:error) @metadata = args[:metadata] if args.key?(:metadata) @rows = args[:rows] if args.key?(:rows) @state = args[:state] if args.key?(:state) end |