Google Cloud Bigtable C++ Client 2.13.0
A C++ Client Library for Google Cloud Bigtable
Loading...
Searching...
No Matches
Public Member Functions | List of all members
google::cloud::bigtable::MetadataUpdatePolicy Class Reference

MetadataUpdatePolicy holds supported metadata and setup ClientContext. More...

#include <google/cloud/bigtable/metadata_update_policy.h>

Public Member Functions

 MetadataUpdatePolicy (std::string const &resource_name, MetadataParamTypes const &metadata_param_type)
 Constructor with default metadata pair. More...
 
 MetadataUpdatePolicy (MetadataUpdatePolicy &&)=default
 
MetadataUpdatePolicyoperator= (MetadataUpdatePolicy &&)=default
 
 MetadataUpdatePolicy (MetadataUpdatePolicy const &)=default
 
MetadataUpdatePolicyoperator= (MetadataUpdatePolicy const &)=default
 
void Setup (grpc::ClientContext &context) const
 
std::string const & value () const
 
std::string const & api_client_header () const
 

Detailed Description

MetadataUpdatePolicy holds supported metadata and setup ClientContext.

Constructor & Destructor Documentation

◆ MetadataUpdatePolicy() [1/3]

google::cloud::bigtable::MetadataUpdatePolicy::MetadataUpdatePolicy ( std::string const &  resource_name,
MetadataParamTypes const &  metadata_param_type 
)

Constructor with default metadata pair.

Parameters
resource_namehierarchical name of resource, including project id, instance id and/or table_id.
metadata_param_typetype to decide prefix for the value of x-goog-request-params

◆ MetadataUpdatePolicy() [2/3]

google::cloud::bigtable::MetadataUpdatePolicy::MetadataUpdatePolicy ( MetadataUpdatePolicy &&  )
default

◆ MetadataUpdatePolicy() [3/3]

google::cloud::bigtable::MetadataUpdatePolicy::MetadataUpdatePolicy ( MetadataUpdatePolicy const &  )
default

Member Function Documentation

◆ api_client_header()

std::string const & google::cloud::bigtable::MetadataUpdatePolicy::api_client_header ( ) const
inline

◆ operator=() [1/2]

MetadataUpdatePolicy & google::cloud::bigtable::MetadataUpdatePolicy::operator= ( MetadataUpdatePolicy &&  )
default

◆ operator=() [2/2]

MetadataUpdatePolicy & google::cloud::bigtable::MetadataUpdatePolicy::operator= ( MetadataUpdatePolicy const &  )
default

◆ Setup()

void google::cloud::bigtable::MetadataUpdatePolicy::Setup ( grpc::ClientContext &  context) const

◆ value()

std::string const & google::cloud::bigtable::MetadataUpdatePolicy::value ( ) const
inline