Class LivestreamServiceConnection (2.21.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
TypeDescription
Options

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

Parameter
NameDescription
request google::cloud::video::livestream::v1::CreateChannelRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::video::livestream::v1::Channel > >

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

Parameter
NameDescription
request google::cloud::video::livestream::v1::ListChannelsRequest
Returns
TypeDescription
StreamRange< google::cloud::video::livestream::v1::Channel >

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

Parameter
NameDescription
request google::cloud::video::livestream::v1::GetChannelRequest const &
Returns
TypeDescription
StatusOr< google::cloud::video::livestream::v1::Channel >

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

Parameter
NameDescription
request google::cloud::video::livestream::v1::DeleteChannelRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::video::livestream::v1::OperationMetadata > >

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

Parameter
NameDescription
request google::cloud::video::livestream::v1::UpdateChannelRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::video::livestream::v1::Channel > >

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

Parameter
NameDescription
request google::cloud::video::livestream::v1::StartChannelRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::video::livestream::v1::ChannelOperationResponse > >

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

Parameter
NameDescription
request google::cloud::video::livestream::v1::StopChannelRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::video::livestream::v1::ChannelOperationResponse > >

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

Parameter
NameDescription
request google::cloud::video::livestream::v1::CreateInputRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::video::livestream::v1::Input > >

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

Parameter
NameDescription
request google::cloud::video::livestream::v1::ListInputsRequest
Returns
TypeDescription
StreamRange< google::cloud::video::livestream::v1::Input >

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

Parameter
NameDescription
request google::cloud::video::livestream::v1::GetInputRequest const &
Returns
TypeDescription
StatusOr< google::cloud::video::livestream::v1::Input >

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

Parameter
NameDescription
request google::cloud::video::livestream::v1::DeleteInputRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::video::livestream::v1::OperationMetadata > >

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

Parameter
NameDescription
request google::cloud::video::livestream::v1::UpdateInputRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::video::livestream::v1::Input > >

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

Parameter
NameDescription
request google::cloud::video::livestream::v1::CreateEventRequest const &
Returns
TypeDescription
StatusOr< google::cloud::video::livestream::v1::Event >

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

Parameter
NameDescription
request google::cloud::video::livestream::v1::ListEventsRequest
Returns
TypeDescription
StreamRange< google::cloud::video::livestream::v1::Event >

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

Parameter
NameDescription
request google::cloud::video::livestream::v1::GetEventRequest const &
Returns
TypeDescription
StatusOr< google::cloud::video::livestream::v1::Event >

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

Parameter
NameDescription
request google::cloud::video::livestream::v1::DeleteEventRequest const &
Returns
TypeDescription
Status

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

Parameter
NameDescription
request google::cloud::video::livestream::v1::CreateAssetRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::video::livestream::v1::Asset > >

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

Parameter
NameDescription
request google::cloud::video::livestream::v1::DeleteAssetRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::video::livestream::v1::OperationMetadata > >

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

Parameter
NameDescription
request google::cloud::video::livestream::v1::GetAssetRequest const &
Returns
TypeDescription
StatusOr< google::cloud::video::livestream::v1::Asset >

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

Parameter
NameDescription
request google::cloud::video::livestream::v1::ListAssetsRequest
Returns
TypeDescription
StreamRange< google::cloud::video::livestream::v1::Asset >

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

Parameter
NameDescription
request google::cloud::video::livestream::v1::GetPoolRequest const &
Returns
TypeDescription
StatusOr< google::cloud::video::livestream::v1::Pool >

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

Parameter
NameDescription
request google::cloud::video::livestream::v1::UpdatePoolRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::video::livestream::v1::Pool > >