Class: Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfo
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/walletobjects_v1/classes.rb,
lib/google/apis/walletobjects_v1/representations.rb,
lib/google/apis/walletobjects_v1/representations.rb
Instance Attribute Summary collapse
-
#app_logo_image ⇒ Google::Apis::WalletobjectsV1::Image
Wrapping type for Google hosted images.
-
#app_target ⇒ Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfoAppTarget
Target to follow when opening the app link on clients.
-
#description ⇒ Google::Apis::WalletobjectsV1::LocalizedString
Deprecated.
-
#title ⇒ Google::Apis::WalletobjectsV1::LocalizedString
Deprecated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppLinkDataAppLinkInfo
constructor
A new instance of AppLinkDataAppLinkInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppLinkDataAppLinkInfo
Returns a new instance of AppLinkDataAppLinkInfo.
201 202 203 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 201 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_logo_image ⇒ Google::Apis::WalletobjectsV1::Image
Wrapping type for Google hosted images. Next ID: 7
Corresponds to the JSON property appLogoImage
183 184 185 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 183 def app_logo_image @app_logo_image end |
#app_target ⇒ Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfoAppTarget
Target to follow when opening the app link on clients. It will be used by
partners to open their app or webpage.
Corresponds to the JSON property appTarget
189 190 191 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 189 def app_target @app_target end |
#description ⇒ Google::Apis::WalletobjectsV1::LocalizedString
Deprecated. Description isn't supported in the app link module.
Corresponds to the JSON property description
194 195 196 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 194 def description @description end |
#title ⇒ Google::Apis::WalletobjectsV1::LocalizedString
Deprecated. Title isn't supported in the app link module.
Corresponds to the JSON property title
199 200 201 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 199 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
206 207 208 209 210 211 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 206 def update!(**args) @app_logo_image = args[:app_logo_image] if args.key?(:app_logo_image) @app_target = args[:app_target] if args.key?(:app_target) @description = args[:description] if args.key?(:description) @title = args[:title] if args.key?(:title) end |