Google Cloud Bigtable C++ Client  1.32.1
A C++ Client Library for Google Cloud Bigtable
Public Member Functions | List of all members
google::cloud::bigtable::v1::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::v1::MetadataUpdatePolicy::MetadataUpdatePolicy ( std::string const &  resource_name,
MetadataParamTypes const &  metadata_param_type 

Constructor with default metadata pair.

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

Definition at line 40 of file

◆ MetadataUpdatePolicy() [2/3]

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

◆ MetadataUpdatePolicy() [3/3]

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

Member Function Documentation

◆ api_client_header()

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

Definition at line 98 of file metadata_update_policy.h.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ Setup()

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

Definition at line 46 of file

◆ value()

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

Definition at line 97 of file metadata_update_policy.h.