Class ConfigServiceV2Connection (2.19.0)

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

To create a concrete instance, see MakeConfigServiceV2Connection().

For mocking, see logging_v2_mocks::MockConfigServiceV2Connection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ListBuckets(google::logging::v2::ListBucketsRequest)

Parameter
NameDescription
request google::logging::v2::ListBucketsRequest
Returns
TypeDescription
StreamRange< google::logging::v2::LogBucket >

virtual GetBucket(google::logging::v2::GetBucketRequest const &)

Parameter
NameDescription
request google::logging::v2::GetBucketRequest const &
Returns
TypeDescription
StatusOr< google::logging::v2::LogBucket >

virtual CreateBucketAsync(google::logging::v2::CreateBucketRequest const &)

Parameter
NameDescription
request google::logging::v2::CreateBucketRequest const &
Returns
TypeDescription
future< StatusOr< google::logging::v2::LogBucket > >

virtual UpdateBucketAsync(google::logging::v2::UpdateBucketRequest const &)

Parameter
NameDescription
request google::logging::v2::UpdateBucketRequest const &
Returns
TypeDescription
future< StatusOr< google::logging::v2::LogBucket > >

virtual CreateBucket(google::logging::v2::CreateBucketRequest const &)

Parameter
NameDescription
request google::logging::v2::CreateBucketRequest const &
Returns
TypeDescription
StatusOr< google::logging::v2::LogBucket >

virtual UpdateBucket(google::logging::v2::UpdateBucketRequest const &)

Parameter
NameDescription
request google::logging::v2::UpdateBucketRequest const &
Returns
TypeDescription
StatusOr< google::logging::v2::LogBucket >

virtual DeleteBucket(google::logging::v2::DeleteBucketRequest const &)

Parameter
NameDescription
request google::logging::v2::DeleteBucketRequest const &
Returns
TypeDescription
Status

virtual UndeleteBucket(google::logging::v2::UndeleteBucketRequest const &)

Parameter
NameDescription
request google::logging::v2::UndeleteBucketRequest const &
Returns
TypeDescription
Status

virtual ListViews(google::logging::v2::ListViewsRequest)

Parameter
NameDescription
request google::logging::v2::ListViewsRequest
Returns
TypeDescription
StreamRange< google::logging::v2::LogView >

virtual GetView(google::logging::v2::GetViewRequest const &)

Parameter
NameDescription
request google::logging::v2::GetViewRequest const &
Returns
TypeDescription
StatusOr< google::logging::v2::LogView >

virtual CreateView(google::logging::v2::CreateViewRequest const &)

Parameter
NameDescription
request google::logging::v2::CreateViewRequest const &
Returns
TypeDescription
StatusOr< google::logging::v2::LogView >

virtual UpdateView(google::logging::v2::UpdateViewRequest const &)

Parameter
NameDescription
request google::logging::v2::UpdateViewRequest const &
Returns
TypeDescription
StatusOr< google::logging::v2::LogView >

virtual DeleteView(google::logging::v2::DeleteViewRequest const &)

Parameter
NameDescription
request google::logging::v2::DeleteViewRequest const &
Returns
TypeDescription
Status

virtual ListSinks(google::logging::v2::ListSinksRequest)

Parameter
NameDescription
request google::logging::v2::ListSinksRequest
Returns
TypeDescription
StreamRange< google::logging::v2::LogSink >

virtual GetSink(google::logging::v2::GetSinkRequest const &)

Parameter
NameDescription
request google::logging::v2::GetSinkRequest const &
Returns
TypeDescription
StatusOr< google::logging::v2::LogSink >

virtual CreateSink(google::logging::v2::CreateSinkRequest const &)

Parameter
NameDescription
request google::logging::v2::CreateSinkRequest const &
Returns
TypeDescription
StatusOr< google::logging::v2::LogSink >

virtual UpdateSink(google::logging::v2::UpdateSinkRequest const &)

Parameter
NameDescription
request google::logging::v2::UpdateSinkRequest const &
Returns
TypeDescription
StatusOr< google::logging::v2::LogSink >

virtual DeleteSink(google::logging::v2::DeleteSinkRequest const &)

Parameter
NameDescription
request google::logging::v2::DeleteSinkRequest const &
Returns
TypeDescription
Status

virtual CreateLink(google::logging::v2::CreateLinkRequest const &)

Parameter
NameDescription
request google::logging::v2::CreateLinkRequest const &
Returns
TypeDescription
future< StatusOr< google::logging::v2::Link > >

virtual DeleteLink(google::logging::v2::DeleteLinkRequest const &)

Parameter
NameDescription
request google::logging::v2::DeleteLinkRequest const &
Returns
TypeDescription
future< StatusOr< google::logging::v2::LinkMetadata > >

virtual ListLinks(google::logging::v2::ListLinksRequest)

Parameter
NameDescription
request google::logging::v2::ListLinksRequest
Returns
TypeDescription
StreamRange< google::logging::v2::Link >

virtual GetLink(google::logging::v2::GetLinkRequest const &)

Parameter
NameDescription
request google::logging::v2::GetLinkRequest const &
Returns
TypeDescription
StatusOr< google::logging::v2::Link >

virtual ListExclusions(google::logging::v2::ListExclusionsRequest)

Parameter
NameDescription
request google::logging::v2::ListExclusionsRequest
Returns
TypeDescription
StreamRange< google::logging::v2::LogExclusion >

virtual GetExclusion(google::logging::v2::GetExclusionRequest const &)

Parameter
NameDescription
request google::logging::v2::GetExclusionRequest const &
Returns
TypeDescription
StatusOr< google::logging::v2::LogExclusion >

virtual CreateExclusion(google::logging::v2::CreateExclusionRequest const &)

Parameter
NameDescription
request google::logging::v2::CreateExclusionRequest const &
Returns
TypeDescription
StatusOr< google::logging::v2::LogExclusion >

virtual UpdateExclusion(google::logging::v2::UpdateExclusionRequest const &)

Parameter
NameDescription
request google::logging::v2::UpdateExclusionRequest const &
Returns
TypeDescription
StatusOr< google::logging::v2::LogExclusion >

virtual DeleteExclusion(google::logging::v2::DeleteExclusionRequest const &)

Parameter
NameDescription
request google::logging::v2::DeleteExclusionRequest const &
Returns
TypeDescription
Status

virtual GetCmekSettings(google::logging::v2::GetCmekSettingsRequest const &)

Parameter
NameDescription
request google::logging::v2::GetCmekSettingsRequest const &
Returns
TypeDescription
StatusOr< google::logging::v2::CmekSettings >

virtual UpdateCmekSettings(google::logging::v2::UpdateCmekSettingsRequest const &)

Parameter
NameDescription
request google::logging::v2::UpdateCmekSettingsRequest const &
Returns
TypeDescription
StatusOr< google::logging::v2::CmekSettings >

virtual GetSettings(google::logging::v2::GetSettingsRequest const &)

Parameter
NameDescription
request google::logging::v2::GetSettingsRequest const &
Returns
TypeDescription
StatusOr< google::logging::v2::Settings >

virtual UpdateSettings(google::logging::v2::UpdateSettingsRequest const &)

Parameter
NameDescription
request google::logging::v2::UpdateSettingsRequest const &
Returns
TypeDescription
StatusOr< google::logging::v2::Settings >

virtual CopyLogEntries(google::logging::v2::CopyLogEntriesRequest const &)

Parameter
NameDescription
request google::logging::v2::CopyLogEntriesRequest const &
Returns
TypeDescription
future< StatusOr< google::logging::v2::CopyLogEntriesResponse > >