Class EventarcConnection (2.11.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 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 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 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 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 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 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 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 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 >