Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata
- 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
Overview
Encapsulates additional information about query execution.
Instance Attribute Summary collapse
-
#errors ⇒ Array<String>
List of error messages as strings.
-
#notices ⇒ Array<String>
List of additional information such as data source, if result was truncated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1Metadata
constructor
A new instance of GoogleCloudApigeeV1Metadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1Metadata
Returns a new instance of GoogleCloudApigeeV1Metadata.
6587 6588 6589 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6587 def initialize(**args) update!(**args) end |
Instance Attribute Details
#errors ⇒ Array<String>
List of error messages as strings.
Corresponds to the JSON property errors
6577 6578 6579 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6577 def errors @errors end |
#notices ⇒ Array<String>
List of additional information such as data source, if result was truncated.
For example: "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
6585 6586 6587 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6585 def notices @notices end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6592 6593 6594 6595 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 6592 def update!(**args) @errors = args[:errors] if args.key?(:errors) @notices = args[:notices] if args.key?(:notices) end |