Class: Google::Apis::FirebaseV1beta1::Location
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseV1beta1::Location
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/firebase_v1beta1/classes.rb,
generated/google/apis/firebase_v1beta1/representations.rb,
generated/google/apis/firebase_v1beta1/representations.rb
Overview
A GCP resource location that can be selected for a Project.
Instance Attribute Summary collapse
-
#location_id ⇒ String
The ID of the default GCP resource location.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Location
constructor
A new instance of Location.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Location
Returns a new instance of Location
806 807 808 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 806 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location_id ⇒ String
The ID of the default GCP resource location. It must be one of the
available
GCP resource
locations.
Corresponds to the JSON property locationId
804 805 806 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 804 def location_id @location_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
811 812 813 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 811 def update!(**args) @location_id = args[:location_id] if args.key?(:location_id) end |