30 #ifndef GOOGLE_BIGQUERY_API_LOCATION_METADATA_H_ 31 #define GOOGLE_BIGQUERY_API_LOCATION_METADATA_H_ 34 #include "googleapis/base/macros.h" 35 #include "googleapis/client/data/jsoncpp_data.h" 36 #include "googleapis/strings/stringpiece.h" 86 return StringPiece(
"google_bigquery_api::LocationMetadata");
95 return Storage().isMember(
"legacyLocationId");
102 MutableStorage()->removeMember(
"legacyLocationId");
110 const Json::Value& v = Storage(
"legacyLocationId");
111 if (v == Json::Value::null)
return StringPiece(
"");
112 return StringPiece(v.asCString());
124 *MutableStorage(
"legacyLocationId") = value.data();
131 #endif // GOOGLE_BIGQUERY_API_LOCATION_METADATA_H_
Definition: aggregate_classification_metrics.cc:39
Definition: aggregate_classification_metrics.h:37