Class: Google::Apis::FirebaseV1beta1::AddFirebaseRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AddFirebaseRequest

Returns a new instance of AddFirebaseRequest.



56
57
58
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 56

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#location_idString

Deprecated. Instead, to set a Project's default GCP resource location, call FinalizeDefaultLocation after you add Firebase resources to the GCP Project. The ID of the Project's default GCP resource location. The location must be one of the available GCP resource locations. Corresponds to the JSON property locationId

Returns:

  • (String)


36
37
38
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 36

def location_id
  @location_id
end

#region_codeString

Deprecated. Instead, to link a Project with a Google Analytics account, call AddGoogleAnalytics after you add Firebase resources to the GCP Project. The region code (CLDR) that the account will use for Google Analytics data For example: US, GB, or DE In Java, use com.google.i18n.identifiers.RegionCode. Corresponds to the JSON property regionCode

Returns:

  • (String)


45
46
47
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 45

def region_code
  @region_code
end

#time_zoneString

Deprecated. Instead, to link a Project with a Google Analytics account, call AddGoogleAnalytics after you add Firebase resources to the GCP Project. The time zone that the account will use for Google Analytics data. For example: America/Los_Angeles or Africa/ Abidjan Corresponds to the JSON property timeZone

Returns:

  • (String)


54
55
56
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 54

def time_zone
  @time_zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



61
62
63
64
65
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 61

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