Chunk

Container for bytes-encoded data such as video frame, audio sample, or a complete binary/text data.

Fields
mimeType string

Required. Mime type of the chunk data. See https://www.iana.org/assignments/media-types/media-types.xhtml for the full list.

data string ( bytes format)

Required. The data in the chunk.

A base64-encoded string.

JSON representation
 { 
 "mimeType" 
 : 
 string 
 , 
 "data" 
 : 
 string 
 , 
 "metadata" 
 : 
 { 
 object (  Metadata 
 
) 
 } 
 } 

metadata for a chunk.

Fields
attributes map (key: string, value: string ( bytes format))

Optional. Attributes attached to the data. The keys have semantic conventions and the consumers of the attributes should know how to deserialize the value bytes based on the keys.

JSON representation
 { 
 "attributes" 
 : 
 { 
 string 
 : 
 string 
 , 
 ... 
 } 
 } 
Create a Mobile Website
View Site in Mobile | Classic
Share by: