30 #ifndef GOOGLE_BIGQUERY_API_ENCRYPTION_CONFIGURATION_H_ 31 #define GOOGLE_BIGQUERY_API_ENCRYPTION_CONFIGURATION_H_ 34 #include "googleapis/base/macros.h" 35 #include "googleapis/client/data/jsoncpp_data.h" 36 #include "googleapis/strings/stringpiece.h" 84 return StringPiece(
"google_bigquery_api::EncryptionConfiguration");
93 return Storage().isMember(
"kmsKeyName");
100 MutableStorage()->removeMember(
"kmsKeyName");
108 const Json::Value& v = Storage(
"kmsKeyName");
109 if (v == Json::Value::null)
return StringPiece(
"");
110 return StringPiece(v.asCString());
123 *MutableStorage(
"kmsKeyName") = value.data();
130 #endif // GOOGLE_BIGQUERY_API_ENCRYPTION_CONFIGURATION_H_ Definition: encryption_configuration.h:50
Definition: aggregate_classification_metrics.cc:39
void clear_kms_key_name()
Definition: encryption_configuration.h:99
void set_kms_key_name(const StringPiece &value)
Definition: encryption_configuration.h:122
bool has_kms_key_name() const
Definition: encryption_configuration.h:92
Definition: aggregate_classification_metrics.h:37
const StringPiece get_kms_key_name() const
Definition: encryption_configuration.h:107
const StringPiece GetTypeName() const
Definition: encryption_configuration.h:83