OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/cloud-platform": { | 5 "https://www.googleapis.com/auth/cloud-platform": { |
6 "description": "View and manage your data across Google Clou
d Platform services" | 6 "description": "View and manage your data across Google Clou
d Platform services" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/cloud-platform.read-only": { | 8 "https://www.googleapis.com/auth/cloud-platform.read-only": { |
9 "description": "View your data across Google Cloud Platform
services" | 9 "description": "View your data across Google Cloud Platform
services" |
10 } | 10 } |
11 } | 11 } |
12 } | 12 } |
13 }, | 13 }, |
14 "basePath": "", | 14 "basePath": "", |
15 "baseUrl": "https://cloudresourcemanager.googleapis.com/", | 15 "baseUrl": "https://cloudresourcemanager.googleapis.com/", |
16 "batchPath": "batch", | 16 "batchPath": "batch", |
17 "canonicalName": "Cloud Resource Manager", | 17 "canonicalName": "Cloud Resource Manager", |
18 "description": "The Google Cloud Resource Manager API provides methods for c
reating, reading, and updating project metadata.", | 18 "description": "The Google Cloud Resource Manager API provides methods for c
reating, reading, and updating project metadata.", |
19 "discoveryVersion": "v1", | 19 "discoveryVersion": "v1", |
20 "documentationLink": "https://cloud.google.com/resource-manager", | 20 "documentationLink": "https://cloud.google.com/resource-manager", |
21 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/LEsmfjb1rYEGIEL137RcSgOD86w\"", | |
22 "icons": { | 21 "icons": { |
23 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
24 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
25 }, | 24 }, |
26 "id": "cloudresourcemanager:v1beta1", | 25 "id": "cloudresourcemanager:v1beta1", |
27 "kind": "discovery#restDescription", | 26 "kind": "discovery#restDescription", |
28 "name": "cloudresourcemanager", | 27 "name": "cloudresourcemanager", |
29 "ownerDomain": "google.com", | 28 "ownerDomain": "google.com", |
30 "ownerName": "Google", | 29 "ownerName": "Google", |
31 "parameters": { | 30 "parameters": { |
32 "access_token": { | 31 "access_token": { |
33 "description": "OAuth access token.", | 32 "description": "OAuth access token.", |
34 "location": "query", | 33 "location": "query", |
35 "type": "string" | 34 "type": "string" |
36 }, | 35 }, |
| 36 "prettyPrint": { |
| 37 "default": "true", |
| 38 "description": "Returns response with indentations and line breaks."
, |
| 39 "location": "query", |
| 40 "type": "boolean" |
| 41 }, |
| 42 "key": { |
| 43 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
| 44 "location": "query", |
| 45 "type": "string" |
| 46 }, |
| 47 "quotaUser": { |
| 48 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
| 49 "location": "query", |
| 50 "type": "string" |
| 51 }, |
| 52 "pp": { |
| 53 "default": "true", |
| 54 "description": "Pretty-print response.", |
| 55 "location": "query", |
| 56 "type": "boolean" |
| 57 }, |
| 58 "fields": { |
| 59 "description": "Selector specifying which fields to include in a par
tial response.", |
| 60 "location": "query", |
| 61 "type": "string" |
| 62 }, |
37 "alt": { | 63 "alt": { |
38 "default": "json", | 64 "default": "json", |
39 "description": "Data format for response.", | 65 "description": "Data format for response.", |
| 66 "enum": [ |
| 67 "json", |
| 68 "media", |
| 69 "proto" |
| 70 ], |
40 "enumDescriptions": [ | 71 "enumDescriptions": [ |
41 "Responses with Content-Type of application/json", | 72 "Responses with Content-Type of application/json", |
42 "Media download with context-dependent Content-Type", | 73 "Media download with context-dependent Content-Type", |
43 "Responses with Content-Type of application/x-protobuf" | 74 "Responses with Content-Type of application/x-protobuf" |
44 ], | 75 ], |
45 "location": "query", | 76 "location": "query", |
46 "type": "string" | 77 "type": "string" |
47 }, | 78 }, |
48 "bearer_token": { | 79 "$.xgafv": { |
49 "description": "OAuth bearer token.", | 80 "description": "V1 error format.", |
| 81 "enum": [ |
| 82 "1", |
| 83 "2" |
| 84 ], |
| 85 "enumDescriptions": [ |
| 86 "v1 error format", |
| 87 "v2 error format" |
| 88 ], |
50 "location": "query", | 89 "location": "query", |
51 "type": "string" | 90 "type": "string" |
52 }, | 91 }, |
53 "callback": { | 92 "callback": { |
54 "description": "JSONP", | 93 "description": "JSONP", |
55 "location": "query", | 94 "location": "query", |
56 "type": "string" | 95 "type": "string" |
57 }, | 96 }, |
58 "fields": { | |
59 "description": "Selector specifying which fields to include in a par
tial response.", | |
60 "location": "query", | |
61 "type": "string" | |
62 }, | |
63 "key": { | |
64 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", | |
65 "location": "query", | |
66 "type": "string" | |
67 }, | |
68 "oauth_token": { | 97 "oauth_token": { |
69 "description": "OAuth 2.0 token for the current user.", | 98 "description": "OAuth 2.0 token for the current user.", |
70 "location": "query", | 99 "location": "query", |
71 "type": "string" | 100 "type": "string" |
72 }, | 101 }, |
73 "pp": { | 102 "uploadType": { |
74 "default": "true", | 103 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
75 "description": "Pretty-print response.", | |
76 "location": "query", | |
77 "type": "boolean" | |
78 }, | |
79 "prettyPrint": { | |
80 "default": "true", | |
81 "description": "Returns response with indentations and line breaks."
, | |
82 "location": "query", | |
83 "type": "boolean" | |
84 }, | |
85 "quotaUser": { | |
86 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | |
87 "location": "query", | 104 "location": "query", |
88 "type": "string" | 105 "type": "string" |
89 }, | 106 }, |
| 107 "bearer_token": { |
| 108 "description": "OAuth bearer token.", |
| 109 "location": "query", |
| 110 "type": "string" |
| 111 }, |
90 "upload_protocol": { | 112 "upload_protocol": { |
91 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 113 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
92 "location": "query", | 114 "location": "query", |
93 "type": "string" | 115 "type": "string" |
94 }, | |
95 "uploadType": { | |
96 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | |
97 "location": "query", | |
98 "type": "string" | |
99 }, | |
100 "$.xgafv": { | |
101 "description": "V1 error format.", | |
102 "enumDescriptions": [ | |
103 "v1 error format", | |
104 "v2 error format" | |
105 ], | |
106 "location": "query", | |
107 "type": "string" | |
108 } | 116 } |
109 }, | 117 }, |
110 "protocol": "rest", | 118 "protocol": "rest", |
111 "resources": { | 119 "resources": { |
112 "projects": { | 120 "projects": { |
113 "methods": { | 121 "methods": { |
114 "create": { | 122 "getAncestry": { |
115 "description": "Creates a Project resource. Initially, the P
roject resource is owned by its creator exclusively. The creator can later grant
permission to others to read or update the Project. Several APIs are activated
automatically for the Project, including Google Cloud Storage.", | 123 "description": "Gets a list of ancestors in the resource hie
rarchy for the Project\nidentified by the specified `project_id` (for example, `
my-project-123`).\n\nThe caller must have read permissions for this Project.", |
116 "httpMethod": "POST", | 124 "httpMethod": "POST", |
117 "id": "cloudresourcemanager.projects.create", | 125 "id": "cloudresourcemanager.projects.getAncestry", |
| 126 "parameterOrder": [ |
| 127 "projectId" |
| 128 ], |
118 "parameters": { | 129 "parameters": { |
119 "useLegacyStack": { | 130 "projectId": { |
120 "description": "A safety hatch to opt out of the new
reliable project creation process.", | 131 "description": "The Project ID (for example, `my-pro
ject-123`).\n\nRequired.", |
121 "location": "query", | 132 "location": "path", |
122 "type": "boolean" | 133 "required": true, |
| 134 "type": "string" |
123 } | 135 } |
124 }, | 136 }, |
125 "path": "v1beta1/projects", | 137 "path": "v1beta1/projects/{projectId}:getAncestry", |
126 "request": { | 138 "request": { |
127 "$ref": "Project" | 139 "$ref": "GetAncestryRequest" |
128 }, | 140 }, |
129 "response": { | 141 "response": { |
130 "$ref": "Project" | 142 "$ref": "GetAncestryResponse" |
| 143 }, |
| 144 "scopes": [ |
| 145 "https://www.googleapis.com/auth/cloud-platform", |
| 146 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 147 ] |
| 148 }, |
| 149 "getIamPolicy": { |
| 150 "description": "Returns the IAM access control policy for th
e specified Project.\nPermission is denied if the policy or the resource does no
t exist.", |
| 151 "httpMethod": "POST", |
| 152 "id": "cloudresourcemanager.projects.getIamPolicy", |
| 153 "parameterOrder": [ |
| 154 "resource" |
| 155 ], |
| 156 "parameters": { |
| 157 "resource": { |
| 158 "description": "REQUIRED: The resource for which the
policy is being requested.\n`resource` is usually specified as a path. For exam
ple, a Project\nresource is specified as `projects/{project}`.", |
| 159 "location": "path", |
| 160 "required": true, |
| 161 "type": "string" |
| 162 } |
| 163 }, |
| 164 "path": "v1beta1/projects/{resource}:getIamPolicy", |
| 165 "request": { |
| 166 "$ref": "GetIamPolicyRequest" |
| 167 }, |
| 168 "response": { |
| 169 "$ref": "Policy" |
| 170 }, |
| 171 "scopes": [ |
| 172 "https://www.googleapis.com/auth/cloud-platform", |
| 173 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 174 ] |
| 175 }, |
| 176 "undelete": { |
| 177 "description": "Restores the Project identified by the speci
fied\n`project_id` (for example, `my-project-123`).\nYou can only use this metho
d for a Project that has a lifecycle state of\nDELETE_REQUESTED.\nAfter deletion
starts, the Project cannot be restored.\n\nThe caller must have modify permissi
ons for this Project.", |
| 178 "httpMethod": "POST", |
| 179 "id": "cloudresourcemanager.projects.undelete", |
| 180 "parameterOrder": [ |
| 181 "projectId" |
| 182 ], |
| 183 "parameters": { |
| 184 "projectId": { |
| 185 "description": "The project ID (for example, `foo-ba
r-123`).\n\nRequired.", |
| 186 "location": "path", |
| 187 "required": true, |
| 188 "type": "string" |
| 189 } |
| 190 }, |
| 191 "path": "v1beta1/projects/{projectId}:undelete", |
| 192 "request": { |
| 193 "$ref": "UndeleteProjectRequest" |
| 194 }, |
| 195 "response": { |
| 196 "$ref": "Empty" |
131 }, | 197 }, |
132 "scopes": [ | 198 "scopes": [ |
133 "https://www.googleapis.com/auth/cloud-platform" | 199 "https://www.googleapis.com/auth/cloud-platform" |
134 ] | 200 ] |
135 }, | 201 }, |
136 "list": { | 202 "list": { |
137 "description": "Lists Projects that are visible to the user
and satisfy the specified filter. This method returns Projects in an unspecified
order. New Projects do not necessarily appear at the end of the list.", | 203 "description": "Lists Projects that are visible to the user
and satisfy the\nspecified filter. This method returns Projects in an unspecifie
d order.\nNew Projects do not necessarily appear at the end of the list.", |
138 "httpMethod": "GET", | 204 "httpMethod": "GET", |
139 "id": "cloudresourcemanager.projects.list", | 205 "id": "cloudresourcemanager.projects.list", |
| 206 "parameterOrder": [], |
140 "parameters": { | 207 "parameters": { |
141 "pageToken": { | |
142 "description": "A pagination token returned from a p
revious call to ListProjects that indicates from where listing should continue.
Optional.", | |
143 "location": "query", | |
144 "type": "string" | |
145 }, | |
146 "pageSize": { | 208 "pageSize": { |
147 "description": "The maximum number of Projects to re
turn in the response. The server can return fewer Projects than requested. If un
specified, server picks an appropriate default. Optional.", | 209 "description": "The maximum number of Projects to re
turn in the response.\nThe server can return fewer Projects than requested.\nIf
unspecified, server picks an appropriate default.\n\nOptional.", |
148 "format": "int32", | 210 "format": "int32", |
149 "location": "query", | 211 "location": "query", |
150 "type": "integer" | 212 "type": "integer" |
151 }, | 213 }, |
152 "filter": { | 214 "filter": { |
153 "description": "An expression for filtering the resu
lts of the request. Filter rules are case insensitive. The fields eligible for f
iltering are: + `name` + `id` + labels.key where *key* is the name of a label So
me examples of using labels as filters: |Filter|Description| |------|-----------
| |name:*|The project has a name.| |name:Howl|The project's name is `Howl` or `h
owl`.| |name:HOWL|Equivalent to above.| |NAME:howl|Equivalent to above.| |labels
.color:*|The project has the label `color`.| |labels.color:red|The project's lab
el `color` has the value `red`.| |labels.color:red label.size:big|The project's
label `color` has the value `red` and its label `size` has the value `big`. Opti
onal.", | 215 "description": "An expression for filtering the resu
lts of the request. Filter rules are\ncase insensitive. The fields eligible for
filtering are:\n\n+ `name`\n+ `id`\n+ <code>labels.<em>key</em></code> where *k
ey* is the name of a label\n\nSome examples of using labels as filters:\n\n|Filt
er|Description|\n|------|-----------|\n|name:*|The project has a name.|\n|name:H
owl|The project's name is `Howl` or `howl`.|\n|name:HOWL|Equivalent to above.|\n
|NAME:howl|Equivalent to above.|\n|labels.color:*|The project has the label `col
or`.|\n|labels.color:red|The project's label `color` has the value `red`.|\n|lab
els.color:red label.size:big|The project's label `color` has the value `red
` and its label `size` has the value `big`.\n\nOptional.", |
| 216 "location": "query", |
| 217 "type": "string" |
| 218 }, |
| 219 "pageToken": { |
| 220 "description": "A pagination token returned from a p
revious call to ListProjects\nthat indicates from where listing should continue.
\n\nOptional.", |
154 "location": "query", | 221 "location": "query", |
155 "type": "string" | 222 "type": "string" |
156 } | 223 } |
157 }, | 224 }, |
158 "path": "v1beta1/projects", | 225 "path": "v1beta1/projects", |
159 "response": { | 226 "response": { |
160 "$ref": "ListProjectsResponse" | 227 "$ref": "ListProjectsResponse" |
161 }, | 228 }, |
162 "scopes": [ | 229 "scopes": [ |
163 "https://www.googleapis.com/auth/cloud-platform", | 230 "https://www.googleapis.com/auth/cloud-platform", |
164 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 231 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
165 ] | 232 ] |
166 }, | 233 }, |
167 "get": { | 234 "get": { |
168 "description": "Retrieves the Project identified by the spec
ified `project_id` (for example, `my-project-123`). The caller must have read pe
rmissions for this Project.", | 235 "description": "Retrieves the Project identified by the spec
ified\n`project_id` (for example, `my-project-123`).\n\nThe caller must have rea
d permissions for this Project.", |
169 "httpMethod": "GET", | 236 "httpMethod": "GET", |
170 "id": "cloudresourcemanager.projects.get", | 237 "id": "cloudresourcemanager.projects.get", |
171 "parameterOrder": [ | 238 "parameterOrder": [ |
172 "projectId" | 239 "projectId" |
173 ], | 240 ], |
174 "parameters": { | 241 "parameters": { |
175 "projectId": { | 242 "projectId": { |
176 "description": "The Project ID (for example, `my-pro
ject-123`). Required.", | 243 "description": "The Project ID (for example, `my-pro
ject-123`).\n\nRequired.", |
177 "location": "path", | 244 "location": "path", |
178 "required": true, | 245 "required": true, |
179 "type": "string" | 246 "type": "string" |
180 } | 247 } |
181 }, | 248 }, |
182 "path": "v1beta1/projects/{projectId}", | 249 "path": "v1beta1/projects/{projectId}", |
183 "response": { | 250 "response": { |
184 "$ref": "Project" | 251 "$ref": "Project" |
185 }, | 252 }, |
186 "scopes": [ | 253 "scopes": [ |
187 "https://www.googleapis.com/auth/cloud-platform", | 254 "https://www.googleapis.com/auth/cloud-platform", |
188 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 255 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
189 ] | 256 ] |
190 }, | 257 }, |
191 "update": { | 258 "update": { |
192 "description": "Updates the attributes of the Project identi
fied by the specified `project_id` (for example, `my-project-123`). The caller m
ust have modify permissions for this Project.", | 259 "description": "Updates the attributes of the Project identi
fied by the specified\n`project_id` (for example, `my-project-123`).\n\nThe call
er must have modify permissions for this Project.", |
193 "httpMethod": "PUT", | 260 "httpMethod": "PUT", |
194 "id": "cloudresourcemanager.projects.update", | 261 "id": "cloudresourcemanager.projects.update", |
195 "parameterOrder": [ | 262 "parameterOrder": [ |
196 "projectId" | 263 "projectId" |
197 ], | 264 ], |
198 "parameters": { | 265 "parameters": { |
199 "projectId": { | 266 "projectId": { |
200 "description": "The project ID (for example, `my-pro
ject-123`). Required.", | 267 "description": "The project ID (for example, `my-pro
ject-123`).\n\nRequired.", |
201 "location": "path", | 268 "location": "path", |
202 "required": true, | 269 "required": true, |
203 "type": "string" | 270 "type": "string" |
204 } | 271 } |
205 }, | 272 }, |
206 "path": "v1beta1/projects/{projectId}", | 273 "path": "v1beta1/projects/{projectId}", |
207 "request": { | 274 "request": { |
208 "$ref": "Project" | 275 "$ref": "Project" |
209 }, | 276 }, |
210 "response": { | 277 "response": { |
211 "$ref": "Project" | 278 "$ref": "Project" |
212 }, | 279 }, |
213 "scopes": [ | 280 "scopes": [ |
214 "https://www.googleapis.com/auth/cloud-platform" | 281 "https://www.googleapis.com/auth/cloud-platform" |
215 ] | 282 ] |
216 }, | 283 }, |
217 "delete": { | 284 "create": { |
218 "description": "Marks the Project identified by the specifie
d `project_id` (for example, `my-project-123`) for deletion. This method will on
ly affect the Project if the following criteria are met: + The Project does not
have a billing account associated with it. + The Project has a lifecycle state o
f ACTIVE. This method changes the Project's lifecycle state from ACTIVE to DELET
E_REQUESTED. The deletion starts at an unspecified time, at which point the proj
ect is no longer accessible. Until the deletion completes, you can check the lif
ecycle state checked by retrieving the Project with GetProject, and the Project
remains visible to ListProjects. However, you cannot update the project. After t
he deletion completes, the Project is not retrievable by the GetProject and List
Projects methods. The caller must have modify permissions for this Project.", | 285 "description": "Creates a Project resource.\n\nInitially, th
e Project resource is owned by its creator exclusively.\nThe creator can later g
rant permission to others to read or update the\nProject.\n\nSeveral APIs are ac
tivated automatically for the Project, including\nGoogle Cloud Storage.", |
219 "httpMethod": "DELETE", | 286 "httpMethod": "POST", |
220 "id": "cloudresourcemanager.projects.delete", | 287 "id": "cloudresourcemanager.projects.create", |
221 "parameterOrder": [ | 288 "parameterOrder": [], |
222 "projectId" | |
223 ], | |
224 "parameters": { | 289 "parameters": { |
225 "projectId": { | 290 "useLegacyStack": { |
226 "description": "The Project ID (for example, `foo-ba
r-123`). Required.", | 291 "description": "A safety hatch to opt out of the new
reliable project creation process.", |
227 "location": "path", | 292 "location": "query", |
228 "required": true, | 293 "type": "boolean" |
229 "type": "string" | |
230 } | 294 } |
231 }, | 295 }, |
232 "path": "v1beta1/projects/{projectId}", | 296 "path": "v1beta1/projects", |
| 297 "request": { |
| 298 "$ref": "Project" |
| 299 }, |
233 "response": { | 300 "response": { |
234 "$ref": "Empty" | 301 "$ref": "Project" |
235 }, | 302 }, |
236 "scopes": [ | 303 "scopes": [ |
237 "https://www.googleapis.com/auth/cloud-platform" | 304 "https://www.googleapis.com/auth/cloud-platform" |
238 ] | 305 ] |
239 }, | 306 }, |
240 "undelete": { | |
241 "description": "Restores the Project identified by the speci
fied `project_id` (for example, `my-project-123`). You can only use this method
for a Project that has a lifecycle state of DELETE_REQUESTED. After deletion sta
rts, the Project cannot be restored. The caller must have modify permissions for
this Project.", | |
242 "httpMethod": "POST", | |
243 "id": "cloudresourcemanager.projects.undelete", | |
244 "parameterOrder": [ | |
245 "projectId" | |
246 ], | |
247 "parameters": { | |
248 "projectId": { | |
249 "description": "The project ID (for example, `foo-ba
r-123`). Required.", | |
250 "location": "path", | |
251 "required": true, | |
252 "type": "string" | |
253 } | |
254 }, | |
255 "path": "v1beta1/projects/{projectId}:undelete", | |
256 "request": { | |
257 "$ref": "UndeleteProjectRequest" | |
258 }, | |
259 "response": { | |
260 "$ref": "Empty" | |
261 }, | |
262 "scopes": [ | |
263 "https://www.googleapis.com/auth/cloud-platform" | |
264 ] | |
265 }, | |
266 "getAncestry": { | |
267 "description": "Gets a list of ancestors in the resource hie
rarchy for the Project identified by the specified `project_id` (for example, `m
y-project-123`). The caller must have read permissions for this Project.", | |
268 "httpMethod": "POST", | |
269 "id": "cloudresourcemanager.projects.getAncestry", | |
270 "parameterOrder": [ | |
271 "projectId" | |
272 ], | |
273 "parameters": { | |
274 "projectId": { | |
275 "description": "The Project ID (for example, `my-pro
ject-123`). Required.", | |
276 "location": "path", | |
277 "required": true, | |
278 "type": "string" | |
279 } | |
280 }, | |
281 "path": "v1beta1/projects/{projectId}:getAncestry", | |
282 "request": { | |
283 "$ref": "GetAncestryRequest" | |
284 }, | |
285 "response": { | |
286 "$ref": "GetAncestryResponse" | |
287 }, | |
288 "scopes": [ | |
289 "https://www.googleapis.com/auth/cloud-platform", | |
290 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | |
291 ] | |
292 }, | |
293 "getIamPolicy": { | |
294 "description": "Returns the IAM access control policy for th
e specified Project. Permission is denied if the policy or the resource does not
exist.", | |
295 "httpMethod": "POST", | |
296 "id": "cloudresourcemanager.projects.getIamPolicy", | |
297 "parameterOrder": [ | |
298 "resource" | |
299 ], | |
300 "parameters": { | |
301 "resource": { | |
302 "description": "REQUIRED: The resource for which the
policy is being requested. `resource` is usually specified as a path. For examp
le, a Project resource is specified as `projects/{project}`.", | |
303 "location": "path", | |
304 "required": true, | |
305 "type": "string" | |
306 } | |
307 }, | |
308 "path": "v1beta1/projects/{resource}:getIamPolicy", | |
309 "request": { | |
310 "$ref": "GetIamPolicyRequest" | |
311 }, | |
312 "response": { | |
313 "$ref": "Policy" | |
314 }, | |
315 "scopes": [ | |
316 "https://www.googleapis.com/auth/cloud-platform", | |
317 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | |
318 ] | |
319 }, | |
320 "setIamPolicy": { | 307 "setIamPolicy": { |
321 "description": "Sets the IAM access control policy for the s
pecified Project. Replaces any existing policy. The following constraints apply
when using `setIamPolicy()`: + Project does not support `allUsers` and `allAuthe
nticatedUsers` as `members` in a `Binding` of a `Policy`. + The owner role can b
e granted only to `user` and `serviceAccount`. + Service accounts can be made ow
ners of a project directly without any restrictions. However, to be added as an
owner, a user must be invited via Cloud Platform console and must accept the inv
itation. + A user cannot be granted the owner role using `setIamPolicy()`. The u
ser must be granted the owner role using the Cloud Platform Console and must exp
licitly accept the invitation. + Invitations to grant the owner role cannot be s
ent using `setIamPolicy()`; they must be sent only using the Cloud Platform Cons
ole. + Membership changes that leave the project without any owners that have ac
cepted the Terms of Service (ToS) will be rejected. + There must be at least one
owner who has accepted the Terms of Service (ToS) agreement in the policy. Call
ing `setIamPolicy()` to to remove the last ToS-accepted owner from the policy wi
ll fail. This restriction also applies to legacy projects that no longer have ow
ners who have accepted the ToS. Edits to IAM policies will be rejected until the
lack of a ToS-accepting owner is rectified. + Calling this method requires enab
ling the App Engine Admin API. Note: Removing service accounts from policies or
changing their roles can render services completely inoperable. It is important
to understand how the service account is being used before removing or updating
its roles.", | 308 "description": "Sets the IAM access control policy for the s
pecified Project. Replaces\nany existing policy.\n\nThe following constraints ap
ply when using `setIamPolicy()`:\n\n+ Project does not support `allUsers` and `a
llAuthenticatedUsers` as\n`members` in a `Binding` of a `Policy`.\n\n+ The owner
role can be granted only to `user` and `serviceAccount`.\n\n+ Service accounts
can be made owners of a project directly\nwithout any restrictions. However, to
be added as an owner, a user must be\ninvited via Cloud Platform console and mus
t accept the invitation.\n\n+ A user cannot be granted the owner role using `set
IamPolicy()`. The user\nmust be granted the owner role using the Cloud Platform
Console and must\nexplicitly accept the invitation.\n\n+ Invitations to grant th
e owner role cannot be sent using `setIamPolicy()`;\nthey must be sent only usin
g the Cloud Platform Console.\n\n+ Membership changes that leave the project wit
hout any owners that have\naccepted the Terms of Service (ToS) will be rejected.
\n\n+ There must be at least one owner who has accepted the Terms of\nService (T
oS) agreement in the policy. Calling `setIamPolicy()` to\nto remove the last ToS
-accepted owner from the policy will fail. This\nrestriction also applies to leg
acy projects that no longer have owners\nwho have accepted the ToS. Edits to IAM
policies will be rejected until\nthe lack of a ToS-accepting owner is rectified
.\n\n+ Calling this method requires enabling the App Engine Admin API.\n\nNote:
Removing service accounts from policies or changing their roles\ncan render serv
ices completely inoperable. It is important to understand\nhow the service accou
nt is being used before removing or updating its roles.", |
322 "httpMethod": "POST", | 309 "httpMethod": "POST", |
323 "id": "cloudresourcemanager.projects.setIamPolicy", | 310 "id": "cloudresourcemanager.projects.setIamPolicy", |
324 "parameterOrder": [ | 311 "parameterOrder": [ |
325 "resource" | 312 "resource" |
326 ], | 313 ], |
327 "parameters": { | 314 "parameters": { |
328 "resource": { | 315 "resource": { |
329 "description": "REQUIRED: The resource for which the
policy is being specified. `resource` is usually specified as a path. For examp
le, a Project resource is specified as `projects/{project}`.", | 316 "description": "REQUIRED: The resource for which the
policy is being specified.\n`resource` is usually specified as a path. For exam
ple, a Project\nresource is specified as `projects/{project}`.", |
330 "location": "path", | 317 "location": "path", |
331 "required": true, | 318 "required": true, |
332 "type": "string" | 319 "type": "string" |
333 } | 320 } |
334 }, | 321 }, |
335 "path": "v1beta1/projects/{resource}:setIamPolicy", | 322 "path": "v1beta1/projects/{resource}:setIamPolicy", |
336 "request": { | 323 "request": { |
337 "$ref": "SetIamPolicyRequest" | 324 "$ref": "SetIamPolicyRequest" |
338 }, | 325 }, |
339 "response": { | 326 "response": { |
340 "$ref": "Policy" | 327 "$ref": "Policy" |
341 }, | 328 }, |
342 "scopes": [ | 329 "scopes": [ |
343 "https://www.googleapis.com/auth/cloud-platform" | 330 "https://www.googleapis.com/auth/cloud-platform" |
344 ] | 331 ] |
345 }, | 332 }, |
| 333 "delete": { |
| 334 "description": "Marks the Project identified by the specifie
d\n`project_id` (for example, `my-project-123`) for deletion.\nThis method will
only affect the Project if the following criteria are met:\n\n+ The Project does
not have a billing account associated with it.\n+ The Project has a lifecycle s
tate of\nACTIVE.\n\nThis method changes the Project's lifecycle state from\nACTI
VE\nto DELETE_REQUESTED.\nThe deletion starts at an unspecified time, at which p
oint the project is\nno longer accessible.\n\nUntil the deletion completes, you
can check the lifecycle state\nchecked by retrieving the Project with GetProject
,\nand the Project remains visible to ListProjects.\nHowever, you cannot update
the project.\n\nAfter the deletion completes, the Project is not retrievable by\
nthe GetProject and\nListProjects methods.\n\nThe caller must have modify permi
ssions for this Project.", |
| 335 "httpMethod": "DELETE", |
| 336 "id": "cloudresourcemanager.projects.delete", |
| 337 "parameterOrder": [ |
| 338 "projectId" |
| 339 ], |
| 340 "parameters": { |
| 341 "projectId": { |
| 342 "description": "The Project ID (for example, `foo-ba
r-123`).\n\nRequired.", |
| 343 "location": "path", |
| 344 "required": true, |
| 345 "type": "string" |
| 346 } |
| 347 }, |
| 348 "path": "v1beta1/projects/{projectId}", |
| 349 "response": { |
| 350 "$ref": "Empty" |
| 351 }, |
| 352 "scopes": [ |
| 353 "https://www.googleapis.com/auth/cloud-platform" |
| 354 ] |
| 355 }, |
346 "testIamPermissions": { | 356 "testIamPermissions": { |
347 "description": "Returns permissions that a caller has on the
specified Project.", | 357 "description": "Returns permissions that a caller has on the
specified Project.", |
348 "httpMethod": "POST", | 358 "httpMethod": "POST", |
349 "id": "cloudresourcemanager.projects.testIamPermissions", | 359 "id": "cloudresourcemanager.projects.testIamPermissions", |
350 "parameterOrder": [ | 360 "parameterOrder": [ |
351 "resource" | 361 "resource" |
352 ], | 362 ], |
353 "parameters": { | 363 "parameters": { |
354 "resource": { | 364 "resource": { |
355 "description": "REQUIRED: The resource for which the
policy detail is being requested. `resource` is usually specified as a path. Fo
r example, a Project resource is specified as `projects/{project}`.", | 365 "description": "REQUIRED: The resource for which the
policy detail is being requested.\n`resource` is usually specified as a path. F
or example, a Project\nresource is specified as `projects/{project}`.", |
356 "location": "path", | 366 "location": "path", |
357 "required": true, | 367 "required": true, |
358 "type": "string" | 368 "type": "string" |
359 } | 369 } |
360 }, | 370 }, |
361 "path": "v1beta1/projects/{resource}:testIamPermissions", | 371 "path": "v1beta1/projects/{resource}:testIamPermissions", |
362 "request": { | 372 "request": { |
363 "$ref": "TestIamPermissionsRequest" | 373 "$ref": "TestIamPermissionsRequest" |
364 }, | 374 }, |
365 "response": { | 375 "response": { |
366 "$ref": "TestIamPermissionsResponse" | 376 "$ref": "TestIamPermissionsResponse" |
367 }, | 377 }, |
368 "scopes": [ | 378 "scopes": [ |
369 "https://www.googleapis.com/auth/cloud-platform", | 379 "https://www.googleapis.com/auth/cloud-platform", |
370 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 380 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
371 ] | 381 ] |
372 } | 382 } |
373 } | 383 } |
374 }, | 384 }, |
375 "organizations": { | 385 "organizations": { |
376 "methods": { | 386 "methods": { |
| 387 "getIamPolicy": { |
| 388 "description": "Gets the access control policy for an Organi
zation resource. May be empty\nif no such policy or resource exists. The `resour
ce` field should be the\norganization's resource name, e.g. \"organizations/123\
".", |
| 389 "httpMethod": "POST", |
| 390 "id": "cloudresourcemanager.organizations.getIamPolicy", |
| 391 "parameterOrder": [ |
| 392 "resource" |
| 393 ], |
| 394 "parameters": { |
| 395 "resource": { |
| 396 "description": "REQUIRED: The resource for which the
policy is being requested.\n`resource` is usually specified as a path. For exam
ple, a Project\nresource is specified as `projects/{project}`.", |
| 397 "location": "path", |
| 398 "pattern": "^organizations/[^/]+$", |
| 399 "required": true, |
| 400 "type": "string" |
| 401 } |
| 402 }, |
| 403 "path": "v1beta1/{+resource}:getIamPolicy", |
| 404 "request": { |
| 405 "$ref": "GetIamPolicyRequest" |
| 406 }, |
| 407 "response": { |
| 408 "$ref": "Policy" |
| 409 }, |
| 410 "scopes": [ |
| 411 "https://www.googleapis.com/auth/cloud-platform", |
| 412 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 413 ] |
| 414 }, |
377 "list": { | 415 "list": { |
378 "description": "Lists Organization resources that are visibl
e to the user and satisfy the specified filter. This method returns Organization
s in an unspecified order. New Organizations do not necessarily appear at the en
d of the list.", | 416 "description": "Lists Organization resources that are visibl
e to the user and satisfy\nthe specified filter. This method returns Organizatio
ns in an unspecified\norder. New Organizations do not necessarily appear at the
end of the list.", |
379 "httpMethod": "GET", | 417 "httpMethod": "GET", |
380 "id": "cloudresourcemanager.organizations.list", | 418 "id": "cloudresourcemanager.organizations.list", |
| 419 "parameterOrder": [], |
381 "parameters": { | 420 "parameters": { |
382 "pageSize": { | 421 "pageSize": { |
383 "description": "The maximum number of Organizations
to return in the response. This field is optional.", | 422 "description": "The maximum number of Organizations
to return in the response.\nThis field is optional.", |
384 "format": "int32", | 423 "format": "int32", |
385 "location": "query", | 424 "location": "query", |
386 "type": "integer" | 425 "type": "integer" |
387 }, | 426 }, |
388 "pageToken": { | 427 "filter": { |
389 "description": "A pagination token returned from a p
revious call to `ListOrganizations` that indicates from where listing should con
tinue. This field is optional.", | 428 "description": "An optional query string used to fil
ter the Organizations to return in\nthe response. Filter rules are case-insensit
ive.\n\n\nOrganizations may be filtered by `owner.directoryCustomerId` or by\n`d
omain`, where the domain is a Google for Work domain, for example:\n\n|Filter|De
scription|\n|------|-----------|\n|owner.directorycustomerid:123456789|Organizat
ions with `owner.directory_customer_id` equal to `123456789`.|\n|domain:google.c
om|Organizations corresponding to the domain `google.com`.|\n\nThis field is opt
ional.", |
390 "location": "query", | 429 "location": "query", |
391 "type": "string" | 430 "type": "string" |
392 }, | 431 }, |
393 "filter": { | 432 "pageToken": { |
394 "description": "An optional query string used to fil
ter the Organizations to return in the response. Filter rules are case-insensiti
ve. Organizations may be filtered by `owner.directoryCustomerId` or by `domain`,
where the domain is a Google for Work domain, for example: |Filter|Description|
|------|-----------| |owner.directorycustomerid:123456789|Organizations with `o
wner.directory_customer_id` equal to `123456789`.| |domain:google.com|Organizati
ons corresponding to the domain `google.com`.| This field is optional.", | 433 "description": "A pagination token returned from a p
revious call to `ListOrganizations`\nthat indicates from where listing should co
ntinue.\nThis field is optional.", |
395 "location": "query", | 434 "location": "query", |
396 "type": "string" | 435 "type": "string" |
397 } | 436 } |
398 }, | 437 }, |
399 "path": "v1beta1/organizations", | 438 "path": "v1beta1/organizations", |
400 "response": { | 439 "response": { |
401 "$ref": "ListOrganizationsResponse" | 440 "$ref": "ListOrganizationsResponse" |
402 }, | 441 }, |
403 "scopes": [ | 442 "scopes": [ |
404 "https://www.googleapis.com/auth/cloud-platform", | 443 "https://www.googleapis.com/auth/cloud-platform", |
405 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 444 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
406 ] | 445 ] |
407 }, | 446 }, |
408 "get": { | 447 "get": { |
409 "description": "Fetches an Organization resource identified
by the specified resource name.", | 448 "description": "Fetches an Organization resource identified
by the specified resource name.", |
410 "httpMethod": "GET", | 449 "httpMethod": "GET", |
411 "id": "cloudresourcemanager.organizations.get", | 450 "id": "cloudresourcemanager.organizations.get", |
412 "parameterOrder": [ | 451 "parameterOrder": [ |
413 "name" | 452 "name" |
414 ], | 453 ], |
415 "parameters": { | 454 "parameters": { |
416 "name": { | 455 "name": { |
417 "description": "The resource name of the Organizatio
n to fetch, e.g. \"organizations/1234\".", | 456 "description": "The resource name of the Organizatio
n to fetch, e.g. \"organizations/1234\".", |
418 "location": "path", | 457 "location": "path", |
419 "pattern": "^organizations/[^/]*$", | 458 "pattern": "^organizations/[^/]+$", |
420 "required": true, | 459 "required": true, |
421 "type": "string" | 460 "type": "string" |
422 }, | 461 }, |
423 "organizationId": { | 462 "organizationId": { |
424 "description": "The id of the Organization resource
to fetch. This field is deprecated and will be removed in v1. Use name instead."
, | 463 "description": "The id of the Organization resource
to fetch.\nThis field is deprecated and will be removed in v1. Use name instead.
", |
425 "location": "query", | 464 "location": "query", |
426 "type": "string" | 465 "type": "string" |
427 } | 466 } |
428 }, | 467 }, |
429 "path": "v1beta1/{+name}", | 468 "path": "v1beta1/{+name}", |
430 "response": { | 469 "response": { |
431 "$ref": "Organization" | 470 "$ref": "Organization" |
432 }, | 471 }, |
433 "scopes": [ | 472 "scopes": [ |
434 "https://www.googleapis.com/auth/cloud-platform", | 473 "https://www.googleapis.com/auth/cloud-platform", |
435 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 474 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
436 ] | 475 ] |
437 }, | 476 }, |
438 "update": { | 477 "update": { |
439 "description": "Updates an Organization resource identified
by the specified resource name.", | 478 "description": "Updates an Organization resource identified
by the specified resource name.", |
440 "httpMethod": "PUT", | 479 "httpMethod": "PUT", |
441 "id": "cloudresourcemanager.organizations.update", | 480 "id": "cloudresourcemanager.organizations.update", |
442 "parameterOrder": [ | 481 "parameterOrder": [ |
443 "name" | 482 "name" |
444 ], | 483 ], |
445 "parameters": { | 484 "parameters": { |
446 "name": { | 485 "name": { |
447 "description": "Output Only. The resource name of th
e organization. This is the organization's relative path in the API. Its format
is \"organizations/[organization_id]\". For example, \"organizations/1234\".", | 486 "description": "Output Only. The resource name of th
e organization. This is the\norganization's relative path in the API. Its format
is\n\"organizations/[organization_id]\". For example, \"organizations/1234\".", |
448 "location": "path", | 487 "location": "path", |
449 "pattern": "^organizations/[^/]*$", | 488 "pattern": "^organizations/[^/]+$", |
450 "required": true, | 489 "required": true, |
451 "type": "string" | 490 "type": "string" |
452 } | 491 } |
453 }, | 492 }, |
454 "path": "v1beta1/{+name}", | 493 "path": "v1beta1/{+name}", |
455 "request": { | 494 "request": { |
456 "$ref": "Organization" | 495 "$ref": "Organization" |
457 }, | 496 }, |
458 "response": { | 497 "response": { |
459 "$ref": "Organization" | 498 "$ref": "Organization" |
460 }, | 499 }, |
461 "scopes": [ | 500 "scopes": [ |
462 "https://www.googleapis.com/auth/cloud-platform" | 501 "https://www.googleapis.com/auth/cloud-platform" |
463 ] | 502 ] |
464 }, | 503 }, |
465 "setIamPolicy": { | 504 "setIamPolicy": { |
466 "description": "Sets the access control policy on an Organiz
ation resource. Replaces any existing policy. The `resource` field should be the
organization's resource name, e.g. \"organizations/123\".", | 505 "description": "Sets the access control policy on an Organiz
ation resource. Replaces any\nexisting policy. The `resource` field should be th
e organization's resource\nname, e.g. \"organizations/123\".", |
467 "httpMethod": "POST", | 506 "httpMethod": "POST", |
468 "id": "cloudresourcemanager.organizations.setIamPolicy", | 507 "id": "cloudresourcemanager.organizations.setIamPolicy", |
469 "parameterOrder": [ | 508 "parameterOrder": [ |
470 "resource" | 509 "resource" |
471 ], | 510 ], |
472 "parameters": { | 511 "parameters": { |
473 "resource": { | 512 "resource": { |
474 "description": "REQUIRED: The resource for which the
policy is being specified. `resource` is usually specified as a path. For examp
le, a Project resource is specified as `projects/{project}`.", | 513 "description": "REQUIRED: The resource for which the
policy is being specified.\n`resource` is usually specified as a path. For exam
ple, a Project\nresource is specified as `projects/{project}`.", |
475 "location": "path", | 514 "location": "path", |
476 "pattern": "^organizations/[^/]*$", | 515 "pattern": "^organizations/[^/]+$", |
477 "required": true, | 516 "required": true, |
478 "type": "string" | 517 "type": "string" |
479 } | 518 } |
480 }, | 519 }, |
481 "path": "v1beta1/{+resource}:setIamPolicy", | 520 "path": "v1beta1/{+resource}:setIamPolicy", |
482 "request": { | 521 "request": { |
483 "$ref": "SetIamPolicyRequest" | 522 "$ref": "SetIamPolicyRequest" |
484 }, | 523 }, |
485 "response": { | 524 "response": { |
486 "$ref": "Policy" | 525 "$ref": "Policy" |
487 }, | 526 }, |
488 "scopes": [ | 527 "scopes": [ |
489 "https://www.googleapis.com/auth/cloud-platform" | 528 "https://www.googleapis.com/auth/cloud-platform" |
490 ] | 529 ] |
491 }, | 530 }, |
492 "getIamPolicy": { | |
493 "description": "Gets the access control policy for an Organi
zation resource. May be empty if no such policy or resource exists. The `resourc
e` field should be the organization's resource name, e.g. \"organizations/123\".
", | |
494 "httpMethod": "POST", | |
495 "id": "cloudresourcemanager.organizations.getIamPolicy", | |
496 "parameterOrder": [ | |
497 "resource" | |
498 ], | |
499 "parameters": { | |
500 "resource": { | |
501 "description": "REQUIRED: The resource for which the
policy is being requested. `resource` is usually specified as a path. For examp
le, a Project resource is specified as `projects/{project}`.", | |
502 "location": "path", | |
503 "pattern": "^organizations/[^/]*$", | |
504 "required": true, | |
505 "type": "string" | |
506 } | |
507 }, | |
508 "path": "v1beta1/{+resource}:getIamPolicy", | |
509 "request": { | |
510 "$ref": "GetIamPolicyRequest" | |
511 }, | |
512 "response": { | |
513 "$ref": "Policy" | |
514 }, | |
515 "scopes": [ | |
516 "https://www.googleapis.com/auth/cloud-platform", | |
517 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | |
518 ] | |
519 }, | |
520 "testIamPermissions": { | 531 "testIamPermissions": { |
521 "description": "Returns permissions that a caller has on the
specified Organization. The `resource` field should be the organization's resou
rce name, e.g. \"organizations/123\".", | 532 "description": "Returns permissions that a caller has on the
specified Organization.\nThe `resource` field should be the organization's reso
urce name,\ne.g. \"organizations/123\".", |
522 "httpMethod": "POST", | 533 "httpMethod": "POST", |
523 "id": "cloudresourcemanager.organizations.testIamPermissions
", | 534 "id": "cloudresourcemanager.organizations.testIamPermissions
", |
524 "parameterOrder": [ | 535 "parameterOrder": [ |
525 "resource" | 536 "resource" |
526 ], | 537 ], |
527 "parameters": { | 538 "parameters": { |
528 "resource": { | 539 "resource": { |
529 "description": "REQUIRED: The resource for which the
policy detail is being requested. `resource` is usually specified as a path. Fo
r example, a Project resource is specified as `projects/{project}`.", | 540 "description": "REQUIRED: The resource for which the
policy detail is being requested.\n`resource` is usually specified as a path. F
or example, a Project\nresource is specified as `projects/{project}`.", |
530 "location": "path", | 541 "location": "path", |
531 "pattern": "^organizations/[^/]*$", | 542 "pattern": "^organizations/[^/]+$", |
532 "required": true, | 543 "required": true, |
533 "type": "string" | 544 "type": "string" |
534 } | 545 } |
535 }, | 546 }, |
536 "path": "v1beta1/{+resource}:testIamPermissions", | 547 "path": "v1beta1/{+resource}:testIamPermissions", |
537 "request": { | 548 "request": { |
538 "$ref": "TestIamPermissionsRequest" | 549 "$ref": "TestIamPermissionsRequest" |
539 }, | 550 }, |
540 "response": { | 551 "response": { |
541 "$ref": "TestIamPermissionsResponse" | 552 "$ref": "TestIamPermissionsResponse" |
542 }, | 553 }, |
543 "scopes": [ | 554 "scopes": [ |
544 "https://www.googleapis.com/auth/cloud-platform", | 555 "https://www.googleapis.com/auth/cloud-platform", |
545 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 556 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
546 ] | 557 ] |
547 } | 558 } |
548 } | 559 } |
549 } | 560 } |
550 }, | 561 }, |
551 "revision": "20160927", | 562 "revision": "20161207", |
552 "rootUrl": "https://cloudresourcemanager.googleapis.com/", | 563 "rootUrl": "https://cloudresourcemanager.googleapis.com/", |
553 "schemas": { | 564 "schemas": { |
554 "Project": { | 565 "FolderOperationError": { |
555 "description": "A Project is a high-level Google Cloud Platform enti
ty. It is a container for ACLs, APIs, AppEngine Apps, VMs, and other Google Clou
d Platform resources.", | 566 "description": "A classification of the Folder Operation error.", |
556 "id": "Project", | 567 "id": "FolderOperationError", |
557 "properties": { | 568 "properties": { |
558 "projectNumber": { | 569 "errorMessageId": { |
559 "description": "The number uniquely identifying the project.
Example: 415104041262 Read-only.", | 570 "description": "The type of operation error experienced.", |
560 "format": "int64", | |
561 "type": "string" | |
562 }, | |
563 "projectId": { | |
564 "description": "The unique, user-assigned ID of the Project.
It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a
letter. Trailing hyphens are prohibited. Example: tokyo-rain-123 Read-only after
creation.", | |
565 "type": "string" | |
566 }, | |
567 "lifecycleState": { | |
568 "description": "The Project lifecycle state. Read-only.", | |
569 "enum": [ | 571 "enum": [ |
570 "LIFECYCLE_STATE_UNSPECIFIED", | 572 "ERROR_TYPE_UNSPECIFIED", |
571 "ACTIVE", | 573 "FOLDER_HEIGHT_VIOLATION", |
572 "DELETE_REQUESTED", | 574 "MAX_CHILD_FOLDERS_VIOLATION", |
573 "DELETE_IN_PROGRESS" | 575 "FOLDER_NAME_UNIQUENESS_VIOLATION", |
574 ], | 576 "RESOURCE_DELETED", |
575 "type": "string" | 577 "PARENT_DELETED", |
576 }, | 578 "CYCLE_INTRODUCED_ERROR", |
577 "name": { | 579 "FOLDER_ALREADY_BEING_MOVED", |
578 "description": "The user-assigned display name of the Projec
t. It must be 4 to 30 characters. Allowed characters are: lowercase and uppercas
e letters, numbers, hyphen, single-quote, double-quote, space, and exclamation p
oint. Example: My Project Read-write.", | 580 "FOLDER_TO_DELETE_NON_EMPTY" |
579 "type": "string" | 581 ], |
580 }, | 582 "enumDescriptions": [ |
581 "createTime": { | 583 "The error type was unrecognized or unspecified.", |
582 "description": "Creation time. Read-only.", | 584 "The attempted action would violate the max folder depth
constraint.", |
583 "type": "string" | 585 "The attempted action would violate the max child folder
s constraint.", |
584 }, | 586 "The attempted action would violate the locally-unique f
older\ndisplay_name constraint.", |
585 "labels": { | 587 "The resource being moved has been deleted.", |
586 "additionalProperties": { | 588 "The resource a folder was being added to has been delet
ed.", |
587 "type": "string" | 589 "The attempted action would introduce cycle in resource
path.", |
588 }, | 590 "The attempted action would move a folder that is alread
y being moved.", |
589 "description": "The labels associated with this Project. Lab
el keys must be between 1 and 63 characters long and must conform to the followi
ng regular expression: \\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?. Label values must
be between 0 and 63 characters long and must conform to the regular expression
(\\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?)?. No more than 256 labels can be associ
ated with a given resource. Clients should store labels in a representation such
as JSON that does not depend on specific characters being disallowed. Example:
\"environment\" : \"dev\" Read-write.", | 591 "The folder the caller is trying to delete contains acti
ve resources." |
590 "type": "object" | 592 ], |
591 }, | |
592 "parent": { | |
593 "$ref": "ResourceId", | |
594 "description": "An optional reference to a parent Resource.
The only supported parent type is \"organization\". Once set, the parent cannot
be modified. Read-write." | |
595 } | |
596 }, | |
597 "type": "object" | |
598 }, | |
599 "ResourceId": { | |
600 "description": "A container to reference an id for any resource type
. A `resource` in Google Cloud Platform is a generic term for something you (a d
eveloper) may want to interact with through one of our API's. Some examples are
an AppEngine app, a Compute Engine instance, a Cloud SQL database, and so on.", | |
601 "id": "ResourceId", | |
602 "properties": { | |
603 "type": { | |
604 "description": "Required field representing the resource typ
e this id is for. At present, the valid types are \"project\" and \"organization
\".", | |
605 "type": "string" | |
606 }, | |
607 "id": { | |
608 "description": "Required field for the type-specific id. Thi
s should correspond to the id used in the type-specific API's.", | |
609 "type": "string" | 593 "type": "string" |
610 } | 594 } |
611 }, | 595 }, |
612 "type": "object" | 596 "type": "object" |
613 }, | 597 }, |
614 "ListProjectsResponse": { | 598 "ListProjectsResponse": { |
615 "description": "A page of the response received from the ListProject
s method. A paginated response where more pages are available has `next_page_tok
en` set. This token can be used in a subsequent request to retrieve the next req
uest page.", | 599 "description": "A page of the response received from the\nListProjec
ts\nmethod.\n\nA paginated response where more pages are available has\n`next_pa
ge_token` set. This token can be used in a subsequent request to\nretrieve the n
ext request page.", |
616 "id": "ListProjectsResponse", | 600 "id": "ListProjectsResponse", |
617 "properties": { | 601 "properties": { |
618 "projects": { | 602 "projects": { |
619 "description": "The list of Projects that matched the list f
ilter. This list can be paginated.", | 603 "description": "The list of Projects that matched the list f
ilter. This list can\nbe paginated.", |
620 "items": { | 604 "items": { |
621 "$ref": "Project" | 605 "$ref": "Project" |
622 }, | 606 }, |
623 "type": "array" | 607 "type": "array" |
624 }, | 608 }, |
625 "nextPageToken": { | 609 "nextPageToken": { |
626 "description": "Pagination token. If the result set is too l
arge to fit in a single response, this token is returned. It encodes the positio
n of the current result cursor. Feeding this value into a new list request with
the `page_token` parameter gives the next page of the results. When `next_page_t
oken` is not filled in, there is no next page and the list returned is the last
page in the result set. Pagination tokens have a limited lifetime.", | 610 "description": "Pagination token.\n\nIf the result set is to
o large to fit in a single response, this token\nis returned. It encodes the pos
ition of the current result cursor.\nFeeding this value into a new list request
with the `page_token` parameter\ngives the next page of the results.\n\nWhen `ne
xt_page_token` is not filled in, there is no next page and\nthe list returned is
the last page in the result set.\n\nPagination tokens have a limited lifetime."
, |
627 "type": "string" | 611 "type": "string" |
628 } | 612 } |
629 }, | 613 }, |
630 "type": "object" | |
631 }, | |
632 "Empty": { | |
633 "description": "A generic empty message that you can re-use to avoid
defining duplicated empty messages in your APIs. A typical example is to use it
as the request or the response type of an API method. For instance: service Foo
{ rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON re
presentation for `Empty` is empty JSON object `{}`.", | |
634 "id": "Empty", | |
635 "type": "object" | 614 "type": "object" |
636 }, | 615 }, |
637 "UndeleteProjectRequest": { | 616 "UndeleteProjectRequest": { |
638 "description": "The request sent to the UndeleteProject method.", | 617 "description": "The request sent to the UndeleteProject\nmethod.", |
639 "id": "UndeleteProjectRequest", | 618 "id": "UndeleteProjectRequest", |
640 "type": "object" | 619 "properties": {}, |
641 }, | 620 "type": "object" |
642 "GetAncestryRequest": { | 621 }, |
643 "description": "The request sent to the GetAncestry method.", | 622 "FolderOperation": { |
644 "id": "GetAncestryRequest", | 623 "description": "Metadata describing a long running folder operation"
, |
645 "type": "object" | 624 "id": "FolderOperation", |
646 }, | 625 "properties": { |
647 "GetAncestryResponse": { | 626 "displayName": { |
648 "description": "Response from the GetAncestry method.", | 627 "description": "The display name of the folder.", |
649 "id": "GetAncestryResponse", | 628 "type": "string" |
650 "properties": { | 629 }, |
651 "ancestor": { | 630 "sourceParent": { |
652 "description": "Ancestors are ordered from bottom to top of
the resource hierarchy. The first ancestor is the project itself, followed by th
e project's parent, etc.", | 631 "description": "The resource name of the folder's parent.\nO
nly applicable when the operation_type is MOVE.", |
653 "items": { | 632 "type": "string" |
654 "$ref": "Ancestor" | 633 }, |
655 }, | 634 "destinationParent": { |
656 "type": "array" | 635 "description": "The resource name of the folder or organizat
ion we are either creating\nthe folder under or moving the folder to.", |
657 } | 636 "type": "string" |
658 }, | 637 }, |
659 "type": "object" | 638 "operationType": { |
660 }, | 639 "description": "The type of this operation.", |
661 "Ancestor": { | 640 "enum": [ |
662 "description": "Identifying information for a single ancestor of a p
roject.", | 641 "OPERATION_TYPE_UNSPECIFIED", |
663 "id": "Ancestor", | 642 "CREATE", |
664 "properties": { | 643 "MOVE" |
665 "resourceId": { | 644 ], |
666 "$ref": "ResourceId", | 645 "enumDescriptions": [ |
667 "description": "Resource id of the ancestor." | 646 "Operation type not specified.", |
| 647 "A create folder operation.", |
| 648 "A move folder operation." |
| 649 ], |
| 650 "type": "string" |
668 } | 651 } |
669 }, | 652 }, |
670 "type": "object" | 653 "type": "object" |
671 }, | 654 }, |
672 "GetIamPolicyRequest": { | 655 "GetIamPolicyRequest": { |
673 "description": "Request message for `GetIamPolicy` method.", | 656 "description": "Request message for `GetIamPolicy` method.", |
674 "id": "GetIamPolicyRequest", | 657 "id": "GetIamPolicyRequest", |
| 658 "properties": {}, |
| 659 "type": "object" |
| 660 }, |
| 661 "SetIamPolicyRequest": { |
| 662 "description": "Request message for `SetIamPolicy` method.", |
| 663 "id": "SetIamPolicyRequest", |
| 664 "properties": { |
| 665 "policy": { |
| 666 "$ref": "Policy", |
| 667 "description": "REQUIRED: The complete policy to be applied
to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An emp
ty policy is a\nvalid policy but certain Cloud Platform services (such as Projec
ts)\nmight reject them." |
| 668 } |
| 669 }, |
| 670 "type": "object" |
| 671 }, |
| 672 "TestIamPermissionsResponse": { |
| 673 "description": "Response message for `TestIamPermissions` method.", |
| 674 "id": "TestIamPermissionsResponse", |
| 675 "properties": { |
| 676 "permissions": { |
| 677 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is\nallowed.", |
| 678 "items": { |
| 679 "type": "string" |
| 680 }, |
| 681 "type": "array" |
| 682 } |
| 683 }, |
| 684 "type": "object" |
| 685 }, |
| 686 "Organization": { |
| 687 "description": "The root node in the resource hierarchy to which a p
articular entity's\n(e.g., company) resources belong.", |
| 688 "id": "Organization", |
| 689 "properties": { |
| 690 "lifecycleState": { |
| 691 "description": "The organization's current lifecycle state.
Assigned by the server.\n@OutputOnly", |
| 692 "enum": [ |
| 693 "LIFECYCLE_STATE_UNSPECIFIED", |
| 694 "ACTIVE", |
| 695 "DELETE_REQUESTED" |
| 696 ], |
| 697 "enumDescriptions": [ |
| 698 "Unspecified state. This is only useful for distinguish
ing unset values.", |
| 699 "The normal and active state.", |
| 700 "The organization has been marked for deletion by the us
er." |
| 701 ], |
| 702 "type": "string" |
| 703 }, |
| 704 "displayName": { |
| 705 "description": "A friendly string to be used to refer to the
Organization in the UI.\nAssigned by the server, set to the firm name of the Go
ogle For Work\ncustomer that owns this organization.\n@OutputOnly", |
| 706 "type": "string" |
| 707 }, |
| 708 "organizationId": { |
| 709 "description": "An immutable id for the Organization that is
assigned on creation. This\nshould be omitted when creating a new Organization.
\nThis field is read-only.\nThis field is deprecated and will be removed in v1.
Use name instead.", |
| 710 "type": "string" |
| 711 }, |
| 712 "name": { |
| 713 "description": "Output Only. The resource name of the organi
zation. This is the\norganization's relative path in the API. Its format is\n\"o
rganizations/[organization_id]\". For example, \"organizations/1234\".", |
| 714 "type": "string" |
| 715 }, |
| 716 "creationTime": { |
| 717 "description": "Timestamp when the Organization was created.
Assigned by the server.\n@OutputOnly", |
| 718 "format": "google-datetime", |
| 719 "type": "string" |
| 720 }, |
| 721 "owner": { |
| 722 "$ref": "OrganizationOwner", |
| 723 "description": "The owner of this Organization. The owner sh
ould be specified on\ncreation. Once set, it cannot be changed.\nThis field is r
equired." |
| 724 } |
| 725 }, |
675 "type": "object" | 726 "type": "object" |
676 }, | 727 }, |
677 "Policy": { | 728 "Policy": { |
678 "description": "Defines an Identity and Access Management (IAM) poli
cy. It is used to specify access control policies for Cloud Platform resources.
A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `member
s` to a `role`, where the members can be user accounts, Google groups, Google do
mains, and service accounts. A `role` is a named list of permissions defined by
IAM. **Example** { \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \
"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \
"serviceAccount:my-other-app@appspot.gserviceaccount.com\", ] }, { \"role\": \"r
oles/viewer\", \"members\": [\"user:sean@example.com\"] } ] } For a description
of IAM and its features, see the [IAM developer's guide](https://cloud.google.co
m/iam).", | 729 "description": "Defines an Identity and Access Management (IAM) poli
cy. It is used to\nspecify access control policies for Cloud Platform resources.
\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n
`members` to a `role`, where the members can be user accounts, Google groups,\nG
oogle domains, and service accounts. A `role` is a named list of permissions\nde
fined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n
\"role\": \"roles/owner\",\n \"members\": [\n \"user:mike
@example.com\",\n \"group:admins@example.com\",\n \"domain
:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccoun
t.com\",\n ]\n },\n {\n \"role\": \"roles/viewer
\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n
}\n\nFor a description of IAM and its features, see the\n[IAM developer's guide
](https://cloud.google.com/iam).", |
679 "id": "Policy", | 730 "id": "Policy", |
680 "properties": { | 731 "properties": { |
| 732 "bindings": { |
| 733 "description": "Associates a list of `members` to a `role`.\
nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with
no members will result in an error.", |
| 734 "items": { |
| 735 "$ref": "Binding" |
| 736 }, |
| 737 "type": "array" |
| 738 }, |
| 739 "etag": { |
| 740 "description": "`etag` is used for optimistic concurrency co
ntrol as a way to help\nprevent simultaneous updates of a policy from overwritin
g each other.\nIt is strongly suggested that systems make use of the `etag` in t
he\nread-modify-write cycle to perform policy updates in order to avoid race\nco
nditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems
are expected to put that etag in the request to `setIamPolicy` to\nensure that t
heir change will be applied to the same version of the policy.\n\nIf no `etag` i
s provided in the call to `setIamPolicy`, then the existing\npolicy is overwritt
en blindly.", |
| 741 "format": "byte", |
| 742 "type": "string" |
| 743 }, |
681 "version": { | 744 "version": { |
682 "description": "Version of the `Policy`. The default version
is 0.", | 745 "description": "Version of the `Policy`. The default version
is 0.", |
683 "format": "int32", | 746 "format": "int32", |
684 "type": "integer" | 747 "type": "integer" |
685 }, | 748 } |
686 "bindings": { | 749 }, |
687 "description": "Associates a list of `members` to a `role`.
Multiple `bindings` must not be specified for the same `role`. `bindings` with n
o members will result in an error.", | 750 "type": "object" |
688 "items": { | 751 }, |
689 "$ref": "Binding" | 752 "ProjectCreationStatus": { |
690 }, | 753 "description": "A status object which is used as the `metadata` fiel
d for the Operation\nreturned by CreateProject. It provides insight for when sig
nificant phases of\nProject creation have completed.", |
691 "type": "array" | 754 "id": "ProjectCreationStatus", |
692 }, | 755 "properties": { |
693 "etag": { | 756 "ready": { |
694 "description": "`etag` is used for optimistic concurrency co
ntrol as a way to help prevent simultaneous updates of a policy from overwriting
each other. It is strongly suggested that systems make use of the `etag` in the
read-modify-write cycle to perform policy updates in order to avoid race condit
ions: An `etag` is returned in the response to `getIamPolicy`, and systems are e
xpected to put that etag in the request to `setIamPolicy` to ensure that their c
hange will be applied to the same version of the policy. If no `etag` is provide
d in the call to `setIamPolicy`, then the existing policy is overwritten blindly
.", | 757 "description": "True if the project creation process is comp
lete.", |
695 "format": "byte", | 758 "type": "boolean" |
696 "type": "string" | 759 }, |
697 } | 760 "gettable": { |
698 }, | 761 "description": "True if the project can be retrieved using G
etProject. No other operations\non the project are guaranteed to work until the
project creation is\ncomplete.", |
699 "type": "object" | 762 "type": "boolean" |
700 }, | 763 }, |
701 "Binding": { | 764 "createTime": { |
702 "description": "Associates `members` with a `role`.", | 765 "description": "Creation time of the project creation workfl
ow.", |
703 "id": "Binding", | 766 "format": "google-datetime", |
704 "properties": { | 767 "type": "string" |
705 "role": { | 768 } |
706 "description": "Role that is assigned to `members`. For exam
ple, `roles/viewer`, `roles/editor`, or `roles/owner`. Required", | 769 }, |
707 "type": "string" | 770 "type": "object" |
708 }, | |
709 "members": { | |
710 "description": "Specifies the identities requesting access f
or a Cloud Platform resource. `members` can have the following values: * `allUse
rs`: A special identifier that represents anyone who is on the internet; with or
without a Google account. * `allAuthenticatedUsers`: A special identifier that
represents anyone who is authenticated with a Google account or a service accoun
t. * `user:{emailid}`: An email address that represents a specific Google accoun
t. For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:{email
id}`: An email address that represents a service account. For example, `my-other
-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that re
presents a Google group. For example, `admins@example.com`. * `domain:{domain}`:
A Google Apps domain name that represents all the users of that domain. For exa
mple, `google.com` or `example.com`.", | |
711 "items": { | |
712 "type": "string" | |
713 }, | |
714 "type": "array" | |
715 } | |
716 }, | |
717 "type": "object" | |
718 }, | |
719 "SetIamPolicyRequest": { | |
720 "description": "Request message for `SetIamPolicy` method.", | |
721 "id": "SetIamPolicyRequest", | |
722 "properties": { | |
723 "policy": { | |
724 "$ref": "Policy", | |
725 "description": "REQUIRED: The complete policy to be applied
to the `resource`. The size of the policy is limited to a few 10s of KB. An empt
y policy is a valid policy but certain Cloud Platform services (such as Projects
) might reject them." | |
726 } | |
727 }, | |
728 "type": "object" | |
729 }, | 771 }, |
730 "TestIamPermissionsRequest": { | 772 "TestIamPermissionsRequest": { |
731 "description": "Request message for `TestIamPermissions` method.", | 773 "description": "Request message for `TestIamPermissions` method.", |
732 "id": "TestIamPermissionsRequest", | 774 "id": "TestIamPermissionsRequest", |
733 "properties": { | 775 "properties": { |
734 "permissions": { | 776 "permissions": { |
735 "description": "The set of permissions to check for the `res
ource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
For more information see [IAM Overview](https://cloud.google.com/iam/docs/overv
iew#permissions).", | 777 "description": "The set of permissions to check for the `res
ource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed
. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/ov
erview#permissions).", |
736 "items": { | 778 "items": { |
737 "type": "string" | 779 "type": "string" |
738 }, | 780 }, |
739 "type": "array" | |
740 } | |
741 }, | |
742 "type": "object" | |
743 }, | |
744 "TestIamPermissionsResponse": { | |
745 "description": "Response message for `TestIamPermissions` method.", | |
746 "id": "TestIamPermissionsResponse", | |
747 "properties": { | |
748 "permissions": { | |
749 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is allowed.", | |
750 "items": { | |
751 "type": "string" | |
752 }, | |
753 "type": "array" | 781 "type": "array" |
754 } | 782 } |
755 }, | 783 }, |
756 "type": "object" | 784 "type": "object" |
757 }, | 785 }, |
758 "ListOrganizationsResponse": { | 786 "ListOrganizationsResponse": { |
759 "description": "The response returned from the `ListOrganizations` m
ethod.", | 787 "description": "The response returned from the `ListOrganizations` m
ethod.", |
760 "id": "ListOrganizationsResponse", | 788 "id": "ListOrganizationsResponse", |
761 "properties": { | 789 "properties": { |
762 "organizations": { | 790 "organizations": { |
763 "description": "The list of Organizations that matched the l
ist query, possibly paginated.", | 791 "description": "The list of Organizations that matched the l
ist query, possibly paginated.", |
764 "items": { | 792 "items": { |
765 "$ref": "Organization" | 793 "$ref": "Organization" |
766 }, | 794 }, |
767 "type": "array" | 795 "type": "array" |
768 }, | 796 }, |
769 "nextPageToken": { | 797 "nextPageToken": { |
770 "description": "A pagination token to be used to retrieve th
e next page of results. If the result is too large to fit within the page size s
pecified in the request, this field will be set with a token that can be used to
fetch the next page of results. If this field is empty, it indicates that this
response contains the last page of results.", | 798 "description": "A pagination token to be used to retrieve th
e next page of results. If the\nresult is too large to fit within the page size
specified in the request,\nthis field will be set with a token that can be used
to fetch the next page\nof results. If this field is empty, it indicates that th
is response\ncontains the last page of results.", |
771 "type": "string" | 799 "type": "string" |
772 } | 800 } |
773 }, | 801 }, |
774 "type": "object" | 802 "type": "object" |
775 }, | 803 }, |
776 "Organization": { | 804 "GetAncestryRequest": { |
777 "description": "The root node in the resource hierarchy to which a p
articular entity's (e.g., company) resources belong.", | 805 "description": "The request sent to the\nGetAncestry\nmethod.", |
778 "id": "Organization", | 806 "id": "GetAncestryRequest", |
| 807 "properties": {}, |
| 808 "type": "object" |
| 809 }, |
| 810 "GetAncestryResponse": { |
| 811 "description": "Response from the GetAncestry method.", |
| 812 "id": "GetAncestryResponse", |
779 "properties": { | 813 "properties": { |
780 "name": { | 814 "ancestor": { |
781 "description": "Output Only. The resource name of the organi
zation. This is the organization's relative path in the API. Its format is \"org
anizations/[organization_id]\". For example, \"organizations/1234\".", | 815 "description": "Ancestors are ordered from bottom to top of
the resource hierarchy. The\nfirst ancestor is the project itself, followed by t
he project's parent,\netc.", |
| 816 "items": { |
| 817 "$ref": "Ancestor" |
| 818 }, |
| 819 "type": "array" |
| 820 } |
| 821 }, |
| 822 "type": "object" |
| 823 }, |
| 824 "Empty": { |
| 825 "description": "A generic empty message that you can re-use to avoid
defining duplicated\nempty messages in your APIs. A typical example is to use i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", |
| 826 "id": "Empty", |
| 827 "properties": {}, |
| 828 "type": "object" |
| 829 }, |
| 830 "Ancestor": { |
| 831 "description": "Identifying information for a single ancestor of a p
roject.", |
| 832 "id": "Ancestor", |
| 833 "properties": { |
| 834 "resourceId": { |
| 835 "$ref": "ResourceId", |
| 836 "description": "Resource id of the ancestor." |
| 837 } |
| 838 }, |
| 839 "type": "object" |
| 840 }, |
| 841 "ResourceId": { |
| 842 "description": "A container to reference an id for any resource type
. A `resource` in Google\nCloud Platform is a generic term for something you (a
developer) may want to\ninteract with through one of our API's. Some examples ar
e an AppEngine app,\na Compute Engine instance, a Cloud SQL database, and so on.
", |
| 843 "id": "ResourceId", |
| 844 "properties": { |
| 845 "type": { |
| 846 "description": "Required field representing the resource typ
e this id is for.\nAt present, the valid types are \"project\" and \"organizatio
n\".", |
782 "type": "string" | 847 "type": "string" |
783 }, | 848 }, |
784 "organizationId": { | 849 "id": { |
785 "description": "An immutable id for the Organization that is
assigned on creation. This should be omitted when creating a new Organization.
This field is read-only. This field is deprecated and will be removed in v1. Use
name instead.", | 850 "description": "Required field for the type-specific id. Thi
s should correspond to the id\nused in the type-specific API's.", |
786 "type": "string" | 851 "type": "string" |
| 852 } |
| 853 }, |
| 854 "type": "object" |
| 855 }, |
| 856 "Project": { |
| 857 "description": "A Project is a high-level Google Cloud Platform enti
ty. It is a\ncontainer for ACLs, APIs, AppEngine Apps, VMs, and other\nGoogle C
loud Platform resources.", |
| 858 "id": "Project", |
| 859 "properties": { |
| 860 "parent": { |
| 861 "$ref": "ResourceId", |
| 862 "description": "An optional reference to a parent Resource.\
n\nThe only supported parent type is \"organization\". Once set, the parent\ncan
not be modified.\n\nRead-write." |
787 }, | 863 }, |
788 "displayName": { | 864 "labels": { |
789 "description": "A friendly string to be used to refer to the
Organization in the UI. Assigned by the server, set to the firm name of the Goo
gle For Work customer that owns this organization. @OutputOnly", | 865 "additionalProperties": { |
790 "type": "string" | 866 "type": "string" |
791 }, | 867 }, |
792 "owner": { | 868 "description": "The labels associated with this Project.\n\n
Label keys must be between 1 and 63 characters long and must conform\nto the fol
lowing regular expression: \\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?.\n\nLabel valu
es must be between 0 and 63 characters long and must conform\nto the regular exp
ression (\\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?)?.\n\nNo more than 256 labels ca
n be associated with a given resource.\n\nClients should store labels in a repre
sentation such as JSON that does not\ndepend on specific characters being disall
owed.\n\nExample: <code>\"environment\" : \"dev\"</code>\n\nRead-write.", |
793 "$ref": "OrganizationOwner", | 869 "type": "object" |
794 "description": "The owner of this Organization. The owner sh
ould be specified on creation. Once set, it cannot be changed. This field is req
uired." | |
795 }, | |
796 "creationTime": { | |
797 "description": "Timestamp when the Organization was created.
Assigned by the server. @OutputOnly", | |
798 "type": "string" | |
799 }, | 870 }, |
800 "lifecycleState": { | 871 "lifecycleState": { |
801 "description": "The organization's current lifecycle state.
Assigned by the server. @OutputOnly", | 872 "description": "The Project lifecycle state.\n\nRead-only.", |
802 "enum": [ | 873 "enum": [ |
803 "LIFECYCLE_STATE_UNSPECIFIED", | 874 "LIFECYCLE_STATE_UNSPECIFIED", |
804 "ACTIVE", | 875 "ACTIVE", |
805 "DELETE_REQUESTED" | 876 "DELETE_REQUESTED", |
| 877 "DELETE_IN_PROGRESS" |
806 ], | 878 ], |
| 879 "enumDescriptions": [ |
| 880 "Unspecified state. This is only used/useful for distin
guishing\nunset values.", |
| 881 "The normal and active state.", |
| 882 "The project has been marked for deletion by the user\n(
by invoking DeleteProject)\nor by the system (Google Cloud Platform).\nThis can
generally be reversed by invoking UndeleteProject.", |
| 883 "This lifecycle state is no longer used and is not retur
ned by the API." |
| 884 ], |
| 885 "type": "string" |
| 886 }, |
| 887 "createTime": { |
| 888 "description": "Creation time.\n\nRead-only.", |
| 889 "format": "google-datetime", |
| 890 "type": "string" |
| 891 }, |
| 892 "name": { |
| 893 "description": "The user-assigned display name of the Projec
t.\nIt must be 4 to 30 characters.\nAllowed characters are: lowercase and upperc
ase letters, numbers,\nhyphen, single-quote, double-quote, space, and exclamatio
n point.\n\nExample: <code>My Project</code>\n\nRead-write.", |
| 894 "type": "string" |
| 895 }, |
| 896 "projectNumber": { |
| 897 "description": "The number uniquely identifying the project.
\n\nExample: <code>415104041262</code>\n\nRead-only.", |
| 898 "format": "int64", |
| 899 "type": "string" |
| 900 }, |
| 901 "projectId": { |
| 902 "description": "The unique, user-assigned ID of the Project.
\nIt must be 6 to 30 lowercase letters, digits, or hyphens.\nIt must start with
a letter.\nTrailing hyphens are prohibited.\n\nExample: <code>tokyo-rain-123</co
de>\n\nRead-only after creation.", |
| 903 "type": "string" |
| 904 } |
| 905 }, |
| 906 "type": "object" |
| 907 }, |
| 908 "Binding": { |
| 909 "description": "Associates `members` with a `role`.", |
| 910 "id": "Binding", |
| 911 "properties": { |
| 912 "members": { |
| 913 "description": "Specifies the identities requesting access f
or a Cloud Platform resource.\n`members` can have the following values:\n\n* `al
lUsers`: A special identifier that represents anyone who is\n on the internet;
with or without a Google account.\n\n* `allAuthenticatedUsers`: A special ident
ifier that represents anyone\n who is authenticated with a Google account or a
service account.\n\n* `user:{emailid}`: An email address that represents a spec
ific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\
n\n* `serviceAccount:{emailid}`: An email address that represents a service\n
account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{e
mailid}`: An email address that represents a Google group.\n For example, `adm
ins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represe
nts all the\n users of that domain. For example, `google.com` or `example.com`
.\n\n", |
| 914 "items": { |
| 915 "type": "string" |
| 916 }, |
| 917 "type": "array" |
| 918 }, |
| 919 "role": { |
| 920 "description": "Role that is assigned to `members`.\nFor exa
mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", |
807 "type": "string" | 921 "type": "string" |
808 } | 922 } |
809 }, | 923 }, |
810 "type": "object" | 924 "type": "object" |
811 }, | 925 }, |
812 "OrganizationOwner": { | 926 "OrganizationOwner": { |
813 "description": "The entity that owns an Organization. The lifetime o
f the Organization and all of its descendants are bound to the `OrganizationOwne
r`. If the `OrganizationOwner` is deleted, the Organization and all its descenda
nts will be deleted.", | 927 "description": "The entity that owns an Organization. The lifetime o
f the Organization and\nall of its descendants are bound to the `OrganizationOwn
er`. If the\n`OrganizationOwner` is deleted, the Organization and all its descen
dants will\nbe deleted.", |
814 "id": "OrganizationOwner", | 928 "id": "OrganizationOwner", |
815 "properties": { | 929 "properties": { |
816 "directoryCustomerId": { | 930 "directoryCustomerId": { |
817 "description": "The Google for Work customer id used in the
Directory API.", | 931 "description": "The Google for Work customer id used in the
Directory API.", |
818 "type": "string" | 932 "type": "string" |
819 } | 933 } |
820 }, | 934 }, |
821 "type": "object" | |
822 }, | |
823 "ProjectCreationStatus": { | |
824 "description": "A status object which is used as the `metadata` fiel
d for the Operation returned by CreateProject. It provides insight for when sign
ificant phases of Project creation have completed.", | |
825 "id": "ProjectCreationStatus", | |
826 "properties": { | |
827 "createTime": { | |
828 "description": "Creation time of the project creation workfl
ow.", | |
829 "type": "string" | |
830 }, | |
831 "gettable": { | |
832 "description": "True if the project can be retrieved using G
etProject. No other operations on the project are guaranteed to work until the p
roject creation is complete.", | |
833 "type": "boolean" | |
834 }, | |
835 "ready": { | |
836 "description": "True if the project creation process is comp
lete.", | |
837 "type": "boolean" | |
838 } | |
839 }, | |
840 "type": "object" | |
841 }, | |
842 "FolderOperation": { | |
843 "description": "Metadata describing a long running folder operation"
, | |
844 "id": "FolderOperation", | |
845 "properties": { | |
846 "displayName": { | |
847 "description": "The display name of the folder.", | |
848 "type": "string" | |
849 }, | |
850 "operationType": { | |
851 "description": "The type of this operation.", | |
852 "enum": [ | |
853 "OPERATION_TYPE_UNSPECIFIED", | |
854 "CREATE", | |
855 "MOVE" | |
856 ], | |
857 "type": "string" | |
858 }, | |
859 "sourceParent": { | |
860 "description": "The resource name of the folder's parent. On
ly applicable when the operation_type is MOVE.", | |
861 "type": "string" | |
862 }, | |
863 "destinationParent": { | |
864 "description": "The resource name of the folder or organizat
ion we are either creating the folder under or moving the folder to.", | |
865 "type": "string" | |
866 } | |
867 }, | |
868 "type": "object" | |
869 }, | |
870 "FolderOperationError": { | |
871 "description": "A classification of the Folder Operation error.", | |
872 "id": "FolderOperationError", | |
873 "properties": { | |
874 "errorMessageId": { | |
875 "description": "The type of operation error experienced.", | |
876 "enum": [ | |
877 "ERROR_TYPE_UNSPECIFIED", | |
878 "FOLDER_HEIGHT_VIOLATION", | |
879 "MAX_CHILD_FOLDERS_VIOLATION", | |
880 "FOLDER_NAME_UNIQUENESS_VIOLATION", | |
881 "RESOURCE_DELETED", | |
882 "PARENT_DELETED", | |
883 "CYCLE_INTRODUCED_ERROR", | |
884 "FOLDER_ALREADY_BEING_MOVED", | |
885 "FOLDER_TO_DELETE_NON_EMPTY" | |
886 ], | |
887 "type": "string" | |
888 } | |
889 }, | |
890 "type": "object" | 935 "type": "object" |
891 } | 936 } |
892 }, | 937 }, |
893 "servicePath": "", | 938 "servicePath": "", |
894 "title": "Google Cloud Resource Manager API", | 939 "title": "Google Cloud Resource Manager API", |
895 "version": "v1beta1" | 940 "version": "v1beta1" |
896 } | 941 } |
OLD | NEW |