Class: Google::Apis::FirebaseV1beta1::WebApp
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseV1beta1::WebApp
- 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
-
#app_id ⇒ String
Immutable.
-
#app_urls ⇒ Array<String>
The fully qualified URLs where the App is hosted.
-
#display_name ⇒ String
The user-assigned display name of the App.
-
#name ⇒ String
The fully qualified resource name of the App, for example:
projects/projectId/webApps/appId
Corresponds to the JSON propertyname
. -
#project_id ⇒ String
The globally unique, user-assigned ID of the parent Project for the App.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WebApp
constructor
A new instance of WebApp.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ WebApp
Returns a new instance of WebApp.
1265 1266 1267 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1265 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_id ⇒ String
Immutable. The globally unique, Firebase-assigned identifier of the App.
This identifier should be treated as an opaque token, as the data
format is not specified.
Corresponds to the JSON property appId
1242 1243 1244 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1242 def app_id @app_id end |
#app_urls ⇒ Array<String>
The fully qualified URLs where the App is hosted.
Corresponds to the JSON property appUrls
1247 1248 1249 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1247 def app_urls @app_urls end |
#display_name ⇒ String
The user-assigned display name of the App.
Corresponds to the JSON property displayName
1252 1253 1254 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1252 def display_name @display_name end |
#name ⇒ String
The fully qualified resource name of the App, for example:
projects/projectId/webApps/appId
Corresponds to the JSON property name
1258 1259 1260 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1258 def name @name end |
#project_id ⇒ String
The globally unique, user-assigned ID of the parent Project for the App.
Corresponds to the JSON property projectId
1263 1264 1265 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1263 def project_id @project_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1270 1271 1272 1273 1274 1275 1276 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1270 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) end |