Class: Google::Apis::FirebaseV1beta1::WebApp

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

Details of a Firebase App for the web.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WebApp

Returns a new instance of WebApp.



1202
1203
1204
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1202

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

Instance Attribute Details

#app_idString

Immutable. The globally unique, Firebase-assigned identifier for the WebApp. This identifier should be treated as an opaque token, as the data format is not specified. Corresponds to the JSON property appId

Returns:

  • (String)


1162
1163
1164
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1162

def app_id
  @app_id
end

#app_urlsArray<String>

The URLs where the WebApp is hosted. Corresponds to the JSON property appUrls

Returns:

  • (Array<String>)


1167
1168
1169
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1167

def app_urls
  @app_urls
end

#display_nameString

The user-assigned display name for the WebApp. Corresponds to the JSON property displayName

Returns:

  • (String)


1172
1173
1174
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1172

def display_name
  @display_name
end

#nameString

The resource name of the WebApp, in the format: projects/PROJECT_IDENTIFIER / webApps/APP_ID * PROJECT_IDENTIFIER: the parent Project's ProjectNumber (recommended) or its ProjectId. Learn more about using project identifiers in Google's AIP 2510 standard. Note that the value for PROJECT_IDENTIFIER in any response body will be the ProjectId. * APP_ID: the globally unique, Firebase-assigned identifier for the App (see appId ). Corresponds to the JSON property name

Returns:

  • (String)


1185
1186
1187
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1185

def name
  @name
end

#project_idString

Immutable. A user-assigned unique identifier of the parent FirebaseProject for the WebApp. Corresponds to the JSON property projectId

Returns:

  • (String)


1191
1192
1193
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1191

def project_id
  @project_id
end

#web_idString

Output only. Immutable. A unique, Firebase-assigned identifier for the WebApp . This identifier is only used to populate the namespace value for the WebApp. For most use cases, use appId to identify or reference the App. The webId value is only unique within a FirebaseProject and its associated Apps. Corresponds to the JSON property webId

Returns:

  • (String)


1200
1201
1202
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1200

def web_id
  @web_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1207
1208
1209
1210
1211
1212
1213
1214
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1207

def update!(**args)
  @app_id = args[:app_id] if args.key?(:app_id)
  @app_urls = args[:app_urls] if args.key?(:app_urls)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @project_id = args[:project_id] if args.key?(:project_id)
  @web_id = args[:web_id] if args.key?(:web_id)
end