class Google::Apis::YoutubePartnerV1::Blobstore2Info
Information to read/write to blobstore2.
Attributes
The blob generation id. Corresponds to the JSON property `blobGeneration` @return [Fixnum]
The blob id, e.g., /blobstore/prod/playground/scotty Corresponds to the JSON property `blobId` @return [String]
Read handle passed from Bigstore -> Scotty for a GCS download. This is a signed, serialized blobstore2.ReadHandle proto which must never be set outside of Bigstore, and is not applicable to non-GCS media downloads. Corresponds to the JSON property `downloadReadHandle` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]
The blob read token. Needed to read blobs that have not been replicated. Might not be available until the final call. Corresponds to the JSON property `readToken` @return [String]
Metadata
passed from Blobstore -> Scotty for a new GCS upload. This is a signed, serialized blobstore2.BlobMetadataContainer proto which must never be consumed outside of Bigstore, and is not applicable to non-GCS media uploads. Corresponds to the JSON property `uploadMetadataContainer` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]
Public Class Methods
# File lib/google/apis/youtube_partner_v1/classes.rb, line 581 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/youtube_partner_v1/classes.rb, line 586 def update!(**args) @blob_generation = args[:blob_generation] if args.key?(:blob_generation) @blob_id = args[:blob_id] if args.key?(:blob_id) @download_read_handle = args[:download_read_handle] if args.key?(:download_read_handle) @read_token = args[:read_token] if args.key?(:read_token) @upload_metadata_container = args[:upload_metadata_container] if args.key?(:upload_metadata_container) end