Class: Google::Apis::FirebaseV1beta1::AddFirebaseRequest
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseV1beta1::AddFirebaseRequest
- 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
All fields are required.
Instance Attribute Summary collapse
-
#location_id ⇒ String
Deprecated.
-
#region_code ⇒ String
The region code (CLDR) that the account will use for Firebase Analytics data.
-
#time_zone ⇒ String
The time zone that the account will use for Firebase Analytics data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddFirebaseRequest
constructor
A new instance of AddFirebaseRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AddFirebaseRequest
Returns a new instance of AddFirebaseRequest
54 55 56 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 54 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location_id ⇒ String
Deprecated. Instead, call FinalizeDefaultLocation after you add
Firebase services to your project.
The ID of the project's Cloud resource location. The location should be
one of the AppEngine locations defined here:
https://cloud.google.com/appengine/docs/locations
Corresponds to the JSON property locationId
37 38 39 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 37 def location_id @location_id end |
#region_code ⇒ String
The region code (CLDR) that the account will use for Firebase Analytics
data.
For example: US, GB, or DE
In Java, use com.google.i18n.identifiers.RegionCode.
Corresponds to the JSON property regionCode
46 47 48 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 46 def region_code @region_code end |
#time_zone ⇒ String
The time zone that the account will use for Firebase Analytics data.
For example: America/Los_Angeles or Africa/Abidjan
Corresponds to the JSON property timeZone
52 53 54 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 52 def time_zone @time_zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
59 60 61 62 63 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 59 def update!(**args) @location_id = args[:location_id] if args.key?(:location_id) @region_code = args[:region_code] if args.key?(:region_code) @time_zone = args[:time_zone] if args.key?(:time_zone) end |