Using Live Stream API, you can generate live streams in the various renditions and streaming formats.
The streaming format include HTTP Live Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send a source stream in the various ways, including Real-Time Messaging Protocol (RTMP) and Secure Reliable Transport (SRT).
Equality
Instances of this class created via copy-construction or copy-assignment always compare equal. Instances created with equal std::shared_ptr<*Connection>
objects compare equal. Objects that compare equal share the same underlying resources.
Performance
Creating a new instance of this class is a relatively expensive operation, new objects establish new connections to the service. In contrast, copy-construction, move-construction, and the corresponding assignment operations are relatively efficient as the copies share all underlying resources.
Thread Safety
Concurrent access to different instances of this class, even if they compare equal, is guaranteed to work. Two or more threads operating on the same instance of this class is not guaranteed to work. Since copy-construction and move-construction is a relatively efficient operation, consider using such a copy when using this class from multiple threads.
Constructors
LivestreamServiceClient(LivestreamServiceClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
LivestreamServiceClient const &
|
LivestreamServiceClient(LivestreamServiceClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
LivestreamServiceClient &&
|
LivestreamServiceClient(std::shared_ptr< LivestreamServiceConnection >, Options)
Parameters | |
---|---|
Name | Description |
connection |
std::shared_ptr< LivestreamServiceConnection >
|
opts |
Options
|
Operators
operator=(LivestreamServiceClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
LivestreamServiceClient const &
|
Returns | |
---|---|
Type | Description |
LivestreamServiceClient & |
operator=(LivestreamServiceClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
LivestreamServiceClient &&
|
Returns | |
---|---|
Type | Description |
LivestreamServiceClient & |
Functions
CreateChannel(std::string const &, google::cloud::video::livestream::v1::Channel const &, std::string const &, Options)
Creates a channel with the provided unique ID in the specified region.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The parent location for the resource, in the form of: |
channel |
google::cloud::video::livestream::v1::Channel const &
Required. The channel resource to be created. |
channel_id |
std::string const &
Required. The ID of the channel resource to be created. This value must be 1-63 characters, begin and end with |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::Channel > > |
A |
CreateChannel(ExperimentalTag, NoAwaitTag, std::string const &, google::cloud::video::livestream::v1::Channel const &, std::string const &, Options)
Creates a channel with the provided unique ID in the specified region.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
parent |
std::string const &
|
channel |
google::cloud::video::livestream::v1::Channel const &
|
channel_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateChannel(google::cloud::video::livestream::v1::CreateChannelRequest const &, Options)
Creates a channel with the provided unique ID in the specified region.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::video::livestream::v1::CreateChannelRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::Channel > > |
A |
CreateChannel(ExperimentalTag, NoAwaitTag, google::cloud::video::livestream::v1::CreateChannelRequest const &, Options)
Creates a channel with the provided unique ID in the specified region.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::video::livestream::v1::CreateChannelRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateChannel(ExperimentalTag, google::longrunning::Operation const &, Options)
Creates a channel with the provided unique ID in the specified region.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::Channel > > |
ListChannels(std::string const &, Options)
Returns a list of all channels in the specified region.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The parent location for the resource, in the form of: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::video::livestream::v1::Channel > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListChannels(google::cloud::video::livestream::v1::ListChannelsRequest, Options)
Returns a list of all channels in the specified region.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::video::livestream::v1::ListChannelsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::video::livestream::v1::Channel > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetChannel(std::string const &, Options)
Returns the specified channel.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the channel resource, in the form of: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::video::livestream::v1::Channel > |
the result of the RPC. The response message type (google.cloud.video.livestream.v1.Channel) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetChannel(google::cloud::video::livestream::v1::GetChannelRequest const &, Options)
Returns the specified channel.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::video::livestream::v1::GetChannelRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::video::livestream::v1::Channel > |
the result of the RPC. The response message type (google.cloud.video.livestream.v1.Channel) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
DeleteChannel(std::string const &, Options)
Deletes the specified channel.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the channel resource, in the form of: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::OperationMetadata > > |
A |
DeleteChannel(ExperimentalTag, NoAwaitTag, std::string const &, Options)
Deletes the specified channel.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteChannel(google::cloud::video::livestream::v1::DeleteChannelRequest const &, Options)
Deletes the specified channel.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::video::livestream::v1::DeleteChannelRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::OperationMetadata > > |
A |
DeleteChannel(ExperimentalTag, NoAwaitTag, google::cloud::video::livestream::v1::DeleteChannelRequest const &, Options)
Deletes the specified channel.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::video::livestream::v1::DeleteChannelRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteChannel(ExperimentalTag, google::longrunning::Operation const &, Options)
Deletes the specified channel.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::OperationMetadata > > |
UpdateChannel(google::cloud::video::livestream::v1::Channel const &, google::protobuf::FieldMask const &, Options)
Updates the specified channel.
Parameters | |
---|---|
Name | Description |
channel |
google::cloud::video::livestream::v1::Channel const &
Required. The channel resource to be updated. |
update_mask |
google::protobuf::FieldMask const &
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:
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::Channel > > |
A |
UpdateChannel(ExperimentalTag, NoAwaitTag, google::cloud::video::livestream::v1::Channel const &, google::protobuf::FieldMask const &, Options)
Updates the specified channel.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
channel |
google::cloud::video::livestream::v1::Channel const &
|
update_mask |
google::protobuf::FieldMask const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateChannel(google::cloud::video::livestream::v1::UpdateChannelRequest const &, Options)
Updates the specified channel.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::video::livestream::v1::UpdateChannelRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::Channel > > |
A |
UpdateChannel(ExperimentalTag, NoAwaitTag, google::cloud::video::livestream::v1::UpdateChannelRequest const &, Options)
Updates the specified channel.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::video::livestream::v1::UpdateChannelRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateChannel(ExperimentalTag, google::longrunning::Operation const &, Options)
Updates the specified channel.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::Channel > > |
StartChannel(std::string const &, Options)
Starts the specified channel.
Part of the video pipeline will be created only when the StartChannel request is received by the server.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the channel resource, in the form of: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::ChannelOperationResponse > > |
A |
StartChannel(ExperimentalTag, NoAwaitTag, std::string const &, Options)
Starts the specified channel.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
StartChannel(google::cloud::video::livestream::v1::StartChannelRequest const &, Options)
Starts the specified channel.
Part of the video pipeline will be created only when the StartChannel request is received by the server.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::video::livestream::v1::StartChannelRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::ChannelOperationResponse > > |
A |
StartChannel(ExperimentalTag, NoAwaitTag, google::cloud::video::livestream::v1::StartChannelRequest const &, Options)
Starts the specified channel.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::video::livestream::v1::StartChannelRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
StartChannel(ExperimentalTag, google::longrunning::Operation const &, Options)
Starts the specified channel.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::ChannelOperationResponse > > |
StopChannel(std::string const &, Options)
Stops the specified channel.
Part of the video pipeline will be released when the StopChannel request is received by the server.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the channel resource, in the form of: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::ChannelOperationResponse > > |
A |
StopChannel(ExperimentalTag, NoAwaitTag, std::string const &, Options)
Stops the specified channel.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
StopChannel(google::cloud::video::livestream::v1::StopChannelRequest const &, Options)
Stops the specified channel.
Part of the video pipeline will be released when the StopChannel request is received by the server.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::video::livestream::v1::StopChannelRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::ChannelOperationResponse > > |
A |
StopChannel(ExperimentalTag, NoAwaitTag, google::cloud::video::livestream::v1::StopChannelRequest const &, Options)
Stops the specified channel.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::video::livestream::v1::StopChannelRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
StopChannel(ExperimentalTag, google::longrunning::Operation const &, Options)
Stops the specified channel.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::ChannelOperationResponse > > |
CreateInput(std::string const &, google::cloud::video::livestream::v1::Input const &, std::string const &, Options)
Creates an input with the provided unique ID in the specified region.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The parent location for the resource, in the form of: |
input |
google::cloud::video::livestream::v1::Input const &
Required. The input resource to be created. |
input_id |
std::string const &
Required. The ID of the input resource to be created. This value must be 1-63 characters, begin and end with |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::Input > > |
A |
CreateInput(ExperimentalTag, NoAwaitTag, std::string const &, google::cloud::video::livestream::v1::Input const &, std::string const &, Options)
Creates an input with the provided unique ID in the specified region.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
parent |
std::string const &
|
input |
google::cloud::video::livestream::v1::Input const &
|
input_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateInput(google::cloud::video::livestream::v1::CreateInputRequest const &, Options)
Creates an input with the provided unique ID in the specified region.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::video::livestream::v1::CreateInputRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::Input > > |
A |
CreateInput(ExperimentalTag, NoAwaitTag, google::cloud::video::livestream::v1::CreateInputRequest const &, Options)
Creates an input with the provided unique ID in the specified region.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::video::livestream::v1::CreateInputRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateInput(ExperimentalTag, google::longrunning::Operation const &, Options)
Creates an input with the provided unique ID in the specified region.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::Input > > |
ListInputs(std::string const &, Options)
Returns a list of all inputs in the specified region.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The parent location for the resource, in the form of: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::video::livestream::v1::Input > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListInputs(google::cloud::video::livestream::v1::ListInputsRequest, Options)
Returns a list of all inputs in the specified region.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::video::livestream::v1::ListInputsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::video::livestream::v1::Input > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetInput(std::string const &, Options)
Returns the specified input.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the input resource, in the form of: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::video::livestream::v1::Input > |
the result of the RPC. The response message type (google.cloud.video.livestream.v1.Input) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetInput(google::cloud::video::livestream::v1::GetInputRequest const &, Options)
Returns the specified input.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::video::livestream::v1::GetInputRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::video::livestream::v1::Input > |
the result of the RPC. The response message type (google.cloud.video.livestream.v1.Input) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
DeleteInput(std::string const &, Options)
Deletes the specified input.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the input resource, in the form of: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::OperationMetadata > > |
A |
DeleteInput(ExperimentalTag, NoAwaitTag, std::string const &, Options)
Deletes the specified input.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteInput(google::cloud::video::livestream::v1::DeleteInputRequest const &, Options)
Deletes the specified input.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::video::livestream::v1::DeleteInputRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::OperationMetadata > > |
A |
DeleteInput(ExperimentalTag, NoAwaitTag, google::cloud::video::livestream::v1::DeleteInputRequest const &, Options)
Deletes the specified input.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::video::livestream::v1::DeleteInputRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteInput(ExperimentalTag, google::longrunning::Operation const &, Options)
Deletes the specified input.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::OperationMetadata > > |
UpdateInput(google::cloud::video::livestream::v1::Input const &, google::protobuf::FieldMask const &, Options)
Updates the specified input.
Parameters | |
---|---|
Name | Description |
input |
google::cloud::video::livestream::v1::Input const &
Required. The input resource to be updated. |
update_mask |
google::protobuf::FieldMask const &
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:
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::Input > > |
A |
UpdateInput(ExperimentalTag, NoAwaitTag, google::cloud::video::livestream::v1::Input const &, google::protobuf::FieldMask const &, Options)
Updates the specified input.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
input |
google::cloud::video::livestream::v1::Input const &
|
update_mask |
google::protobuf::FieldMask const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateInput(google::cloud::video::livestream::v1::UpdateInputRequest const &, Options)
Updates the specified input.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::video::livestream::v1::UpdateInputRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::Input > > |
A |
UpdateInput(ExperimentalTag, NoAwaitTag, google::cloud::video::livestream::v1::UpdateInputRequest const &, Options)
Updates the specified input.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::video::livestream::v1::UpdateInputRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateInput(ExperimentalTag, google::longrunning::Operation const &, Options)
Updates the specified input.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::Input > > |
CreateEvent(std::string const &, google::cloud::video::livestream::v1::Event const &, std::string const &, Options)
Creates an event with the provided unique ID in the specified channel.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The parent channel for the resource, in the form of: |
event |
google::cloud::video::livestream::v1::Event const &
Required. The event resource to be created. |
event_id |
std::string const &
Required. The ID of the event resource to be created. This value must be 1-63 characters, begin and end with |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::video::livestream::v1::Event > |
the result of the RPC. The response message type (google.cloud.video.livestream.v1.Event) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateEvent(google::cloud::video::livestream::v1::CreateEventRequest const &, Options)
Creates an event with the provided unique ID in the specified channel.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::video::livestream::v1::CreateEventRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::video::livestream::v1::Event > |
the result of the RPC. The response message type (google.cloud.video.livestream.v1.Event) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListEvents(std::string const &, Options)
Returns a list of all events in the specified channel.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The parent channel for the resource, in the form of: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::video::livestream::v1::Event > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListEvents(google::cloud::video::livestream::v1::ListEventsRequest, Options)
Returns a list of all events in the specified channel.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::video::livestream::v1::ListEventsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::video::livestream::v1::Event > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetEvent(std::string const &, Options)
Returns the specified event.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the event resource, in the form of: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::video::livestream::v1::Event > |
the result of the RPC. The response message type (google.cloud.video.livestream.v1.Event) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetEvent(google::cloud::video::livestream::v1::GetEventRequest const &, Options)
Returns the specified event.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::video::livestream::v1::GetEventRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::video::livestream::v1::Event > |
the result of the RPC. The response message type (google.cloud.video.livestream.v1.Event) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
DeleteEvent(std::string const &, Options)
Deletes the specified event.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the event resource, in the form of: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
DeleteEvent(google::cloud::video::livestream::v1::DeleteEventRequest const &, Options)
Deletes the specified event.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::video::livestream::v1::DeleteEventRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
Status |
a |
CreateAsset(std::string const &, google::cloud::video::livestream::v1::Asset const &, std::string const &, Options)
Creates a Asset with the provided unique ID in the specified region.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The parent location for the resource, in the form of: |
asset |
google::cloud::video::livestream::v1::Asset const &
Required. The asset resource to be created. |
asset_id |
std::string const &
Required. The ID of the asset resource to be created. This value must be 1-63 characters, begin and end with |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::Asset > > |
A |
CreateAsset(ExperimentalTag, NoAwaitTag, std::string const &, google::cloud::video::livestream::v1::Asset const &, std::string const &, Options)
Creates a Asset with the provided unique ID in the specified region.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
parent |
std::string const &
|
asset |
google::cloud::video::livestream::v1::Asset const &
|
asset_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateAsset(google::cloud::video::livestream::v1::CreateAssetRequest const &, Options)
Creates a Asset with the provided unique ID in the specified region.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::video::livestream::v1::CreateAssetRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::Asset > > |
A |
CreateAsset(ExperimentalTag, NoAwaitTag, google::cloud::video::livestream::v1::CreateAssetRequest const &, Options)
Creates a Asset with the provided unique ID in the specified region.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::video::livestream::v1::CreateAssetRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateAsset(ExperimentalTag, google::longrunning::Operation const &, Options)
Creates a Asset with the provided unique ID in the specified region.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::Asset > > |
DeleteAsset(std::string const &, Options)
Deletes the specified asset if it is not used.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the asset resource, in the form of: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::OperationMetadata > > |
A |
DeleteAsset(ExperimentalTag, NoAwaitTag, std::string const &, Options)
Deletes the specified asset if it is not used.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteAsset(google::cloud::video::livestream::v1::DeleteAssetRequest const &, Options)
Deletes the specified asset if it is not used.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::video::livestream::v1::DeleteAssetRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::OperationMetadata > > |
A |
DeleteAsset(ExperimentalTag, NoAwaitTag, google::cloud::video::livestream::v1::DeleteAssetRequest const &, Options)
Deletes the specified asset if it is not used.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::video::livestream::v1::DeleteAssetRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteAsset(ExperimentalTag, google::longrunning::Operation const &, Options)
Deletes the specified asset if it is not used.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::OperationMetadata > > |
GetAsset(std::string const &, Options)
Returns the specified asset.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. Name of the resource, in the following form: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::video::livestream::v1::Asset > |
the result of the RPC. The response message type (google.cloud.video.livestream.v1.Asset) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetAsset(google::cloud::video::livestream::v1::GetAssetRequest const &, Options)
Returns the specified asset.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::video::livestream::v1::GetAssetRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::video::livestream::v1::Asset > |
the result of the RPC. The response message type (google.cloud.video.livestream.v1.Asset) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListAssets(std::string const &, Options)
Returns a list of all assets in the specified region.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The parent location for the resource, in the form of: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::video::livestream::v1::Asset > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListAssets(google::cloud::video::livestream::v1::ListAssetsRequest, Options)
Returns a list of all assets in the specified region.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::video::livestream::v1::ListAssetsRequest
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::video::livestream::v1::Asset > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetPool(std::string const &, Options)
Returns the specified pool.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the pool resource, in the form of: |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::video::livestream::v1::Pool > |
the result of the RPC. The response message type (google.cloud.video.livestream.v1.Pool) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetPool(google::cloud::video::livestream::v1::GetPoolRequest const &, Options)
Returns the specified pool.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::video::livestream::v1::GetPoolRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::video::livestream::v1::Pool > |
the result of the RPC. The response message type (google.cloud.video.livestream.v1.Pool) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdatePool(google::cloud::video::livestream::v1::Pool const &, google::protobuf::FieldMask const &, Options)
Updates the specified pool.
Parameters | |
---|---|
Name | Description |
pool |
google::cloud::video::livestream::v1::Pool const &
Required. The pool resource to be updated. |
update_mask |
google::protobuf::FieldMask const &
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:
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::Pool > > |
A |
UpdatePool(ExperimentalTag, NoAwaitTag, google::cloud::video::livestream::v1::Pool const &, google::protobuf::FieldMask const &, Options)
Updates the specified pool.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
pool |
google::cloud::video::livestream::v1::Pool const &
|
update_mask |
google::protobuf::FieldMask const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdatePool(google::cloud::video::livestream::v1::UpdatePoolRequest const &, Options)
Updates the specified pool.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::video::livestream::v1::UpdatePoolRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::Pool > > |
A |
UpdatePool(ExperimentalTag, NoAwaitTag, google::cloud::video::livestream::v1::UpdatePoolRequest const &, Options)
Updates the specified pool.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::video::livestream::v1::UpdatePoolRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdatePool(ExperimentalTag, google::longrunning::Operation const &, Options)
Updates the specified pool.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::video::livestream::v1::Pool > > |