Class: Google::Apis::FirebaseappdistributionV1::GdataDiffUploadResponse

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 upload request. 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) ⇒ GdataDiffUploadResponse

Returns a new instance of GdataDiffUploadResponse.



350
351
352
# File 'lib/google/apis/firebaseappdistribution_v1/classes.rb', line 350

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

Instance Attribute Details

#object_versionString

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

Returns:

  • (String)


341
342
343
# File 'lib/google/apis/firebaseappdistribution_v1/classes.rb', line 341

def object_version
  @object_version
end

#original_objectGoogle::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 originalObject



348
349
350
# File 'lib/google/apis/firebaseappdistribution_v1/classes.rb', line 348

def original_object
  @original_object
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



355
356
357
358
# File 'lib/google/apis/firebaseappdistribution_v1/classes.rb', line 355

def update!(**args)
  @object_version = args[:object_version] if args.key?(:object_version)
  @original_object = args[:original_object] if args.key?(:original_object)
end