Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResultView

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1AsyncQueryResultView

Returns a new instance of GoogleCloudApigeeV1AsyncQueryResultView.



1185
1186
1187
# File 'lib/google/apis/apigee_v1/classes.rb', line 1185

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

Instance Attribute Details

#codeFixnum

Error code when there is a failure. Corresponds to the JSON property code

Returns:

  • (Fixnum)


1162
1163
1164
# File 'lib/google/apis/apigee_v1/classes.rb', line 1162

def code
  @code
end

#errorString

Error message when there is a failure. Corresponds to the JSON property error

Returns:

  • (String)


1167
1168
1169
# File 'lib/google/apis/apigee_v1/classes.rb', line 1167

def error
  @error
end

#metadataGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetadata

Metadata contains information like metrics, dimenstions etc of the AsyncQuery. Corresponds to the JSON property metadata



1172
1173
1174
# File 'lib/google/apis/apigee_v1/classes.rb', line 1172

def 
  @metadata
end

#rowsArray<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

Returns:

  • (Array<Object>)


1178
1179
1180
# File 'lib/google/apis/apigee_v1/classes.rb', line 1178

def rows
  @rows
end

#stateString

State of retrieving ResultView. Corresponds to the JSON property state

Returns:

  • (String)


1183
1184
1185
# File 'lib/google/apis/apigee_v1/classes.rb', line 1183

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1190
1191
1192
1193
1194
1195
1196
# File 'lib/google/apis/apigee_v1/classes.rb', line 1190

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