Google Cloud Bigtable C++ Client  0.11.0
A C++ Client Library for Google Cloud Bigtable
Public Member Functions | Static Public Attributes | List of all members
google::cloud::bigtable::v0::MetadataParamTypes Class Referencefinal

Define the class for governing x-goog-request-params metadata value. More...

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

Public Member Functions

std::string const & type () const
 

Static Public Attributes

static MetadataParamTypes const PARENT
 
static MetadataParamTypes const NAME
 
static MetadataParamTypes const RESOURCE
 
static MetadataParamTypes const TABLE_NAME
 

Detailed Description

Define the class for governing x-goog-request-params metadata value.

The value of x-goog-request-params starts with one of the following suffix "parent=" : Operation in instance, e.g. TableAdmin::CreateTable. "table_name=" : table_id is known at the time of creation, e.g. Table::Apply. "name=" : this is used when table|_id is known only in the RPC call, e.g. TableAdmin::GetTable. "resource=" : this is used to set IAM policies for bigtable resource.

The Setup function also adds x-goog-api-client header for analytics purpose.

Definition at line 40 of file metadata_update_policy.h.

Member Function Documentation

◆ type()

std::string const& google::cloud::bigtable::v0::MetadataParamTypes::type ( ) const
inline

Definition at line 47 of file metadata_update_policy.h.

Member Data Documentation

◆ NAME

MetadataParamTypes const google::cloud::bigtable::v0::MetadataParamTypes::NAME
static

Definition at line 43 of file metadata_update_policy.h.

◆ PARENT

MetadataParamTypes const google::cloud::bigtable::v0::MetadataParamTypes::PARENT
static

Definition at line 42 of file metadata_update_policy.h.

◆ RESOURCE

MetadataParamTypes const google::cloud::bigtable::v0::MetadataParamTypes::RESOURCE
static

Definition at line 44 of file metadata_update_policy.h.

◆ TABLE_NAME

MetadataParamTypes const google::cloud::bigtable::v0::MetadataParamTypes::TABLE_NAME
static

Definition at line 45 of file metadata_update_policy.h.