Class GlobalPublicDelegatedPrefixesConnection (2.16.0)

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 DeletePublicDelegatedPrefix(google::cloud::cpp::compute::global_public_delegated_prefixes::v1::DeletePublicDelegatedPrefixRequest const &)

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

virtual GetPublicDelegatedPrefix(google::cloud::cpp::compute::global_public_delegated_prefixes::v1::GetPublicDelegatedPrefixRequest const &)

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

virtual InsertPublicDelegatedPrefix(google::cloud::cpp::compute::global_public_delegated_prefixes::v1::InsertPublicDelegatedPrefixRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::global_public_delegated_prefixes::v1::InsertPublicDelegatedPrefixRequest 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 PatchPublicDelegatedPrefix(google::cloud::cpp::compute::global_public_delegated_prefixes::v1::PatchPublicDelegatedPrefixRequest const &)

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