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

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

All fields are required.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AddFirebaseRequest

Returns a new instance of AddFirebaseRequest.



38
39
40
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 38

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 'lib/google/apis/firebase_v1beta1/classes.rb', line 36

def location_id
  @location_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



43
44
45
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 43

def update!(**args)
  @location_id = args[:location_id] if args.key?(:location_id)
end