Class: Google::Apis::WalletobjectsV1::DiffUploadRequest
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::DiffUploadRequest
- 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
A Diff upload request. For details on the Scotty Diff protocol, visit http:// go/scotty-diff-protocol.
Instance Attribute Summary collapse
-
#checksums_info ⇒ Google::Apis::WalletobjectsV1::CompositeMedia
A sequence of media data references representing composite data.
-
#object_info ⇒ Google::Apis::WalletobjectsV1::CompositeMedia
A sequence of media data references representing composite data.
-
#object_version ⇒ String
The object version of the object that is the base version the incoming diff script will be applied to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DiffUploadRequest
constructor
A new instance of DiffUploadRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DiffUploadRequest
Returns a new instance of DiffUploadRequest.
1081 1082 1083 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1081 def initialize(**args) update!(**args) end |
Instance Attribute Details
#checksums_info ⇒ 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 checksumsInfo
1066 1067 1068 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1066 def checksums_info @checksums_info end |
#object_info ⇒ 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 objectInfo
1073 1074 1075 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1073 def object_info @object_info end |
#object_version ⇒ String
The object version of the object that is the base version the incoming diff
script will be applied to. This field will always be filled in.
Corresponds to the JSON property objectVersion
1079 1080 1081 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1079 def object_version @object_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1086 1087 1088 1089 1090 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1086 def update!(**args) @checksums_info = args[:checksums_info] if args.key?(:checksums_info) @object_info = args[:object_info] if args.key?(:object_info) @object_version = args[:object_version] if args.key?(:object_version) end |