Class PublicDelegatedPrefixesConnection (2.23.0-rc)

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
TypeDescription
Options

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

Parameter
NameDescription
request google::cloud::cpp::compute::public_delegated_prefixes::v1::AggregatedListPublicDelegatedPrefixesRequest
Returns
TypeDescription
StreamRange< std::pair< std::string, google::cloud::cpp::compute::v1::PublicDelegatedPrefixesScopedList > >

virtual Announce(google::cloud::cpp::compute::public_delegated_prefixes::v1::AnnounceRequest const &)

Parameter
NameDescription
request google::cloud::cpp::compute::public_delegated_prefixes::v1::AnnounceRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

virtual DeletePublicDelegatedPrefix(google::cloud::cpp::compute::public_delegated_prefixes::v1::DeletePublicDelegatedPrefixRequest const &)

Parameter
NameDescription
request google::cloud::cpp::compute::public_delegated_prefixes::v1::DeletePublicDelegatedPrefixRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

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

Parameter
NameDescription
request google::cloud::cpp::compute::public_delegated_prefixes::v1::GetPublicDelegatedPrefixRequest const &
Returns
TypeDescription
StatusOr< google::cloud::cpp::compute::v1::PublicDelegatedPrefix >

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

Parameter
NameDescription
request google::cloud::cpp::compute::public_delegated_prefixes::v1::InsertPublicDelegatedPrefixRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

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

Parameter
NameDescription
request google::cloud::cpp::compute::public_delegated_prefixes::v1::ListPublicDelegatedPrefixesRequest
Returns
TypeDescription
StreamRange< google::cloud::cpp::compute::v1::PublicDelegatedPrefix >

virtual PatchPublicDelegatedPrefix(google::cloud::cpp::compute::public_delegated_prefixes::v1::PatchPublicDelegatedPrefixRequest const &)

Parameter
NameDescription
request google::cloud::cpp::compute::public_delegated_prefixes::v1::PatchPublicDelegatedPrefixRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

virtual Withdraw(google::cloud::cpp::compute::public_delegated_prefixes::v1::WithdrawRequest const &)

Parameter
NameDescription
request google::cloud::cpp::compute::public_delegated_prefixes::v1::WithdrawRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >