Service Client: Google::Cloud::Video::Livestream::V1::Service::LivestreamServiceClient
Client stub representing the remote LivestreamService gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to video.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Video::Livestream::V1::Service - Compiled Protocol Buffers messages for google/cloud/video/livestream/v1/service.proto
SYNOPSIS
use Google::Cloud::Video::Livestream::V1::Service;
my $msg = Google::Cloud::Video::Livestream::V1::Service::CreateAssetRequest->new({
parent => $parent,
asset => $asset,
asset_id => $asset_id,
request_id => $request_id,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Video::Livestream::V1::Service::CreateAssetRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/video/livestream/v1/service.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Video::Livestream::V1::Service::CreateAssetRequest
Request message for "LivestreamService.CreateAsset".
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`.
$msg->asset()/$msg->asset($value)Type:
Message(Google::Cloud::Video::Livestream::V1::Resources::Asset)Required. The asset resource to be created.
$msg->asset_id()/$msg->asset_id($value)Type:
StringRequired. The ID of the asset resource to be created.
This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
$msg->request_id()/$msg->request_id($value)Type:
StringA 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)`.
Google::Cloud::Video::Livestream::V1::Service::DeleteAssetRequest
Request message for "LivestreamService.DeleteAsset".
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the asset resource, in the form of: `projects/{project}/locations/{location}/assets/{assetId}`.
$msg->request_id()/$msg->request_id($value)Type:
StringA 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 after 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)`.
Google::Cloud::Video::Livestream::V1::Service::ListAssetsRequest
Request message for "LivestreamService.ListAssets".
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringA token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringFiltering results
$msg->order_by()/$msg->order_by($value)Type:
StringHint for how to order the results
Google::Cloud::Video::Livestream::V1::Service::ListAssetsResponse
Response message for "LivestreamService.ListAssets".
Inherits from Protobuf::Message.
Accessors
$msg->assets()/$msg->assets($value)Type:
Message(Google::Cloud::Video::Livestream::V1::Resources::Asset)The list of Assets
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringThe next_page_token value returned from a previous List request, if any.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Video::Livestream::V1::Service::GetAssetRequest
Request message for "LivestreamService.GetAsset".
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource, in the following form: `projects/{project}/locations/{location}/assets/{asset}`.
Google::Cloud::Video::Livestream::V1::Service::CreateChannelRequest
Request message for "LivestreamService.CreateChannel".
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`.
$msg->channel()/$msg->channel($value)Type:
Message(Google::Cloud::Video::Livestream::V1::Resources::Channel)Required. The channel resource to be created.
$msg->channel_id()/$msg->channel_id($value)Type:
StringRequired. The ID of the channel resource to be created.
This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
$msg->request_id()/$msg->request_id($value)Type:
StringA 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)`.
Google::Cloud::Video::Livestream::V1::Service::ListChannelsRequest
Request message for "LivestreamService.ListChannels".
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of items to return. If unspecified, server will pick an appropriate default. Server may return fewer items than requested. A caller should only rely on response's [next_page_token][google.cloud.video.livestream.v1.ListChannelsResponse.next_page_token] to determine if there are more items left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringThe next_page_token value returned from a previous List request, if any.
$msg->filter()/$msg->filter($value)Type:
StringThe filter to apply to list results.
$msg->order_by()/$msg->order_by($value)Type:
StringSpecifies the ordering of results following syntax at https://cloud.google.com/apis/design/design_patterns#sorting_order.
Google::Cloud::Video::Livestream::V1::Service::ListChannelsResponse
Response message for "LivestreamService.ListChannels".
Inherits from Protobuf::Message.
Accessors
$msg->channels()/$msg->channels($value)Type:
Message(Google::Cloud::Video::Livestream::V1::Resources::Channel)A list of channels.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Video::Livestream::V1::Service::GetChannelRequest
Request message for "LivestreamService.GetChannel".
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`.
Google::Cloud::Video::Livestream::V1::Service::DeleteChannelRequest
Request message for "LivestreamService.DeleteChannel".
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`.
$msg->request_id()/$msg->request_id($value)Type:
StringA 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 after 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)`.
$msg->force()/$msg->force($value)Type:
BoolIf the `force` field is set to the default value of `false`, you must delete all of a channel's events before you can delete the channel itself. If the field is set to `true`, requests to delete a channel also delete associated channel events.
Google::Cloud::Video::Livestream::V1::Service::UpdateChannelRequest
Request message for "LivestreamService.UpdateChannel".
Inherits from Protobuf::Message.
Accessors
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)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`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputattachment) * [`inputConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputconfig) * [`output`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#output) * [`elementaryStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#elementarystream) * [`muxStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#muxstream) * [`manifests`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#manifest) * [`spriteSheets`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#spritesheet) * [`logConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#logconfig) * [`timecodeConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#timecodeconfig) * [`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.
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.
$msg->channel()/$msg->channel($value)Type:
Message(Google::Cloud::Video::Livestream::V1::Resources::Channel)Required. The channel resource to be updated.
$msg->request_id()/$msg->request_id($value)Type:
StringA 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)`.
Google::Cloud::Video::Livestream::V1::Service::StartChannelRequest
Request message for "LivestreamService.StartChannel".
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`.
$msg->request_id()/$msg->request_id($value)Type:
StringA 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)`.
Google::Cloud::Video::Livestream::V1::Service::StopChannelRequest
Request message for "LivestreamService.StopChannel".
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`.
$msg->request_id()/$msg->request_id($value)Type:
StringA 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)`.
Google::Cloud::Video::Livestream::V1::Service::StartDistributionRequest
Request message for "LivestreamService.StartDistribution".
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`.
$msg->distribution_keys()/$msg->distribution_keys($value)Type:
StringOptional. A list of keys to identify the distribution configuration in the channel resource. If left empty, all the distributions in the channel specification will be started.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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)`.
Google::Cloud::Video::Livestream::V1::Service::StopDistributionRequest
Request message for "LivestreamService.StopDistribution".
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`.
$msg->distribution_keys()/$msg->distribution_keys($value)Type:
StringOptional. A list of key to identify the distribution configuration in the channel resource. If left empty, all the distributions in the channel specification will be stopped.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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)`.
Google::Cloud::Video::Livestream::V1::Service::CreateInputRequest
Request message for "LivestreamService.CreateInput".
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`.
$msg->input()/$msg->input($value)Type:
Message(Google::Cloud::Video::Livestream::V1::Resources::Input)Required. The input resource to be created.
$msg->input_id()/$msg->input_id($value)Type:
StringRequired. The ID of the input resource to be created.
This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
$msg->request_id()/$msg->request_id($value)Type:
StringA 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)`.
Google::Cloud::Video::Livestream::V1::Service::ListInputsRequest
Request message for "LivestreamService.ListInputs".
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of items to return. If unspecified, server will pick an appropriate default. Server may return fewer items than requested. A caller should only rely on response's [next_page_token][google.cloud.video.livestream.v1.ListInputsResponse.next_page_token] to determine if there are more items left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringThe next_page_token value returned from a previous List request, if any.
$msg->filter()/$msg->filter($value)Type:
StringThe filter to apply to list results.
$msg->order_by()/$msg->order_by($value)Type:
StringSpecifies the ordering of results following syntax at [Sorting Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
Google::Cloud::Video::Livestream::V1::Service::ListInputsResponse
Response message for "LivestreamService.ListInputs".
Inherits from Protobuf::Message.
Accessors
$msg->inputs()/$msg->inputs($value)Type:
Message(Google::Cloud::Video::Livestream::V1::Resources::Input)A list of inputs.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Video::Livestream::V1::Service::GetInputRequest
Request message for "LivestreamService.GetInput".
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the input resource, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`.
Google::Cloud::Video::Livestream::V1::Service::DeleteInputRequest
Request message for "LivestreamService.DeleteInput".
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the input resource, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`.
$msg->request_id()/$msg->request_id($value)Type:
StringA 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)`.
Google::Cloud::Video::Livestream::V1::Service::UpdateInputRequest
Request message for "LivestreamService.UpdateInput".
Inherits from Protobuf::Message.
Accessors
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Field mask is used to specify the fields to be overwritten in the Input resource by the update. You can only update the following fields:
* [`tier`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#Tier) * [`preprocessingConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#PreprocessingConfig) * [`securityRules`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#SecurityRule)
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.
$msg->input()/$msg->input($value)Type:
Message(Google::Cloud::Video::Livestream::V1::Resources::Input)Required. The input resource to be updated.
$msg->request_id()/$msg->request_id($value)Type:
StringA 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)`.
Google::Cloud::Video::Livestream::V1::Service::CreateEventRequest
Request message for "LivestreamService.CreateEvent".
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent channel for the resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`.
$msg->event()/$msg->event($value)Type:
Message(Google::Cloud::Video::Livestream::V1::Resources::Event)Required. The event resource to be created.
$msg->event_id()/$msg->event_id($value)Type:
StringRequired. The ID of the event resource to be created.
This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
$msg->request_id()/$msg->request_id($value)Type:
StringA 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)`.
Google::Cloud::Video::Livestream::V1::Service::ListEventsRequest
Request message for "LivestreamService.ListEvents".
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent channel for the resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of items to return. If unspecified, server will pick an appropriate default. Server may return fewer items than requested. A caller should only rely on response's [next_page_token][google.cloud.video.livestream.v1.ListEventsResponse.next_page_token] to determine if there are more items left to be queried.
$msg->page_token()/$msg->page_token($value)Type:
StringThe next_page_token value returned from a previous List request, if any.
$msg->filter()/$msg->filter($value)Type:
StringThe filter to apply to list results.
$msg->order_by()/$msg->order_by($value)Type:
StringSpecifies the ordering of results following syntax at https://cloud.google.com/apis/design/design_patterns#sorting_order.
Google::Cloud::Video::Livestream::V1::Service::ListEventsResponse
Response message for "LivestreamService.ListEvents".
Inherits from Protobuf::Message.
Accessors
$msg->events()/$msg->events($value)Type:
Message(Google::Cloud::Video::Livestream::V1::Resources::Event)A list of events.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Video::Livestream::V1::Service::GetEventRequest
Request message for "LivestreamService.GetEvent".
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the event resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
Google::Cloud::Video::Livestream::V1::Service::DeleteEventRequest
Request message for "LivestreamService.DeleteEvent".
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the event resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`.
$msg->request_id()/$msg->request_id($value)Type:
StringA 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)`.
Google::Cloud::Video::Livestream::V1::Service::ChannelOperationResponse
Response message for Start/Stop Channel long-running operations.
Inherits from Protobuf::Message.
Google::Cloud::Video::Livestream::V1::Service::ListClipsRequest
Request message for "LivestreamService.ListClips".
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for ListClipsRequest
$msg->page_size()/$msg->page_size($value)Type:
Int32Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringA token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringFiltering results
$msg->order_by()/$msg->order_by($value)Type:
StringHint for how to order the results
Google::Cloud::Video::Livestream::V1::Service::ListClipsResponse
Response message for "LivestreamService.ListClips".
Inherits from Protobuf::Message.
Accessors
$msg->clips()/$msg->clips($value)Type:
Message(Google::Cloud::Video::Livestream::V1::Resources::Clip)The list of Clip
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Video::Livestream::V1::Service::GetClipRequest
Request message for "LivestreamService.GetClip".
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource, in the following form: `projects/{project}/locations/{location}/channels/{channel}/clips/{clip}`.
Google::Cloud::Video::Livestream::V1::Service::CreateClipRequest
Request message for "LivestreamService.CreateClip".
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource name, in the following form: `projects/{project}/locations/{location}/channels/{channel}`.
$msg->clip_id()/$msg->clip_id($value)Type:
StringRequired. The ID of the clip resource to be created.
This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
$msg->clip()/$msg->clip($value)Type:
Message(Google::Cloud::Video::Livestream::V1::Resources::Clip)Required. The resource being created
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An optional 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).
Google::Cloud::Video::Livestream::V1::Service::DeleteClipRequest
Request message for "LivestreamService.DeleteClip".
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the clip resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/clips/{clipId}`.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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)`.
Google::Cloud::Video::Livestream::V1::Service::ListDvrSessionsRequest
Request message for "LivestreamService.ListDvrSessions".
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for ListDvrSessionsRequest
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filtering results
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Hint for how to order the results
Google::Cloud::Video::Livestream::V1::Service::ListDvrSessionsResponse
Response message for "LivestreamService.ListDvrSessions".
Inherits from Protobuf::Message.
Accessors
$msg->dvr_sessions()/$msg->dvr_sessions($value)Type:
Message(Google::Cloud::Video::Livestream::V1::Resources::DvrSession)The list of DVR sessions
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Video::Livestream::V1::Service::GetDvrSessionRequest
Request message for "LivestreamService.GetDvrSession".
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource, in the following form: `projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}`.
Google::Cloud::Video::Livestream::V1::Service::CreateDvrSessionRequest
Request message for "LivestreamService.CreateDvrSession".
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource name, in the following form: `projects/{project}/locations/{location}/channels/{channelId}`.
$msg->dvr_session_id()/$msg->dvr_session_id($value)Type:
StringRequired. The ID of the DVR session resource to be created.
This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
$msg->dvr_session()/$msg->dvr_session($value)Type:
Message(Google::Cloud::Video::Livestream::V1::Resources::DvrSession)Required. The resource being created
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An optional 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).
Google::Cloud::Video::Livestream::V1::Service::DeleteDvrSessionRequest
Request message for "LivestreamService.DeleteDvrSession".
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the event resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}`.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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)`.
Google::Cloud::Video::Livestream::V1::Service::UpdateDvrSessionRequest
Request message for "LivestreamService.UpdateDvrSession".
Inherits from Protobuf::Message.
Accessors
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. Field mask is used to specify the fields to be overwritten in the DvrSession resource by the update. You can only update the following fields:
* `dvrWindows`
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.
$msg->dvr_session()/$msg->dvr_session($value)Type:
Message(Google::Cloud::Video::Livestream::V1::Resources::DvrSession)Required. The DVR session resource to be updated.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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)`.
Google::Cloud::Video::Livestream::V1::Service::OperationMetadata
Represents the metadata of the long-running operation.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation was created.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation finished running.
$msg->target()/$msg->target($value)Type:
StringOutput only. Server-defined resource path for the target of the operation.
$msg->verb()/$msg->verb($value)Type:
StringOutput only. Name of the verb executed by the operation.
$msg->requested_cancellation()/$msg->requested_cancellation($value)Type:
BoolOutput only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [google.longrunning.Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
$msg->api_version()/$msg->api_version($value)Type:
StringOutput only. API version used to start the operation.
Google::Cloud::Video::Livestream::V1::Service::GetPoolRequest
Request message for "LivestreamService.GetPool".
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the pool resource, in the form of: `projects/{project}/locations/{location}/pools/{poolId}`.
Google::Cloud::Video::Livestream::V1::Service::UpdatePoolRequest
Request message for "LivestreamService.UpdatePool".
Inherits from Protobuf::Message.
Accessors
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Field mask is used to specify the fields to be overwritten in the Pool resource by the update. You can only update the following fields:
* `networkConfig`
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.
$msg->pool()/$msg->pool($value)Type:
Message(Google::Cloud::Video::Livestream::V1::Resources::Pool)Required. The pool resource to be updated.
$msg->request_id()/$msg->request_id($value)Type:
StringA 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)`.
Google::Cloud::Video::Livestream::V1::Service::PreviewInputRequest
Request message for "LivestreamService.PreviewInput"
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the input resource, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`.
Google::Cloud::Video::Livestream::V1::Service::PreviewInputResponse
Response message for "LivestreamService.PreviewInput"
Inherits from Protobuf::Message.
Accessors
$msg->uri()/$msg->uri($value)Type:
StringURI to display the preview content.
$msg->bearer_token()/$msg->bearer_token($value)Type:
StringA bearer token used to authenticate connections that display the preview content. The token expires after one hour. For HTTP connections, this token should be included as a bearer token inside the Authorization header.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Video::Livestream::V1::Service::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.