Class: Google::Apis::FirebaseV1beta1::AndroidApp
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseV1beta1::AndroidApp
- 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 Android.
Instance Attribute Summary collapse
-
#app_id ⇒ String
Immutable.
-
#display_name ⇒ String
The user-assigned display name for the
AndroidApp
. -
#name ⇒ String
The resource name of the AndroidApp, in the format: projects/ PROJECT_IDENTIFIER/androidApps/APP_ID * PROJECT_IDENTIFIER: the parent Project' s
ProjectNumber
( recommended) or itsProjectId
. -
#package_name ⇒ String
Immutable.
-
#project_id ⇒ String
Immutable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AndroidApp
constructor
A new instance of AndroidApp.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AndroidApp
Returns a new instance of AndroidApp.
243 244 245 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 243 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_id ⇒ String
Immutable. The globally unique, Firebase-assigned identifier for the
AndroidApp
. This identifier should be treated as an opaque token, as the data
format is not specified.
Corresponds to the JSON property appId
211 212 213 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 211 def app_id @app_id end |
#display_name ⇒ String
The user-assigned display name for the AndroidApp
.
Corresponds to the JSON property displayName
216 217 218 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 216 def display_name @display_name end |
#name ⇒ String
The resource name of the AndroidApp, in the format: projects/
PROJECT_IDENTIFIER/androidApps/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
229 230 231 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 229 def name @name end |
#package_name ⇒ String
Immutable. The canonical package name of the Android app as would appear in
the Google Play Developer Console.
Corresponds to the JSON property packageName
235 236 237 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 235 def package_name @package_name end |
#project_id ⇒ String
Immutable. A user-assigned unique identifier of the parent FirebaseProject for
the AndroidApp
.
Corresponds to the JSON property projectId
241 242 243 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 241 def project_id @project_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
248 249 250 251 252 253 254 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 248 def update!(**args) @app_id = args[:app_id] if args.key?(:app_id) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @package_name = args[:package_name] if args.key?(:package_name) @project_id = args[:project_id] if args.key?(:project_id) end |