Class MetadataUpdatePolicy (2.32.0-rc)

MetadataUpdatePolicy holds supported metadata and setup ClientContext.

Constructors

MetadataUpdatePolicy(std::string const &, MetadataParamTypes const &)

Constructor with default metadata pair.

Parameters
Name Description
resource_name std::string const &

hierarchical name of resource, including project id, instance id and/or table_id.

metadata_param_type MetadataParamTypes const &

type to decide prefix for the value of x-goog-request-params

MetadataUpdatePolicy(MetadataUpdatePolicy &&)

Parameter
Name Description
MetadataUpdatePolicy &&

MetadataUpdatePolicy(MetadataUpdatePolicy const &)

Parameter
Name Description
MetadataUpdatePolicy const &

Operators

operator=(MetadataUpdatePolicy &&)

Parameter
Name Description
MetadataUpdatePolicy &&
Returns
Type Description
MetadataUpdatePolicy &

operator=(MetadataUpdatePolicy const &)

Parameter
Name Description
MetadataUpdatePolicy const &
Returns
Type Description
MetadataUpdatePolicy &

Functions

Setup(grpc::ClientContext &) const

Parameter
Name Description
context grpc::ClientContext &
Returns
Type Description
void

value() const

Returns
Type Description
std::string const &

api_client_header() const

Returns
Type Description
std::string const &