|
|
|
@ -22,47 +22,31 @@ package google.cloud; |
|
|
|
|
import "google/api/resource.proto"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message Project { |
|
|
|
|
option (google.api.resource) = { |
|
|
|
|
type: "cloudresourcemanager.googleapis.com/Project" |
|
|
|
|
pattern: "projects/{project}" |
|
|
|
|
}; |
|
|
|
|
option (google.api.resource_definition) = { |
|
|
|
|
type: "cloudresourcemanager.googleapis.com/Project" |
|
|
|
|
pattern: "projects/{project}" |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
string name = 1; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
message Organization { |
|
|
|
|
option (google.api.resource) = { |
|
|
|
|
type: "cloudresourcemanager.googleapis.com/Organization" |
|
|
|
|
pattern: "organizations/{organization}" |
|
|
|
|
}; |
|
|
|
|
option (google.api.resource_definition) = { |
|
|
|
|
type: "cloudresourcemanager.googleapis.com/Organization" |
|
|
|
|
pattern: "organizations/{organization}" |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
string name = 1; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
message Folder { |
|
|
|
|
option (google.api.resource) = { |
|
|
|
|
type: "cloudresourcemanager.googleapis.com/Folder" |
|
|
|
|
pattern: "folders/{folder}" |
|
|
|
|
}; |
|
|
|
|
option (google.api.resource_definition) = { |
|
|
|
|
type: "cloudresourcemanager.googleapis.com/Folder" |
|
|
|
|
pattern: "folders/{folder}" |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
string name = 1; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
message BillingAccount { |
|
|
|
|
option (google.api.resource) = { |
|
|
|
|
type: "cloudbilling.googleapis.com/BillingAccount" |
|
|
|
|
pattern: "billingAccounts/{billing_account}" |
|
|
|
|
}; |
|
|
|
|
option (google.api.resource_definition) = { |
|
|
|
|
type: "cloudbilling.googleapis.com/BillingAccount" |
|
|
|
|
pattern: "billingAccounts/{billing_account}" |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
string name = 1; |
|
|
|
|
} |
|
|
|
|
option (google.api.resource_definition) = { |
|
|
|
|
type: "locations.googleapis.com/Location" |
|
|
|
|
pattern: "projects/{project}/locations/{location}" |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
message Location { |
|
|
|
|
option (google.api.resource) = { |
|
|
|
|
type: "locations.googleapis.com/Location" |
|
|
|
|
pattern: "projects/{project}/locations/{location}" |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
string name = 1; |
|
|
|
|
} |
|
|
|
|