Class: Google::Apis::AdmobV1beta::AppLinkedAppInfo
- Inherits:
-
Object
- Object
- Google::Apis::AdmobV1beta::AppLinkedAppInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admob_v1beta/classes.rb,
lib/google/apis/admob_v1beta/representations.rb,
lib/google/apis/admob_v1beta/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.
187 188 189 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 187 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
179 180 181 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 179 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
185 186 187 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 185 def display_name @display_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
192 193 194 195 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 192 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 |