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.



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

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



183
184
185
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 183

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



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

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



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

def description
  @description
end

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