Class: Google::Apis::FirebaseV1beta1::WebApp
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseV1beta1::WebApp
- 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
Details of a Firebase App for the web.
Instance Attribute Summary collapse
-
#api_key_id ⇒ String
The key_id of the GCP ApiKey associated with this App.
-
#app_id ⇒ String
Immutable.
-
#app_urls ⇒ Array<String>
The URLs where the
WebAppis hosted. -
#display_name ⇒ String
The user-assigned display name for the
WebApp. -
#name ⇒ String
The resource name of the WebApp, in the format: projects/PROJECT_IDENTIFIER / webApps/APP_ID * PROJECT_IDENTIFIER: the parent Project's
ProjectNumber(recommended) or itsProjectId. -
#project_id ⇒ String
Immutable.
-
#web_id ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WebApp
constructor
A new instance of WebApp.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WebApp
Returns a new instance of WebApp.
1225 1226 1227 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1225 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_key_id ⇒ String
The key_id of the GCP ApiKey associated with this App. If set must have no
restrictions, or only have restrictions that are valid for the associated
Firebase App. Cannot be set in create requests, instead an existing valid API
Key will be chosen, or if no valid API Keys exist, one will be provisioned for
you. Cannot be set to an empty value in update requests.
Corresponds to the JSON property apiKeyId
1178 1179 1180 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1178 def api_key_id @api_key_id end |
#app_id ⇒ String
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
1185 1186 1187 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1185 def app_id @app_id end |
#app_urls ⇒ Array<String>
The URLs where the WebApp is hosted.
Corresponds to the JSON property appUrls
1190 1191 1192 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1190 def app_urls @app_urls end |
#display_name ⇒ String
The user-assigned display name for the WebApp.
Corresponds to the JSON property displayName
1195 1196 1197 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1195 def display_name @display_name end |
#name ⇒ String
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
1208 1209 1210 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1208 def name @name end |
#project_id ⇒ String
Immutable. A user-assigned unique identifier of the parent FirebaseProject for
the WebApp.
Corresponds to the JSON property projectId
1214 1215 1216 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1214 def project_id @project_id end |
#web_id ⇒ String
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
1223 1224 1225 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1223 def web_id @web_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1230 1231 1232 1233 1234 1235 1236 1237 1238 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 1230 def update!(**args) @api_key_id = args[:api_key_id] if args.key?(:api_key_id) @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 |