Field mask is used to specify the fields to be overwritten in the Channel resource by the update. You can only update the following fields: * * inputAttachments * * inputConfig * * output * * elementaryStreams * * muxStreams * * manifests * * spriteSheets * * logConfig * * timecodeConfig * * encryptions The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the mask is not present, then each field from the list above is updated if the field appears in the request payload. To unset a field, add the field to the update mask and remove it from the request payload.
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).
getUpdateMask
Field mask is used to specify the fields to be overwritten in the Channel
resource by the update. You can only update the following fields:
encryptions
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask.
If the mask is not present, then each field from the list above is updated
if the field appears in the request payload. To unset a field, add the
field to the update mask and remove it from the request payload.
encryptions
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask.
If the mask is not present, then each field from the list above is updated
if the field appears in the request payload. To unset a field, add the
field to the update mask and remove it from the request payload.
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).
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask.
If the mask is not present, then each field from the list above is updated
if the field appears in the request payload. To unset a field, add the
field to the update mask and remove it from the request payload.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Google Cloud Video Live Stream V1 Client - Class UpdateChannelRequest (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-video-live-stream/latest/V1.UpdateChannelRequest)\n- [1.2.0](/php/docs/reference/cloud-video-live-stream/1.2.0/V1.UpdateChannelRequest)\n- [1.1.3](/php/docs/reference/cloud-video-live-stream/1.1.3/V1.UpdateChannelRequest)\n- [1.0.0](/php/docs/reference/cloud-video-live-stream/1.0.0/V1.UpdateChannelRequest)\n- [0.7.5](/php/docs/reference/cloud-video-live-stream/0.7.5/V1.UpdateChannelRequest)\n- [0.6.2](/php/docs/reference/cloud-video-live-stream/0.6.2/V1.UpdateChannelRequest)\n- [0.5.0](/php/docs/reference/cloud-video-live-stream/0.5.0/V1.UpdateChannelRequest)\n- [0.4.2](/php/docs/reference/cloud-video-live-stream/0.4.2/V1.UpdateChannelRequest)\n- [0.3.2](/php/docs/reference/cloud-video-live-stream/0.3.2/V1.UpdateChannelRequest)\n- [0.2.6](/php/docs/reference/cloud-video-live-stream/0.2.6/V1.UpdateChannelRequest) \nReference documentation and code samples for the Google Cloud Video Live Stream V1 Client class UpdateChannelRequest.\n\nRequest message for \"LivestreamService.UpdateChannel\".\n\nGenerated from protobuf message `google.cloud.video.livestream.v1.UpdateChannelRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Video \\\\ LiveStream \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getUpdateMask\n\nField mask is used to specify the fields to be overwritten in the Channel\nresource by the update. You can only update the following fields:\n\n- [`inputAttachments`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputattachment)\n- [`inputConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputconfig)\n- [`output`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#output)\n- [`elementaryStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#elementarystream)\n- [`muxStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#muxstream)\n- [`manifests`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#manifest)\n- [`spriteSheets`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#spritesheet)\n- [`logConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#logconfig)\n- [`timecodeConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#timecodeconfig)\n- [`encryptions`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#encryption) The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.\n\nIf the mask is not present, then each field from the list above is updated\nif the field appears in the request payload. To unset a field, add the\nfield to the update mask and remove it from the request payload.\n\n### hasUpdateMask\n\n### clearUpdateMask\n\n### setUpdateMask\n\nField mask is used to specify the fields to be overwritten in the Channel\nresource by the update. You can only update the following fields:\n\n- [`inputAttachments`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputattachment)\n- [`inputConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputconfig)\n- [`output`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#output)\n- [`elementaryStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#elementarystream)\n- [`muxStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#muxstream)\n- [`manifests`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#manifest)\n- [`spriteSheets`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#spritesheet)\n- [`logConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#logconfig)\n- [`timecodeConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#timecodeconfig)\n- [`encryptions`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#encryption) The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.\n\nIf the mask is not present, then each field from the list above is updated\nif the field appears in the request payload. To unset a field, add the\nfield to the update mask and remove it from the request payload.\n\n### getChannel\n\nRequired. The channel resource to be updated.\n\n### hasChannel\n\n### clearChannel\n\n### setChannel\n\nRequired. The channel resource to be updated.\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"]]