Class: Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppLinkDataAppLinkInfo

Returns a new instance of AppLinkDataAppLinkInfo.



204
205
206
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 204

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#app_logo_imageGoogle::Apis::WalletobjectsV1::Image

Wrapping type for Google hosted images. Next ID: 7 Corresponds to the JSON property appLogoImage



186
187
188
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 186

def app_logo_image
  @app_logo_image
end

#app_targetGoogle::Apis::WalletobjectsV1::AppLinkDataAppLinkInfoAppTarget

Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app. Corresponds to the JSON property appTarget



192
193
194
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 192

def app_target
  @app_target
end

#descriptionGoogle::Apis::WalletobjectsV1::LocalizedString

String to be displayed in the description of the App Link Module Required Corresponds to the JSON property description



197
198
199
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 197

def description
  @description
end

#titleGoogle::Apis::WalletobjectsV1::LocalizedString

String to be displayed in the title of the App Link Module Required Corresponds to the JSON property title



202
203
204
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 202

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



209
210
211
212
213
214
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 209

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