Class: Google::Apis::FirebaseV1beta1::AdminSdkConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AdminSdkConfig

Returns a new instance of AdminSdkConfig.



129
130
131
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 129

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

Instance Attribute Details

#database_urlString

The default Firebase Realtime Database URL. Corresponds to the JSON property databaseURL

Returns:

  • (String)


104
105
106
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 104

def database_url
  @database_url
end

#location_idString

The ID of the Project's default GCP resource location. The location is one of the available GCP resource locations. This field is omitted if the default GCP resource location has not been finalized yet. To set a Project's default GCP resource location, call FinalizeDefaultLocation after you add Firebase resources to the Project. Corresponds to the JSON property locationId

Returns:

  • (String)


114
115
116
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 114

def location_id
  @location_id
end

#project_idString

Immutable. A user-assigned unique identifier for the FirebaseProject. This identifier may appear in URLs or names for some Firebase resources associated with the Project, but it should generally be treated as a convenience alias to reference the Project. Corresponds to the JSON property projectId

Returns:

  • (String)


122
123
124
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 122

def project_id
  @project_id
end

#storage_bucketString

The default Cloud Storage for Firebase storage bucket name. Corresponds to the JSON property storageBucket

Returns:

  • (String)


127
128
129
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 127

def storage_bucket
  @storage_bucket
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



134
135
136
137
138
139
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 134

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