Class LivestreamServiceConnection (2.32.0-rc)

This interface defines virtual methods for each of the user-facing overload sets in LivestreamServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type LivestreamServiceClient.

To create a concrete instance, see MakeLivestreamServiceConnection().

For mocking, see video_livestream_v1_mocks::MockLivestreamServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateChannel(google::cloud::video::livestream::v1::CreateChannelRequest const &)

Parameter
Name Description
request google::cloud::video::livestream::v1::CreateChannelRequest const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::Channel > >

virtual CreateChannel(NoAwaitTag, google::cloud::video::livestream::v1::CreateChannelRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::video::livestream::v1::CreateChannelRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateChannel(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::Channel > >

virtual ListChannels(google::cloud::video::livestream::v1::ListChannelsRequest)

Parameter
Name Description
request google::cloud::video::livestream::v1::ListChannelsRequest
Returns
Type Description
StreamRange< google::cloud::video::livestream::v1::Channel >

virtual GetChannel(google::cloud::video::livestream::v1::GetChannelRequest const &)

Parameter
Name Description
request google::cloud::video::livestream::v1::GetChannelRequest const &
Returns
Type Description
StatusOr< google::cloud::video::livestream::v1::Channel >

virtual DeleteChannel(google::cloud::video::livestream::v1::DeleteChannelRequest const &)

Parameter
Name Description
request google::cloud::video::livestream::v1::DeleteChannelRequest const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::OperationMetadata > >

virtual DeleteChannel(NoAwaitTag, google::cloud::video::livestream::v1::DeleteChannelRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::video::livestream::v1::DeleteChannelRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteChannel(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::OperationMetadata > >

virtual UpdateChannel(google::cloud::video::livestream::v1::UpdateChannelRequest const &)

Parameter
Name Description
request google::cloud::video::livestream::v1::UpdateChannelRequest const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::Channel > >

virtual UpdateChannel(NoAwaitTag, google::cloud::video::livestream::v1::UpdateChannelRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::video::livestream::v1::UpdateChannelRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateChannel(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::Channel > >

virtual StartChannel(google::cloud::video::livestream::v1::StartChannelRequest const &)

Parameter
Name Description
request google::cloud::video::livestream::v1::StartChannelRequest const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::ChannelOperationResponse > >

virtual StartChannel(NoAwaitTag, google::cloud::video::livestream::v1::StartChannelRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::video::livestream::v1::StartChannelRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual StartChannel(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::ChannelOperationResponse > >

virtual StopChannel(google::cloud::video::livestream::v1::StopChannelRequest const &)

Parameter
Name Description
request google::cloud::video::livestream::v1::StopChannelRequest const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::ChannelOperationResponse > >

virtual StopChannel(NoAwaitTag, google::cloud::video::livestream::v1::StopChannelRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::video::livestream::v1::StopChannelRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual StopChannel(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::ChannelOperationResponse > >

virtual CreateInput(google::cloud::video::livestream::v1::CreateInputRequest const &)

Parameter
Name Description
request google::cloud::video::livestream::v1::CreateInputRequest const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::Input > >

virtual CreateInput(NoAwaitTag, google::cloud::video::livestream::v1::CreateInputRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::video::livestream::v1::CreateInputRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateInput(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::Input > >

virtual ListInputs(google::cloud::video::livestream::v1::ListInputsRequest)

Parameter
Name Description
request google::cloud::video::livestream::v1::ListInputsRequest
Returns
Type Description
StreamRange< google::cloud::video::livestream::v1::Input >

virtual GetInput(google::cloud::video::livestream::v1::GetInputRequest const &)

Parameter
Name Description
request google::cloud::video::livestream::v1::GetInputRequest const &
Returns
Type Description
StatusOr< google::cloud::video::livestream::v1::Input >

virtual DeleteInput(google::cloud::video::livestream::v1::DeleteInputRequest const &)

Parameter
Name Description
request google::cloud::video::livestream::v1::DeleteInputRequest const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::OperationMetadata > >

virtual DeleteInput(NoAwaitTag, google::cloud::video::livestream::v1::DeleteInputRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::video::livestream::v1::DeleteInputRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteInput(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::OperationMetadata > >

virtual UpdateInput(google::cloud::video::livestream::v1::UpdateInputRequest const &)

Parameter
Name Description
request google::cloud::video::livestream::v1::UpdateInputRequest const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::Input > >

virtual UpdateInput(NoAwaitTag, google::cloud::video::livestream::v1::UpdateInputRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::video::livestream::v1::UpdateInputRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateInput(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::Input > >

virtual CreateEvent(google::cloud::video::livestream::v1::CreateEventRequest const &)

Parameter
Name Description
request google::cloud::video::livestream::v1::CreateEventRequest const &
Returns
Type Description
StatusOr< google::cloud::video::livestream::v1::Event >

virtual ListEvents(google::cloud::video::livestream::v1::ListEventsRequest)

Parameter
Name Description
request google::cloud::video::livestream::v1::ListEventsRequest
Returns
Type Description
StreamRange< google::cloud::video::livestream::v1::Event >

virtual GetEvent(google::cloud::video::livestream::v1::GetEventRequest const &)

Parameter
Name Description
request google::cloud::video::livestream::v1::GetEventRequest const &
Returns
Type Description
StatusOr< google::cloud::video::livestream::v1::Event >

virtual DeleteEvent(google::cloud::video::livestream::v1::DeleteEventRequest const &)

Parameter
Name Description
request google::cloud::video::livestream::v1::DeleteEventRequest const &
Returns
Type Description
Status

virtual ListClips(google::cloud::video::livestream::v1::ListClipsRequest)

Parameter
Name Description
request google::cloud::video::livestream::v1::ListClipsRequest
Returns
Type Description
StreamRange< google::cloud::video::livestream::v1::Clip >

virtual GetClip(google::cloud::video::livestream::v1::GetClipRequest const &)

Parameter
Name Description
request google::cloud::video::livestream::v1::GetClipRequest const &
Returns
Type Description
StatusOr< google::cloud::video::livestream::v1::Clip >

virtual CreateClip(google::cloud::video::livestream::v1::CreateClipRequest const &)

Parameter
Name Description
request google::cloud::video::livestream::v1::CreateClipRequest const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::Clip > >

virtual CreateClip(NoAwaitTag, google::cloud::video::livestream::v1::CreateClipRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::video::livestream::v1::CreateClipRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateClip(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::Clip > >

virtual DeleteClip(google::cloud::video::livestream::v1::DeleteClipRequest const &)

Parameter
Name Description
request google::cloud::video::livestream::v1::DeleteClipRequest const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::OperationMetadata > >

virtual DeleteClip(NoAwaitTag, google::cloud::video::livestream::v1::DeleteClipRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::video::livestream::v1::DeleteClipRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteClip(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::OperationMetadata > >

virtual CreateAsset(google::cloud::video::livestream::v1::CreateAssetRequest const &)

Parameter
Name Description
request google::cloud::video::livestream::v1::CreateAssetRequest const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::Asset > >

virtual CreateAsset(NoAwaitTag, google::cloud::video::livestream::v1::CreateAssetRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::video::livestream::v1::CreateAssetRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateAsset(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::Asset > >

virtual DeleteAsset(google::cloud::video::livestream::v1::DeleteAssetRequest const &)

Parameter
Name Description
request google::cloud::video::livestream::v1::DeleteAssetRequest const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::OperationMetadata > >

virtual DeleteAsset(NoAwaitTag, google::cloud::video::livestream::v1::DeleteAssetRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::video::livestream::v1::DeleteAssetRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteAsset(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::OperationMetadata > >

virtual GetAsset(google::cloud::video::livestream::v1::GetAssetRequest const &)

Parameter
Name Description
request google::cloud::video::livestream::v1::GetAssetRequest const &
Returns
Type Description
StatusOr< google::cloud::video::livestream::v1::Asset >

virtual ListAssets(google::cloud::video::livestream::v1::ListAssetsRequest)

Parameter
Name Description
request google::cloud::video::livestream::v1::ListAssetsRequest
Returns
Type Description
StreamRange< google::cloud::video::livestream::v1::Asset >

virtual GetPool(google::cloud::video::livestream::v1::GetPoolRequest const &)

Parameter
Name Description
request google::cloud::video::livestream::v1::GetPoolRequest const &
Returns
Type Description
StatusOr< google::cloud::video::livestream::v1::Pool >

virtual UpdatePool(google::cloud::video::livestream::v1::UpdatePoolRequest const &)

Parameter
Name Description
request google::cloud::video::livestream::v1::UpdatePoolRequest const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::Pool > >

virtual UpdatePool(NoAwaitTag, google::cloud::video::livestream::v1::UpdatePoolRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::video::livestream::v1::UpdatePoolRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdatePool(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::video::livestream::v1::Pool > >

virtual ListLocations(google::cloud::location::ListLocationsRequest)

Parameter
Name Description
request google::cloud::location::ListLocationsRequest
Returns
Type Description
StreamRange< google::cloud::location::Location >

virtual GetLocation(google::cloud::location::GetLocationRequest const &)

Parameter
Name Description
request google::cloud::location::GetLocationRequest const &
Returns
Type Description
StatusOr< google::cloud::location::Location >

virtual ListOperations(google::longrunning::ListOperationsRequest)

Parameter
Name Description
request google::longrunning::ListOperationsRequest
Returns
Type Description
StreamRange< google::longrunning::Operation >

virtual GetOperation(google::longrunning::GetOperationRequest const &)

Parameter
Name Description
request google::longrunning::GetOperationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteOperation(google::longrunning::DeleteOperationRequest const &)

Parameter
Name Description
request google::longrunning::DeleteOperationRequest const &
Returns
Type Description
Status

virtual CancelOperation(google::longrunning::CancelOperationRequest const &)

Parameter
Name Description
request google::longrunning::CancelOperationRequest const &
Returns
Type Description
Status