Class: Google::Apis::WalletobjectsV1::JwtInsertResponse
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::JwtInsertResponse
- 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
-
#resources ⇒ Google::Apis::WalletobjectsV1::Resources
Data that corresponds to the ids of the provided classes and objects in the JWT.
-
#save_uri ⇒ String
A URI that, when opened, will allow the end user to save the object(s) identified in the JWT to their Google account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JwtInsertResponse
constructor
A new instance of JwtInsertResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ JwtInsertResponse
Returns a new instance of JwtInsertResponse.
4382 4383 4384 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4382 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resources ⇒ Google::Apis::WalletobjectsV1::Resources
Data that corresponds to the ids of the provided classes and objects in the
JWT. resources will only include the non-empty arrays (i.e. if the JWT only
includes eventTicketObjects, then that is the only field that will be present
in resources).
Corresponds to the JSON property resources
4374 4375 4376 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4374 def resources @resources end |
#save_uri ⇒ String
A URI that, when opened, will allow the end user to save the object(s)
identified in the JWT to their Google account.
Corresponds to the JSON property saveUri
4380 4381 4382 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4380 def save_uri @save_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4387 4388 4389 4390 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4387 def update!(**args) @resources = args[:resources] if args.key?(:resources) @save_uri = args[:save_uri] if args.key?(:save_uri) end |