Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: discovery/googleapis_beta/cloudresourcemanager__v1beta1.json

Issue 2779563003: Api-roll 47: 2017-03-27 (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform.read-only": { 5 "https://www.googleapis.com/auth/cloud-platform.read-only": {
6 "description": "View your data across Google Cloud Platform services" 6 "description": "View your data across Google Cloud Platform services"
7 }, 7 },
8 "https://www.googleapis.com/auth/cloud-platform": { 8 "https://www.googleapis.com/auth/cloud-platform": {
9 "description": "View and manage your data across Google Clou d Platform services" 9 "description": "View and manage your data across Google Clou d Platform services"
10 } 10 }
(...skipping 10 matching lines...) Expand all
21 "icons": { 21 "icons": {
22 "x16": "http://www.google.com/images/icons/product/search-16.gif", 22 "x16": "http://www.google.com/images/icons/product/search-16.gif",
23 "x32": "http://www.google.com/images/icons/product/search-32.gif" 23 "x32": "http://www.google.com/images/icons/product/search-32.gif"
24 }, 24 },
25 "id": "cloudresourcemanager:v1beta1", 25 "id": "cloudresourcemanager:v1beta1",
26 "kind": "discovery#restDescription", 26 "kind": "discovery#restDescription",
27 "name": "cloudresourcemanager", 27 "name": "cloudresourcemanager",
28 "ownerDomain": "google.com", 28 "ownerDomain": "google.com",
29 "ownerName": "Google", 29 "ownerName": "Google",
30 "parameters": { 30 "parameters": {
31 "$.xgafv": {
32 "description": "V1 error format.",
33 "enum": [
34 "1",
35 "2"
36 ],
37 "enumDescriptions": [
38 "v1 error format",
39 "v2 error format"
40 ],
41 "location": "query",
42 "type": "string"
43 },
44 "callback": {
45 "description": "JSONP",
46 "location": "query",
47 "type": "string"
48 },
49 "alt": {
50 "default": "json",
51 "description": "Data format for response.",
52 "enum": [
53 "json",
54 "media",
55 "proto"
56 ],
57 "enumDescriptions": [
58 "Responses with Content-Type of application/json",
59 "Media download with context-dependent Content-Type",
60 "Responses with Content-Type of application/x-protobuf"
61 ],
62 "location": "query",
63 "type": "string"
64 },
31 "key": { 65 "key": {
32 "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.", 66 "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.",
33 "location": "query", 67 "location": "query",
34 "type": "string" 68 "type": "string"
35 }, 69 },
36 "access_token": { 70 "access_token": {
37 "description": "OAuth access token.", 71 "description": "OAuth access token.",
38 "location": "query", 72 "location": "query",
39 "type": "string" 73 "type": "string"
40 }, 74 },
41 "quotaUser": { 75 "quotaUser": {
42 "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.", 76 "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.",
43 "location": "query", 77 "location": "query",
44 "type": "string" 78 "type": "string"
45 }, 79 },
46 "pp": { 80 "pp": {
47 "default": "true", 81 "default": "true",
48 "description": "Pretty-print response.", 82 "description": "Pretty-print response.",
49 "location": "query", 83 "location": "query",
50 "type": "boolean" 84 "type": "boolean"
51 }, 85 },
86 "oauth_token": {
87 "description": "OAuth 2.0 token for the current user.",
88 "location": "query",
89 "type": "string"
90 },
52 "bearer_token": { 91 "bearer_token": {
53 "description": "OAuth bearer token.", 92 "description": "OAuth bearer token.",
54 "location": "query", 93 "location": "query",
55 "type": "string" 94 "type": "string"
56 }, 95 },
57 "oauth_token": {
58 "description": "OAuth 2.0 token for the current user.",
59 "location": "query",
60 "type": "string"
61 },
62 "upload_protocol": { 96 "upload_protocol": {
63 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 97 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
64 "location": "query", 98 "location": "query",
65 "type": "string" 99 "type": "string"
66 }, 100 },
67 "prettyPrint": { 101 "prettyPrint": {
68 "default": "true", 102 "default": "true",
69 "description": "Returns response with indentations and line breaks." , 103 "description": "Returns response with indentations and line breaks." ,
70 "location": "query", 104 "location": "query",
71 "type": "boolean" 105 "type": "boolean"
72 }, 106 },
73 "uploadType": { 107 "uploadType": {
74 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 108 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
75 "location": "query", 109 "location": "query",
76 "type": "string" 110 "type": "string"
77 }, 111 },
78 "fields": { 112 "fields": {
79 "description": "Selector specifying which fields to include in a par tial response.", 113 "description": "Selector specifying which fields to include in a par tial response.",
80 "location": "query", 114 "location": "query",
81 "type": "string" 115 "type": "string"
82 },
83 "$.xgafv": {
84 "description": "V1 error format.",
85 "enum": [
86 "1",
87 "2"
88 ],
89 "enumDescriptions": [
90 "v1 error format",
91 "v2 error format"
92 ],
93 "location": "query",
94 "type": "string"
95 },
96 "callback": {
97 "description": "JSONP",
98 "location": "query",
99 "type": "string"
100 },
101 "alt": {
102 "default": "json",
103 "description": "Data format for response.",
104 "enum": [
105 "json",
106 "media",
107 "proto"
108 ],
109 "enumDescriptions": [
110 "Responses with Content-Type of application/json",
111 "Media download with context-dependent Content-Type",
112 "Responses with Content-Type of application/x-protobuf"
113 ],
114 "location": "query",
115 "type": "string"
116 } 116 }
117 }, 117 },
118 "protocol": "rest", 118 "protocol": "rest",
119 "resources": { 119 "resources": {
120 "organizations": { 120 "organizations": {
121 "methods": { 121 "methods": {
122 "getIamPolicy": { 122 "list": {
123 "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\ ".", 123 "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.",
124 "httpMethod": "GET",
125 "id": "cloudresourcemanager.organizations.list",
126 "parameterOrder": [],
127 "parameters": {
128 "pageSize": {
129 "description": "The maximum number of Organizations to return in the response.\nThis field is optional.",
130 "format": "int32",
131 "location": "query",
132 "type": "integer"
133 },
134 "filter": {
135 "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.",
136 "location": "query",
137 "type": "string"
138 },
139 "pageToken": {
140 "description": "A pagination token returned from a p revious call to `ListOrganizations`\nthat indicates from where listing should co ntinue.\nThis field is optional.",
141 "location": "query",
142 "type": "string"
143 }
144 },
145 "path": "v1beta1/organizations",
146 "response": {
147 "$ref": "ListOrganizationsResponse"
148 },
149 "scopes": [
150 "https://www.googleapis.com/auth/cloud-platform",
151 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
152 ]
153 },
154 "setOrgPolicy": {
155 "description": "Updates the specified `Policy` on the resour ce. Creates a new `Policy` for\nthat `Constraint` on the resource if one does no t exist.\n\nNot supplying an `etag` on the request `Policy` results in an uncond itional\nwrite of the `Policy`.",
124 "httpMethod": "POST", 156 "httpMethod": "POST",
125 "id": "cloudresourcemanager.organizations.getIamPolicy", 157 "id": "cloudresourcemanager.organizations.setOrgPolicy",
126 "parameterOrder": [ 158 "parameterOrder": [
127 "resource" 159 "resource"
128 ], 160 ],
129 "parameters": { 161 "parameters": {
130 "resource": { 162 "resource": {
131 "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", 163 "description": "Resource name of the resource to att ach the `Policy`.",
132 "location": "path", 164 "location": "path",
133 "pattern": "^organizations/[^/]+$", 165 "pattern": "^organizations/[^/]+$",
134 "required": true, 166 "required": true,
135 "type": "string" 167 "type": "string"
136 } 168 }
137 }, 169 },
138 "path": "v1beta1/{+resource}:getIamPolicy", 170 "path": "v1beta1/{+resource}:setOrgPolicy",
139 "request": { 171 "request": {
140 "$ref": "GetIamPolicyRequest" 172 "$ref": "SetOrgPolicyRequest"
141 }, 173 },
142 "response": { 174 "response": {
143 "$ref": "Policy" 175 "$ref": "OrgPolicy"
176 },
177 "scopes": [
178 "https://www.googleapis.com/auth/cloud-platform"
179 ]
180 },
181 "clearOrgPolicyV1": {
182 "description": "Clears a `Policy` from a resource.",
183 "httpMethod": "POST",
184 "id": "cloudresourcemanager.organizations.clearOrgPolicyV1",
185 "parameterOrder": [
186 "resource"
187 ],
188 "parameters": {
189 "resource": {
190 "description": "Name of the resource for the `Policy ` to clear.",
191 "location": "path",
192 "pattern": "^organizations/[^/]+$",
193 "required": true,
194 "type": "string"
195 }
196 },
197 "path": "v1beta1/{+resource}:clearOrgPolicyV1",
198 "request": {
199 "$ref": "ClearOrgPolicyRequest"
200 },
201 "response": {
202 "$ref": "Empty"
203 },
204 "scopes": [
205 "https://www.googleapis.com/auth/cloud-platform"
206 ]
207 },
208 "listOrgPolicies": {
209 "description": "Lists all the `Policies` set for a particula r resource.",
210 "httpMethod": "POST",
211 "id": "cloudresourcemanager.organizations.listOrgPolicies",
212 "parameterOrder": [
213 "resource"
214 ],
215 "parameters": {
216 "resource": {
217 "description": "Name of the resource to list Policie s for.",
218 "location": "path",
219 "pattern": "^organizations/[^/]+$",
220 "required": true,
221 "type": "string"
222 }
223 },
224 "path": "v1beta1/{+resource}:listOrgPolicies",
225 "request": {
226 "$ref": "ListOrgPoliciesRequest"
227 },
228 "response": {
229 "$ref": "ListOrgPoliciesResponse"
144 }, 230 },
145 "scopes": [ 231 "scopes": [
146 "https://www.googleapis.com/auth/cloud-platform", 232 "https://www.googleapis.com/auth/cloud-platform",
147 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 233 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
148 ] 234 ]
149 }, 235 },
150 "get": { 236 "get": {
151 "description": "Fetches an Organization resource identified by the specified resource name.", 237 "description": "Fetches an Organization resource identified by the specified resource name.",
152 "httpMethod": "GET", 238 "httpMethod": "GET",
153 "id": "cloudresourcemanager.organizations.get", 239 "id": "cloudresourcemanager.organizations.get",
(...skipping 16 matching lines...) Expand all
170 }, 256 },
171 "path": "v1beta1/{+name}", 257 "path": "v1beta1/{+name}",
172 "response": { 258 "response": {
173 "$ref": "Organization" 259 "$ref": "Organization"
174 }, 260 },
175 "scopes": [ 261 "scopes": [
176 "https://www.googleapis.com/auth/cloud-platform", 262 "https://www.googleapis.com/auth/cloud-platform",
177 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 263 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
178 ] 264 ]
179 }, 265 },
180 "update": {
181 "description": "Updates an Organization resource identified by the specified resource name.",
182 "httpMethod": "PUT",
183 "id": "cloudresourcemanager.organizations.update",
184 "parameterOrder": [
185 "name"
186 ],
187 "parameters": {
188 "name": {
189 "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\".",
190 "location": "path",
191 "pattern": "^organizations/[^/]+$",
192 "required": true,
193 "type": "string"
194 }
195 },
196 "path": "v1beta1/{+name}",
197 "request": {
198 "$ref": "Organization"
199 },
200 "response": {
201 "$ref": "Organization"
202 },
203 "scopes": [
204 "https://www.googleapis.com/auth/cloud-platform"
205 ]
206 },
207 "testIamPermissions": { 266 "testIamPermissions": {
208 "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\".", 267 "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\".",
209 "httpMethod": "POST", 268 "httpMethod": "POST",
210 "id": "cloudresourcemanager.organizations.testIamPermissions ", 269 "id": "cloudresourcemanager.organizations.testIamPermissions ",
211 "parameterOrder": [ 270 "parameterOrder": [
212 "resource" 271 "resource"
213 ], 272 ],
214 "parameters": { 273 "parameters": {
215 "resource": { 274 "resource": {
216 "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appr opriate value for this field.", 275 "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appr opriate value for this field.",
217 "location": "path", 276 "location": "path",
218 "pattern": "^organizations/[^/]+$", 277 "pattern": "^organizations/[^/]+$",
219 "required": true, 278 "required": true,
220 "type": "string" 279 "type": "string"
221 } 280 }
222 }, 281 },
223 "path": "v1beta1/{+resource}:testIamPermissions", 282 "path": "v1beta1/{+resource}:testIamPermissions",
224 "request": { 283 "request": {
225 "$ref": "TestIamPermissionsRequest" 284 "$ref": "TestIamPermissionsRequest"
226 }, 285 },
227 "response": { 286 "response": {
228 "$ref": "TestIamPermissionsResponse" 287 "$ref": "TestIamPermissionsResponse"
229 }, 288 },
230 "scopes": [ 289 "scopes": [
231 "https://www.googleapis.com/auth/cloud-platform", 290 "https://www.googleapis.com/auth/cloud-platform",
232 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 291 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
233 ] 292 ]
234 }, 293 },
235 "list": { 294 "getEffectiveOrgPolicyV1": {
236 "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.", 295 "description": "Gets the effective `Policy` on a resource. T his is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across m ultiple resources.",
237 "httpMethod": "GET", 296 "httpMethod": "POST",
238 "id": "cloudresourcemanager.organizations.list", 297 "id": "cloudresourcemanager.organizations.getEffectiveOrgPol icyV1",
239 "parameterOrder": [], 298 "parameterOrder": [
299 "resource"
300 ],
240 "parameters": { 301 "parameters": {
241 "pageSize": { 302 "resource": {
242 "description": "The maximum number of Organizations to return in the response.\nThis field is optional.", 303 "description": "The name of the resource to start co mputing the effective `Policy`.",
243 "format": "int32", 304 "location": "path",
244 "location": "query", 305 "pattern": "^organizations/[^/]+$",
245 "type": "integer" 306 "required": true,
246 },
247 "filter": {
248 "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.",
249 "location": "query",
250 "type": "string"
251 },
252 "pageToken": {
253 "description": "A pagination token returned from a p revious call to `ListOrganizations`\nthat indicates from where listing should co ntinue.\nThis field is optional.",
254 "location": "query",
255 "type": "string" 307 "type": "string"
256 } 308 }
257 }, 309 },
258 "path": "v1beta1/organizations", 310 "path": "v1beta1/{+resource}:getEffectiveOrgPolicyV1",
311 "request": {
312 "$ref": "GetEffectiveOrgPolicyRequest"
313 },
259 "response": { 314 "response": {
260 "$ref": "ListOrganizationsResponse" 315 "$ref": "OrgPolicy"
261 }, 316 },
262 "scopes": [ 317 "scopes": [
263 "https://www.googleapis.com/auth/cloud-platform", 318 "https://www.googleapis.com/auth/cloud-platform",
264 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 319 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
265 ] 320 ]
266 }, 321 },
322 "clearOrgPolicy": {
323 "description": "Clears a `Policy` from a resource.",
324 "httpMethod": "POST",
325 "id": "cloudresourcemanager.organizations.clearOrgPolicy",
326 "parameterOrder": [
327 "resource"
328 ],
329 "parameters": {
330 "resource": {
331 "description": "Name of the resource for the `Policy ` to clear.",
332 "location": "path",
333 "pattern": "^organizations/[^/]+$",
334 "required": true,
335 "type": "string"
336 }
337 },
338 "path": "v1beta1/{+resource}:clearOrgPolicy",
339 "request": {
340 "$ref": "ClearOrgPolicyRequest"
341 },
342 "response": {
343 "$ref": "Empty"
344 },
345 "scopes": [
346 "https://www.googleapis.com/auth/cloud-platform"
347 ]
348 },
267 "setIamPolicy": { 349 "setIamPolicy": {
268 "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\".", 350 "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\".",
269 "httpMethod": "POST", 351 "httpMethod": "POST",
270 "id": "cloudresourcemanager.organizations.setIamPolicy", 352 "id": "cloudresourcemanager.organizations.setIamPolicy",
271 "parameterOrder": [ 353 "parameterOrder": [
272 "resource" 354 "resource"
273 ], 355 ],
274 "parameters": { 356 "parameters": {
275 "resource": { 357 "resource": {
276 "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", 358 "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
277 "location": "path", 359 "location": "path",
278 "pattern": "^organizations/[^/]+$", 360 "pattern": "^organizations/[^/]+$",
279 "required": true, 361 "required": true,
280 "type": "string" 362 "type": "string"
281 } 363 }
282 }, 364 },
283 "path": "v1beta1/{+resource}:setIamPolicy", 365 "path": "v1beta1/{+resource}:setIamPolicy",
284 "request": { 366 "request": {
285 "$ref": "SetIamPolicyRequest" 367 "$ref": "SetIamPolicyRequest"
286 }, 368 },
287 "response": { 369 "response": {
288 "$ref": "Policy" 370 "$ref": "Policy"
289 }, 371 },
290 "scopes": [ 372 "scopes": [
291 "https://www.googleapis.com/auth/cloud-platform" 373 "https://www.googleapis.com/auth/cloud-platform"
292 ] 374 ]
375 },
376 "listAvailableOrgPolicyConstraints": {
377 "description": "Lists `Constraints` that could be applied on the specified resource.",
378 "httpMethod": "POST",
379 "id": "cloudresourcemanager.organizations.listAvailableOrgPo licyConstraints",
380 "parameterOrder": [
381 "resource"
382 ],
383 "parameters": {
384 "resource": {
385 "description": "Name of the resource to list `Constr aints` for.",
386 "location": "path",
387 "pattern": "^organizations/[^/]+$",
388 "required": true,
389 "type": "string"
390 }
391 },
392 "path": "v1beta1/{+resource}:listAvailableOrgPolicyConstrain ts",
393 "request": {
394 "$ref": "ListAvailableOrgPolicyConstraintsRequest"
395 },
396 "response": {
397 "$ref": "ListAvailableOrgPolicyConstraintsResponse"
398 },
399 "scopes": [
400 "https://www.googleapis.com/auth/cloud-platform",
401 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
402 ]
403 },
404 "getIamPolicy": {
405 "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\ ".",
406 "httpMethod": "POST",
407 "id": "cloudresourcemanager.organizations.getIamPolicy",
408 "parameterOrder": [
409 "resource"
410 ],
411 "parameters": {
412 "resource": {
413 "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
414 "location": "path",
415 "pattern": "^organizations/[^/]+$",
416 "required": true,
417 "type": "string"
418 }
419 },
420 "path": "v1beta1/{+resource}:getIamPolicy",
421 "request": {
422 "$ref": "GetIamPolicyRequest"
423 },
424 "response": {
425 "$ref": "Policy"
426 },
427 "scopes": [
428 "https://www.googleapis.com/auth/cloud-platform",
429 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
430 ]
431 },
432 "getOrgPolicy": {
433 "description": "Gets a `Policy` on a resource.\n\nIf no `Pol icy` is set on the resource, a `Policy` is returned with default\nvalues includi ng `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be u sed with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-wri te.",
434 "httpMethod": "POST",
435 "id": "cloudresourcemanager.organizations.getOrgPolicy",
436 "parameterOrder": [
437 "resource"
438 ],
439 "parameters": {
440 "resource": {
441 "description": "Name of the resource the `Policy` is set on.",
442 "location": "path",
443 "pattern": "^organizations/[^/]+$",
444 "required": true,
445 "type": "string"
446 }
447 },
448 "path": "v1beta1/{+resource}:getOrgPolicy",
449 "request": {
450 "$ref": "GetOrgPolicyRequest"
451 },
452 "response": {
453 "$ref": "OrgPolicy"
454 },
455 "scopes": [
456 "https://www.googleapis.com/auth/cloud-platform",
457 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
458 ]
459 },
460 "getOrgPolicyV1": {
461 "description": "Gets a `Policy` on a resource.\n\nIf no `Pol icy` is set on the resource, a `Policy` is returned with default\nvalues includi ng `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be u sed with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-wri te.",
462 "httpMethod": "POST",
463 "id": "cloudresourcemanager.organizations.getOrgPolicyV1",
464 "parameterOrder": [
465 "resource"
466 ],
467 "parameters": {
468 "resource": {
469 "description": "Name of the resource the `Policy` is set on.",
470 "location": "path",
471 "pattern": "^organizations/[^/]+$",
472 "required": true,
473 "type": "string"
474 }
475 },
476 "path": "v1beta1/{+resource}:getOrgPolicyV1",
477 "request": {
478 "$ref": "GetOrgPolicyRequest"
479 },
480 "response": {
481 "$ref": "OrgPolicy"
482 },
483 "scopes": [
484 "https://www.googleapis.com/auth/cloud-platform",
485 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
486 ]
487 },
488 "getEffectiveOrgPolicy": {
489 "description": "Gets the effective `Policy` on a resource. T his is the result of merging\n`Policies` in the resource hierarchy. The returned `Policy` will not have\nan `etag`set because it is a computed `Policy` across m ultiple resources.",
490 "httpMethod": "POST",
491 "id": "cloudresourcemanager.organizations.getEffectiveOrgPol icy",
492 "parameterOrder": [
493 "resource"
494 ],
495 "parameters": {
496 "resource": {
497 "description": "The name of the resource to start co mputing the effective `Policy`.",
498 "location": "path",
499 "pattern": "^organizations/[^/]+$",
500 "required": true,
501 "type": "string"
502 }
503 },
504 "path": "v1beta1/{+resource}:getEffectiveOrgPolicy",
505 "request": {
506 "$ref": "GetEffectiveOrgPolicyRequest"
507 },
508 "response": {
509 "$ref": "OrgPolicy"
510 },
511 "scopes": [
512 "https://www.googleapis.com/auth/cloud-platform",
513 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
514 ]
515 },
516 "update": {
517 "description": "Updates an Organization resource identified by the specified resource name.",
518 "httpMethod": "PUT",
519 "id": "cloudresourcemanager.organizations.update",
520 "parameterOrder": [
521 "name"
522 ],
523 "parameters": {
524 "name": {
525 "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\".",
526 "location": "path",
527 "pattern": "^organizations/[^/]+$",
528 "required": true,
529 "type": "string"
530 }
531 },
532 "path": "v1beta1/{+name}",
533 "request": {
534 "$ref": "Organization"
535 },
536 "response": {
537 "$ref": "Organization"
538 },
539 "scopes": [
540 "https://www.googleapis.com/auth/cloud-platform"
541 ]
542 },
543 "setOrgPolicyV1": {
544 "description": "Updates the specified `Policy` on the resour ce. Creates a new `Policy` for\nthat `Constraint` on the resource if one does no t exist.\n\nNot supplying an `etag` on the request `Policy` results in an uncond itional\nwrite of the `Policy`.",
545 "httpMethod": "POST",
546 "id": "cloudresourcemanager.organizations.setOrgPolicyV1",
547 "parameterOrder": [
548 "resource"
549 ],
550 "parameters": {
551 "resource": {
552 "description": "Resource name of the resource to att ach the `Policy`.",
553 "location": "path",
554 "pattern": "^organizations/[^/]+$",
555 "required": true,
556 "type": "string"
557 }
558 },
559 "path": "v1beta1/{+resource}:setOrgPolicyV1",
560 "request": {
561 "$ref": "SetOrgPolicyRequest"
562 },
563 "response": {
564 "$ref": "OrgPolicy"
565 },
566 "scopes": [
567 "https://www.googleapis.com/auth/cloud-platform"
568 ]
293 } 569 }
294 } 570 }
295 }, 571 },
296 "projects": { 572 "projects": {
297 "methods": { 573 "methods": {
298 "testIamPermissions": { 574 "undelete": {
299 "description": "Returns permissions that a caller has on the specified Project.", 575 "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.",
300 "httpMethod": "POST", 576 "httpMethod": "POST",
301 "id": "cloudresourcemanager.projects.testIamPermissions", 577 "id": "cloudresourcemanager.projects.undelete",
302 "parameterOrder": [
303 "resource"
304 ],
305 "parameters": {
306 "resource": {
307 "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appr opriate value for this field.",
308 "location": "path",
309 "required": true,
310 "type": "string"
311 }
312 },
313 "path": "v1beta1/projects/{resource}:testIamPermissions",
314 "request": {
315 "$ref": "TestIamPermissionsRequest"
316 },
317 "response": {
318 "$ref": "TestIamPermissionsResponse"
319 },
320 "scopes": [
321 "https://www.googleapis.com/auth/cloud-platform",
322 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
323 ]
324 },
325 "delete": {
326 "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.",
327 "httpMethod": "DELETE",
328 "id": "cloudresourcemanager.projects.delete",
329 "parameterOrder": [ 578 "parameterOrder": [
330 "projectId" 579 "projectId"
331 ], 580 ],
332 "parameters": { 581 "parameters": {
333 "projectId": { 582 "projectId": {
334 "description": "The Project ID (for example, `foo-ba r-123`).\n\nRequired.", 583 "description": "The project ID (for example, `foo-ba r-123`).\n\nRequired.",
335 "location": "path", 584 "location": "path",
336 "required": true, 585 "required": true,
337 "type": "string" 586 "type": "string"
338 } 587 }
339 }, 588 },
340 "path": "v1beta1/projects/{projectId}", 589 "path": "v1beta1/projects/{projectId}:undelete",
590 "request": {
591 "$ref": "UndeleteProjectRequest"
592 },
341 "response": { 593 "response": {
342 "$ref": "Empty" 594 "$ref": "Empty"
343 }, 595 },
344 "scopes": [ 596 "scopes": [
345 "https://www.googleapis.com/auth/cloud-platform" 597 "https://www.googleapis.com/auth/cloud-platform"
346 ] 598 ]
347 }, 599 },
348 "list": {
349 "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.",
350 "httpMethod": "GET",
351 "id": "cloudresourcemanager.projects.list",
352 "parameterOrder": [],
353 "parameters": {
354 "pageSize": {
355 "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.",
356 "format": "int32",
357 "location": "query",
358 "type": "integer"
359 },
360 "filter": {
361 "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&nbsp;label.size:big|The project's label `color` has the value `red ` and its label `size` has the value `big`.\n\nOptional.",
362 "location": "query",
363 "type": "string"
364 },
365 "pageToken": {
366 "description": "A pagination token returned from a p revious call to ListProjects\nthat indicates from where listing should continue. \n\nOptional.",
367 "location": "query",
368 "type": "string"
369 }
370 },
371 "path": "v1beta1/projects",
372 "response": {
373 "$ref": "ListProjectsResponse"
374 },
375 "scopes": [
376 "https://www.googleapis.com/auth/cloud-platform",
377 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
378 ]
379 },
380 "setIamPolicy": {
381 "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.",
382 "httpMethod": "POST",
383 "id": "cloudresourcemanager.projects.setIamPolicy",
384 "parameterOrder": [
385 "resource"
386 ],
387 "parameters": {
388 "resource": {
389 "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
390 "location": "path",
391 "required": true,
392 "type": "string"
393 }
394 },
395 "path": "v1beta1/projects/{resource}:setIamPolicy",
396 "request": {
397 "$ref": "SetIamPolicyRequest"
398 },
399 "response": {
400 "$ref": "Policy"
401 },
402 "scopes": [
403 "https://www.googleapis.com/auth/cloud-platform"
404 ]
405 },
406 "create": {
407 "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.",
408 "httpMethod": "POST",
409 "id": "cloudresourcemanager.projects.create",
410 "parameterOrder": [],
411 "parameters": {
412 "useLegacyStack": {
413 "description": "A safety hatch to opt out of the new reliable project creation process.",
414 "location": "query",
415 "type": "boolean"
416 }
417 },
418 "path": "v1beta1/projects",
419 "request": {
420 "$ref": "Project"
421 },
422 "response": {
423 "$ref": "Project"
424 },
425 "scopes": [
426 "https://www.googleapis.com/auth/cloud-platform"
427 ]
428 },
429 "getIamPolicy": {
430 "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.",
431 "httpMethod": "POST",
432 "id": "cloudresourcemanager.projects.getIamPolicy",
433 "parameterOrder": [
434 "resource"
435 ],
436 "parameters": {
437 "resource": {
438 "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
439 "location": "path",
440 "required": true,
441 "type": "string"
442 }
443 },
444 "path": "v1beta1/projects/{resource}:getIamPolicy",
445 "request": {
446 "$ref": "GetIamPolicyRequest"
447 },
448 "response": {
449 "$ref": "Policy"
450 },
451 "scopes": [
452 "https://www.googleapis.com/auth/cloud-platform",
453 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
454 ]
455 },
456 "get": { 600 "get": {
457 "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.", 601 "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.",
458 "httpMethod": "GET", 602 "httpMethod": "GET",
459 "id": "cloudresourcemanager.projects.get", 603 "id": "cloudresourcemanager.projects.get",
460 "parameterOrder": [ 604 "parameterOrder": [
461 "projectId" 605 "projectId"
462 ], 606 ],
463 "parameters": { 607 "parameters": {
464 "projectId": { 608 "projectId": {
465 "description": "The Project ID (for example, `my-pro ject-123`).\n\nRequired.", 609 "description": "The Project ID (for example, `my-pro ject-123`).\n\nRequired.",
466 "location": "path", 610 "location": "path",
467 "required": true, 611 "required": true,
468 "type": "string" 612 "type": "string"
469 } 613 }
470 }, 614 },
471 "path": "v1beta1/projects/{projectId}", 615 "path": "v1beta1/projects/{projectId}",
472 "response": { 616 "response": {
473 "$ref": "Project" 617 "$ref": "Project"
474 }, 618 },
475 "scopes": [ 619 "scopes": [
476 "https://www.googleapis.com/auth/cloud-platform", 620 "https://www.googleapis.com/auth/cloud-platform",
477 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 621 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
478 ] 622 ]
479 }, 623 },
480 "undelete": { 624 "getAncestry": {
481 "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.", 625 "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.",
482 "httpMethod": "POST", 626 "httpMethod": "POST",
483 "id": "cloudresourcemanager.projects.undelete", 627 "id": "cloudresourcemanager.projects.getAncestry",
484 "parameterOrder": [ 628 "parameterOrder": [
485 "projectId" 629 "projectId"
486 ], 630 ],
487 "parameters": { 631 "parameters": {
488 "projectId": { 632 "projectId": {
489 "description": "The project ID (for example, `foo-ba r-123`).\n\nRequired.", 633 "description": "The Project ID (for example, `my-pro ject-123`).\n\nRequired.",
490 "location": "path", 634 "location": "path",
491 "required": true, 635 "required": true,
492 "type": "string" 636 "type": "string"
493 } 637 }
494 }, 638 },
495 "path": "v1beta1/projects/{projectId}:undelete", 639 "path": "v1beta1/projects/{projectId}:getAncestry",
496 "request": { 640 "request": {
497 "$ref": "UndeleteProjectRequest" 641 "$ref": "GetAncestryRequest"
498 }, 642 },
499 "response": { 643 "response": {
500 "$ref": "Empty" 644 "$ref": "GetAncestryResponse"
501 }, 645 },
502 "scopes": [ 646 "scopes": [
503 "https://www.googleapis.com/auth/cloud-platform" 647 "https://www.googleapis.com/auth/cloud-platform",
648 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
504 ] 649 ]
505 }, 650 },
506 "update": { 651 "update": {
507 "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.", 652 "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.",
508 "httpMethod": "PUT", 653 "httpMethod": "PUT",
509 "id": "cloudresourcemanager.projects.update", 654 "id": "cloudresourcemanager.projects.update",
510 "parameterOrder": [ 655 "parameterOrder": [
511 "projectId" 656 "projectId"
512 ], 657 ],
513 "parameters": { 658 "parameters": {
514 "projectId": { 659 "projectId": {
515 "description": "The project ID (for example, `my-pro ject-123`).\n\nRequired.", 660 "description": "The project ID (for example, `my-pro ject-123`).\n\nRequired.",
516 "location": "path", 661 "location": "path",
517 "required": true, 662 "required": true,
518 "type": "string" 663 "type": "string"
519 } 664 }
520 }, 665 },
521 "path": "v1beta1/projects/{projectId}", 666 "path": "v1beta1/projects/{projectId}",
522 "request": { 667 "request": {
523 "$ref": "Project" 668 "$ref": "Project"
524 }, 669 },
525 "response": { 670 "response": {
526 "$ref": "Project" 671 "$ref": "Project"
527 }, 672 },
528 "scopes": [ 673 "scopes": [
529 "https://www.googleapis.com/auth/cloud-platform" 674 "https://www.googleapis.com/auth/cloud-platform"
530 ] 675 ]
531 }, 676 },
532 "getAncestry": { 677 "testIamPermissions": {
533 "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.", 678 "description": "Returns permissions that a caller has on the specified Project.",
534 "httpMethod": "POST", 679 "httpMethod": "POST",
535 "id": "cloudresourcemanager.projects.getAncestry", 680 "id": "cloudresourcemanager.projects.testIamPermissions",
681 "parameterOrder": [
682 "resource"
683 ],
684 "parameters": {
685 "resource": {
686 "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appr opriate value for this field.",
687 "location": "path",
688 "required": true,
689 "type": "string"
690 }
691 },
692 "path": "v1beta1/projects/{resource}:testIamPermissions",
693 "request": {
694 "$ref": "TestIamPermissionsRequest"
695 },
696 "response": {
697 "$ref": "TestIamPermissionsResponse"
698 },
699 "scopes": [
700 "https://www.googleapis.com/auth/cloud-platform",
701 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
702 ]
703 },
704 "delete": {
705 "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.",
706 "httpMethod": "DELETE",
707 "id": "cloudresourcemanager.projects.delete",
536 "parameterOrder": [ 708 "parameterOrder": [
537 "projectId" 709 "projectId"
538 ], 710 ],
539 "parameters": { 711 "parameters": {
540 "projectId": { 712 "projectId": {
541 "description": "The Project ID (for example, `my-pro ject-123`).\n\nRequired.", 713 "description": "The Project ID (for example, `foo-ba r-123`).\n\nRequired.",
542 "location": "path", 714 "location": "path",
543 "required": true, 715 "required": true,
544 "type": "string" 716 "type": "string"
545 } 717 }
546 }, 718 },
547 "path": "v1beta1/projects/{projectId}:getAncestry", 719 "path": "v1beta1/projects/{projectId}",
720 "response": {
721 "$ref": "Empty"
722 },
723 "scopes": [
724 "https://www.googleapis.com/auth/cloud-platform"
725 ]
726 },
727 "list": {
728 "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.",
729 "httpMethod": "GET",
730 "id": "cloudresourcemanager.projects.list",
731 "parameterOrder": [],
732 "parameters": {
733 "pageSize": {
734 "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.",
735 "format": "int32",
736 "location": "query",
737 "type": "integer"
738 },
739 "filter": {
740 "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&nbsp;labels.size:big|The project's label `color` has the value `re d` and its label `size` has the value `big`.\n\nOptional.",
741 "location": "query",
742 "type": "string"
743 },
744 "pageToken": {
745 "description": "A pagination token returned from a p revious call to ListProjects\nthat indicates from where listing should continue. \n\nOptional.",
746 "location": "query",
747 "type": "string"
748 }
749 },
750 "path": "v1beta1/projects",
751 "response": {
752 "$ref": "ListProjectsResponse"
753 },
754 "scopes": [
755 "https://www.googleapis.com/auth/cloud-platform",
756 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
757 ]
758 },
759 "create": {
760 "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.",
761 "httpMethod": "POST",
762 "id": "cloudresourcemanager.projects.create",
763 "parameterOrder": [],
764 "parameters": {
765 "useLegacyStack": {
766 "description": "A safety hatch to opt out of the new reliable project creation process.",
767 "location": "query",
768 "type": "boolean"
769 }
770 },
771 "path": "v1beta1/projects",
548 "request": { 772 "request": {
549 "$ref": "GetAncestryRequest" 773 "$ref": "Project"
550 }, 774 },
551 "response": { 775 "response": {
552 "$ref": "GetAncestryResponse" 776 "$ref": "Project"
777 },
778 "scopes": [
779 "https://www.googleapis.com/auth/cloud-platform"
780 ]
781 },
782 "setIamPolicy": {
783 "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\n`setIamPolicy()`; they 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\nremove the last ToS-ac cepted owner from the policy will fail. This\nrestriction also applies to legacy projects that no longer have owners\nwho have accepted the ToS. Edits to IAM po licies 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: Rem oving service accounts from policies or changing their roles\ncan render service s completely inoperable. It is important to understand\nhow the service account is being used before removing or updating its\nroles.",
784 "httpMethod": "POST",
785 "id": "cloudresourcemanager.projects.setIamPolicy",
786 "parameterOrder": [
787 "resource"
788 ],
789 "parameters": {
790 "resource": {
791 "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
792 "location": "path",
793 "required": true,
794 "type": "string"
795 }
796 },
797 "path": "v1beta1/projects/{resource}:setIamPolicy",
798 "request": {
799 "$ref": "SetIamPolicyRequest"
800 },
801 "response": {
802 "$ref": "Policy"
803 },
804 "scopes": [
805 "https://www.googleapis.com/auth/cloud-platform"
806 ]
807 },
808 "getIamPolicy": {
809 "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.",
810 "httpMethod": "POST",
811 "id": "cloudresourcemanager.projects.getIamPolicy",
812 "parameterOrder": [
813 "resource"
814 ],
815 "parameters": {
816 "resource": {
817 "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
818 "location": "path",
819 "required": true,
820 "type": "string"
821 }
822 },
823 "path": "v1beta1/projects/{resource}:getIamPolicy",
824 "request": {
825 "$ref": "GetIamPolicyRequest"
826 },
827 "response": {
828 "$ref": "Policy"
553 }, 829 },
554 "scopes": [ 830 "scopes": [
555 "https://www.googleapis.com/auth/cloud-platform", 831 "https://www.googleapis.com/auth/cloud-platform",
556 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 832 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
557 ] 833 ]
558 } 834 }
559 } 835 }
560 } 836 }
561 }, 837 },
562 "revision": "20170227", 838 "revision": "20170324",
563 "rootUrl": "https://cloudresourcemanager.googleapis.com/", 839 "rootUrl": "https://cloudresourcemanager.googleapis.com/",
564 "schemas": { 840 "schemas": {
565 "ListProjectsResponse": { 841 "SetIamPolicyRequest": {
566 "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.", 842 "description": "Request message for `SetIamPolicy` method.",
567 "id": "ListProjectsResponse", 843 "id": "SetIamPolicyRequest",
568 "properties": { 844 "properties": {
569 "projects": { 845 "policy": {
570 "description": "The list of Projects that matched the list f ilter. This list can\nbe paginated.", 846 "$ref": "Policy",
571 "items": { 847 "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."
572 "$ref": "Project" 848 },
849 "updateMask": {
850 "description": "OPTIONAL: A FieldMask specifying which field s of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\ "\nThis field is only used by Cloud IAM.",
851 "format": "google-fieldmask",
852 "type": "string"
853 }
854 },
855 "type": "object"
856 },
857 "Empty": {
858 "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 `{}`.",
859 "id": "Empty",
860 "properties": {},
861 "type": "object"
862 },
863 "Organization": {
864 "description": "The root node in the resource hierarchy to which a p articular entity's\n(e.g., company) resources belong.",
865 "id": "Organization",
866 "properties": {
867 "owner": {
868 "$ref": "OrganizationOwner",
869 "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."
870 },
871 "name": {
872 "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\".",
873 "type": "string"
874 },
875 "organizationId": {
876 "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.",
877 "type": "string"
878 },
879 "lifecycleState": {
880 "description": "The organization's current lifecycle state. Assigned by the server.\n@OutputOnly",
881 "enum": [
882 "LIFECYCLE_STATE_UNSPECIFIED",
883 "ACTIVE",
884 "DELETE_REQUESTED"
885 ],
886 "enumDescriptions": [
887 "Unspecified state. This is only useful for distinguish ing unset values.",
888 "The normal and active state.",
889 "The organization has been marked for deletion by the us er."
890 ],
891 "type": "string"
892 },
893 "displayName": {
894 "description": "A friendly string to be used to refer to the Organization in the UI.\nAssigned by the server, set to the primary domain of t he G Suite\ncustomer that owns the organization.\n@OutputOnly",
895 "type": "string"
896 },
897 "creationTime": {
898 "description": "Timestamp when the Organization was created. Assigned by the server.\n@OutputOnly",
899 "format": "google-datetime",
900 "type": "string"
901 }
902 },
903 "type": "object"
904 },
905 "ListAvailableOrgPolicyConstraintsResponse": {
906 "description": "The response returned from the ListAvailableOrgPolic yConstraints method.\nReturns all `Constraints` that could be set at this level of the hierarchy\n(contrast with the response from `ListPolicies`, which returns all policies\nwhich are set).",
907 "id": "ListAvailableOrgPolicyConstraintsResponse",
908 "properties": {
909 "constraints": {
910 "description": "The collection of constraints that are setta ble on the request resource.",
911 "items": {
912 "$ref": "Constraint"
573 }, 913 },
574 "type": "array" 914 "type": "array"
575 }, 915 },
576 "nextPageToken": { 916 "nextPageToken": {
577 "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." , 917 "description": "Page token used to retrieve the next page. T his is currently not used.",
578 "type": "string" 918 "type": "string"
919 }
920 },
921 "type": "object"
922 },
923 "ListPolicy": {
924 "description": "Used in `policy_type` to specify how `list_policy` b ehaves at this\nresource.\n\nA `ListPolicy` can define specific values that are allowed or denied by\nsetting either the `allowed_values` or `denied_values` fie lds. It can also\nbe used to allow or deny all values, by setting the `all_value s` field. If\n`all_values` is `ALL_VALUES_UNSPECIFIED`, exactly one of `allowed_ values`\nor `denied_values` must be set (attempting to set both or neither will\ nresult in a failed request). If `all_values` is set to either `ALLOW` or\n`DENY `, `allowed_values` and `denied_values` must be unset.",
925 "id": "ListPolicy",
926 "properties": {
927 "deniedValues": {
928 "description": "List of values denied at this resource. Can only be set if no values are\nset for `allowed_values` and `all_values` is set t o\n`ALL_VALUES_UNSPECIFIED`.",
929 "items": {
930 "type": "string"
931 },
932 "type": "array"
933 },
934 "allValues": {
935 "description": "The policy all_values state.",
936 "enum": [
937 "ALL_VALUES_UNSPECIFIED",
938 "ALLOW",
939 "DENY"
940 ],
941 "enumDescriptions": [
942 "Indicates that either allowed_values or denied_values m ust be set.",
943 "A policy with this set allows all values.",
944 "A policy with this set denies all values."
945 ],
946 "type": "string"
947 },
948 "allowedValues": {
949 "description": "List of values allowed at this resource. an only be set if no values are\nset for `denied_values` and `all_values` is set t o\n`ALL_VALUES_UNSPECIFIED`.",
950 "items": {
951 "type": "string"
952 },
953 "type": "array"
954 },
955 "suggestedValue": {
956 "description": "Optional. The Google Cloud Console will try to default to a configuration\nthat matches the value specified in this `Policy` . If `suggested_value`\nis not set, it will inherit the value specified higher i n the hierarchy,\nunless `inherit_from_parent` is `false`.",
957 "type": "string"
958 },
959 "inheritFromParent": {
960 "description": "Determines the inheritance behavior for this `Policy`.\n\nBy default, a `ListPolicy` set at a resource supercedes any `Polic y` set\nanywhere up the resource hierarchy. However, if `inherit_from_parent` is \nset to `true`, then the values from the effective `Policy` of the parent\nreso urce are inherited, meaning the values set in this `Policy` are\nadded to the va lues inherited up the hierarchy.\n\nSetting `Policy` hierarchies that inherit bo th allowed values and denied\nvalues isn't recommended in most circumstances to keep the configuration\nsimple and understandable. However, it is possible to se t a `Policy` with\n`allowed_values` set that inherits a `Policy` with `denied_va lues` set.\nIn this case, the values that are allowed must be in `allowed_values ` and\nnot present in `denied_values`.\n\nFor example, suppose you have a `Const raint`\n`constraints/serviceuser.services`, which has a `constraint_type` of\n`l ist_constraint`, and with `constraint_default` set to `ALLOW`.\nSuppose that at the Organization level, a `Policy` is applied that\nrestricts the allowed API ac tivations to {`E1`, `E2`}. Then, if a\n`Policy` is applied to a project below th e Organization that has\n`inherit_from_parent` set to `false` and field all_valu es set to DENY,\nthen an attempt to activate any API will be denied.\n\nThe foll owing examples demonstrate different possible layerings:\n\nExample 1 (no inheri ted values):\n `organizations/foo` has a `Policy` with values:\n {allowed_va lues: “E1” allowed_values:”E2”}\n ``projects/bar`` has `inherit_from_parent` `f alse` and values:\n {allowed_values: \"E3\" allowed_values: \"E4\"}\nThe acce pted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `proj ects/bar` are `E3`, and `E4`.\n\nExample 2 (inherited values):\n `organizations /foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2” }\n `projects/bar` has a `Policy` with values:\n {value: “E3” value: ”E4” in herit_from_parent: true}\nThe accepted values at `organizations/foo` are `E1`, ` E2`.\nThe accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.\n\nE xample 3 (inheriting both allowed and denied values):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n `projects/bar` has a `Policy` with:\n {denied_values: \"E1\"}\nThe accepted values at `organizations/foo` are `E1`, `E2`.\nThe value accepted at `projects/b ar` is `E2`.\n\nExample 4 (RestoreDefault):\n `organizations/foo` has a `Policy ` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n `projects/bar` has a `Policy` with values:\n {RestoreDefault: {}}\nThe accepted values at ` organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are ei ther all or none depending on\nthe value of `constraint_default` (if `ALLOW`, al l; if\n`DENY`, none).\n\nExample 5 (no policy inherits parent policy):\n `organ izations/foo` has no `Policy` set.\n `projects/bar` has no `Policy` set.\nThe a ccepted values at both levels are either all or none depending on\nthe value of `constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 6 (ListCons traint allowing all):\n `organizations/foo` has a `Policy` with values:\n {a llowed_values: “E1” allowed_values: ”E2”}\n `projects/bar` has a `Policy` with: \n {all: ALLOW}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nA ny value is accepted at `projects/bar`.\n\nExample 7 (ListConstraint allowing no ne):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E 1” allowed_values: ”E2”}\n `projects/bar` has a `Policy` with:\n {all: DENY} \nThe accepted values at `organizations/foo` are `E1`, E2`.\nNo value is accepte d at `projects/bar`.",
961 "type": "boolean"
962 }
963 },
964 "type": "object"
965 },
966 "GetAncestryResponse": {
967 "description": "Response from the GetAncestry method.",
968 "id": "GetAncestryResponse",
969 "properties": {
970 "ancestor": {
971 "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.",
972 "items": {
973 "$ref": "Ancestor"
974 },
975 "type": "array"
976 }
977 },
978 "type": "object"
979 },
980 "AuditLogConfig": {
981 "description": "Provides the configuration for logging a type of per missions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type \": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and ' DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.",
982 "id": "AuditLogConfig",
983 "properties": {
984 "logType": {
985 "description": "The log type that this config enables.",
986 "enum": [
987 "LOG_TYPE_UNSPECIFIED",
988 "ADMIN_READ",
989 "DATA_WRITE",
990 "DATA_READ"
991 ],
992 "enumDescriptions": [
993 "Default case. Should never be this.",
994 "Admin reads. Example: CloudIAM getIamPolicy",
995 "Data writes. Example: CloudSQL Users create",
996 "Data reads. Example: CloudSQL Users list"
997 ],
998 "type": "string"
999 },
1000 "exemptedMembers": {
1001 "description": "Specifies the identities that do not cause l ogging for this type of\npermission.\nFollows the same format of Binding.members .",
1002 "items": {
1003 "type": "string"
1004 },
1005 "type": "array"
579 } 1006 }
580 }, 1007 },
581 "type": "object" 1008 "type": "object"
582 }, 1009 },
583 "GetAncestryRequest": { 1010 "GetAncestryRequest": {
584 "description": "The request sent to the\nGetAncestry\nmethod.", 1011 "description": "The request sent to the\nGetAncestry\nmethod.",
585 "id": "GetAncestryRequest", 1012 "id": "GetAncestryRequest",
586 "properties": {}, 1013 "properties": {},
587 "type": "object" 1014 "type": "object"
588 }, 1015 },
589 "Project": {
590 "description": "A Project is a high-level Google Cloud Platform enti ty. It is a\ncontainer for ACLs, APIs, App Engine Apps, VMs, and other\nGoogle Cloud Platform resources.",
591 "id": "Project",
592 "properties": {
593 "lifecycleState": {
594 "description": "The Project lifecycle state.\n\nRead-only.",
595 "enum": [
596 "LIFECYCLE_STATE_UNSPECIFIED",
597 "ACTIVE",
598 "DELETE_REQUESTED",
599 "DELETE_IN_PROGRESS"
600 ],
601 "enumDescriptions": [
602 "Unspecified state. This is only used/useful for distin guishing\nunset values.",
603 "The normal and active state.",
604 "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.",
605 "This lifecycle state is no longer used and is not retur ned by the API."
606 ],
607 "type": "string"
608 },
609 "projectNumber": {
610 "description": "The number uniquely identifying the project. \n\nExample: <code>415104041262</code>\nRead-only.",
611 "format": "int64",
612 "type": "string"
613 },
614 "parent": {
615 "$ref": "ResourceId",
616 "description": "An optional reference to a parent Resource.\ n\nThe only supported parent type is \"organization\". Once set, the parent\ncan not be modified. The `parent` can be set on creation or using the\n`UpdateProjec t` method; the end user must have the\n`resourcemanager.projects.create` permiss ion on the parent.\n\nRead-write."
617 },
618 "createTime": {
619 "description": "Creation time.\n\nRead-only.",
620 "format": "google-datetime",
621 "type": "string"
622 },
623 "labels": {
624 "additionalProperties": {
625 "type": "string"
626 },
627 "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>\nRead-write.",
628 "type": "object"
629 },
630 "name": {
631 "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>\nRead-write.",
632 "type": "string"
633 },
634 "projectId": {
635 "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>\nRead-only after creation.",
636 "type": "string"
637 }
638 },
639 "type": "object"
640 },
641 "TestIamPermissionsRequest": { 1016 "TestIamPermissionsRequest": {
642 "description": "Request message for `TestIamPermissions` method.", 1017 "description": "Request message for `TestIamPermissions` method.",
643 "id": "TestIamPermissionsRequest", 1018 "id": "TestIamPermissionsRequest",
644 "properties": { 1019 "properties": {
645 "permissions": { 1020 "permissions": {
646 "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).", 1021 "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).",
647 "items": { 1022 "items": {
648 "type": "string" 1023 "type": "string"
649 }, 1024 },
650 "type": "array" 1025 "type": "array"
651 } 1026 }
652 }, 1027 },
653 "type": "object" 1028 "type": "object"
654 }, 1029 },
1030 "ListAvailableOrgPolicyConstraintsRequest": {
1031 "description": "The request sent to the [ListAvailableOrgPolicyConst raints]\ngoogle.cloud.OrgPolicy.v1.ListAvailableOrgPolicyConstraints] method.",
1032 "id": "ListAvailableOrgPolicyConstraintsRequest",
1033 "properties": {
1034 "pageSize": {
1035 "description": "Size of the pages to be returned. This is cu rrently unsupported and will\nbe ignored. The server may at any point start usin g this field to limit\npage size.",
1036 "format": "int32",
1037 "type": "integer"
1038 },
1039 "pageToken": {
1040 "description": "Page token used to retrieve the next page. T his is currently unsupported\nand will be ignored. The server may at any point s tart using this field.",
1041 "type": "string"
1042 }
1043 },
1044 "type": "object"
1045 },
655 "Policy": { 1046 "Policy": {
656 "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).", 1047 "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).",
657 "id": "Policy", 1048 "id": "Policy",
658 "properties": { 1049 "properties": {
659 "version": { 1050 "auditConfigs": {
660 "description": "Version of the `Policy`. The default version is 0.", 1051 "description": "Specifies cloud audit logging configuration for this policy.",
661 "format": "int32", 1052 "items": {
662 "type": "integer" 1053 "$ref": "AuditConfig"
1054 },
1055 "type": "array"
663 }, 1056 },
664 "bindings": { 1057 "bindings": {
665 "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.", 1058 "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.",
666 "items": { 1059 "items": {
667 "$ref": "Binding" 1060 "$ref": "Binding"
668 }, 1061 },
669 "type": "array" 1062 "type": "array"
670 }, 1063 },
671 "etag": { 1064 "etag": {
672 "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.", 1065 "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.",
673 "format": "byte", 1066 "format": "byte",
674 "type": "string" 1067 "type": "string"
1068 },
1069 "version": {
1070 "description": "Version of the `Policy`. The default version is 0.",
1071 "format": "int32",
1072 "type": "integer"
675 } 1073 }
676 }, 1074 },
677 "type": "object" 1075 "type": "object"
678 }, 1076 },
679 "FolderOperation": { 1077 "FolderOperation": {
680 "description": "Metadata describing a long running folder operation" , 1078 "description": "Metadata describing a long running folder operation" ,
681 "id": "FolderOperation", 1079 "id": "FolderOperation",
682 "properties": { 1080 "properties": {
683 "destinationParent": {
684 "description": "The resource name of the folder or organizat ion we are either creating\nthe folder under or moving the folder to.",
685 "type": "string"
686 },
687 "operationType": { 1081 "operationType": {
688 "description": "The type of this operation.", 1082 "description": "The type of this operation.",
689 "enum": [ 1083 "enum": [
690 "OPERATION_TYPE_UNSPECIFIED", 1084 "OPERATION_TYPE_UNSPECIFIED",
691 "CREATE", 1085 "CREATE",
692 "MOVE" 1086 "MOVE"
693 ], 1087 ],
694 "enumDescriptions": [ 1088 "enumDescriptions": [
695 "Operation type not specified.", 1089 "Operation type not specified.",
696 "A create folder operation.", 1090 "A create folder operation.",
697 "A move folder operation." 1091 "A move folder operation."
698 ], 1092 ],
699 "type": "string" 1093 "type": "string"
700 }, 1094 },
701 "displayName": { 1095 "displayName": {
702 "description": "The display name of the folder.", 1096 "description": "The display name of the folder.",
703 "type": "string" 1097 "type": "string"
704 }, 1098 },
705 "sourceParent": { 1099 "sourceParent": {
706 "description": "The resource name of the folder's parent.\nO nly applicable when the operation_type is MOVE.", 1100 "description": "The resource name of the folder's parent.\nO nly applicable when the operation_type is MOVE.",
707 "type": "string" 1101 "type": "string"
708 } 1102 },
709 }, 1103 "destinationParent": {
710 "type": "object" 1104 "description": "The resource name of the folder or organizat ion we are either creating\nthe folder under or moving the folder to.",
711 },
712 "FolderOperationError": {
713 "description": "A classification of the Folder Operation error.",
714 "id": "FolderOperationError",
715 "properties": {
716 "errorMessageId": {
717 "description": "The type of operation error experienced.",
718 "enum": [
719 "ERROR_TYPE_UNSPECIFIED",
720 "FOLDER_HEIGHT_VIOLATION",
721 "MAX_CHILD_FOLDERS_VIOLATION",
722 "FOLDER_NAME_UNIQUENESS_VIOLATION",
723 "RESOURCE_DELETED",
724 "PARENT_DELETED",
725 "CYCLE_INTRODUCED_ERROR",
726 "FOLDER_ALREADY_BEING_MOVED",
727 "FOLDER_TO_DELETE_NON_EMPTY"
728 ],
729 "enumDescriptions": [
730 "The error type was unrecognized or unspecified.",
731 "The attempted action would violate the max folder depth constraint.",
732 "The attempted action would violate the max child folder s constraint.",
733 "The attempted action would violate the locally-unique f older\ndisplay_name constraint.",
734 "The resource being moved has been deleted.",
735 "The resource a folder was being added to has been delet ed.",
736 "The attempted action would introduce cycle in resource path.",
737 "The attempted action would move a folder that is alread y being moved.",
738 "The folder the caller is trying to delete contains acti ve resources."
739 ],
740 "type": "string" 1105 "type": "string"
741 } 1106 }
742 }, 1107 },
743 "type": "object" 1108 "type": "object"
744 }, 1109 },
745 "ResourceId": { 1110 "ResourceId": {
746 "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 App Engine app,\na Compute Engine instance, a Cloud SQL database, and so on .", 1111 "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 App Engine app,\na Compute Engine instance, a Cloud SQL database, and so on .",
747 "id": "ResourceId", 1112 "id": "ResourceId",
748 "properties": { 1113 "properties": {
749 "type": { 1114 "type": {
750 "description": "Required field representing the resource typ e this id is for.\nAt present, the valid types are \"project\" and \"organizatio n\".", 1115 "description": "Required field representing the resource typ e this id is for.\nAt present, the valid types are \"project\" and \"organizatio n\".",
751 "type": "string" 1116 "type": "string"
752 }, 1117 },
753 "id": { 1118 "id": {
754 "description": "Required field for the type-specific id. Thi s should correspond to the id\nused in the type-specific API's.", 1119 "description": "Required field for the type-specific id. Thi s should correspond to the id\nused in the type-specific API's.",
755 "type": "string" 1120 "type": "string"
756 } 1121 }
757 }, 1122 },
758 "type": "object" 1123 "type": "object"
759 }, 1124 },
760 "Ancestor": { 1125 "GetEffectiveOrgPolicyRequest": {
761 "description": "Identifying information for a single ancestor of a p roject.", 1126 "description": "The request sent to the GetEffectiveOrgPolicy method .",
762 "id": "Ancestor", 1127 "id": "GetEffectiveOrgPolicyRequest",
763 "properties": { 1128 "properties": {
764 "resourceId": { 1129 "constraint": {
765 "$ref": "ResourceId", 1130 "description": "The name of the `Constraint` to compute the effective `Policy`.",
766 "description": "Resource id of the ancestor." 1131 "type": "string"
767 } 1132 }
768 }, 1133 },
769 "type": "object" 1134 "type": "object"
1135 },
1136 "ListOrgPoliciesRequest": {
1137 "description": "The request sent to the ListOrgPolicies method.",
1138 "id": "ListOrgPoliciesRequest",
1139 "properties": {
1140 "pageToken": {
1141 "description": "Page token used to retrieve the next page. T his is currently unsupported\nand will be ignored. The server may at any point s tart using this field.",
1142 "type": "string"
1143 },
1144 "pageSize": {
1145 "description": "Size of the pages to be returned. This is cu rrently unsupported and will\nbe ignored. The server may at any point start usin g this field to limit\npage size.",
1146 "format": "int32",
1147 "type": "integer"
1148 }
1149 },
1150 "type": "object"
1151 },
1152 "AuditConfig": {
1153 "description": "Specifies the audit configuration for a service.\nTh e configuration determines which permission types are logged, and what\nidentiti es, if any, are exempted from logging.\nAn AuditConifg must have one or more Aud itLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_t ypes\nspecified in each AuditConfig are enabled, and the exempted_members in eac h\nAuditConfig are exempted.\nExample Policy with multiple AuditConfigs:\n{\n \ "audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_lo g_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"e xempted_members\": [\n \"user:foo@gmail.com\"\n ]\n } ,\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice@googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \" user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n}\nFor fooser vice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@gmail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRIT E logging.",
1154 "id": "AuditConfig",
1155 "properties": {
1156 "service": {
1157 "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com `.\n`allServices` is a special value that covers all services.",
1158 "type": "string"
1159 },
1160 "auditLogConfigs": {
1161 "description": "The configuration for logging of each type o f permission.\nNext ID: 4",
1162 "items": {
1163 "$ref": "AuditLogConfig"
1164 },
1165 "type": "array"
1166 }
1167 },
1168 "type": "object"
770 }, 1169 },
771 "ListOrganizationsResponse": { 1170 "ListOrganizationsResponse": {
772 "description": "The response returned from the `ListOrganizations` m ethod.", 1171 "description": "The response returned from the `ListOrganizations` m ethod.",
773 "id": "ListOrganizationsResponse", 1172 "id": "ListOrganizationsResponse",
774 "properties": { 1173 "properties": {
775 "nextPageToken": {
776 "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.",
777 "type": "string"
778 },
779 "organizations": { 1174 "organizations": {
780 "description": "The list of Organizations that matched the l ist query, possibly paginated.", 1175 "description": "The list of Organizations that matched the l ist query, possibly paginated.",
781 "items": { 1176 "items": {
782 "$ref": "Organization" 1177 "$ref": "Organization"
783 }, 1178 },
784 "type": "array" 1179 "type": "array"
1180 },
1181 "nextPageToken": {
1182 "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.",
1183 "type": "string"
785 } 1184 }
786 }, 1185 },
787 "type": "object" 1186 "type": "object"
788 }, 1187 },
789 "SetIamPolicyRequest": { 1188 "Constraint": {
790 "description": "Request message for `SetIamPolicy` method.", 1189 "description": "A `Constraint` describes a way in which a resource's configuration can be\nrestricted. For example, it controls which cloud services can be activated\nacross an organization, or whether a Compute Engine instance can have\nserial port connections established. `Constraints` can be configured b y the\norganization's policy adminstrator to fit the needs of the organzation by \nsetting Policies for `Constraints` at different locations in the\norganization 's resource hierarchy. Policies are inherited down the resource\nhierarchy from higher levels, but can also be overridden. For details about\nthe inheritance ru les please read about\nPolicies.\n\n`Constraints` have a default behavior determ ined by the `constraint_default`\nfield, which is the enforcement behavior that is used in the absence of a\n`Policy` being defined or inherited for the resourc e in question.",
791 "id": "SetIamPolicyRequest", 1190 "id": "Constraint",
792 "properties": { 1191 "properties": {
793 "policy": { 1192 "description": {
794 "$ref": "Policy", 1193 "description": "Detailed description of what this `Constrain t` controls as well as how and\nwhere it is enforced.\n\nMutable.",
795 "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." 1194 "type": "string"
1195 },
1196 "displayName": {
1197 "description": "The human readable name.\n\nMutable.",
1198 "type": "string"
1199 },
1200 "booleanConstraint": {
1201 "$ref": "BooleanConstraint",
1202 "description": "Defines this constraint as being a BooleanCo nstraint."
1203 },
1204 "constraintDefault": {
1205 "description": "The evaluation behavior of this constraint i n the absense of 'Policy'.",
1206 "enum": [
1207 "CONSTRAINT_DEFAULT_UNSPECIFIED",
1208 "ALLOW",
1209 "DENY"
1210 ],
1211 "enumDescriptions": [
1212 "This is only used for distinguishing unset values and s hould never be\nused.",
1213 "Indicate that all values are allowed for list constrain ts.\nIndicate that enforcement is off for boolean constraints.",
1214 "Indicate that all values are denied for list constraint s.\nIndicate that enforcement is on for boolean constraints."
1215 ],
1216 "type": "string"
1217 },
1218 "name": {
1219 "description": "Immutable value, required to globally be uni que. For example,\n`constraints/serviceuser.services`",
1220 "type": "string"
1221 },
1222 "version": {
1223 "description": "Version of the `Constraint`. Default version is 0;",
1224 "format": "int32",
1225 "type": "integer"
1226 },
1227 "listConstraint": {
1228 "$ref": "ListConstraint",
1229 "description": "Defines this constraint as being a ListConst raint."
796 } 1230 }
797 }, 1231 },
798 "type": "object" 1232 "type": "object"
799 }, 1233 },
800 "Binding": { 1234 "Binding": {
801 "description": "Associates `members` with a `role`.", 1235 "description": "Associates `members` with a `role`.",
802 "id": "Binding", 1236 "id": "Binding",
803 "properties": { 1237 "properties": {
804 "members": { 1238 "members": {
805 "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", 1239 "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",
806 "items": { 1240 "items": {
807 "type": "string" 1241 "type": "string"
808 }, 1242 },
809 "type": "array" 1243 "type": "array"
810 }, 1244 },
811 "role": { 1245 "role": {
812 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", 1246 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
813 "type": "string" 1247 "type": "string"
814 } 1248 }
815 }, 1249 },
816 "type": "object" 1250 "type": "object"
817 }, 1251 },
818 "Empty": { 1252 "RestoreDefault": {
819 "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 `{}`.", 1253 "description": "Ignores policies set above this resource and restore s the\n`constraint_default` enforcement behavior of the specific `Constraint` at \nthis resource.\n\nSuppose that `constraint_default` is set to `ALLOW` for the\ n`Constraint` `constraints/serviceuser.services`. Suppose that organization\nfoo .com sets a `Policy` at their Organization resource node that restricts\nthe all owed service activations to deny all service activations. They\ncould then set a `Policy` with the `policy_type` `restore_default` on\nseveral experimental proj ects, restoring the `constraint_default`\nenforcement of the `Constraint` for on ly those projects, allowing those\nprojects to have all services activated.",
820 "id": "Empty", 1254 "id": "RestoreDefault",
821 "properties": {}, 1255 "properties": {},
822 "type": "object" 1256 "type": "object"
823 }, 1257 },
824 "Organization": { 1258 "GetOrgPolicyRequest": {
825 "description": "The root node in the resource hierarchy to which a p articular entity's\n(e.g., company) resources belong.", 1259 "description": "The request sent to the GetOrgPolicy method.",
826 "id": "Organization", 1260 "id": "GetOrgPolicyRequest",
827 "properties": { 1261 "properties": {
828 "organizationId": { 1262 "constraint": {
829 "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.", 1263 "description": "Name of the `Constraint` to get the `Policy` .",
830 "type": "string"
831 },
832 "lifecycleState": {
833 "description": "The organization's current lifecycle state. Assigned by the server.\n@OutputOnly",
834 "enum": [
835 "LIFECYCLE_STATE_UNSPECIFIED",
836 "ACTIVE",
837 "DELETE_REQUESTED"
838 ],
839 "enumDescriptions": [
840 "Unspecified state. This is only useful for distinguish ing unset values.",
841 "The normal and active state.",
842 "The organization has been marked for deletion by the us er."
843 ],
844 "type": "string"
845 },
846 "displayName": {
847 "description": "A friendly string to be used to refer to the Organization in the UI.\nAssigned by the server, set to the primary domain of t he G Suite\ncustomer that owns the organization.\n@OutputOnly",
848 "type": "string"
849 },
850 "creationTime": {
851 "description": "Timestamp when the Organization was created. Assigned by the server.\n@OutputOnly",
852 "format": "google-datetime",
853 "type": "string"
854 },
855 "owner": {
856 "$ref": "OrganizationOwner",
857 "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."
858 },
859 "name": {
860 "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\".",
861 "type": "string" 1264 "type": "string"
862 } 1265 }
863 }, 1266 },
1267 "type": "object"
1268 },
1269 "ClearOrgPolicyRequest": {
1270 "description": "The request sent to the ClearOrgPolicy method.",
1271 "id": "ClearOrgPolicyRequest",
1272 "properties": {
1273 "etag": {
1274 "description": "The current version, for concurrency control . Not sending an `etag`\nwill cause the `Policy` to be cleared blindly.",
1275 "format": "byte",
1276 "type": "string"
1277 },
1278 "constraint": {
1279 "description": "Name of the `Constraint` of the `Policy` to clear.",
1280 "type": "string"
1281 }
1282 },
864 "type": "object" 1283 "type": "object"
865 }, 1284 },
866 "UndeleteProjectRequest": { 1285 "UndeleteProjectRequest": {
867 "description": "The request sent to the UndeleteProject\nmethod.", 1286 "description": "The request sent to the UndeleteProject\nmethod.",
868 "id": "UndeleteProjectRequest", 1287 "id": "UndeleteProjectRequest",
869 "properties": {}, 1288 "properties": {},
870 "type": "object" 1289 "type": "object"
871 }, 1290 },
872 "ProjectCreationStatus": { 1291 "ProjectCreationStatus": {
873 "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.", 1292 "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.",
874 "id": "ProjectCreationStatus", 1293 "id": "ProjectCreationStatus",
875 "properties": { 1294 "properties": {
876 "ready": { 1295 "ready": {
877 "description": "True if the project creation process is comp lete.", 1296 "description": "True if the project creation process is comp lete.",
878 "type": "boolean" 1297 "type": "boolean"
879 }, 1298 },
880 "createTime": { 1299 "createTime": {
881 "description": "Creation time of the project creation workfl ow.", 1300 "description": "Creation time of the project creation workfl ow.",
882 "format": "google-datetime", 1301 "format": "google-datetime",
883 "type": "string" 1302 "type": "string"
884 }, 1303 },
885 "gettable": { 1304 "gettable": {
886 "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.", 1305 "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.",
887 "type": "boolean" 1306 "type": "boolean"
888 } 1307 }
889 }, 1308 },
890 "type": "object" 1309 "type": "object"
891 }, 1310 },
892 "GetIamPolicyRequest": { 1311 "BooleanConstraint": {
893 "description": "Request message for `GetIamPolicy` method.", 1312 "description": "A `Constraint` that is either enforced or not.\n\nFo r example a constraint `constraints/compute.disableSerialPortAccess`.\nIf it is enforced on a VM instance, serial port connections will not be\nopened to that i nstance.",
894 "id": "GetIamPolicyRequest", 1313 "id": "BooleanConstraint",
895 "properties": {}, 1314 "properties": {},
896 "type": "object" 1315 "type": "object"
897 }, 1316 },
898 "TestIamPermissionsResponse": { 1317 "TestIamPermissionsResponse": {
899 "description": "Response message for `TestIamPermissions` method.", 1318 "description": "Response message for `TestIamPermissions` method.",
900 "id": "TestIamPermissionsResponse", 1319 "id": "TestIamPermissionsResponse",
901 "properties": { 1320 "properties": {
902 "permissions": { 1321 "permissions": {
903 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is\nallowed.", 1322 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is\nallowed.",
904 "items": { 1323 "items": {
905 "type": "string" 1324 "type": "string"
906 }, 1325 },
907 "type": "array" 1326 "type": "array"
908 } 1327 }
909 }, 1328 },
910 "type": "object" 1329 "type": "object"
911 }, 1330 },
912 "GetAncestryResponse": { 1331 "GetIamPolicyRequest": {
913 "description": "Response from the GetAncestry method.", 1332 "description": "Request message for `GetIamPolicy` method.",
914 "id": "GetAncestryResponse", 1333 "id": "GetIamPolicyRequest",
915 "properties": { 1334 "properties": {},
916 "ancestor": {
917 "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.",
918 "items": {
919 "$ref": "Ancestor"
920 },
921 "type": "array"
922 }
923 },
924 "type": "object" 1335 "type": "object"
925 }, 1336 },
926 "OrganizationOwner": { 1337 "OrganizationOwner": {
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.", 1338 "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.",
928 "id": "OrganizationOwner", 1339 "id": "OrganizationOwner",
929 "properties": { 1340 "properties": {
930 "directoryCustomerId": { 1341 "directoryCustomerId": {
931 "description": "The Google for Work customer id used in the Directory API.", 1342 "description": "The Google for Work customer id used in the Directory API.",
932 "type": "string" 1343 "type": "string"
933 } 1344 }
934 }, 1345 },
935 "type": "object" 1346 "type": "object"
1347 },
1348 "ListProjectsResponse": {
1349 "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.",
1350 "id": "ListProjectsResponse",
1351 "properties": {
1352 "projects": {
1353 "description": "The list of Projects that matched the list f ilter. This list can\nbe paginated.",
1354 "items": {
1355 "$ref": "Project"
1356 },
1357 "type": "array"
1358 },
1359 "nextPageToken": {
1360 "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." ,
1361 "type": "string"
1362 }
1363 },
1364 "type": "object"
1365 },
1366 "Project": {
1367 "description": "A Project is a high-level Google Cloud Platform enti ty. It is a\ncontainer for ACLs, APIs, App Engine Apps, VMs, and other\nGoogle Cloud Platform resources.",
1368 "id": "Project",
1369 "properties": {
1370 "labels": {
1371 "additionalProperties": {
1372 "type": "string"
1373 },
1374 "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>\nRead-write.",
1375 "type": "object"
1376 },
1377 "createTime": {
1378 "description": "Creation time.\n\nRead-only.",
1379 "format": "google-datetime",
1380 "type": "string"
1381 },
1382 "name": {
1383 "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>\nRead-write.",
1384 "type": "string"
1385 },
1386 "projectId": {
1387 "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>\nRead-only after creation.",
1388 "type": "string"
1389 },
1390 "lifecycleState": {
1391 "description": "The Project lifecycle state.\n\nRead-only.",
1392 "enum": [
1393 "LIFECYCLE_STATE_UNSPECIFIED",
1394 "ACTIVE",
1395 "DELETE_REQUESTED",
1396 "DELETE_IN_PROGRESS"
1397 ],
1398 "enumDescriptions": [
1399 "Unspecified state. This is only used/useful for distin guishing\nunset values.",
1400 "The normal and active state.",
1401 "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.",
1402 "This lifecycle state is no longer used and is not retur ned by the API."
1403 ],
1404 "type": "string"
1405 },
1406 "projectNumber": {
1407 "description": "The number uniquely identifying the project. \n\nExample: <code>415104041262</code>\nRead-only.",
1408 "format": "int64",
1409 "type": "string"
1410 },
1411 "parent": {
1412 "$ref": "ResourceId",
1413 "description": "An optional reference to a parent Resource.\ n\nThe only supported parent type is \"organization\". Once set, the parent\ncan not be modified. The `parent` can be set on creation or using the\n`UpdateProjec t` method; the end user must have the\n`resourcemanager.projects.create` permiss ion on the parent.\n\nRead-write."
1414 }
1415 },
1416 "type": "object"
1417 },
1418 "ListOrgPoliciesResponse": {
1419 "description": "The response returned from the ListOrgPolicies metho d. It will be empty\nif no `Policies` are set on the resource.",
1420 "id": "ListOrgPoliciesResponse",
1421 "properties": {
1422 "policies": {
1423 "description": "The `Policies` that are set on the resource. It will be empty if no\n`Policies` are set.",
1424 "items": {
1425 "$ref": "OrgPolicy"
1426 },
1427 "type": "array"
1428 },
1429 "nextPageToken": {
1430 "description": "Page token used to retrieve the next page. T his is currently not used, but\nthe server may at any point start supplying a va lid token.",
1431 "type": "string"
1432 }
1433 },
1434 "type": "object"
1435 },
1436 "FolderOperationError": {
1437 "description": "A classification of the Folder Operation error.",
1438 "id": "FolderOperationError",
1439 "properties": {
1440 "errorMessageId": {
1441 "description": "The type of operation error experienced.",
1442 "enum": [
1443 "ERROR_TYPE_UNSPECIFIED",
1444 "FOLDER_HEIGHT_VIOLATION",
1445 "MAX_CHILD_FOLDERS_VIOLATION",
1446 "FOLDER_NAME_UNIQUENESS_VIOLATION",
1447 "RESOURCE_DELETED",
1448 "PARENT_DELETED",
1449 "CYCLE_INTRODUCED_ERROR",
1450 "FOLDER_BEING_MOVED",
1451 "FOLDER_TO_DELETE_NON_EMPTY"
1452 ],
1453 "enumDescriptions": [
1454 "The error type was unrecognized or unspecified.",
1455 "The attempted action would violate the max folder depth constraint.",
1456 "The attempted action would violate the max child folder s constraint.",
1457 "The attempted action would violate the locally-unique f older\ndisplay_name constraint.",
1458 "The resource being moved has been deleted.",
1459 "The resource a folder was being added to has been delet ed.",
1460 "The attempted action would introduce cycle in resource path.",
1461 "The attempted action would move a folder that is alread y being moved.",
1462 "The folder the caller is trying to delete contains acti ve resources."
1463 ],
1464 "type": "string"
1465 }
1466 },
1467 "type": "object"
1468 },
1469 "OrgPolicy": {
1470 "description": "Defines a Cloud Organization `Policy` which is used to specify `Constraints`\nfor configurations of Cloud Platform resources.",
1471 "id": "OrgPolicy",
1472 "properties": {
1473 "version": {
1474 "description": "Version of the `Policy`. Default version is 0;",
1475 "format": "int32",
1476 "type": "integer"
1477 },
1478 "restoreDefault": {
1479 "$ref": "RestoreDefault",
1480 "description": "Restores the default behavior of the constra int; independent of\n`Constraint` type."
1481 },
1482 "listPolicy": {
1483 "$ref": "ListPolicy",
1484 "description": "List of values either allowed or disallowed. "
1485 },
1486 "etag": {
1487 "description": "An opaque tag indicating the current version of the `Policy`, used for\nconcurrency control.\n\nWhen the `Policy` is returne d from either a `GetPolicy` or a\n`ListOrgPolicy` request, this `etag` indicates the version of the current\n`Policy` to use when executing a read-modify-write loop.\n\nWhen the `Policy` is returned from a `GetEffectivePolicy` request, the\ n`etag` will be unset.\n\nWhen the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value\nthat was returned from a `GetOrgPolicy` request as part of a\nread-modify-write loop for concurrency control. Not setting the `etag`in a\n `SetOrgPolicy` request will result in an unconditional write of the\n`Policy`.",
1488 "format": "byte",
1489 "type": "string"
1490 },
1491 "constraint": {
1492 "description": "The name of the `Constraint` the `Policy` is configuring, for example,\n`constraints/serviceuser.services`.\n\nImmutable aft er creation.",
1493 "type": "string"
1494 },
1495 "booleanPolicy": {
1496 "$ref": "BooleanPolicy",
1497 "description": "For boolean `Constraints`, whether to enforc e the `Constraint` or not."
1498 },
1499 "updateTime": {
1500 "description": "The time stamp the `Policy` was previously u pdated. This is set by the\nserver, not specified by the caller, and represents the last time a call to\n`SetOrgPolicy` was made for that `Policy`. Any value se t by the client will\nbe ignored.",
1501 "format": "google-datetime",
1502 "type": "string"
1503 }
1504 },
1505 "type": "object"
1506 },
1507 "BooleanPolicy": {
1508 "description": "Used in `policy_type` to specify how `boolean_policy ` will behave at this\nresource.",
1509 "id": "BooleanPolicy",
1510 "properties": {
1511 "enforced": {
1512 "description": "If `true`, then the `Policy` is enforced. If `false`, then any\nconfiguration is acceptable.\n\nSuppose you have a `Constrai nt` `constraints/compute.disableSerialPortAccess`\nwith `constraint_default` set to `ALLOW`. A `Policy` for that\n`Constraint` exhibits the following behavior:\ n - If the `Policy` at this resource has enforced set to `false`, serial\n p ort connection attempts will be allowed.\n - If the `Policy` at this resource h as enforced set to `true`, serial\n port connection attempts will be refused. \n - If the `Policy` at this resource is `RestoreDefault`, serial port\n con nection attempts will be allowed.\n - If no `Policy` is set at this resource or anywhere higher in the\n resource hierarchy, serial port connection attempts will be allowed.\n - If no `Policy` is set at this resource, but one exists hi gher in the\n resource hierarchy, the behavior is as if the`Policy` were set at\n this resource.\n\nThe following examples demonstrate the different possi ble layerings:\n\nExample 1 (nearest `Constraint` wins):\n `organizations/foo` has a `Policy` with:\n {enforced: false}\n `projects/bar` has no `Policy` se t.\nThe constraint at `projects/bar` and `organizations/foo` will not be\nenforc ed.\n\nExample 2 (enforcement gets replaced):\n `organizations/foo` has a `Poli cy` with:\n {enforced: false}\n `projects/bar` has a `Policy` with:\n {en forced: true}\nThe constraint at `organizations/foo` is not enforced.\nThe const raint at `projects/bar` is enforced.\n\nExample 3 (RestoreDefault):\n `organiza tions/foo` has a `Policy` with:\n {enforced: true}\n `projects/bar` has a `P olicy` with:\n {RestoreDefault: {}}\nThe constraint at `organizations/foo` is enforced.\nThe constraint at `projects/bar` is not enforced, because\n`constrai nt_default` for the `Constraint` is `ALLOW`.",
1513 "type": "boolean"
1514 }
1515 },
1516 "type": "object"
1517 },
1518 "Ancestor": {
1519 "description": "Identifying information for a single ancestor of a p roject.",
1520 "id": "Ancestor",
1521 "properties": {
1522 "resourceId": {
1523 "$ref": "ResourceId",
1524 "description": "Resource id of the ancestor."
1525 }
1526 },
1527 "type": "object"
1528 },
1529 "ListConstraint": {
1530 "description": "A `Constraint` that allows or disallows a list of st ring values, which are\nconfigured by an Organization's policy administrator wit h a `Policy`.",
1531 "id": "ListConstraint",
1532 "properties": {
1533 "suggestedValue": {
1534 "description": "Optional. The Google Cloud Console will try to default to a configuration\nthat matches the value specified in this `Constra int`.",
1535 "type": "string"
1536 }
1537 },
1538 "type": "object"
1539 },
1540 "SetOrgPolicyRequest": {
1541 "description": "The request sent to the SetOrgPolicyRequest method." ,
1542 "id": "SetOrgPolicyRequest",
1543 "properties": {
1544 "policy": {
1545 "$ref": "OrgPolicy",
1546 "description": "`Policy` to set on the resource."
1547 }
1548 },
1549 "type": "object"
936 } 1550 }
937 }, 1551 },
938 "servicePath": "", 1552 "servicePath": "",
939 "title": "Google Cloud Resource Manager API", 1553 "title": "Google Cloud Resource Manager API",
940 "version": "v1beta1" 1554 "version": "v1beta1"
941 } 1555 }
OLDNEW
« no previous file with comments | « discovery/googleapis_beta/cloudmonitoring__v2beta2.json ('k') | discovery/googleapis_beta/dataflow__v1b3.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698