Class: Google::Apis::FirebaseappdistributionV1::GdataDiffVersionResponse

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 version 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) ⇒ GdataDiffVersionResponse

Returns a new instance of GdataDiffVersionResponse.



376
377
378
# File 'lib/google/apis/firebaseappdistribution_v1/classes.rb', line 376

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

Instance Attribute Details

#object_size_bytesFixnum

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

Returns:

  • (Fixnum)


369
370
371
# File 'lib/google/apis/firebaseappdistribution_v1/classes.rb', line 369

def object_size_bytes
  @object_size_bytes
end

#object_versionString

The version of the object stored at the server. Corresponds to the JSON property objectVersion

Returns:

  • (String)


374
375
376
# File 'lib/google/apis/firebaseappdistribution_v1/classes.rb', line 374

def object_version
  @object_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



381
382
383
384
# File 'lib/google/apis/firebaseappdistribution_v1/classes.rb', line 381

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