Namespace google::cloud::pubsub_admin (2.40.0)

Classes

SubscriptionAdminClient

A service to manipulate subscriptions.

SubscriptionAdminConnection

The SubscriptionAdminConnection object for SubscriptionAdminClient .

SubscriptionAdminConnectionIdempotencyPolicy

SubscriptionAdminLimitedErrorCountRetryPolicy

A retry policy for SubscriptionAdminConnection based on counting errors.

SubscriptionAdminLimitedTimeRetryPolicy

A retry policy for SubscriptionAdminConnection based on elapsed time.

SubscriptionAdminRetryPolicy

The retry policy for SubscriptionAdminConnection .

TopicAdminClient

A service to manipulate topics.

TopicAdminConnection

The TopicAdminConnection object for TopicAdminClient .

TopicAdminConnectionIdempotencyPolicy

TopicAdminLimitedErrorCountRetryPolicy

A retry policy for TopicAdminConnection based on counting errors.

TopicAdminLimitedTimeRetryPolicy

A retry policy for TopicAdminConnection based on elapsed time.

TopicAdminRetryPolicy

The retry policy for TopicAdminConnection .

Structs

SubscriptionAdminBackoffPolicyOption

Use with google::cloud::Options to configure the backoff policy.

SubscriptionAdminConnectionIdempotencyPolicyOption

Use with google::cloud::Options to configure which operations are retried.

SubscriptionAdminRetryPolicyOption

Use with google::cloud::Options to configure the retry policy.

TopicAdminBackoffPolicyOption

Use with google::cloud::Options to configure the backoff policy.

TopicAdminConnectionIdempotencyPolicyOption

Use with google::cloud::Options to configure which operations are retried.

TopicAdminRetryPolicyOption

Use with google::cloud::Options to configure the retry policy.

Functions

MakeSubscriptionAdminConnection(std::string const &, Options)

A factory function to construct an object of type SubscriptionAdminConnection .

The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of SubscriptionAdminClient .

The optional options argument may be used to configure aspects of the returned SubscriptionAdminConnection . Expected options are any of the types in the following option lists:

Parameters
Name
Description
location
std::string const &

Sets the prefix for the default EndpointOption value.

options
Options

(optional) Configure the SubscriptionAdminConnection created by this function.

Returns
Type
Description
std::shared_ptr< SubscriptionAdminConnection >

MakeSubscriptionAdminConnection(Options)

A factory function to construct an object of type SubscriptionAdminConnection .

This overload of MakeSubscriptionAdminConnection does not require a location argument, creating a connection to the global service endpoint.

Parameter
Name
Description
options
Options
Returns
Type
Description
std::shared_ptr< SubscriptionAdminConnection >

MakeDefaultSubscriptionAdminConnectionIdempotencyPolicy()

Returns
Type
Description
std::unique_ptr< SubscriptionAdminConnectionIdempotencyPolicy >

MakeTopicAdminConnection(std::string const &, Options)

A factory function to construct an object of type TopicAdminConnection .

The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of TopicAdminClient .

The optional options argument may be used to configure aspects of the returned TopicAdminConnection . Expected options are any of the types in the following option lists:

Parameters
Name
Description
location
std::string const &

Sets the prefix for the default EndpointOption value.

options
Options

(optional) Configure the TopicAdminConnection created by this function.

Returns
Type
Description
std::shared_ptr< TopicAdminConnection >

MakeTopicAdminConnection(Options)

A factory function to construct an object of type TopicAdminConnection .

This overload of MakeTopicAdminConnection does not require a location argument, creating a connection to the global service endpoint.

Parameter
Name
Description
options
Options
Returns
Type
Description
std::shared_ptr< TopicAdminConnection >

MakeDefaultTopicAdminConnectionIdempotencyPolicy()

Returns
Type
Description
std::unique_ptr< TopicAdminConnectionIdempotencyPolicy >
Create a Mobile Website
View Site in Mobile | Classic
Share by: