Class: Google::Apis::AdmobV1::AppLinkedAppInfo
- Inherits:
-
Object
- Object
- Google::Apis::AdmobV1::AppLinkedAppInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admob_v1/classes.rb,
lib/google/apis/admob_v1/representations.rb,
lib/google/apis/admob_v1/representations.rb
Overview
Information from the app store if the app is linked to an app store.
Instance Attribute Summary collapse
-
#app_store_id ⇒ String
The app store ID of the app; present if and only if the app is linked to an app store.
-
#display_name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppLinkedAppInfo
constructor
A new instance of AppLinkedAppInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppLinkedAppInfo
Returns a new instance of AppLinkedAppInfo.
157 158 159 |
# File 'lib/google/apis/admob_v1/classes.rb', line 157 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_store_id ⇒ String
The app store ID of the app; present if and only if the app is linked to an
app store. If the app is added to the Google Play store, it will be the
application ID of the app. For example: "com.example.myapp". See https://
developer.android.com/studio/build/application-id. If the app is added to the
Apple App Store, it will be app store ID. For example "105169111". Note that
setting the app store id is considered an irreversible action. Once an app is
linked, it cannot be unlinked.
Corresponds to the JSON property appStoreId
149 150 151 |
# File 'lib/google/apis/admob_v1/classes.rb', line 149 def app_store_id @app_store_id end |
#display_name ⇒ String
Output only. Display name of the app as it appears in the app store. This is
an output-only field, and may be empty if the app cannot be found in the store.
Corresponds to the JSON property displayName
155 156 157 |
# File 'lib/google/apis/admob_v1/classes.rb', line 155 def display_name @display_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
162 163 164 165 |
# File 'lib/google/apis/admob_v1/classes.rb', line 162 def update!(**args) @app_store_id = args[:app_store_id] if args.key?(:app_store_id) @display_name = args[:display_name] if args.key?(:display_name) end |