Class: Google::Apis::YoutubereportingV1::GdataMedia

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/youtubereporting_v1/classes.rb,
lib/google/apis/youtubereporting_v1/representations.rb,
lib/google/apis/youtubereporting_v1/representations.rb

Overview

gdata

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GdataMedia

Returns a new instance of GdataMedia.



547
548
549
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 547

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

Instance Attribute Details

#algorithmString

gdata Corresponds to the JSON property algorithm

Returns:

  • (String)


390
391
392
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 390

def algorithm
  @algorithm
end

#bigstore_object_refString

gdata Corresponds to the JSON property bigstoreObjectRef NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


396
397
398
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 396

def bigstore_object_ref
  @bigstore_object_ref
end

#blob_refString

gdata Corresponds to the JSON property blobRef NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


402
403
404
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 402

def blob_ref
  @blob_ref
end

#blobstore2_infoGoogle::Apis::YoutubereportingV1::GdataBlobstore2Info

gdata Corresponds to the JSON property blobstore2Info



407
408
409
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 407

def blobstore2_info
  @blobstore2_info
end

#composite_mediaArray<Google::Apis::YoutubereportingV1::GdataCompositeMedia>

gdata Corresponds to the JSON property compositeMedia



412
413
414
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 412

def composite_media
  @composite_media
end

#content_typeString

gdata Corresponds to the JSON property contentType

Returns:

  • (String)


417
418
419
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 417

def content_type
  @content_type
end

#content_type_infoGoogle::Apis::YoutubereportingV1::GdataContentTypeInfo

gdata Corresponds to the JSON property contentTypeInfo



422
423
424
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 422

def content_type_info
  @content_type_info
end

#cosmo_binary_referenceString

gdata Corresponds to the JSON property cosmoBinaryReference NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


428
429
430
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 428

def cosmo_binary_reference
  @cosmo_binary_reference
end

#crc32c_hashFixnum

gdata Corresponds to the JSON property crc32cHash

Returns:

  • (Fixnum)


433
434
435
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 433

def crc32c_hash
  @crc32c_hash
end

#diff_checksums_responseGoogle::Apis::YoutubereportingV1::GdataDiffChecksumsResponse

gdata Corresponds to the JSON property diffChecksumsResponse



438
439
440
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 438

def diff_checksums_response
  @diff_checksums_response
end

#diff_download_responseGoogle::Apis::YoutubereportingV1::GdataDiffDownloadResponse

gdata Corresponds to the JSON property diffDownloadResponse



443
444
445
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 443

def diff_download_response
  @diff_download_response
end

#diff_upload_requestGoogle::Apis::YoutubereportingV1::GdataDiffUploadRequest

gdata Corresponds to the JSON property diffUploadRequest



448
449
450
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 448

def diff_upload_request
  @diff_upload_request
end

#diff_upload_responseGoogle::Apis::YoutubereportingV1::GdataDiffUploadResponse

gdata Corresponds to the JSON property diffUploadResponse



453
454
455
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 453

def diff_upload_response
  @diff_upload_response
end

#diff_version_responseGoogle::Apis::YoutubereportingV1::GdataDiffVersionResponse

gdata Corresponds to the JSON property diffVersionResponse



458
459
460
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 458

def diff_version_response
  @diff_version_response
end

#download_parametersGoogle::Apis::YoutubereportingV1::GdataDownloadParameters

gdata Corresponds to the JSON property downloadParameters



463
464
465
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 463

def download_parameters
  @download_parameters
end

#filenameString

gdata Corresponds to the JSON property filename

Returns:

  • (String)


468
469
470
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 468

def filename
  @filename
end

#hash_propString

gdata Corresponds to the JSON property hash

Returns:

  • (String)


473
474
475
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 473

def hash_prop
  @hash_prop
end

#hash_verifiedBoolean Also known as: hash_verified?

gdata Corresponds to the JSON property hashVerified

Returns:

  • (Boolean)


478
479
480
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 478

def hash_verified
  @hash_verified
end

#inlineString

gdata Corresponds to the JSON property inline NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


485
486
487
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 485

def inline
  @inline
end

#is_potential_retryBoolean Also known as: is_potential_retry?

gdata Corresponds to the JSON property isPotentialRetry

Returns:

  • (Boolean)


490
491
492
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 490

def is_potential_retry
  @is_potential_retry
end

#lengthFixnum

gdata Corresponds to the JSON property length

Returns:

  • (Fixnum)


496
497
498
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 496

def length
  @length
end

#md5_hashString

gdata Corresponds to the JSON property md5Hash NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


502
503
504
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 502

def md5_hash
  @md5_hash
end

#media_idString

gdata Corresponds to the JSON property mediaId NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


508
509
510
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 508

def media_id
  @media_id
end

#object_id_propGoogle::Apis::YoutubereportingV1::GdataObjectId

gdata Corresponds to the JSON property objectId



513
514
515
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 513

def object_id_prop
  @object_id_prop
end

#pathString

gdata Corresponds to the JSON property path

Returns:

  • (String)


518
519
520
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 518

def path
  @path
end

#reference_typeString

gdata Corresponds to the JSON property referenceType

Returns:

  • (String)


523
524
525
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 523

def reference_type
  @reference_type
end

#sha1_hashString

gdata Corresponds to the JSON property sha1Hash NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


529
530
531
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 529

def sha1_hash
  @sha1_hash
end

#sha256_hashString

gdata Corresponds to the JSON property sha256Hash NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


535
536
537
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 535

def sha256_hash
  @sha256_hash
end

#timestampFixnum

gdata Corresponds to the JSON property timestamp

Returns:

  • (Fixnum)


540
541
542
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 540

def timestamp
  @timestamp
end

#tokenString

gdata Corresponds to the JSON property token

Returns:

  • (String)


545
546
547
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 545

def token
  @token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 552

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