Class: Google::Apis::FirebaseV1beta1::IosApp
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseV1beta1::IosApp
- 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 iOS.
Instance Attribute Summary collapse
-
#api_key_id ⇒ String
The key_id of the GCP ApiKey associated with this App.
-
#app_id ⇒ String
Immutable.
-
#app_store_id ⇒ String
The automatically generated Apple ID assigned to the iOS app by Apple in the iOS App Store.
-
#bundle_id ⇒ String
Immutable.
-
#display_name ⇒ String
The user-assigned display name for the
IosApp. -
#name ⇒ String
The resource name of the IosApp, in the format: projects/PROJECT_IDENTIFIER / iosApps/APP_ID * PROJECT_IDENTIFIER: the parent Project's
ProjectNumber(recommended) or itsProjectId. -
#project_id ⇒ String
Immutable.
-
#team_id ⇒ String
The Apple Developer Team ID associated with the App in the App Store.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IosApp
constructor
A new instance of IosApp.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IosApp
Returns a new instance of IosApp.
561 562 563 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 561 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
511 512 513 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 511 def api_key_id @api_key_id end |
#app_id ⇒ String
Immutable. The globally unique, Firebase-assigned identifier for the IosApp.
This identifier should be treated as an opaque token, as the data format is
not specified.
Corresponds to the JSON property appId
518 519 520 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 518 def app_id @app_id end |
#app_store_id ⇒ String
The automatically generated Apple ID assigned to the iOS app by Apple in the
iOS App Store.
Corresponds to the JSON property appStoreId
524 525 526 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 524 def app_store_id @app_store_id end |
#bundle_id ⇒ String
Immutable. The canonical bundle ID of the iOS app as it would appear in the
iOS AppStore.
Corresponds to the JSON property bundleId
530 531 532 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 530 def bundle_id @bundle_id end |
#display_name ⇒ String
The user-assigned display name for the IosApp.
Corresponds to the JSON property displayName
535 536 537 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 535 def display_name @display_name end |
#name ⇒ String
The resource name of the IosApp, in the format: projects/PROJECT_IDENTIFIER /
iosApps/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
548 549 550 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 548 def name @name end |
#project_id ⇒ String
Immutable. A user-assigned unique identifier of the parent FirebaseProject for
the IosApp.
Corresponds to the JSON property projectId
554 555 556 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 554 def project_id @project_id end |
#team_id ⇒ String
The Apple Developer Team ID associated with the App in the App Store.
Corresponds to the JSON property teamId
559 560 561 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 559 def team_id @team_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
566 567 568 569 570 571 572 573 574 575 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 566 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_store_id = args[:app_store_id] if args.key?(:app_store_id) @bundle_id = args[:bundle_id] if args.key?(:bundle_id) @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) @team_id = args[:team_id] if args.key?(:team_id) end |