15 #include "google/cloud/bigtable/metadata_update_policy.h"
16 #include "google/cloud/bigtable/version.h"
17 #include "google/cloud/internal/api_client_header.h"
25 MetadataParamTypes
const MetadataParamTypes::
PARENT(
"parent");
27 MetadataParamTypes
const MetadataParamTypes::
NAME(
"name");
29 MetadataParamTypes
const MetadataParamTypes::
RESOURCE(
"resource");
31 MetadataParamTypes
const MetadataParamTypes::
TABLE_NAME(
"table_name");
36 MetadataParamTypes
const MetadataParamTypes::
INSTANCE_NAME(
"instance.name");
38 MetadataParamTypes
const MetadataParamTypes::
BACKUP_NAME(
"backup.name");
41 std::string
const& resource_name,
42 MetadataParamTypes
const& metadata_param_type)
43 : value_(metadata_param_type
.type() +
'=' + resource_name),
44 api_client_header_(internal::ApiClientHeader()) {}
47 context.AddMetadata(std::string(
"x-goog-request-params"),
value());