Class: Google::Apis::YoutubereportingV1::GdataMedia
- Inherits:
-
Object
- Object
- Google::Apis::YoutubereportingV1::GdataMedia
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtubereporting_v1/classes.rb,
generated/google/apis/youtubereporting_v1/representations.rb,
generated/google/apis/youtubereporting_v1/representations.rb
Overview
gdata
Instance Attribute Summary collapse
-
#algorithm ⇒ String
gdata Corresponds to the JSON property
algorithm
. -
#bigstore_object_ref ⇒ String
gdata Corresponds to the JSON property
bigstoreObjectRef
NOTE: Values are automatically base64 encoded/decoded in the client library. -
#blob_ref ⇒ String
gdata Corresponds to the JSON property
blobRef
NOTE: Values are automatically base64 encoded/decoded in the client library. -
#blobstore2_info ⇒ Google::Apis::YoutubereportingV1::GdataBlobstore2Info
gdata Corresponds to the JSON property
blobstore2Info
. -
#composite_media ⇒ Array<Google::Apis::YoutubereportingV1::GdataCompositeMedia>
gdata Corresponds to the JSON property
compositeMedia
. -
#content_type ⇒ String
gdata Corresponds to the JSON property
contentType
. -
#content_type_info ⇒ Google::Apis::YoutubereportingV1::GdataContentTypeInfo
gdata Corresponds to the JSON property
contentTypeInfo
. -
#cosmo_binary_reference ⇒ String
gdata Corresponds to the JSON property
cosmoBinaryReference
NOTE: Values are automatically base64 encoded/decoded in the client library. -
#crc32c_hash ⇒ Fixnum
gdata Corresponds to the JSON property
crc32cHash
. -
#diff_checksums_response ⇒ Google::Apis::YoutubereportingV1::GdataDiffChecksumsResponse
gdata Corresponds to the JSON property
diffChecksumsResponse
. -
#diff_download_response ⇒ Google::Apis::YoutubereportingV1::GdataDiffDownloadResponse
gdata Corresponds to the JSON property
diffDownloadResponse
. -
#diff_upload_request ⇒ Google::Apis::YoutubereportingV1::GdataDiffUploadRequest
gdata Corresponds to the JSON property
diffUploadRequest
. -
#diff_upload_response ⇒ Google::Apis::YoutubereportingV1::GdataDiffUploadResponse
gdata Corresponds to the JSON property
diffUploadResponse
. -
#diff_version_response ⇒ Google::Apis::YoutubereportingV1::GdataDiffVersionResponse
gdata Corresponds to the JSON property
diffVersionResponse
. -
#download_parameters ⇒ Google::Apis::YoutubereportingV1::GdataDownloadParameters
gdata Corresponds to the JSON property
downloadParameters
. -
#filename ⇒ String
gdata Corresponds to the JSON property
filename
. -
#hash_prop ⇒ String
gdata Corresponds to the JSON property
hash
. -
#hash_verified ⇒ Boolean
(also: #hash_verified?)
gdata Corresponds to the JSON property
hashVerified
. -
#inline ⇒ String
gdata Corresponds to the JSON property
inline
NOTE: Values are automatically base64 encoded/decoded in the client library. -
#is_potential_retry ⇒ Boolean
(also: #is_potential_retry?)
gdata Corresponds to the JSON property
isPotentialRetry
. -
#length ⇒ Fixnum
gdata Corresponds to the JSON property
length
. -
#md5_hash ⇒ String
gdata Corresponds to the JSON property
md5Hash
NOTE: Values are automatically base64 encoded/decoded in the client library. -
#media_id ⇒ String
gdata Corresponds to the JSON property
mediaId
NOTE: Values are automatically base64 encoded/decoded in the client library. -
#object_id_prop ⇒ Google::Apis::YoutubereportingV1::GdataObjectId
gdata Corresponds to the JSON property
objectId
. -
#path ⇒ String
gdata Corresponds to the JSON property
path
. -
#reference_type ⇒ String
gdata Corresponds to the JSON property
referenceType
. -
#sha1_hash ⇒ String
gdata Corresponds to the JSON property
sha1Hash
NOTE: Values are automatically base64 encoded/decoded in the client library. -
#sha256_hash ⇒ String
gdata Corresponds to the JSON property
sha256Hash
NOTE: Values are automatically base64 encoded/decoded in the client library. -
#timestamp ⇒ Fixnum
gdata Corresponds to the JSON property
timestamp
. -
#token ⇒ String
gdata Corresponds to the JSON property
token
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GdataMedia
constructor
A new instance of GdataMedia.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GdataMedia
Returns a new instance of GdataMedia
550 551 552 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 550 def initialize(**args) update!(**args) end |
Instance Attribute Details
#algorithm ⇒ String
gdata
Corresponds to the JSON property algorithm
393 394 395 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 393 def algorithm @algorithm end |
#bigstore_object_ref ⇒ String
gdata
Corresponds to the JSON property bigstoreObjectRef
NOTE: Values are automatically base64 encoded/decoded in the client library.
399 400 401 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 399 def bigstore_object_ref @bigstore_object_ref end |
#blob_ref ⇒ String
gdata
Corresponds to the JSON property blobRef
NOTE: Values are automatically base64 encoded/decoded in the client library.
405 406 407 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 405 def blob_ref @blob_ref end |
#blobstore2_info ⇒ Google::Apis::YoutubereportingV1::GdataBlobstore2Info
gdata
Corresponds to the JSON property blobstore2Info
410 411 412 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 410 def blobstore2_info @blobstore2_info end |
#composite_media ⇒ Array<Google::Apis::YoutubereportingV1::GdataCompositeMedia>
gdata
Corresponds to the JSON property compositeMedia
415 416 417 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 415 def composite_media @composite_media end |
#content_type ⇒ String
gdata
Corresponds to the JSON property contentType
420 421 422 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 420 def content_type @content_type end |
#content_type_info ⇒ Google::Apis::YoutubereportingV1::GdataContentTypeInfo
gdata
Corresponds to the JSON property contentTypeInfo
425 426 427 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 425 def content_type_info @content_type_info end |
#cosmo_binary_reference ⇒ String
gdata
Corresponds to the JSON property cosmoBinaryReference
NOTE: Values are automatically base64 encoded/decoded in the client library.
431 432 433 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 431 def cosmo_binary_reference @cosmo_binary_reference end |
#crc32c_hash ⇒ Fixnum
gdata
Corresponds to the JSON property crc32cHash
436 437 438 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 436 def crc32c_hash @crc32c_hash end |
#diff_checksums_response ⇒ Google::Apis::YoutubereportingV1::GdataDiffChecksumsResponse
gdata
Corresponds to the JSON property diffChecksumsResponse
441 442 443 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 441 def diff_checksums_response @diff_checksums_response end |
#diff_download_response ⇒ Google::Apis::YoutubereportingV1::GdataDiffDownloadResponse
gdata
Corresponds to the JSON property diffDownloadResponse
446 447 448 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 446 def diff_download_response @diff_download_response end |
#diff_upload_request ⇒ Google::Apis::YoutubereportingV1::GdataDiffUploadRequest
gdata
Corresponds to the JSON property diffUploadRequest
451 452 453 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 451 def diff_upload_request @diff_upload_request end |
#diff_upload_response ⇒ Google::Apis::YoutubereportingV1::GdataDiffUploadResponse
gdata
Corresponds to the JSON property diffUploadResponse
456 457 458 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 456 def diff_upload_response @diff_upload_response end |
#diff_version_response ⇒ Google::Apis::YoutubereportingV1::GdataDiffVersionResponse
gdata
Corresponds to the JSON property diffVersionResponse
461 462 463 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 461 def diff_version_response @diff_version_response end |
#download_parameters ⇒ Google::Apis::YoutubereportingV1::GdataDownloadParameters
gdata
Corresponds to the JSON property downloadParameters
466 467 468 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 466 def download_parameters @download_parameters end |
#filename ⇒ String
gdata
Corresponds to the JSON property filename
471 472 473 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 471 def filename @filename end |
#hash_prop ⇒ String
gdata
Corresponds to the JSON property hash
476 477 478 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 476 def hash_prop @hash_prop end |
#hash_verified ⇒ Boolean Also known as: hash_verified?
gdata
Corresponds to the JSON property hashVerified
481 482 483 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 481 def hash_verified @hash_verified end |
#inline ⇒ String
gdata
Corresponds to the JSON property inline
NOTE: Values are automatically base64 encoded/decoded in the client library.
488 489 490 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 488 def inline @inline end |
#is_potential_retry ⇒ Boolean Also known as: is_potential_retry?
gdata
Corresponds to the JSON property isPotentialRetry
493 494 495 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 493 def is_potential_retry @is_potential_retry end |
#length ⇒ Fixnum
gdata
Corresponds to the JSON property length
499 500 501 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 499 def length @length end |
#md5_hash ⇒ String
gdata
Corresponds to the JSON property md5Hash
NOTE: Values are automatically base64 encoded/decoded in the client library.
505 506 507 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 505 def md5_hash @md5_hash end |
#media_id ⇒ String
gdata
Corresponds to the JSON property mediaId
NOTE: Values are automatically base64 encoded/decoded in the client library.
511 512 513 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 511 def media_id @media_id end |
#object_id_prop ⇒ Google::Apis::YoutubereportingV1::GdataObjectId
gdata
Corresponds to the JSON property objectId
516 517 518 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 516 def object_id_prop @object_id_prop end |
#path ⇒ String
gdata
Corresponds to the JSON property path
521 522 523 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 521 def path @path end |
#reference_type ⇒ String
gdata
Corresponds to the JSON property referenceType
526 527 528 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 526 def reference_type @reference_type end |
#sha1_hash ⇒ String
gdata
Corresponds to the JSON property sha1Hash
NOTE: Values are automatically base64 encoded/decoded in the client library.
532 533 534 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 532 def sha1_hash @sha1_hash end |
#sha256_hash ⇒ String
gdata
Corresponds to the JSON property sha256Hash
NOTE: Values are automatically base64 encoded/decoded in the client library.
538 539 540 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 538 def sha256_hash @sha256_hash end |
#timestamp ⇒ Fixnum
gdata
Corresponds to the JSON property timestamp
543 544 545 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 543 def @timestamp end |
#token ⇒ String
gdata
Corresponds to the JSON property token
548 549 550 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 548 def token @token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
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 584 585 586 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 555 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 |