Class: Google::Apis::FirebaseV1beta1::Location

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

A GCP resource location that can be selected for a Project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Location

Returns a new instance of Location



801
802
803
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 801

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

Instance Attribute Details

#location_idString

The ID of the default GCP resource location. It must be one of the available GCP resource locations. Corresponds to the JSON property locationId

Returns:

  • (String)


799
800
801
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 799

def location_id
  @location_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



806
807
808
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 806

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