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
1251 1252 1253 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1251 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
1228 1229 1230 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1228 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
1233 1234 1235 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1233 def app_urls @app_urls end |
#display_name ⇒ String
The user-assigned display name of the App.
Corresponds to the JSON property displayName
1238 1239 1240 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1238 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
1244 1245 1246 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1244 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
1249 1250 1251 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1249 def project_id @project_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1256 1257 1258 1259 1260 1261 1262 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1256 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 |