Class PublicDelegatedPrefixesConnection (2.15.1)

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

To create a concrete instance, see MakePublicDelegatedPrefixesConnection().

For mocking, see compute_public_delegated_prefixes_v1_mocks::MockPublicDelegatedPrefixesConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual AggregatedListPublicDelegatedPrefixes(google::cloud::cpp::compute::public_delegated_prefixes::v1::AggregatedListPublicDelegatedPrefixesRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::public_delegated_prefixes::v1::AggregatedListPublicDelegatedPrefixesRequest const &
Returns
Type Description
StatusOr< google::cloud::cpp::compute::v1::PublicDelegatedPrefixAggregatedList >

virtual DeletePublicDelegatedPrefixes(google::cloud::cpp::compute::public_delegated_prefixes::v1::DeletePublicDelegatedPrefixesRequest const &)

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

virtual GetPublicDelegatedPrefixes(google::cloud::cpp::compute::public_delegated_prefixes::v1::GetPublicDelegatedPrefixesRequest const &)

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

virtual InsertPublicDelegatedPrefixes(google::cloud::cpp::compute::public_delegated_prefixes::v1::InsertPublicDelegatedPrefixesRequest const &)

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

virtual ListPublicDelegatedPrefixes(google::cloud::cpp::compute::public_delegated_prefixes::v1::ListPublicDelegatedPrefixesRequest)

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

virtual PatchPublicDelegatedPrefixes(google::cloud::cpp::compute::public_delegated_prefixes::v1::PatchPublicDelegatedPrefixesRequest const &)

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