Class: Google::Apis::FirebaseV1beta1::Location
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseV1beta1::Location
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebase_v1beta1/classes.rb,
lib/google/apis/firebase_v1beta1/representations.rb,
lib/google/apis/firebase_v1beta1/representations.rb
Overview
DEPRECATED. This Location is no longer used to determine Firebase resource locations. Instead, consult product documentation to determine valid locations for each resource used in your Project. A GCP resource location that can be selected for a FirebaseProject.
Instance Attribute Summary collapse
-
#features ⇒ Array<String>
Products and services that are available in the GCP resource location.
-
#location_id ⇒ String
The ID of the GCP resource location.
-
#type ⇒ String
Indicates whether the GCP resource location is a regional or multi-regional location for data replication.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Location
constructor
A new instance of Location.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Location
Returns a new instance of Location.
982 983 984 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 982 def initialize(**args) update!(**args) end |
Instance Attribute Details
#features ⇒ Array<String>
Products and services that are available in the GCP resource location.
Corresponds to the JSON property features
967 968 969 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 967 def features @features end |
#location_id ⇒ String
The ID of the GCP resource location. It will be one of the available GCP
resource locations.
Corresponds to the JSON property locationId
973 974 975 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 973 def location_id @location_id end |
#type ⇒ String
Indicates whether the GCP resource location is a regional or multi-regional
location for data
replication.
Corresponds to the JSON property type
980 981 982 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 980 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
987 988 989 990 991 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 987 def update!(**args) @features = args[:features] if args.key?(:features) @location_id = args[:location_id] if args.key?(:location_id) @type = args[:type] if args.key?(:type) end |