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.
163 164 165 |
# File 'lib/google/apis/admob_v1/classes.rb', line 163 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
155 156 157 |
# File 'lib/google/apis/admob_v1/classes.rb', line 155 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
161 162 163 |
# File 'lib/google/apis/admob_v1/classes.rb', line 161 def display_name @display_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
168 169 170 171 |
# File 'lib/google/apis/admob_v1/classes.rb', line 168 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 |