30 #ifndef GOOGLE_CONTAINER_API_WORKLOAD_IDENTITY_CONFIG_H_ 31 #define GOOGLE_CONTAINER_API_WORKLOAD_IDENTITY_CONFIG_H_ 34 #include "googleapis/base/macros.h" 35 #include "googleapis/client/data/jsoncpp_data.h" 36 #include "googleapis/strings/stringpiece.h" 85 return StringPiece(
"google_container_api::WorkloadIdentityConfig");
94 return Storage().isMember(
"workloadPool");
101 MutableStorage()->removeMember(
"workloadPool");
109 const Json::Value& v = Storage(
"workloadPool");
110 if (v == Json::Value::null)
return StringPiece(
"");
111 return StringPiece(v.asCString());
122 *MutableStorage(
"workloadPool") = value.data();
129 #endif // GOOGLE_CONTAINER_API_WORKLOAD_IDENTITY_CONFIG_H_ const StringPiece GetTypeName() const
Definition: workload_identity_config.h:84
const StringPiece get_workload_pool() const
Definition: workload_identity_config.h:108
Definition: workload_identity_config.h:51
void clear_workload_pool()
Definition: workload_identity_config.h:100
Definition: accelerator_config.h:39
void set_workload_pool(const StringPiece &value)
Definition: workload_identity_config.h:121
Definition: accelerator_config.cc:41
bool has_workload_pool() const
Definition: workload_identity_config.h:93