Required. The ID of the asset resource to be created. This value must be 1-63 characters, begin and end with[a-z0-9], could contain dashes (-) in between.
↳ request_id
string
A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
getParent
Required. The parent location for the resource, in the form of:projects/{project}/locations/{location}.
Returns
Type
Description
string
setParent
Required. The parent location for the resource, in the form of:projects/{project}/locations/{location}.
Required. The ID of the asset resource to be created.
This value must be 1-63 characters, begin and end with[a-z0-9],
could contain dashes (-) in between.
Returns
Type
Description
string
setAssetId
Required. The ID of the asset resource to be created.
This value must be 1-63 characters, begin and end with[a-z0-9],
could contain dashes (-) in between.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getRequestId
A request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know to ignore
the request if it has already been completed. The server will guarantee
that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request ID,
the server can check if original operation with the same request ID was
received, and if so, will ignore the second request. This prevents clients
from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported(00000000-0000-0000-0000-000000000000).
Returns
Type
Description
string
setRequestId
A request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know to ignore
the request if it has already been completed. The server will guarantee
that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request ID,
the server can check if original operation with the same request ID was
received, and if so, will ignore the second request. This prevents clients
from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported(00000000-0000-0000-0000-000000000000).
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameters
Name
Description
parent
string
Required. The parent location for the resource, in the form of:projects/{project}/locations/{location}. Please seeLivestreamServiceClient::locationName()for help formatting this field.
Required. The ID of the asset resource to be created.
This value must be 1-63 characters, begin and end with[a-z0-9],
could contain dashes (-) in between.
[[["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-09-04 UTC."],[],[],null,["# Google Cloud Video Live Stream V1 Client - Class CreateAssetRequest (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-video-live-stream/latest/V1.CreateAssetRequest)\n- [1.2.0](/php/docs/reference/cloud-video-live-stream/1.2.0/V1.CreateAssetRequest)\n- [1.1.3](/php/docs/reference/cloud-video-live-stream/1.1.3/V1.CreateAssetRequest)\n- [1.0.0](/php/docs/reference/cloud-video-live-stream/1.0.0/V1.CreateAssetRequest)\n- [0.7.5](/php/docs/reference/cloud-video-live-stream/0.7.5/V1.CreateAssetRequest)\n- [0.6.2](/php/docs/reference/cloud-video-live-stream/0.6.2/V1.CreateAssetRequest)\n- [0.5.0](/php/docs/reference/cloud-video-live-stream/0.5.0/V1.CreateAssetRequest)\n- [0.4.2](/php/docs/reference/cloud-video-live-stream/0.4.2/V1.CreateAssetRequest)\n- [0.3.2](/php/docs/reference/cloud-video-live-stream/0.3.2/V1.CreateAssetRequest)\n- [0.2.6](/php/docs/reference/cloud-video-live-stream/0.2.6/V1.CreateAssetRequest) \nReference documentation and code samples for the Google Cloud Video Live Stream V1 Client class CreateAssetRequest.\n\nRequest message for \"LivestreamService.CreateAsset\".\n\nGenerated from protobuf message `google.cloud.video.livestream.v1.CreateAssetRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Video \\\\ LiveStream \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The parent location for the resource, in the form of:\n`projects/{project}/locations/{location}`.\n\n### setParent\n\nRequired. The parent location for the resource, in the form of:\n`projects/{project}/locations/{location}`.\n\n### getAsset\n\nRequired. The asset resource to be created.\n\n### hasAsset\n\n### clearAsset\n\n### setAsset\n\nRequired. The asset resource to be created.\n\n### getAssetId\n\nRequired. The ID of the asset resource to be created.\n\nThis value must be 1-63 characters, begin and end with `[a-z0-9]`,\ncould contain dashes (-) in between.\n\n### setAssetId\n\nRequired. The ID of the asset resource to be created.\n\nThis value must be 1-63 characters, begin and end with `[a-z0-9]`,\ncould contain dashes (-) in between.\n\n### getRequestId\n\nA request ID to identify requests. Specify a unique request ID\nso that if you must retry your request, the server will know to ignore\nthe request if it has already been completed. The server will guarantee\nthat for at least 60 minutes since the first request.\n\nFor example, consider a situation where you make an initial request and the\nrequest times out. If you make the request again with the same request ID,\nthe server can check if original operation with the same request ID was\nreceived, and if so, will ignore the second request. This prevents clients\nfrom accidentally creating duplicate commitments.\nThe request ID must be a valid UUID with the exception that zero UUID is\nnot supported `(00000000-0000-0000-0000-000000000000)`.\n\n### setRequestId\n\nA request ID to identify requests. Specify a unique request ID\nso that if you must retry your request, the server will know to ignore\nthe request if it has already been completed. The server will guarantee\nthat for at least 60 minutes since the first request.\n\nFor example, consider a situation where you make an initial request and the\nrequest times out. If you make the request again with the same request ID,\nthe server can check if original operation with the same request ID was\nreceived, and if so, will ignore the second request. This prevents clients\nfrom accidentally creating duplicate commitments.\nThe request ID must be a valid UUID with the exception that zero UUID is\nnot supported `(00000000-0000-0000-0000-000000000000)`.\n\n### static::build"]]