Class: Google::Apis::WalletobjectsV1::DiffChecksumsResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DiffChecksumsResponse

Returns a new instance of DiffChecksumsResponse.



1020
1021
1022
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1020

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#checksums_locationGoogle::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



996
997
998
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 996

def checksums_location
  @checksums_location
end

#chunk_size_bytesFixnum

The chunk size of checksums. Must be a multiple of 256KB. Corresponds to the JSON property chunkSizeBytes

Returns:

  • (Fixnum)


1001
1002
1003
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1001

def chunk_size_bytes
  @chunk_size_bytes
end

#object_locationGoogle::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



1008
1009
1010
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1008

def object_location
  @object_location
end

#object_size_bytesFixnum

The total size of the server object. Corresponds to the JSON property objectSizeBytes

Returns:

  • (Fixnum)


1013
1014
1015
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1013

def object_size_bytes
  @object_size_bytes
end

#object_versionString

The object version of the object the checksums are being returned for. Corresponds to the JSON property objectVersion

Returns:

  • (String)


1018
1019
1020
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1018

def object_version
  @object_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1025
1026
1027
1028
1029
1030
1031
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 1025

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