Class: Google::Apis::WalletobjectsV1::DiffChecksumsResponse
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::DiffChecksumsResponse
- 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 get checksums response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.
Instance Attribute Summary collapse
-
#checksums_location ⇒ Google::Apis::WalletobjectsV1::CompositeMedia
A sequence of media data references representing composite data.
-
#chunk_size_bytes ⇒ Fixnum
The chunk size of checksums.
-
#object_location ⇒ Google::Apis::WalletobjectsV1::CompositeMedia
A sequence of media data references representing composite data.
-
#object_size_bytes ⇒ Fixnum
The total size of the server object.
-
#object_version ⇒ String
The object version of the object the checksums are being returned for.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DiffChecksumsResponse
constructor
A new instance of DiffChecksumsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DiffChecksumsResponse
Returns a new instance of DiffChecksumsResponse.
1026 1027 1028 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1026 def initialize(**args) update!(**args) end |
Instance Attribute Details
#checksums_location ⇒ 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 checksumsLocation
1002 1003 1004 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1002 def checksums_location @checksums_location end |
#chunk_size_bytes ⇒ Fixnum
The chunk size of checksums. Must be a multiple of 256KB.
Corresponds to the JSON property chunkSizeBytes
1007 1008 1009 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1007 def chunk_size_bytes @chunk_size_bytes end |
#object_location ⇒ 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 objectLocation
1014 1015 1016 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1014 def object_location @object_location end |
#object_size_bytes ⇒ Fixnum
The total size of the server object.
Corresponds to the JSON property objectSizeBytes
1019 1020 1021 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1019 def object_size_bytes @object_size_bytes end |
#object_version ⇒ String
The object version of the object the checksums are being returned for.
Corresponds to the JSON property objectVersion
1024 1025 1026 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1024 def object_version @object_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1031 1032 1033 1034 1035 1036 1037 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1031 def update!(**args) @checksums_location = args[:checksums_location] if args.key?(:checksums_location) @chunk_size_bytes = args[:chunk_size_bytes] if args.key?(:chunk_size_bytes) @object_location = args[:object_location] if args.key?(:object_location) @object_size_bytes = args[:object_size_bytes] if args.key?(:object_size_bytes) @object_version = args[:object_version] if args.key?(:object_version) end |