Class: Google::Apis::WalletobjectsV1::PrivateUri
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::PrivateUri
- 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
Overview
Private data for LinkModule. This data will be rendered as the LinkModule for a pass.
Instance Attribute Summary collapse
-
#description ⇒ Google::Apis::WalletobjectsV1::LocalizedString
The URI's title appearing in the app as text and its translated strings.
-
#uri ⇒ String
The location of a web page, image, or other resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PrivateUri
constructor
A new instance of PrivateUri.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PrivateUri
Returns a new instance of PrivateUri.
6466 6467 6468 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6466 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ Google::Apis::WalletobjectsV1::LocalizedString
The URI's title appearing in the app as text and its translated strings.
Recommended maximum is 20 characters to ensure the full string is displayed on
smaller screens.
Corresponds to the JSON property description
6457 6458 6459 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6457 def description @description end |
#uri ⇒ String
The location of a web page, image, or other resource. URIs in the
LinksModuleData can have different prefixes indicating the type of URI (a
link to a web page, a link to a map, a telephone number, or an email address).
Corresponds to the JSON property uri
6464 6465 6466 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6464 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6471 6472 6473 6474 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 6471 def update!(**args) @description = args[:description] if args.key?(:description) @uri = args[:uri] if args.key?(:uri) end |