Class: Google::Apis::BigqueryreservationV1beta1::LocationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryreservationV1beta1::LocationMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/bigqueryreservation_v1beta1/classes.rb,
generated/google/apis/bigqueryreservation_v1beta1/representations.rb,
generated/google/apis/bigqueryreservation_v1beta1/representations.rb
Overview
BigQuery-specific metadata about a location. This will be set on google.cloud.location.Location.metadata in Cloud Location API responses.
Instance Attribute Summary collapse
-
#legacy_location_id ⇒ String
The legacy BigQuery location ID, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LocationMetadata
constructor
A new instance of LocationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LocationMetadata
Returns a new instance of LocationMetadata
314 315 316 |
# File 'generated/google/apis/bigqueryreservation_v1beta1/classes.rb', line 314 def initialize(**args) update!(**args) end |
Instance Attribute Details
#legacy_location_id ⇒ String
The legacy BigQuery location ID, e.g. “EU” for the “europe” location.
This is for any API consumers that need the legacy “US” and “EU” locations.
Corresponds to the JSON property legacyLocationId
312 313 314 |
# File 'generated/google/apis/bigqueryreservation_v1beta1/classes.rb', line 312 def legacy_location_id @legacy_location_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
319 320 321 |
# File 'generated/google/apis/bigqueryreservation_v1beta1/classes.rb', line 319 def update!(**args) @legacy_location_id = args[:legacy_location_id] if args.key?(:legacy_location_id) end |