Class: Google::Apis::BigqueryV2::LocationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::LocationMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/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.
Constructor Details
#initialize(**args) ⇒ LocationMetadata
Returns a new instance of LocationMetadata.
6843 6844 6845 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6843 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
6841 6842 6843 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6841 def legacy_location_id @legacy_location_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6848 6849 6850 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 6848 def update!(**args) @legacy_location_id = args[:legacy_location_id] if args.key?(:legacy_location_id) end |