Class ConfigServiceV2Connection (2.14.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
Type Description
Options

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

Parameter
Name Description
request google::logging::v2::ListBucketsRequest
Returns
Type Description
StreamRange< google::logging::v2::LogBucket >

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

Parameter
Name Description
request google::logging::v2::GetBucketRequest const &
Returns
Type Description
StatusOr< google::logging::v2::LogBucket >

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

Parameter
Name Description
request google::logging::v2::CreateBucketRequest const &
Returns
Type Description
future< StatusOr< google::logging::v2::LogBucket > >

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

Parameter
Name Description
request google::logging::v2::UpdateBucketRequest const &
Returns
Type Description
future< StatusOr< google::logging::v2::LogBucket > >

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

Parameter
Name Description
request google::logging::v2::CreateBucketRequest const &
Returns
Type Description
StatusOr< google::logging::v2::LogBucket >

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

Parameter
Name Description
request google::logging::v2::UpdateBucketRequest const &
Returns
Type Description
StatusOr< google::logging::v2::LogBucket >

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

Parameter
Name Description
request google::logging::v2::DeleteBucketRequest const &
Returns
Type Description
Status

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

Parameter
Name Description
request google::logging::v2::UndeleteBucketRequest const &
Returns
Type Description
Status

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

Parameter
Name Description
request google::logging::v2::ListViewsRequest
Returns
Type Description
StreamRange< google::logging::v2::LogView >

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

Parameter
Name Description
request google::logging::v2::GetViewRequest const &
Returns
Type Description
StatusOr< google::logging::v2::LogView >

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

Parameter
Name Description
request google::logging::v2::CreateViewRequest const &
Returns
Type Description
StatusOr< google::logging::v2::LogView >

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

Parameter
Name Description
request google::logging::v2::UpdateViewRequest const &
Returns
Type Description
StatusOr< google::logging::v2::LogView >

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

Parameter
Name Description
request google::logging::v2::DeleteViewRequest const &
Returns
Type Description
Status

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

Parameter
Name Description
request google::logging::v2::ListSinksRequest
Returns
Type Description
StreamRange< google::logging::v2::LogSink >

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

Parameter
Name Description
request google::logging::v2::GetSinkRequest const &
Returns
Type Description
StatusOr< google::logging::v2::LogSink >

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

Parameter
Name Description
request google::logging::v2::CreateSinkRequest const &
Returns
Type Description
StatusOr< google::logging::v2::LogSink >

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

Parameter
Name Description
request google::logging::v2::UpdateSinkRequest const &
Returns
Type Description
StatusOr< google::logging::v2::LogSink >

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

Parameter
Name Description
request google::logging::v2::DeleteSinkRequest const &
Returns
Type Description
Status

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

Parameter
Name Description
request google::logging::v2::CreateLinkRequest const &
Returns
Type Description
future< StatusOr< google::logging::v2::Link > >

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

Parameter
Name Description
request google::logging::v2::DeleteLinkRequest const &
Returns
Type Description
future< StatusOr< google::logging::v2::LinkMetadata > >

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

Parameter
Name Description
request google::logging::v2::ListLinksRequest
Returns
Type Description
StreamRange< google::logging::v2::Link >

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

Parameter
Name Description
request google::logging::v2::GetLinkRequest const &
Returns
Type Description
StatusOr< google::logging::v2::Link >

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

Parameter
Name Description
request google::logging::v2::ListExclusionsRequest
Returns
Type Description
StreamRange< google::logging::v2::LogExclusion >

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

Parameter
Name Description
request google::logging::v2::GetExclusionRequest const &
Returns
Type Description
StatusOr< google::logging::v2::LogExclusion >

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

Parameter
Name Description
request google::logging::v2::CreateExclusionRequest const &
Returns
Type Description
StatusOr< google::logging::v2::LogExclusion >

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

Parameter
Name Description
request google::logging::v2::UpdateExclusionRequest const &
Returns
Type Description
StatusOr< google::logging::v2::LogExclusion >

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

Parameter
Name Description
request google::logging::v2::DeleteExclusionRequest const &
Returns
Type Description
Status

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

Parameter
Name Description
request google::logging::v2::GetCmekSettingsRequest const &
Returns
Type Description
StatusOr< google::logging::v2::CmekSettings >

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

Parameter
Name Description
request google::logging::v2::UpdateCmekSettingsRequest const &
Returns
Type Description
StatusOr< google::logging::v2::CmekSettings >

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

Parameter
Name Description
request google::logging::v2::GetSettingsRequest const &
Returns
Type Description
StatusOr< google::logging::v2::Settings >

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

Parameter
Name Description
request google::logging::v2::UpdateSettingsRequest const &
Returns
Type Description
StatusOr< google::logging::v2::Settings >

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

Parameter
Name Description
request google::logging::v2::CopyLogEntriesRequest const &
Returns
Type Description
future< StatusOr< google::logging::v2::CopyLogEntriesResponse > >