Builds the content to a Stream compatible format using the associated sources in a consumer cloud storage bucket. A new content version is created with the user-specified tag if the build succeeds.
The returned Operation can be used to track the build status by polling operations.get. The Operation will complete when the build is done.
Returns [StreamContent] in the Operation.response field on successful completion.
HTTP request
POST https://stream.googleapis.com/v1alpha1/{name=projects/*/locations/*/streamContents/*}:build
Optional. A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if a requestId is provided."
Response body
If successful, the response body contains an instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-30 UTC."],[[["\u003cp\u003eThis endpoint builds content into a Stream-compatible format from a consumer cloud storage bucket and creates a new content version with a user-specified tag upon successful completion.\u003c/p\u003e\n"],["\u003cp\u003eThe build process can be tracked via the returned Operation object, which can be polled using \u003ccode\u003eoperations.get\u003c/code\u003e until the build is complete.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a \u003ccode\u003ePOST\u003c/code\u003e to a URL defined by gRPC Transcoding syntax, and the request body must contain a \u003ccode\u003econtentVersionTag\u003c/code\u003e and an optional \u003ccode\u003erequestId\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eA successful build will return a \u003ccode\u003eStreamContent\u003c/code\u003e in the Operation's response field, using the OAuth scope: \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003ePath parameter \u003ccode\u003ename\u003c/code\u003e is required and is a string that is the canonical resource name of the content, the \u003ccode\u003econtentVersionTag\u003c/code\u003e is also required, with a constraint of \u003ccode\u003e[\\\\w][\\\\w.-]{0,127}\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.streamContents.build\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n- [Try it!](#try-it)\n\nBuilds the content to a Stream compatible format using the associated sources in a consumer cloud storage bucket. A new content version is created with the user-specified tag if the build succeeds.\n\nThe returned Operation can be used to track the build status by polling [operations.get](/immersive-stream/xr/docs/reference/rest/v1alpha1/projects.locations.operations/get#google.longrunning.Operations.GetOperation). The Operation will complete when the build is done.\n\nReturns \\[StreamContent\\] in the [Operation.response](/immersive-stream/xr/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation.FIELDS.response) field on successful completion.\n\n### HTTP request\n\n`POST https://stream.googleapis.com/v1alpha1/{name=projects/*/locations/*/streamContents/*}:build`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/immersive-stream/xr/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]