Class: Google::Apis::WalletobjectsV1::DiffUploadResponse
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::DiffUploadResponse
- 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
Backend response for a Diff upload request. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.
Instance Attribute Summary collapse
-
#object_version ⇒ String
The object version of the object at the server.
-
#original_object ⇒ Google::Apis::WalletobjectsV1::CompositeMedia
A sequence of media data references representing composite data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DiffUploadResponse
constructor
A new instance of DiffUploadResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DiffUploadResponse
Returns a new instance of DiffUploadResponse.
1109 1110 1111 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1109 def initialize(**args) update!(**args) end |
Instance Attribute Details
#object_version ⇒ String
The object version of the object at the server. Must be included in the end
notification response. The version in the end notification response must
correspond to the new version of the object that is now stored at the server,
after the upload.
Corresponds to the JSON property objectVersion
1100 1101 1102 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1100 def object_version @object_version end |
#original_object ⇒ Google::Apis::WalletobjectsV1::CompositeMedia
A sequence of media data references representing composite data. Introduced to
support Bigstore composite objects. For details, visit http://go/bigstore-
composites.
Corresponds to the JSON property originalObject
1107 1108 1109 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1107 def original_object @original_object end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1114 1115 1116 1117 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1114 def update!(**args) @object_version = args[:object_version] if args.key?(:object_version) @original_object = args[:original_object] if args.key?(:original_object) end |