Google Cloud Pub/Sub C++ Client 2.13.0
A C++ Client Library for Google Cloud Pub/Sub
|
Helper class to create google::pubsub::v1::PushConfig protos. More...
#include <google/cloud/pubsub/subscription_builder.h>
Public Member Functions | |
PushConfigBuilder ()=default | |
PushConfigBuilder (std::string push_endpoint) | |
google::pubsub::v1::ModifyPushConfigRequest | BuildModifyPushConfig (Subscription const &subscription) && |
Build a protocol buffer message to update an existing push config. More... | |
Friends | |
class | SubscriptionBuilder |
Setters for each protocol buffer field. | |
PushConfigBuilder & | set_push_endpoint (std::string v) & |
PushConfigBuilder && | set_push_endpoint (std::string v) && |
PushConfigBuilder & | add_attribute (std::string const &key, std::string const &value) & |
PushConfigBuilder && | add_attribute (std::string const &key, std::string const &value) && |
PushConfigBuilder & | set_attributes (std::vector< std::pair< std::string, std::string > > attr) & |
PushConfigBuilder && | set_attributes (std::vector< std::pair< std::string, std::string > > attr) && |
PushConfigBuilder & | clear_attributes () & |
PushConfigBuilder && | clear_attributes () && |
PushConfigBuilder & | set_authentication (google::pubsub::v1::PushConfig::OidcToken token) & |
PushConfigBuilder && | set_authentication (google::pubsub::v1::PushConfig::OidcToken token) && |
static google::pubsub::v1::PushConfig::OidcToken | MakeOidcToken (std::string service_account_email) |
static google::pubsub::v1::PushConfig::OidcToken | MakeOidcToken (std::string service_account_email, std::string audience) |
Helper class to create google::pubsub::v1::PushConfig protos.
Makes it easier to create the protobuf messages consumed by SubscriptionAdminClient
. The main advantages are:
|
default |
|
inlineexplicit |
|
inline |
|
inline |
google::pubsub::v1::ModifyPushConfigRequest google::cloud::pubsub::PushConfigBuilder::BuildModifyPushConfig | ( | Subscription const & | subscription | ) | && |
Build a protocol buffer message to update an existing push config.
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |