1"use strict";(globalThis.webpackChunkportal=globalThis.webpackChunkportal||[]).push([[21703],{88578(e,n,t){t.r(n),t.d(n,{assets:()=>b,contentTitle:()=>g,default:()=>E,frontMatter:()=>m,metadata:()=>o,toc:()=>k});const o=JSON.parse('{"id":"api/bv-one/public-cms-service-upload-file-to-azure","title":"Initiate file upload to Azure","description":"Starts a file upload session to Azure. After uploading the file data, invoke `complete file upload` API to complete the process.","source":"@site/docs/api/bv-one/public-cms-service-upload-file-to-azure.api.mdx","sourceDirName":"api/bv-one","slug":"/api/bv-one/public-cms-service-upload-file-to-azure","permalink":"/docs/api/bv-one/public-cms-service-upload-file-to-azure","draft":false,"unlisted":false,"editUrl":null,"tags":[],"version":"current","frontMatter":{"id":"public-cms-service-upload-file-to-azure","title":"Initiate file upload to Azure","description":"Starts a file upload session to Azure. After uploading the file data, invoke `complete file upload` API to complete the process.","sidebar_label":"Initiate file upload to Azure","hide_title":true,"hide_table_of_contents":true,"api":"eJztXXtz27qx/ypb3JnGbmkqdh7t1ak7VWw5VY9P5LHkdDqmRwLJlYSGBHgAUI7i8Xe/swApUbJOnHt6bx9nmD8imwB2F/vC7k8y9MBSNIkWhRVKsi4bWa6tAQ4zkSGURaZ4CgaNEUqCVdD7UmoMoTezqKthIedgF+hXpNzyAIRcqk8I00TlRYYWm9Sm0LsaEKn1IC0utErQmDCSkTw6Ojqi12v8sRQaU5gJzNIDc9iN5BFMida0nscCpgrUnMQfpKzLrso4E8nZD6MR6qVIcHLjuF6IDMfKSc8CptEUSho0rPvATl6+pJdtPfTAlAlJNCszqKeHLGCJkhalpRW8KDKRONadvxta9sBMssCc0092VSDrMhX/HRPLAlZoEtQKz5Q28fwskTbmGKuFnLNgR9JhaYvSgpLZKoTxAqGU4scSQaSgZmvDhG7XPB3KbMW6Vpf4GFSEd7c+kNv0aNYuqV2RUJY5696yi8FlfzL+21V/8nFw3h+yoPFk8EPvfX/ryejm3Xgwvtx+eD48u/mh/2G89fCv/XeTy8GH77ce9m7OB0N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7x5if+rNb3MK7g3/l0w7/+bztakKIFKVqQogUpWpCiBSlakKIFKVqQogUpWpCiBSlakKIFKVqQ4hcIUlRJYw9QIaGseitMd9GKFiVoUYIWJWhRghYlaFGCFiVoUYIWJWhRghYlaFGCFiVoUYIWJfiloQSPASu45jlapNuCbx+q62PZ56N4eaT0/EikT69dVfUl6K7epSvPS3c9w5QXYmLVJ5TTAFaqdAU4qYkaJKeqBtlpfeEDjbvibuXLYT3nsvrTDJcsvDmI3D2Xvj5CTUWQm85d6UOwhSDZPE3WvDHU37H6BLWoEYbHOz8ZjX2n0pVHLn4mAFLlteYl6JU+3XXGYV7Q7dr+Gm528vblm9ev3v7uJdtcbf3sJdMVx927yJ0h20vY20vY20vY20vY20vY20vY20vY20vY/xmXsO8SWR8DbHeFS0t3j9uP6zqBz6n6ZJc+oIisbz1ZlxXKuATA7YJ1WSdedpLcdJbHnSr6Opy++KZD5E3X3/FOBZUDMX1J6258Z/VHaXkhQgIs4wxluhSE9lJFzagONJiUWtiVW/YOuUY9pnK2VxLz27vmnArsJGU/mbnJa4X4HldPVN2XdaPsqmXfUXoqHhPlhFfPxOcAcB7CtBr6g5t9VDVQlFyr6nLr75l3SmFSOFWu15sat/+vLFOFnCmnoSoXvCM7fHR2oFaCBazC4Emc4/DV738fvnmiQMpQ5Bg5lw3pB/R+Ct/+Sqb1Fzvt0miU+f+J3wxVaZje4eoUGRfSl33uuw18rNyyeEnv5uaGdHrM1gce1R+VRrai5i5gCwq27i17eKD3a2509vhIj38sUVNQ3AVsybWgdy9cOAS1k1G8pMLQQMq6M54Z/Iq6D+o9HsK/aS+
15V7ufcPWkM3ZHlnfIh2rCmd/nEYG7jRlPOsnNip57a/Src5sZ8Wo4ohI1rrrV3NUITPN7ytr8nqShbw5zbwnQBPfsgdUVAusyT5P+/Q867VVK","sidebar_class_name":"post api-method","info_path":"docs/api/bv-one/blendvision-api","custom_edit_url":null},"sidebar":"apiBVOneSidebar","previous":{"title":"Complete file upload to Azure","permalink":"/docs/api/bv-one/public-cms-service-complete-upload-file-to-azure"},"next":{"title":"List files","permalink":"/docs/api/bv-one/public-cms-service-list-files"}}');var a=t(74848),i=t(28453),s=t(57742),r=t.n(s),p=t(78178),l=t.n(p),c=t(19624),d=t.n(c),h=t(96226),u=t.n(h),y=(t(77675),t(19365),t(51107)),f=t(21312);const m={id:"public-cms-service-upload-file-to-azure",title:"Initiate file upload to Azure",description:"Starts a file upload session to Azure. After uploading the file data, invoke `complete file upload` API to complete the process.",sidebar_label:"Initiate file upload to Azure",hide_title:!0,hide_table_of_contents:!0,api:"eJztXXtz27qx/ypb3JnGbmkqdh7t1ak7VWw5VY9P5LHkdDqmRwLJlYSGBHgAUI7i8Xe/swApUbJOnHt6bx9nmD8imwB2F/vC7k8y9MBSNIkWhRVKsi4bWa6tAQ4zkSGURaZ4CgaNEUqCVdD7UmoMoTezqKthIedgF+hXpNzyAIRcqk8I00TlRYYWm9Sm0LsaEKn1IC0utErQmDCSkTw6Ojqi12v8sRQaU5gJzNIDc9iN5BFMida0nscCpgrUnMQfpKzLrso4E8nZD6MR6qVIcHLjuF6IDMfKSc8CptEUSho0rPvATl6+pJdtPfTAlAlJNCszqKeHLGCJkhalpRW8KDKRONadvxta9sBMssCc0092VSDrMhX/HRPLAlZoEtQKz5Q28fwskTbmGKuFnLNgR9JhaYvSgpLZKoTxAqGU4scSQaSgZmvDhG7XPB3KbMW6Vpf4GFSEd7c+kNv0aNYuqV2RUJY5696yi8FlfzL+21V/8nFw3h+yoPFk8EPvfX/ryejm3Xgwvtx+eD48u/mh/2G89fCv/XeTy8GH77ce9m7OB0N29xgwyXN8XlO7G6NV2xt7DJgRX/aSmimdc8u6TEj79vWztIlMkzYICfHKonFMSi1+jmG1eNakRpU62WPUOpYq6dysJrHA8YGZ0pAKU2R89ayZR8Ob67P+5HLwsT/pf2xYrBq4uboc9s4ngw+Ty8G7697133bGe+fnk4/D852nZ5fDm/PJaDy87r3vT3p/He2Mj8a7fIhO7wmd3mD0/c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J5TTAFaqdAU4qYkaJKeqBtlpfeEDjbvibuXLYT3nsvrTDJcsvDmI3D2Xvj5CTUWQm85d6UOwhSDZPE3WvDHU37H6BLWoEYbHOz8ZjX2n0pVHLn4mAFLlteYl6JU+3XXGYV7Q7dr+Gm528vblm9ev3v7uJdtcbf3sJdMVx927yJ0h20vY20vY20vY20vY20vY20vY20vY20vY/xmXsO8SWR8DbHeFS0t3j9uP6zqBz6n6ZJc+oIisbz1ZlxXKuATA7YJ1WSdedpLcdJbHnSr6Opy++KZD5E3X3/FOBZUDMX1J6258Z/VHaXkhQgIs4wxluhSE9lJFzagONJiUWtiVW/YOuUY9pnK2VxLz27vmnArsJGU/mbnJa4X4HldPVN2XdaPsqmXfUXoqHhPlhFfPxOcAcB7CtBr6g5t9VDVQlFyr6nLr75l3SmFSOFWu15sat/+vLFOFnCmnoSoXvCM7fHR2oFaCBazC4Emc4/DV738fvnmiQMpQ5Bg5lw3pB/R+Ct/+Sqb1Fzvt0miU+f+J3wxVaZje4eoUGRfSl33uuw18rNyyeEnv5uaGdHrM1gce1R+VRrai5i5gCwq27i17eKD3a2509vhIj38sUVNQ3AVsybWgdy9cOAS1k1G8pMLQQMq6M54Z/Iq6D+o9HsK/aS+
15V7ufcPWkM3ZHlnfIh2rCmd/nEYG7jRlPOsnNip57a/Src5sZ8Wo4ohI1rrrV3NUITPN7ytr8nqShbw5zbwnQBPfsgdUVAusyT5P+/Q867VVK",sidebar_class_name:"post api-method",info_path:"docs/api/bv-one/blendvision-api",custom_edit_url:null},g=void 0,b={},k=[];function I(e){const n={code:"code",hr:"hr",li:"li",p:"p",ul:"ul",...(0,i.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(y.default,{as:"h1",className:"openapi__heading",children:"Initiate file upload to Azure"}),"\n",(0,a.jsx)(r(),{method:"post",path:"/bv/cms/v1/library/azure/files:upload",context:"endpoint"}),"\n",(0,a.jsxs)(n.p,{children:["Starts a file upload session to Azure. After uploading the file data, invoke ",(0,a.jsx)(n.code,{children:"complete file upload"})," API to complete the process."]}),"\n",(0,a.jsx)(n.hr,{}),"\n",(0,a.jsx)(n.p,{children:"Required field(s):"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsx)(n.li,{children:(0,a.jsx)(n.code,{children:"file"})}),"\n"]}),"\n",(0,a.jsx)(n.hr,{}),"\n",(0,a.jsx)(y.default,{id:"request",as:"h2",className:"openapi-tabs__heading",children:(0,a.jsx)(f.default,{id:"theme.openapi.request.title",children:"Request"})}),"\n",(0,a.jsx)(l(),{...t(96835)}),"\n",(0,a.jsx)(d(),{...t(82305)}),"\n",(0,a.jsx)(u(),{...t(97671)})]})}function E(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(I,{...e})}):I(e)}},96835(e){e.exports=JSON.parse('{"parameters":[{"name":"x-bv-org-id","description":"To invoke this API using `api_token`, you need to set the `x-bv-org-id` header to specify the organization for which you want to perform the action.","in":"header","required":true,"schema":{"type":"string"}}]}')},82305(e){e.exports=JSON.parse('{"title":"Body","body":{"content":{"application/json":{"schema":{"type":"object","example":{"file":{"name":"video.mp4","size":"260543670","source":"FILE_SOURCE_UPLOAD_IN_LIBRARY","type":"FILE_TYPE_VIDEO"}},"properties":{"file":{"type":"object","properties":{"id":{"type":"string","description":"Output only. The unique id of the file.","readOnly":true},"type":{"description":"Input only. The type of the file.","type":"string","enum":["FILE_TYPE_VIDEO","FILE_TYPE_IMAGE","FILE_TYPE_SUBTITLE","FILE_TYPE_DOCUMENT","FILE_TYPE_WEB_LINK","FILE_TYPE_AUDIO"]},"name":{"type":"string","description":"Input only. The name of the file."},"size":{"type":"string","format":"int64","description":"Input only. The size of the file in bytes."},"uri":{"type":"string","description":"Output only. The uri of the file.","readOnly":true},"source":{"description":"Required. The source of the file, only for display.","type":"string","enum":["FILE_SOURCE_LIVE_EVENT","FILE_SOURCE_UPLOAD_IN_LIBRARY","FILE_SOURCE_ADD_VOD","FILE_SOURCE_CLOUD_STORAGE_AWS","FILE_SOURCE_STT","FILE_SOURCE_ADD_AOD","FILE_SOURCE_AISK","FILE_SOURCE_GOOGLE_DRIVE"]},"attrs":{"type":"object","additionalProperties":{"type":"string"},"title":"Optional. The additional attributes of the file"},"has_subtitle":{"type":"boolean","title":"Output Only. Indicate the video has subtitle or not when the file type is `FILE_TYPE_VIDEO`","readOnly":true},"subtitles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The unique id of the subtitle."},"library_id":{"type":"string","description":"The unique id of the library subtitle file."},"name":{"type":"string","description":"The name of the subtitle file."},"code":{"type":"string","description":"The language code of the subtitle file. Follow RFC 5646 (shortest ISO 639 code)."},"display":{"type":"string","description":"The display name of the subtitle file."}}},"title":"Output Only. Only have value when `has_subtitle` is true","readOnly":true},"status":{"description":"Output Only. The file status.","readOnly":true,"type":"string","enum":["FILE_STATUS_SUCCEED","FILE_STATUS_PROGRESSING","FILE_STATUS_FAILED"]},"created_at":{"type":"string","format":"date-time","description":"Output only.","readOnly":true},"updated_at":{"type":"string","format":"date-time","description":"Output only.","readOnly":true}},"required":["source"],"description":"Required."}},"required":["file"]}}},"required":true}}')},97671(e){e.exports=JSON.parse('{"responses":{"200":{"description":"A successful response.","content":{"application/json":{"schema":{"type":"object","properties":{"file":{"type":"object","properties":{"id":{"type":"string","description":"Output only. The unique id of the file.","readOnly":true},"type":{"description":"Input only. The type of the file.","type":"string","enum":["FILE_TYPE_VIDEO","FILE_TYPE_IMAGE","FILE_TYPE_SUBTITLE","FILE_TYPE_DOCUMENT","FILE_TYPE_WEB_LINK","FILE_TYPE_AUDIO"]},"name":{"type":"string","description":"Input only. The name of the file."},"size":{"type":"string","format":"int64","description":"Input only. The size of the file in bytes."},"uri":{"type":"string","description":"Output only. The uri of the file.","readOnly":true},"source":{"description":"Required. The source of the file, only for display.","type":"string","enum":["FILE_SOURCE_LIVE_EVENT","FILE_SOURCE_UPLOAD_IN_LIBRARY","FILE_SOURCE_ADD_VOD","FILE_SOURCE_CLOUD_STORAGE_AWS","FILE_SOURCE_STT","FILE_SOURCE_ADD_AOD","FILE_SOURCE_AISK","FILE_SOURCE_GOOGLE_DRIVE"]},"attrs":{"type":"object","additionalProperties":{"type":"string"},"title":"Optional. The additional attributes of the file"},"has_subtitle":{"type":"boolean","title":"Output Only. Indicate the video has subtitle or not when the file type is `FILE_TYPE_VIDEO`","readOnly":true},"subtitles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The unique id of the subtitle."},"library_id":{"type":"string","description":"The unique id of the library subtitle file."},"name":{"type":"string","description":"The name of the subtitle file."},"code":{"type":"string","description":"The language code of the subtitle file. Follow RFC 5646 (shortest ISO 639 code)."},"display":{"type":"string","description":"The display name of the subtitle file."}}},"title":"Output Only. Only have value when `has_subtitle` is true","readOnly":true},"status":{"description":"Output Only. The file status.","readOnly":true,"type":"string","enum":["FILE_STATUS_SUCCEED","FILE_STATUS_PROGRESSING","FILE_STATUS_FAILED"]},"created_at":{"type":"string","format":"date-time","description":"Output only.","readOnly":true},"updated_at":{"type":"string","format":"date-time","description":"Output only.","readOnly":true}},"required":["source"]},"upload_data":{"type":"object","properties":{"upload_url":{"type":"string","title":"The Upload URL"}}}}}}}},"400":{"description":"A bad request response.\\nThe `code` is `3` means got an invali
1d argument. There are more HTTP status code mappings listed on [here](https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto) and gRPC code on [here](https://pkg.go.dev/google.golang.org/[email protected]/codes#Code).","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string","description":"A URL/resource name that uniquely identifies the type of the serialized\\nprotocol buffer message. This string must contain at least\\none \\"/\\" character. The last segment of the URL\'s path must represent\\nthe fully qualified name of the type (as in\\n`path/google.protobuf.Duration`). The name should be in a canonical form\\n(e.g., leading \\".\\" is not accepted).\\n\\nIn practice, teams usually precompile into the binary all types that they\\nexpect it to use in the context of Any. However, for URLs which use the\\nscheme `http`, `https`, or no scheme, one can optionally set up a type\\nserver that maps type URLs to message definitions as follows:\\n\\n* If no scheme is provided, `https` is assumed.\\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\\n value in binary format, or produce an error.\\n* Applications are allowed to cache lookup results based on the\\n URL, or have them precompiled into a binary to avoid any\\n lookup. Therefore, binary compatibility needs to be preserved\\n on changes to types. (Use versioned type names to manage\\n breaking changes.)\\n\\nNote: this functionality is not currently available in the official\\nprotobuf release, and it is not used for type URLs beginning with\\ntype.googleapis.com. As of May 2023, there are no widely used type server\\nimplementations and no plans to implement one.\\n\\nSchemes other than `http`, `https` (or the empty scheme) might be\\nused with implementation specific semantics."}},"additionalProperties":{},"description":"`Any` contains an arbitrary serialized protocol buffer message along with a\\nURL that describes the type of the serialized message.\\n\\nProtobuf library provides support to pack/unpack Any values in the form\\nof utility functions or additional generated methods of the Any type.\\n\\nExample 1: Pack and unpack a message in C++.\\n\\n Foo foo = ...;\\n Any any;\\n any.PackFrom(foo);\\n ...\\n if (any.UnpackTo(&foo)) {\\n ...\\n }\\n\\nExample 2: Pack and unpack a message in Java.\\n\\n Foo foo = ...;\\n Any any = Any.pack(foo);\\n ...\\n if (any.is(Foo.class)) {\\n foo = any.unpack(Foo.class);\\n }\\n // or ...\\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\\n foo = any.unpack(Foo.getDefaultInstance());\\n }\\n\\n Example 3: Pack and unpack a message in Python.\\n\\n foo = Foo(...)\\n any = Any()\\n any.Pack(foo)\\n ...\\n if any.Is(Foo.DESCRIPTOR):\\n any.Unpack(foo)\\n ...\\n\\n Example 4: Pack and unpack a message in Go\\n\\n foo := &pb.Foo{...}\\n any, err := anypb.New(foo)\\n if err != nil {\\n ...\\n }\\n ...\\n foo := &pb.Foo{}\\n if err := any.UnmarshalTo(foo); err != nil {\\n ...\\n }\\n\\nThe pack methods provided by protobuf library will by default use\\n\'type.googleapis.com/full.type.name\' as the type URL and the unpack\\nmethods only use the fully qualified type name after the last \'/\'\\nin the type URL, for example \\"foo.bar.com/x/y.z\\" will yield type\\nname \\"y.z\\".\\n\\nJSON\\n====\\nThe JSON representation of an `Any` value uses the regular\\nrepresentation of the deserialized, embedded message, with an\\nadditional field `@type` which contains the type URL. Example:\\n\\n package google.profile;\\n message Person {\\n string first_name = 1;\\n string last_name = 2;\\n }\\n\\n {\\n \\"@type\\": \\"type.googleapis.com/google.profile.Person\\",\\n \\"firstName\\": <string>,\\n \\"lastName\\": <string>\\n }\\n\\nIf the embedded message type is well-known and has a custom JSON\\nrepresentation, that representation will be embedded adding a field\\n`value` which holds the custom JSON in addition to the `@type`\\nfield. Example (for message [google.protobuf.Duration][]):\\n\\n {\\n \\"@type\\": \\"type.googleapis.com/google.protobuf.Duration\\",\\n \\"value\\": \\"1.212s\\"\\n }"}}}}}}},"401":{"description":"A unauthenticated response.\\nThe header `authorization` was missing or unidentified.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string","description":"A URL/resource name that uniquely identifies the type of the serialized\\nprotocol buffer message. This string must contain at least\\none \\"/\\" character. The last segment of the URL\'s path must represent\\nthe fully qualified name of the type (as in\\n`path/google.protobuf.Duration`). The name should be in a canonical form\\n(e.g., leading \\".\\" is not accepted).\\n\\nIn practice, teams usually precompile into the binary all types that they\\nexpect it to use in the context of Any. However, for URLs which use the\\nscheme `http`, `https`, or no scheme, one can optionally set up a type\\nserver that maps type URLs to message definitions as follows:\\n\\n* If no scheme is provided, `https` is assumed.\\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\\n value in binary format, or produce an error.\\n* Applications are allowed to cache lookup results based on the\\n URL, or have them precompiled into a binary to avoid any\\n lookup. Therefore, binary compatibility needs to be preserved\\n on changes to types. (Use versioned type names to manage\\n breaking changes.)\\n\\nNote: this functionality is not currently available in the official\\nprotobuf release, and it is not used for type URLs beginning with\\ntype.googleapis.com. As of May 2023, there are no widely used type server\\nimplementations and no plans to implement one.\\n\\nSchemes other than `http`, `https` (or the empty sc
1heme) might be\\nused with implementation specific semantics."}},"additionalProperties":{},"description":"`Any` contains an arbitrary serialized protocol buffer message along with a\\nURL that describes the type of the serialized message.\\n\\nProtobuf library provides support to pack/unpack Any values in the form\\nof utility functions or additional generated methods of the Any type.\\n\\nExample 1: Pack and unpack a message in C++.\\n\\n Foo foo = ...;\\n Any any;\\n any.PackFrom(foo);\\n ...\\n if (any.UnpackTo(&foo)) {\\n ...\\n }\\n\\nExample 2: Pack and unpack a message in Java.\\n\\n Foo foo = ...;\\n Any any = Any.pack(foo);\\n ...\\n if (any.is(Foo.class)) {\\n foo = any.unpack(Foo.class);\\n }\\n // or ...\\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\\n foo = any.unpack(Foo.getDefaultInstance());\\n }\\n\\n Example 3: Pack and unpack a message in Python.\\n\\n foo = Foo(...)\\n any = Any()\\n any.Pack(foo)\\n ...\\n if any.Is(Foo.DESCRIPTOR):\\n any.Unpack(foo)\\n ...\\n\\n Example 4: Pack and unpack a message in Go\\n\\n foo := &pb.Foo{...}\\n any, err := anypb.New(foo)\\n if err != nil {\\n ...\\n }\\n ...\\n foo := &pb.Foo{}\\n if err := any.UnmarshalTo(foo); err != nil {\\n ...\\n }\\n\\nThe pack methods provided by protobuf library will by default use\\n\'type.googleapis.com/full.type.name\' as the type URL and the unpack\\nmethods only use the fully qualified type name after the last \'/\'\\nin the type URL, for example \\"foo.bar.com/x/y.z\\" will yield type\\nname \\"y.z\\".\\n\\nJSON\\n====\\nThe JSON representation of an `Any` value uses the regular\\nrepresentation of the deserialized, embedded message, with an\\nadditional field `@type` which contains the type URL. Example:\\n\\n package google.profile;\\n message Person {\\n string first_name = 1;\\n string last_name = 2;\\n }\\n\\n {\\n \\"@type\\": \\"type.googleapis.com/google.profile.Person\\",\\n \\"firstName\\": <string>,\\n \\"lastName\\": <string>\\n }\\n\\nIf the embedded message type is well-known and has a custom JSON\\nrepresentation, that representation will be embedded adding a field\\n`value` which holds the custom JSON in addition to the `@type`\\nfield. Example (for message [google.protobuf.Duration][]):\\n\\n {\\n \\"@type\\": \\"type.googleapis.com/google.protobuf.Duration\\",\\n \\"value\\": \\"1.212s\\"\\n }"}}}}}}},"403":{"description":"A forbidden response.\\nIt means that the provided `authorization` did not have enough permission to access the resource or the API.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string","description":"A URL/resource name that uniquely identifies the type of the serialized\\nprotocol buffer message. This string must contain at least\\none \\"/\\" character. The last segment of the URL\'s path must represent\\nthe fully qualified name of the type (as in\\n`path/google.protobuf.Duration`). The name should be in a canonical form\\n(e.g., leading \\".\\" is not accepted).\\n\\nIn practice, teams usually precompile into the binary all types that they\\nexpect it to use in the context of Any. However, for URLs which use the\\nscheme `http`, `https`, or no scheme, one can optionally set up a type\\nserver that maps type URLs to message definitions as follows:\\n\\n* If no scheme is provided, `https` is assumed.\\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\\n value in binary format, or produce an error.\\n* Applications are allowed to cache lookup results based on the\\n URL, or have them precompiled into a binary to avoid any\\n lookup. Therefore, binary compatibility needs to be preserved\\n on changes to types. (Use versioned type names to manage\\n breaking changes.)\\n\\nNote: this functionality is not currently available in the official\\nprotobuf release, and it is not used for type URLs beginning with\\ntype.googleapis.com. As of May 2023, there are no widely used type server\\nimplementations and no plans to implement one.\\n\\nSchemes other than `http`, `https` (or the empty sc
1heme) might be\\nused with implementation specific semantics."}},"additionalProperties":{},"description":"`Any` contains an arbitrary serialized protocol buffer message along with a\\nURL that describes the type of the serialized message.\\n\\nProtobuf library provides support to pack/unpack Any values in the form\\nof utility functions or additional generated methods of the Any type.\\n\\nExample 1: Pack and unpack a message in C++.\\n\\n Foo foo = ...;\\n Any any;\\n any.PackFrom(foo);\\n ...\\n if (any.UnpackTo(&foo)) {\\n ...\\n }\\n\\nExample 2: Pack and unpack a message in Java.\\n\\n Foo foo = ...;\\n Any any = Any.pack(foo);\\n ...\\n if (any.is(Foo.class)) {\\n foo = any.unpack(Foo.class);\\n }\\n // or ...\\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\\n foo = any.unpack(Foo.getDefaultInstance());\\n }\\n\\n Example 3: Pack and unpack a message in Python.\\n\\n foo = Foo(...)\\n any = Any()\\n any.Pack(foo)\\n ...\\n if any.Is(Foo.DESCRIPTOR):\\n any.Unpack(foo)\\n ...\\n\\n Example 4: Pack and unpack a message in Go\\n\\n foo := &pb.Foo{...}\\n any, err := anypb.New(foo)\\n if err != nil {\\n ...\\n }\\n ...\\n foo := &pb.Foo{}\\n if err := any.UnmarshalTo(foo); err != nil {\\n ...\\n }\\n\\nThe pack methods provided by protobuf library will by default use\\n\'type.googleapis.com/full.type.name\' as the type URL and the unpack\\nmethods only use the fully qualified type name after the last \'/\'\\nin the type URL, for example \\"foo.bar.com/x/y.z\\" will yield type\\nname \\"y.z\\".\\n\\nJSON\\n====\\nThe JSON representation of an `Any` value uses the regular\\nrepresentation of the deserialized, embedded message, with an\\nadditional field `@type` which contains the type URL. Example:\\n\\n package google.profile;\\n message Person {\\n string first_name = 1;\\n string last_name = 2;\\n }\\n\\n {\\n \\"@type\\": \\"type.googleapis.com/google.profile.Person\\",\\n \\"firstName\\": <string>,\\n \\"lastName\\": <string>\\n }\\n\\nIf the embedded message type is well-known and has a custom JSON\\nrepresentation, that representation will be embedded adding a field\\n`value` which holds the custom JSON in addition to the `@type`\\nfield. Example (for message [google.protobuf.Duration][]):\\n\\n {\\n \\"@type\\": \\"type.googleapis.com/google.protobuf.Duration\\",\\n \\"value\\": \\"1.212s\\"\\n }"}}}}}}},"500":{"description":"A server error response.\\nThere are more HTTP status code mappings listed on [here](https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto).","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string","description":"A URL/resource name that uniquely identifies the type of the serialized\\nprotocol buffer message. This string must contain at least\\none \\"/\\" character. The last segment of the URL\'s path must represent\\nthe fully qualified name of the type (as in\\n`path/google.protobuf.Duration`). The name should be in a canonical form\\n(e.g., leading \\".\\" is not accepted).\\n\\nIn practice, teams usually precompile into the binary all types that they\\nexpect it to use in the context of Any. However, for URLs which use the\\nscheme `http`, `https`, or no scheme, one can optionally set up a type\\nserver that maps type URLs to message definitions as follows:\\n\\n* If no scheme is provided, `https` is assumed.\\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\\n value in binary format, or produce an error.\\n* Applications are allowed to cache lookup results based on the\\n URL, or have them precompiled into a binary to avoid any\\n lookup. Therefore, binary compatibility needs to be preserved\\n on changes to types. (Use versioned type names to manage\\n breaking changes.)\\n\\nNote: this functionality is not currently available in the official\\nprotobuf release, and it is not used for type URLs beginning with\\ntype.googleapis.com. As of May 2023, there are no widely used type server\\nimplementations and no plans to implement one.\\n\\nSchemes other than `http`, `https` (or the empty sc
1heme) might be\\nused with implementation specific semantics."}},"additionalProperties":{},"description":"`Any` contains an arbitrary serialized protocol buffer message along with a\\nURL that describes the type of the serialized message.\\n\\nProtobuf library provides support to pack/unpack Any values in the form\\nof utility functions or additional generated methods of the Any type.\\n\\nExample 1: Pack and unpack a message in C++.\\n\\n Foo foo = ...;\\n Any any;\\n any.PackFrom(foo);\\n ...\\n if (any.UnpackTo(&foo)) {\\n ...\\n }\\n\\nExample 2: Pack and unpack a message in Java.\\n\\n Foo foo = ...;\\n Any any = Any.pack(foo);\\n ...\\n if (any.is(Foo.class)) {\\n foo = any.unpack(Foo.class);\\n }\\n // or ...\\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\\n foo = any.unpack(Foo.getDefaultInstance());\\n }\\n\\n Example 3: Pack and unpack a message in Python.\\n\\n foo = Foo(...)\\n any = Any()\\n any.Pack(foo)\\n ...\\n if any.Is(Foo.DESCRIPTOR):\\n any.Unpack(foo)\\n ...\\n\\n Example 4: Pack and unpack a message in Go\\n\\n foo := &pb.Foo{...}\\n any, err := anypb.New(foo)\\n if err != nil {\\n ...\\n }\\n ...\\n foo := &pb.Foo{}\\n if err := any.UnmarshalTo(foo); err != nil {\\n ...\\n }\\n\\nThe pack methods provided by protobuf library will by default use\\n\'type.googleapis.com/full.type.name\' as the type URL and the unpack\\nmethods only use the fully qualified type name after the last \'/\'\\nin the type URL, for example \\"foo.bar.com/x/y.z\\" will yield type\\nname \\"y.z\\".\\n\\nJSON\\n====\\nThe JSON representation of an `Any` value uses the regular\\nrepresentation of the deserialized, embedded message, with an\\nadditional field `@type` which contains the type URL. Example:\\n\\n package google.profile;\\n message Person {\\n string first_name = 1;\\n string last_name = 2;\\n }\\n\\n {\\n \\"@type\\": \\"type.googleapis.com/google.profile.Person\\",\\n \\"firstName\\": <string>,\\n \\"lastName\\": <string>\\n }\\n\\nIf the embedded message type is well-known and has a custom JSON\\nrepresentation, that representation will be embedded adding a field\\n`value` which holds the custom JSON in addition to the `@type`\\nfield. Example (for message [google.protobuf.Duration][]):\\n\\n {\\n \\"@type\\": \\"type.googleapis.com/google.protobuf.Duration\\",\\n \\"value\\": \\"1.212s\\"\\n }"}}}}}}},"default":{"description":"An unexpected error response.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string","description":"A URL/resource name that uniquely identifies the type of the serialized\\nprotocol buffer message. This string must contain at least\\none \\"/\\" character. The last segment of the URL\'s path must represent\\nthe fully qualified name of the type (as in\\n`path/google.protobuf.Duration`). The name should be in a canonical form\\n(e.g., leading \\".\\" is not accepted).\\n\\nIn practice, teams usually precompile into the binary all types that they\\nexpect it to use in the context of Any. However, for URLs which use the\\nscheme `http`, `https`, or no scheme, one can optionally set up a type\\nserver that maps type URLs to message definitions as follows:\\n\\n* If no scheme is provided, `https` is assumed.\\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\\n value in binary format, or produce an error.\\n* Applications are allowed to cache lookup results based on the\\n URL, or have them precompiled into a binary to avoid any\\n lookup. Therefore, binary compatibility needs to be preserved\\n on changes to types. (Use versioned type names to manage\\n breaking changes.)\\n\\nNote: this functionality is not currently available in the official\\nprotobuf release, and it is not used for type URLs beginning with\\ntype.googleapis.com. As of May 2023, there are no widely used type server\\nimplementations and no plans to implement one.\\n\\nSchemes other than `http`, `https` (or the empty sc
1heme) might be\\nused with implementation specific semantics."}},"additionalProperties":{},"description":"`Any` contains an arbitrary serialized protocol buffer message along with a\\nURL that describes the type of the serialized message.\\n\\nProtobuf library provides support to pack/unpack Any values in the form\\nof utility functions or additional generated methods of the Any type.\\n\\nExample 1: Pack and unpack a message in C++.\\n\\n Foo foo = ...;\\n Any any;\\n any.PackFrom(foo);\\n ...\\n if (any.UnpackTo(&foo)) {\\n ...\\n }\\n\\nExample 2: Pack and unpack a message in Java.\\n\\n Foo foo = ...;\\n Any any = Any.pack(foo);\\n ...\\n if (any.is(Foo.class)) {\\n foo = any.unpack(Foo.class);\\n }\\n // or ...\\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\\n foo = any.unpack(Foo.getDefaultInstance());\\n }\\n\\n Example 3: Pack and unpack a message in Python.\\n\\n foo = Foo(...)\\n any = Any()\\n any.Pack(foo)\\n ...\\n if any.Is(Foo.DESCRIPTOR):\\n any.Unpack(foo)\\n ...\\n\\n Example 4: Pack and unpack a message in Go\\n\\n foo := &pb.Foo{...}\\n any, err := anypb.New(foo)\\n if err != nil {\\n ...\\n }\\n ...\\n foo := &pb.Foo{}\\n if err := any.UnmarshalTo(foo); err != nil {\\n ...\\n }\\n\\nThe pack methods provided by protobuf library will by default use\\n\'type.googleapis.com/full.type.name\' as the type URL and the unpack\\nmethods only use the fully qualified type name after the last \'/\'\\nin the type URL, for example \\"foo.bar.com/x/y.z\\" will yield type\\nname \\"y.z\\".\\n\\nJSON\\n====\\nThe JSON representation of an `Any` value uses the regular\\nrepresentation of the deserialized, embedded message, with an\\nadditional field `@type` which contains the type URL. Example:\\n\\n package google.profile;\\n message Person {\\n string first_name = 1;\\n string last_name = 2;\\n }\\n\\n {\\n \\"@type\\": \\"type.googleapis.com/google.profile.Person\\",\\n \\"firstName\\": <string>,\\n \\"lastName\\": <string>\\n }\\n\\nIf the embedded message type is well-known and has a custom JSON\\nrepresentation, that representation will be embedded adding a field\\n`value` which holds the custom JSON in addition to the `@type`\\nfield. Example (for message [google.protobuf.Duration][]):\\n\\n {\\n \\"@type\\": \\"type.googleapis.com/google.protobuf.Duration\\",\\n \\"value\\": \\"1.212s\\"\\n }"}}}}}}}}}')}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.