Class GlobalPublicDelegatedPrefixesConnection (2.15.1)

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

To create a concrete instance, see MakeGlobalPublicDelegatedPrefixesConnection().

For mocking, see compute_global_public_delegated_prefixes_v1_mocks::MockGlobalPublicDelegatedPrefixesConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual DeleteGlobalPublicDelegatedPrefixes(google::cloud::cpp::compute::global_public_delegated_prefixes::v1::DeleteGlobalPublicDelegatedPrefixesRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::global_public_delegated_prefixes::v1::DeleteGlobalPublicDelegatedPrefixesRequest const &
Returns
Type Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

virtual GetGlobalPublicDelegatedPrefixes(google::cloud::cpp::compute::global_public_delegated_prefixes::v1::GetGlobalPublicDelegatedPrefixesRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::global_public_delegated_prefixes::v1::GetGlobalPublicDelegatedPrefixesRequest const &
Returns
Type Description
StatusOr< google::cloud::cpp::compute::v1::PublicDelegatedPrefix >

virtual InsertGlobalPublicDelegatedPrefixes(google::cloud::cpp::compute::global_public_delegated_prefixes::v1::InsertGlobalPublicDelegatedPrefixesRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::global_public_delegated_prefixes::v1::InsertGlobalPublicDelegatedPrefixesRequest const &
Returns
Type Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

virtual ListGlobalPublicDelegatedPrefixes(google::cloud::cpp::compute::global_public_delegated_prefixes::v1::ListGlobalPublicDelegatedPrefixesRequest)

Parameter
Name Description
request google::cloud::cpp::compute::global_public_delegated_prefixes::v1::ListGlobalPublicDelegatedPrefixesRequest
Returns
Type Description
StreamRange< google::cloud::cpp::compute::v1::PublicDelegatedPrefix >

virtual PatchGlobalPublicDelegatedPrefixes(google::cloud::cpp::compute::global_public_delegated_prefixes::v1::PatchGlobalPublicDelegatedPrefixesRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::global_public_delegated_prefixes::v1::PatchGlobalPublicDelegatedPrefixesRequest const &
Returns
Type Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >