Google Cloud Bigtable C++ Client  1.40.2
A C++ Client Library for Google Cloud Bigtable
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.

Definition at line 76 of file metadata_update_policy.h.

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

Definition at line 98 of file metadata_update_policy.h.

◆ 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

Definition at line 97 of file metadata_update_policy.h.