Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/apigee_v1/classes.rb,
generated/google/apis/apigee_v1/representations.rb,
generated/google/apis/apigee_v1/representations.rb

Overview

This message type encapsulates additional information about query execution

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1Metadata

Returns a new instance of GoogleCloudApigeeV1Metadata.



2555
2556
2557
# File 'generated/google/apis/apigee_v1/classes.rb', line 2555

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

Instance Attribute Details

#errorsArray<String>

List of error messages as strings Corresponds to the JSON property errors

Returns:

  • (Array<String>)


2540
2541
2542
# File 'generated/google/apis/apigee_v1/classes.rb', line 2540

def errors
  @errors
end

#noticesArray<String>

List of additional information such as data source, if result was truncated etc. E.g "notices": [ "Source:Postgres", "PG Host:uappg0rw.e2e.apigeeks.net", "query served by:4b64601e-40de-4eb1-bfb9-eeee7ac929ed", "Table used: edge.api.uapgroup2.agg_api" ] Corresponds to the JSON property notices

Returns:

  • (Array<String>)


2553
2554
2555
# File 'generated/google/apis/apigee_v1/classes.rb', line 2553

def notices
  @notices
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2560
2561
2562
2563
# File 'generated/google/apis/apigee_v1/classes.rb', line 2560

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