Class: Google::Apis::FirebaseappdistributionV1::GdataDiffChecksumsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firebaseappdistribution_v1/classes.rb,
lib/google/apis/firebaseappdistribution_v1/representations.rb,
lib/google/apis/firebaseappdistribution_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) ⇒ GdataDiffChecksumsResponse

Returns a new instance of GdataDiffChecksumsResponse.



257
258
259
# File 'lib/google/apis/firebaseappdistribution_v1/classes.rb', line 257

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

Instance Attribute Details

#checksums_locationGoogle::Apis::FirebaseappdistributionV1::GdataCompositeMedia

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



233
234
235
# File 'lib/google/apis/firebaseappdistribution_v1/classes.rb', line 233

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)


238
239
240
# File 'lib/google/apis/firebaseappdistribution_v1/classes.rb', line 238

def chunk_size_bytes
  @chunk_size_bytes
end

#object_locationGoogle::Apis::FirebaseappdistributionV1::GdataCompositeMedia

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



245
246
247
# File 'lib/google/apis/firebaseappdistribution_v1/classes.rb', line 245

def object_location
  @object_location
end

#object_size_bytesFixnum

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

Returns:

  • (Fixnum)


250
251
252
# File 'lib/google/apis/firebaseappdistribution_v1/classes.rb', line 250

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)


255
256
257
# File 'lib/google/apis/firebaseappdistribution_v1/classes.rb', line 255

def object_version
  @object_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



262
263
264
265
266
267
268
# File 'lib/google/apis/firebaseappdistribution_v1/classes.rb', line 262

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