Class LivestreamServiceConnection (2.24.0)

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 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 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 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 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 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 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 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 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 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 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 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 > >