30 #ifndef GOOGLE_CLOUDRESOURCEMANAGER_API_ANCESTOR_H_ 31 #define GOOGLE_CLOUDRESOURCEMANAGER_API_ANCESTOR_H_ 33 #include "googleapis/base/macros.h" 34 #include "googleapis/client/data/jsoncpp_data.h" 35 #include "googleapis/strings/stringpiece.h" 37 #include "google/cloudresourcemanager_api/resource_id.h" 65 explicit Ancestor(
const Json::Value& storage);
72 explicit Ancestor(Json::Value* storage);
85 return StringPiece(
"google_cloudresourcemanager_api::Ancestor");
94 return Storage().isMember(
"resourceId");
101 MutableStorage()->removeMember(
"resourceId");
124 #endif // GOOGLE_CLOUDRESOURCEMANAGER_API_ANCESTOR_H_ const StringPiece GetTypeName() const
Definition: ancestor.h:84
void clear_resource_id()
Definition: ancestor.h:100
Definition: ancestor.cc:41
bool has_resource_id() const
Definition: ancestor.h:93
Definition: ancestor.h:39
Definition: ancestor.h:51
Definition: resource_id.h:53