Class: Google::Apis::YoutubePartnerV1::DiffChecksumsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/youtube_partner_v1/classes.rb,
generated/google/apis/youtube_partner_v1/representations.rb,
generated/google/apis/youtube_partner_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.



1609
1610
1611
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1609

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

Instance Attribute Details

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



1585
1586
1587
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1585

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)


1590
1591
1592
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1590

def chunk_size_bytes
  @chunk_size_bytes
end

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



1597
1598
1599
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1597

def object_location
  @object_location
end

#object_size_bytesFixnum

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

Returns:

  • (Fixnum)


1602
1603
1604
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1602

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)


1607
1608
1609
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1607

def object_version
  @object_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1614
1615
1616
1617
1618
1619
1620
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1614

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