Class: Google::Apis::AdmobV1beta::AppLinkedAppInfo
- Inherits:
-
Object
- Object
- Google::Apis::AdmobV1beta::AppLinkedAppInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/admob_v1beta/classes.rb,
generated/google/apis/admob_v1beta/representations.rb,
generated/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.
155 156 157 |
# File 'generated/google/apis/admob_v1beta/classes.rb', line 155 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
147 148 149 |
# File 'generated/google/apis/admob_v1beta/classes.rb', line 147 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
153 154 155 |
# File 'generated/google/apis/admob_v1beta/classes.rb', line 153 def display_name @display_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
160 161 162 163 |
# File 'generated/google/apis/admob_v1beta/classes.rb', line 160 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 |