Class EventarcConnection (2.28.0)

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

To create a concrete instance, see MakeEventarcConnection().

For mocking, see eventarc_v1_mocks::MockEventarcConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual GetTrigger(google::cloud::eventarc::v1::GetTriggerRequest const &)

Parameter
Name Description
request google::cloud::eventarc::v1::GetTriggerRequest const &
Returns
Type Description
StatusOr< google::cloud::eventarc::v1::Trigger >

virtual ListTriggers(google::cloud::eventarc::v1::ListTriggersRequest)

Parameter
Name Description
request google::cloud::eventarc::v1::ListTriggersRequest
Returns
Type Description
StreamRange< google::cloud::eventarc::v1::Trigger >

virtual CreateTrigger(google::cloud::eventarc::v1::CreateTriggerRequest const &)

Parameter
Name Description
request google::cloud::eventarc::v1::CreateTriggerRequest const &
Returns
Type Description
future< StatusOr< google::cloud::eventarc::v1::Trigger > >

virtual CreateTrigger(NoAwaitTag, google::cloud::eventarc::v1::CreateTriggerRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::eventarc::v1::CreateTriggerRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::eventarc::v1::Trigger > >

virtual UpdateTrigger(google::cloud::eventarc::v1::UpdateTriggerRequest const &)

Parameter
Name Description
request google::cloud::eventarc::v1::UpdateTriggerRequest const &
Returns
Type Description
future< StatusOr< google::cloud::eventarc::v1::Trigger > >

virtual UpdateTrigger(NoAwaitTag, google::cloud::eventarc::v1::UpdateTriggerRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::eventarc::v1::UpdateTriggerRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::eventarc::v1::Trigger > >

virtual DeleteTrigger(google::cloud::eventarc::v1::DeleteTriggerRequest const &)

Parameter
Name Description
request google::cloud::eventarc::v1::DeleteTriggerRequest const &
Returns
Type Description
future< StatusOr< google::cloud::eventarc::v1::Trigger > >

virtual DeleteTrigger(NoAwaitTag, google::cloud::eventarc::v1::DeleteTriggerRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::eventarc::v1::DeleteTriggerRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::eventarc::v1::Trigger > >

virtual GetChannel(google::cloud::eventarc::v1::GetChannelRequest const &)

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

virtual ListChannels(google::cloud::eventarc::v1::ListChannelsRequest)

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

virtual CreateChannel(google::cloud::eventarc::v1::CreateChannelRequest const &)

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

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

Parameters
Name Description
NoAwaitTag
request google::cloud::eventarc::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::eventarc::v1::Channel > >

virtual UpdateChannel(google::cloud::eventarc::v1::UpdateChannelRequest const &)

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

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

Parameters
Name Description
NoAwaitTag
request google::cloud::eventarc::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::eventarc::v1::Channel > >

virtual DeleteChannel(google::cloud::eventarc::v1::DeleteChannelRequest const &)

Parameter
Name Description
request google::cloud::eventarc::v1::DeleteChannelRequest const &
Returns
Type Description
future< StatusOr< google::cloud::eventarc::v1::Channel > >

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

Parameters
Name Description
NoAwaitTag
request google::cloud::eventarc::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::eventarc::v1::Channel > >

virtual GetProvider(google::cloud::eventarc::v1::GetProviderRequest const &)

Parameter
Name Description
request google::cloud::eventarc::v1::GetProviderRequest const &
Returns
Type Description
StatusOr< google::cloud::eventarc::v1::Provider >

virtual ListProviders(google::cloud::eventarc::v1::ListProvidersRequest)

Parameter
Name Description
request google::cloud::eventarc::v1::ListProvidersRequest
Returns
Type Description
StreamRange< google::cloud::eventarc::v1::Provider >

virtual GetChannelConnection(google::cloud::eventarc::v1::GetChannelConnectionRequest const &)

Parameter
Name Description
request google::cloud::eventarc::v1::GetChannelConnectionRequest const &
Returns
Type Description
StatusOr< google::cloud::eventarc::v1::ChannelConnection >

virtual ListChannelConnections(google::cloud::eventarc::v1::ListChannelConnectionsRequest)

Parameter
Name Description
request google::cloud::eventarc::v1::ListChannelConnectionsRequest
Returns
Type Description
StreamRange< google::cloud::eventarc::v1::ChannelConnection >

virtual CreateChannelConnection(google::cloud::eventarc::v1::CreateChannelConnectionRequest const &)

Parameter
Name Description
request google::cloud::eventarc::v1::CreateChannelConnectionRequest const &
Returns
Type Description
future< StatusOr< google::cloud::eventarc::v1::ChannelConnection > >

virtual CreateChannelConnection(NoAwaitTag, google::cloud::eventarc::v1::CreateChannelConnectionRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::eventarc::v1::CreateChannelConnectionRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::eventarc::v1::ChannelConnection > >

virtual DeleteChannelConnection(google::cloud::eventarc::v1::DeleteChannelConnectionRequest const &)

Parameter
Name Description
request google::cloud::eventarc::v1::DeleteChannelConnectionRequest const &
Returns
Type Description
future< StatusOr< google::cloud::eventarc::v1::ChannelConnection > >

virtual DeleteChannelConnection(NoAwaitTag, google::cloud::eventarc::v1::DeleteChannelConnectionRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::eventarc::v1::DeleteChannelConnectionRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

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

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::eventarc::v1::ChannelConnection > >

virtual GetGoogleChannelConfig(google::cloud::eventarc::v1::GetGoogleChannelConfigRequest const &)

Parameter
Name Description
request google::cloud::eventarc::v1::GetGoogleChannelConfigRequest const &
Returns
Type Description
StatusOr< google::cloud::eventarc::v1::GoogleChannelConfig >

virtual UpdateGoogleChannelConfig(google::cloud::eventarc::v1::UpdateGoogleChannelConfigRequest const &)

Parameter
Name Description
request google::cloud::eventarc::v1::UpdateGoogleChannelConfigRequest const &
Returns
Type Description
StatusOr< google::cloud::eventarc::v1::GoogleChannelConfig >