Class: Google::Apis::WalletobjectsV1::ImageUri
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::ImageUri
- 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
-
#description ⇒ String
Additional information about the image, which is unused and retained only for backward compatibility.
-
#localized_description ⇒ Google::Apis::WalletobjectsV1::LocalizedString
Translated strings for the description, which are unused and retained only for backward compatibility.
-
#uri ⇒ String
The location of the image.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImageUri
constructor
A new instance of ImageUri.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ImageUri
Returns a new instance of ImageUri.
4091 4092 4093 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4091 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Additional information about the image, which is unused and retained only for
backward compatibility.
Corresponds to the JSON property description
4078 4079 4080 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4078 def description @description end |
#localized_description ⇒ Google::Apis::WalletobjectsV1::LocalizedString
Translated strings for the description, which are unused and retained only for
backward compatibility.
Corresponds to the JSON property localizedDescription
4084 4085 4086 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4084 def localized_description @localized_description end |
#uri ⇒ String
The location of the image. URIs must have a scheme.
Corresponds to the JSON property uri
4089 4090 4091 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4089 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4096 4097 4098 4099 4100 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4096 def update!(**args) @description = args[:description] if args.key?(:description) @localized_description = args[:localized_description] if args.key?(:localized_description) @uri = args[:uri] if args.key?(:uri) end |