Class: Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfoAppTarget
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::AppLinkDataAppLinkInfoAppTarget
- 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
-
#package_name ⇒ String
Package name for AppTarget.
-
#target_uri ⇒ Google::Apis::WalletobjectsV1::Uri
URI for AppTarget.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppLinkDataAppLinkInfoAppTarget
constructor
A new instance of AppLinkDataAppLinkInfoAppTarget.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppLinkDataAppLinkInfoAppTarget
Returns a new instance of AppLinkDataAppLinkInfoAppTarget.
229 230 231 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 229 def initialize(**args) update!(**args) end |
Instance Attribute Details
#package_name ⇒ String
Package name for AppTarget. For example: com.google.android.gm
Corresponds to the JSON property packageName
221 222 223 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 221 def package_name @package_name end |
#target_uri ⇒ Google::Apis::WalletobjectsV1::Uri
URI for AppTarget. The description on the URI must be set. Prefer setting
package field instead, if this target is defined for your application.
Corresponds to the JSON property targetUri
227 228 229 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 227 def target_uri @target_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
234 235 236 237 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 234 def update!(**args) @package_name = args[:package_name] if args.key?(:package_name) @target_uri = args[:target_uri] if args.key?(:target_uri) end |