class Google::Apis::YoutubereportingV1::GdataMedia

gdata

Attributes

algorithm[RW]

gdata Corresponds to the JSON property `algorithm` @return [String]

bigstore_object_ref[RW]

gdata Corresponds to the JSON property `bigstoreObjectRef` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

blob_ref[RW]

gdata Corresponds to the JSON property `blobRef` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

blobstore2_info[RW]

gdata Corresponds to the JSON property `blobstore2Info` @return [Google::Apis::YoutubereportingV1::GdataBlobstore2Info]

composite_media[RW]

gdata Corresponds to the JSON property `compositeMedia` @return [Array<Google::Apis::YoutubereportingV1::GdataCompositeMedia>]

content_type[RW]

gdata Corresponds to the JSON property `contentType` @return [String]

content_type_info[RW]

gdata Corresponds to the JSON property `contentTypeInfo` @return [Google::Apis::YoutubereportingV1::GdataContentTypeInfo]

cosmo_binary_reference[RW]

gdata Corresponds to the JSON property `cosmoBinaryReference` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

crc32c_hash[RW]

gdata Corresponds to the JSON property `crc32cHash` @return [Fixnum]

diff_checksums_response[RW]

gdata Corresponds to the JSON property `diffChecksumsResponse` @return [Google::Apis::YoutubereportingV1::GdataDiffChecksumsResponse]

diff_download_response[RW]

gdata Corresponds to the JSON property `diffDownloadResponse` @return [Google::Apis::YoutubereportingV1::GdataDiffDownloadResponse]

diff_upload_request[RW]

gdata Corresponds to the JSON property `diffUploadRequest` @return [Google::Apis::YoutubereportingV1::GdataDiffUploadRequest]

diff_upload_response[RW]

gdata Corresponds to the JSON property `diffUploadResponse` @return [Google::Apis::YoutubereportingV1::GdataDiffUploadResponse]

diff_version_response[RW]

gdata Corresponds to the JSON property `diffVersionResponse` @return [Google::Apis::YoutubereportingV1::GdataDiffVersionResponse]

download_parameters[RW]

gdata Corresponds to the JSON property `downloadParameters` @return [Google::Apis::YoutubereportingV1::GdataDownloadParameters]

filename[RW]

gdata Corresponds to the JSON property `filename` @return [String]

hash_prop[RW]

gdata Corresponds to the JSON property `hash` @return [String]

hash_verified[RW]

gdata Corresponds to the JSON property `hashVerified` @return [Boolean]

hash_verified?[RW]

gdata Corresponds to the JSON property `hashVerified` @return [Boolean]

inline[RW]

gdata Corresponds to the JSON property `inline` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

is_potential_retry[RW]

gdata Corresponds to the JSON property `isPotentialRetry` @return [Boolean]

is_potential_retry?[RW]

gdata Corresponds to the JSON property `isPotentialRetry` @return [Boolean]

length[RW]

gdata Corresponds to the JSON property `length` @return [Fixnum]

md5_hash[RW]

gdata Corresponds to the JSON property `md5Hash` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

media_id[RW]

gdata Corresponds to the JSON property `mediaId` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

object_id_prop[RW]

gdata Corresponds to the JSON property `objectId` @return [Google::Apis::YoutubereportingV1::GdataObjectId]

path[RW]

gdata Corresponds to the JSON property `path` @return [String]

reference_type[RW]

gdata Corresponds to the JSON property `referenceType` @return [String]

sha1_hash[RW]

gdata Corresponds to the JSON property `sha1Hash` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

sha256_hash[RW]

gdata Corresponds to the JSON property `sha256Hash` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

timestamp[RW]

gdata Corresponds to the JSON property `timestamp` @return [Fixnum]

token[RW]

gdata Corresponds to the JSON property `token` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/youtubereporting_v1/classes.rb, line 548
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/youtubereporting_v1/classes.rb, line 553
def update!(**args)
  @algorithm = args[:algorithm] if args.key?(:algorithm)
  @bigstore_object_ref = args[:bigstore_object_ref] if args.key?(:bigstore_object_ref)
  @blob_ref = args[:blob_ref] if args.key?(:blob_ref)
  @blobstore2_info = args[:blobstore2_info] if args.key?(:blobstore2_info)
  @composite_media = args[:composite_media] if args.key?(:composite_media)
  @content_type = args[:content_type] if args.key?(:content_type)
  @content_type_info = args[:content_type_info] if args.key?(:content_type_info)
  @cosmo_binary_reference = args[:cosmo_binary_reference] if args.key?(:cosmo_binary_reference)
  @crc32c_hash = args[:crc32c_hash] if args.key?(:crc32c_hash)
  @diff_checksums_response = args[:diff_checksums_response] if args.key?(:diff_checksums_response)
  @diff_download_response = args[:diff_download_response] if args.key?(:diff_download_response)
  @diff_upload_request = args[:diff_upload_request] if args.key?(:diff_upload_request)
  @diff_upload_response = args[:diff_upload_response] if args.key?(:diff_upload_response)
  @diff_version_response = args[:diff_version_response] if args.key?(:diff_version_response)
  @download_parameters = args[:download_parameters] if args.key?(:download_parameters)
  @filename = args[:filename] if args.key?(:filename)
  @hash_prop = args[:hash_prop] if args.key?(:hash_prop)
  @hash_verified = args[:hash_verified] if args.key?(:hash_verified)
  @inline = args[:inline] if args.key?(:inline)
  @is_potential_retry = args[:is_potential_retry] if args.key?(:is_potential_retry)
  @length = args[:length] if args.key?(:length)
  @md5_hash = args[:md5_hash] if args.key?(:md5_hash)
  @media_id = args[:media_id] if args.key?(:media_id)
  @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
  @path = args[:path] if args.key?(:path)
  @reference_type = args[:reference_type] if args.key?(:reference_type)
  @sha1_hash = args[:sha1_hash] if args.key?(:sha1_hash)
  @sha256_hash = args[:sha256_hash] if args.key?(:sha256_hash)
  @timestamp = args[:timestamp] if args.key?(:timestamp)
  @token = args[:token] if args.key?(:token)
end