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.



207
208
209
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 207

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



189
190
191
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 189

def app_logo_image
  @app_logo_image
end

#app_targetGoogle::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



195
196
197
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 195

def app_target
  @app_target
end

#descriptionGoogle::Apis::WalletobjectsV1::LocalizedString

Deprecated. Description isn't supported in the app link module. Corresponds to the JSON property description



200
201
202
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 200

def description
  @description
end

#titleGoogle::Apis::WalletobjectsV1::LocalizedString

Deprecated. Title isn't supported in the app link module. Corresponds to the JSON property title



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

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



212
213
214
215
216
217
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 212

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