Class: Google::Apis::YoutubePartnerV1::DiffUploadRequest

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

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) ⇒ DiffUploadRequest

Returns a new instance of DiffUploadRequest.



1670
1671
1672
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1670

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

Instance Attribute Details

#checksums_infoGoogle::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 checksumsInfo



1655
1656
1657
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1655

def checksums_info
  @checksums_info
end

#object_infoGoogle::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 objectInfo



1662
1663
1664
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1662

def object_info
  @object_info
end

#object_versionString

The object version of the object that is the base version the incoming diff script will be applied to. This field will always be filled in. Corresponds to the JSON property objectVersion

Returns:

  • (String)


1668
1669
1670
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1668

def object_version
  @object_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1675
1676
1677
1678
1679
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1675

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