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

Side by Side Diff: discovery/googleapis/cloudresourcemanager__v1.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
« no previous file with comments | « discovery/googleapis/cloudkms__v1.json ('k') | discovery/googleapis/cloudtrace__v1.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:v1", 25 "id": "cloudresourcemanager:v1",
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 "oauth_token": {
32 "description": "OAuth 2.0 token for the current user.",
33 "location": "query",
34 "type": "string"
35 },
36 "bearer_token": {
37 "description": "OAuth bearer token.",
38 "location": "query",
39 "type": "string"
40 },
31 "upload_protocol": { 41 "upload_protocol": {
32 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 42 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
33 "location": "query", 43 "location": "query",
34 "type": "string" 44 "type": "string"
35 }, 45 },
36 "prettyPrint": { 46 "prettyPrint": {
37 "default": "true", 47 "default": "true",
38 "description": "Returns response with indentations and line breaks." , 48 "description": "Returns response with indentations and line breaks." ,
39 "location": "query", 49 "location": "query",
40 "type": "boolean" 50 "type": "boolean"
41 }, 51 },
52 "uploadType": {
53 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
54 "location": "query",
55 "type": "string"
56 },
42 "fields": { 57 "fields": {
43 "description": "Selector specifying which fields to include in a par tial response.", 58 "description": "Selector specifying which fields to include in a par tial response.",
44 "location": "query", 59 "location": "query",
45 "type": "string" 60 "type": "string"
46 }, 61 },
47 "uploadType": {
48 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
49 "location": "query",
50 "type": "string"
51 },
52 "callback": {
53 "description": "JSONP",
54 "location": "query",
55 "type": "string"
56 },
57 "$.xgafv": { 62 "$.xgafv": {
58 "description": "V1 error format.", 63 "description": "V1 error format.",
59 "enum": [ 64 "enum": [
60 "1", 65 "1",
61 "2" 66 "2"
62 ], 67 ],
63 "enumDescriptions": [ 68 "enumDescriptions": [
64 "v1 error format", 69 "v1 error format",
65 "v2 error format" 70 "v2 error format"
66 ], 71 ],
67 "location": "query", 72 "location": "query",
68 "type": "string" 73 "type": "string"
69 }, 74 },
75 "callback": {
76 "description": "JSONP",
77 "location": "query",
78 "type": "string"
79 },
70 "alt": { 80 "alt": {
71 "default": "json", 81 "default": "json",
72 "description": "Data format for response.", 82 "description": "Data format for response.",
73 "enum": [ 83 "enum": [
74 "json", 84 "json",
75 "media", 85 "media",
76 "proto" 86 "proto"
77 ], 87 ],
78 "enumDescriptions": [ 88 "enumDescriptions": [
79 "Responses with Content-Type of application/json", 89 "Responses with Content-Type of application/json",
(...skipping 16 matching lines...) Expand all
96 "quotaUser": { 106 "quotaUser": {
97 "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.", 107 "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.",
98 "location": "query", 108 "location": "query",
99 "type": "string" 109 "type": "string"
100 }, 110 },
101 "pp": { 111 "pp": {
102 "default": "true", 112 "default": "true",
103 "description": "Pretty-print response.", 113 "description": "Pretty-print response.",
104 "location": "query", 114 "location": "query",
105 "type": "boolean" 115 "type": "boolean"
106 },
107 "bearer_token": {
108 "description": "OAuth bearer token.",
109 "location": "query",
110 "type": "string"
111 },
112 "oauth_token": {
113 "description": "OAuth 2.0 token for the current user.",
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 "get": { 122 "setOrgPolicy": {
123 "description": "Fetches an Organization resource identified by the specified resource name.", 123 "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": "GET", 124 "httpMethod": "POST",
125 "id": "cloudresourcemanager.organizations.get", 125 "id": "cloudresourcemanager.organizations.setOrgPolicy",
126 "parameterOrder": [ 126 "parameterOrder": [
127 "name" 127 "resource"
128 ], 128 ],
129 "parameters": { 129 "parameters": {
130 "name": { 130 "resource": {
131 "description": "The resource name of the Organizatio n to fetch, e.g. \"organizations/1234\".", 131 "description": "Resource name of the resource to att ach the `Policy`.",
132 "location": "path", 132 "location": "path",
133 "pattern": "^organizations/[^/]+$", 133 "pattern": "^organizations/[^/]+$",
134 "required": true, 134 "required": true,
135 "type": "string" 135 "type": "string"
136 } 136 }
137 }, 137 },
138 "path": "v1/{+name}", 138 "path": "v1/{+resource}:setOrgPolicy",
139 "request": {
140 "$ref": "SetOrgPolicyRequest"
141 },
139 "response": { 142 "response": {
140 "$ref": "Organization" 143 "$ref": "OrgPolicy"
141 }, 144 },
142 "scopes": [ 145 "scopes": [
143 "https://www.googleapis.com/auth/cloud-platform", 146 "https://www.googleapis.com/auth/cloud-platform"
144 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
145 ] 147 ]
146 }, 148 },
147 "setIamPolicy": { 149 "clearOrgPolicyV1": {
148 "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\".", 150 "description": "Clears a `Policy` from a resource.",
149 "httpMethod": "POST", 151 "httpMethod": "POST",
150 "id": "cloudresourcemanager.organizations.setIamPolicy", 152 "id": "cloudresourcemanager.organizations.clearOrgPolicyV1",
151 "parameterOrder": [ 153 "parameterOrder": [
152 "resource" 154 "resource"
153 ], 155 ],
154 "parameters": { 156 "parameters": {
155 "resource": { 157 "resource": {
156 "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", 158 "description": "Name of the resource for the `Policy ` to clear.",
157 "location": "path", 159 "location": "path",
158 "pattern": "^organizations/[^/]+$", 160 "pattern": "^organizations/[^/]+$",
159 "required": true, 161 "required": true,
160 "type": "string" 162 "type": "string"
161 } 163 }
162 }, 164 },
163 "path": "v1/{+resource}:setIamPolicy", 165 "path": "v1/{+resource}:clearOrgPolicyV1",
164 "request": { 166 "request": {
165 "$ref": "SetIamPolicyRequest" 167 "$ref": "ClearOrgPolicyRequest"
166 }, 168 },
167 "response": { 169 "response": {
168 "$ref": "Policy" 170 "$ref": "Empty"
169 }, 171 },
170 "scopes": [ 172 "scopes": [
171 "https://www.googleapis.com/auth/cloud-platform" 173 "https://www.googleapis.com/auth/cloud-platform"
172 ] 174 ]
173 }, 175 },
174 "testIamPermissions": { 176 "listOrgPolicies": {
175 "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\".", 177 "description": "Lists all the `Policies` set for a particula r resource.",
176 "httpMethod": "POST", 178 "httpMethod": "POST",
177 "id": "cloudresourcemanager.organizations.testIamPermissions ", 179 "id": "cloudresourcemanager.organizations.listOrgPolicies",
178 "parameterOrder": [ 180 "parameterOrder": [
179 "resource" 181 "resource"
180 ], 182 ],
181 "parameters": { 183 "parameters": {
182 "resource": { 184 "resource": {
183 "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appr opriate value for this field.", 185 "description": "Name of the resource to list Policie s for.",
184 "location": "path", 186 "location": "path",
185 "pattern": "^organizations/[^/]+$", 187 "pattern": "^organizations/[^/]+$",
186 "required": true, 188 "required": true,
187 "type": "string" 189 "type": "string"
188 } 190 }
189 }, 191 },
190 "path": "v1/{+resource}:testIamPermissions", 192 "path": "v1/{+resource}:listOrgPolicies",
191 "request": { 193 "request": {
192 "$ref": "TestIamPermissionsRequest" 194 "$ref": "ListOrgPoliciesRequest"
193 }, 195 },
194 "response": { 196 "response": {
195 "$ref": "TestIamPermissionsResponse" 197 "$ref": "ListOrgPoliciesResponse"
196 }, 198 },
197 "scopes": [ 199 "scopes": [
198 "https://www.googleapis.com/auth/cloud-platform", 200 "https://www.googleapis.com/auth/cloud-platform",
199 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
200 ]
201 },
202 "getIamPolicy": {
203 "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\ ".",
204 "httpMethod": "POST",
205 "id": "cloudresourcemanager.organizations.getIamPolicy",
206 "parameterOrder": [
207 "resource"
208 ],
209 "parameters": {
210 "resource": {
211 "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
212 "location": "path",
213 "pattern": "^organizations/[^/]+$",
214 "required": true,
215 "type": "string"
216 }
217 },
218 "path": "v1/{+resource}:getIamPolicy",
219 "request": {
220 "$ref": "GetIamPolicyRequest"
221 },
222 "response": {
223 "$ref": "Policy"
224 },
225 "scopes": [
226 "https://www.googleapis.com/auth/cloud-platform",
227 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 201 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
228 ] 202 ]
229 }, 203 },
230 "search": { 204 "search": {
231 "description": "Searches Organization resources that are vis ible to the user and satisfy\nthe specified filter. This method returns Organiza tions in an unspecified\norder. New Organizations do not necessarily appear at t he end of the\nresults.", 205 "description": "Searches Organization resources that are vis ible to the user and satisfy\nthe specified filter. This method returns Organiza tions in an unspecified\norder. New Organizations do not necessarily appear at t he end of the\nresults.",
232 "httpMethod": "POST", 206 "httpMethod": "POST",
233 "id": "cloudresourcemanager.organizations.search", 207 "id": "cloudresourcemanager.organizations.search",
234 "parameterOrder": [], 208 "parameterOrder": [],
235 "parameters": {}, 209 "parameters": {},
236 "path": "v1/organizations:search", 210 "path": "v1/organizations:search",
237 "request": { 211 "request": {
238 "$ref": "SearchOrganizationsRequest" 212 "$ref": "SearchOrganizationsRequest"
239 }, 213 },
240 "response": { 214 "response": {
241 "$ref": "SearchOrganizationsResponse" 215 "$ref": "SearchOrganizationsResponse"
242 }, 216 },
243 "scopes": [ 217 "scopes": [
244 "https://www.googleapis.com/auth/cloud-platform", 218 "https://www.googleapis.com/auth/cloud-platform",
245 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 219 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
246 ] 220 ]
247 } 221 },
248 } 222 "get": {
249 }, 223 "description": "Fetches an Organization resource identified by the specified resource name.",
250 "liens": {
251 "methods": {
252 "list": {
253 "description": "List all Liens applied to the `parent` resou rce.\n\nCallers of this method will require permission on the `parent` resource. \nFor example, a Lien with a `parent` of `projects/1234` requires permission\n`r esourcemanager.projects.get`.",
254 "httpMethod": "GET", 224 "httpMethod": "GET",
255 "id": "cloudresourcemanager.liens.list", 225 "id": "cloudresourcemanager.organizations.get",
256 "parameterOrder": [], 226 "parameterOrder": [
227 "name"
228 ],
257 "parameters": { 229 "parameters": {
258 "parent": { 230 "name": {
259 "description": "The name of the resource to list all attached Liens.\nFor example, `projects/1234`.", 231 "description": "The resource name of the Organizatio n to fetch, e.g. \"organizations/1234\".",
260 "location": "query", 232 "location": "path",
233 "pattern": "^organizations/[^/]+$",
234 "required": true,
261 "type": "string" 235 "type": "string"
262 },
263 "pageToken": {
264 "description": "The `next_page_token` value returned from a previous List request, if any.",
265 "location": "query",
266 "type": "string"
267 },
268 "pageSize": {
269 "description": "The maximum number of items to retur n. This is a suggestion for the server.",
270 "format": "int32",
271 "location": "query",
272 "type": "integer"
273 } 236 }
274 }, 237 },
275 "path": "v1/liens", 238 "path": "v1/{+name}",
276 "response": { 239 "response": {
277 "$ref": "ListLiensResponse" 240 "$ref": "Organization"
278 }, 241 },
279 "scopes": [ 242 "scopes": [
280 "https://www.googleapis.com/auth/cloud-platform", 243 "https://www.googleapis.com/auth/cloud-platform",
281 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 244 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
282 ] 245 ]
283 }, 246 },
284 "create": { 247 "getEffectiveOrgPolicyV1": {
285 "description": "Create a Lien which applies to the resource denoted by the `parent` field.\n\nCallers of this method will require permission on the `parent` resource.\nFor example, applying to `projects/1234` requires pe rmission\n`resourcemanager.projects.updateLiens`.\n\nNOTE: Some resources may li mit the number of Liens which may be applied.", 248 "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.",
286 "httpMethod": "POST", 249 "httpMethod": "POST",
287 "id": "cloudresourcemanager.liens.create", 250 "id": "cloudresourcemanager.organizations.getEffectiveOrgPol icyV1",
288 "parameterOrder": [], 251 "parameterOrder": [
289 "parameters": {}, 252 "resource"
290 "path": "v1/liens", 253 ],
254 "parameters": {
255 "resource": {
256 "description": "The name of the resource to start co mputing the effective `Policy`.",
257 "location": "path",
258 "pattern": "^organizations/[^/]+$",
259 "required": true,
260 "type": "string"
261 }
262 },
263 "path": "v1/{+resource}:getEffectiveOrgPolicyV1",
291 "request": { 264 "request": {
292 "$ref": "Lien" 265 "$ref": "GetEffectiveOrgPolicyRequest"
293 }, 266 },
294 "response": { 267 "response": {
295 "$ref": "Lien" 268 "$ref": "OrgPolicy"
296 }, 269 },
297 "scopes": [ 270 "scopes": [
298 "https://www.googleapis.com/auth/cloud-platform", 271 "https://www.googleapis.com/auth/cloud-platform",
299 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 272 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
300 ] 273 ]
301 }, 274 },
302 "delete": { 275 "testIamPermissions": {
303 "description": "Delete a Lien by `name`.\n\nCallers of this method will require permission on the `parent` resource.\nFor example, a Lien wi th a `parent` of `projects/1234` requires permission\n`resourcemanager.projects. updateLiens`.", 276 "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\".",
304 "httpMethod": "DELETE", 277 "httpMethod": "POST",
305 "id": "cloudresourcemanager.liens.delete", 278 "id": "cloudresourcemanager.organizations.testIamPermissions ",
306 "parameterOrder": [ 279 "parameterOrder": [
307 "name" 280 "resource"
308 ], 281 ],
309 "parameters": { 282 "parameters": {
310 "name": { 283 "resource": {
311 "description": "The name/identifier of the Lien to d elete.", 284 "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appr opriate value for this field.",
312 "location": "path", 285 "location": "path",
313 "pattern": "^liens/.+$", 286 "pattern": "^organizations/[^/]+$",
314 "required": true, 287 "required": true,
315 "type": "string" 288 "type": "string"
316 } 289 }
317 }, 290 },
318 "path": "v1/{+name}", 291 "path": "v1/{+resource}:testIamPermissions",
292 "request": {
293 "$ref": "TestIamPermissionsRequest"
294 },
319 "response": { 295 "response": {
320 "$ref": "Empty" 296 "$ref": "TestIamPermissionsResponse"
321 },
322 "scopes": [
323 "https://www.googleapis.com/auth/cloud-platform",
324 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
325 ]
326 }
327 }
328 },
329 "operations": {
330 "methods": {
331 "get": {
332 "description": "Gets the latest state of a long-running oper ation. Clients can use this\nmethod to poll the operation result at intervals a s recommended by the API\nservice.",
333 "httpMethod": "GET",
334 "id": "cloudresourcemanager.operations.get",
335 "parameterOrder": [
336 "name"
337 ],
338 "parameters": {
339 "name": {
340 "description": "The name of the operation resource." ,
341 "location": "path",
342 "pattern": "^operations/.+$",
343 "required": true,
344 "type": "string"
345 }
346 },
347 "path": "v1/{+name}",
348 "response": {
349 "$ref": "Operation"
350 },
351 "scopes": [
352 "https://www.googleapis.com/auth/cloud-platform",
353 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
354 ]
355 }
356 }
357 },
358 "projects": {
359 "methods": {
360 "list": {
361 "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.",
362 "httpMethod": "GET",
363 "id": "cloudresourcemanager.projects.list",
364 "parameterOrder": [],
365 "parameters": {
366 "filter": {
367 "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\nvalue `re d` and its label `size` has the value `big`.\n\nOptional.",
368 "location": "query",
369 "type": "string"
370 },
371 "pageToken": {
372 "description": "A pagination token returned from a p revious call to ListProjects\nthat indicates from where listing should continue. \n\nOptional.",
373 "location": "query",
374 "type": "string"
375 },
376 "pageSize": {
377 "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.",
378 "format": "int32",
379 "location": "query",
380 "type": "integer"
381 }
382 },
383 "path": "v1/projects",
384 "response": {
385 "$ref": "ListProjectsResponse"
386 }, 297 },
387 "scopes": [ 298 "scopes": [
388 "https://www.googleapis.com/auth/cloud-platform", 299 "https://www.googleapis.com/auth/cloud-platform",
389 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 300 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
390 ] 301 ]
391 }, 302 },
392 "setIamPolicy": { 303 "clearOrgPolicy": {
393 "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()`;\nthey must be sent only usi ng the Cloud Platform Console.\n\n+ Membership changes that leave the project wi thout 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 ( ToS) agreement in the policy. Calling `setIamPolicy()` to\nto remove the last To S-accepted owner from the policy will fail. This\nrestriction also applies to le gacy projects that no longer have owners\nwho have accepted the ToS. Edits to IA M policies will be rejected until\nthe lack of a ToS-accepting owner is rectifie d.\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 ser vices completely inoperable. It is important to understand\nhow the service acco unt is being used before removing or updating its\nroles.", 304 "description": "Clears a `Policy` from a resource.",
394 "httpMethod": "POST", 305 "httpMethod": "POST",
395 "id": "cloudresourcemanager.projects.setIamPolicy", 306 "id": "cloudresourcemanager.organizations.clearOrgPolicy",
396 "parameterOrder": [ 307 "parameterOrder": [
397 "resource" 308 "resource"
398 ], 309 ],
310 "parameters": {
311 "resource": {
312 "description": "Name of the resource for the `Policy ` to clear.",
313 "location": "path",
314 "pattern": "^organizations/[^/]+$",
315 "required": true,
316 "type": "string"
317 }
318 },
319 "path": "v1/{+resource}:clearOrgPolicy",
320 "request": {
321 "$ref": "ClearOrgPolicyRequest"
322 },
323 "response": {
324 "$ref": "Empty"
325 },
326 "scopes": [
327 "https://www.googleapis.com/auth/cloud-platform"
328 ]
329 },
330 "setIamPolicy": {
331 "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\".",
332 "httpMethod": "POST",
333 "id": "cloudresourcemanager.organizations.setIamPolicy",
334 "parameterOrder": [
335 "resource"
336 ],
399 "parameters": { 337 "parameters": {
400 "resource": { 338 "resource": {
401 "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", 339 "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
402 "location": "path", 340 "location": "path",
341 "pattern": "^organizations/[^/]+$",
403 "required": true, 342 "required": true,
404 "type": "string" 343 "type": "string"
405 } 344 }
406 }, 345 },
407 "path": "v1/projects/{resource}:setIamPolicy", 346 "path": "v1/{+resource}:setIamPolicy",
408 "request": { 347 "request": {
409 "$ref": "SetIamPolicyRequest" 348 "$ref": "SetIamPolicyRequest"
410 }, 349 },
411 "response": { 350 "response": {
412 "$ref": "Policy" 351 "$ref": "Policy"
413 }, 352 },
414 "scopes": [ 353 "scopes": [
415 "https://www.googleapis.com/auth/cloud-platform" 354 "https://www.googleapis.com/auth/cloud-platform"
416 ] 355 ]
417 }, 356 },
357 "listAvailableOrgPolicyConstraints": {
358 "description": "Lists `Constraints` that could be applied on the specified resource.",
359 "httpMethod": "POST",
360 "id": "cloudresourcemanager.organizations.listAvailableOrgPo licyConstraints",
361 "parameterOrder": [
362 "resource"
363 ],
364 "parameters": {
365 "resource": {
366 "description": "Name of the resource to list `Constr aints` for.",
367 "location": "path",
368 "pattern": "^organizations/[^/]+$",
369 "required": true,
370 "type": "string"
371 }
372 },
373 "path": "v1/{+resource}:listAvailableOrgPolicyConstraints",
374 "request": {
375 "$ref": "ListAvailableOrgPolicyConstraintsRequest"
376 },
377 "response": {
378 "$ref": "ListAvailableOrgPolicyConstraintsResponse"
379 },
380 "scopes": [
381 "https://www.googleapis.com/auth/cloud-platform",
382 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
383 ]
384 },
385 "getIamPolicy": {
386 "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\ ".",
387 "httpMethod": "POST",
388 "id": "cloudresourcemanager.organizations.getIamPolicy",
389 "parameterOrder": [
390 "resource"
391 ],
392 "parameters": {
393 "resource": {
394 "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
395 "location": "path",
396 "pattern": "^organizations/[^/]+$",
397 "required": true,
398 "type": "string"
399 }
400 },
401 "path": "v1/{+resource}:getIamPolicy",
402 "request": {
403 "$ref": "GetIamPolicyRequest"
404 },
405 "response": {
406 "$ref": "Policy"
407 },
408 "scopes": [
409 "https://www.googleapis.com/auth/cloud-platform",
410 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
411 ]
412 },
413 "getOrgPolicy": {
414 "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.",
415 "httpMethod": "POST",
416 "id": "cloudresourcemanager.organizations.getOrgPolicy",
417 "parameterOrder": [
418 "resource"
419 ],
420 "parameters": {
421 "resource": {
422 "description": "Name of the resource the `Policy` is set on.",
423 "location": "path",
424 "pattern": "^organizations/[^/]+$",
425 "required": true,
426 "type": "string"
427 }
428 },
429 "path": "v1/{+resource}:getOrgPolicy",
430 "request": {
431 "$ref": "GetOrgPolicyRequest"
432 },
433 "response": {
434 "$ref": "OrgPolicy"
435 },
436 "scopes": [
437 "https://www.googleapis.com/auth/cloud-platform",
438 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
439 ]
440 },
441 "getEffectiveOrgPolicy": {
442 "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.",
443 "httpMethod": "POST",
444 "id": "cloudresourcemanager.organizations.getEffectiveOrgPol icy",
445 "parameterOrder": [
446 "resource"
447 ],
448 "parameters": {
449 "resource": {
450 "description": "The name of the resource to start co mputing the effective `Policy`.",
451 "location": "path",
452 "pattern": "^organizations/[^/]+$",
453 "required": true,
454 "type": "string"
455 }
456 },
457 "path": "v1/{+resource}:getEffectiveOrgPolicy",
458 "request": {
459 "$ref": "GetEffectiveOrgPolicyRequest"
460 },
461 "response": {
462 "$ref": "OrgPolicy"
463 },
464 "scopes": [
465 "https://www.googleapis.com/auth/cloud-platform",
466 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
467 ]
468 },
469 "getOrgPolicyV1": {
470 "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.",
471 "httpMethod": "POST",
472 "id": "cloudresourcemanager.organizations.getOrgPolicyV1",
473 "parameterOrder": [
474 "resource"
475 ],
476 "parameters": {
477 "resource": {
478 "description": "Name of the resource the `Policy` is set on.",
479 "location": "path",
480 "pattern": "^organizations/[^/]+$",
481 "required": true,
482 "type": "string"
483 }
484 },
485 "path": "v1/{+resource}:getOrgPolicyV1",
486 "request": {
487 "$ref": "GetOrgPolicyRequest"
488 },
489 "response": {
490 "$ref": "OrgPolicy"
491 },
492 "scopes": [
493 "https://www.googleapis.com/auth/cloud-platform",
494 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
495 ]
496 },
497 "setOrgPolicyV1": {
498 "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`.",
499 "httpMethod": "POST",
500 "id": "cloudresourcemanager.organizations.setOrgPolicyV1",
501 "parameterOrder": [
502 "resource"
503 ],
504 "parameters": {
505 "resource": {
506 "description": "Resource name of the resource to att ach the `Policy`.",
507 "location": "path",
508 "pattern": "^organizations/[^/]+$",
509 "required": true,
510 "type": "string"
511 }
512 },
513 "path": "v1/{+resource}:setOrgPolicyV1",
514 "request": {
515 "$ref": "SetOrgPolicyRequest"
516 },
517 "response": {
518 "$ref": "OrgPolicy"
519 },
520 "scopes": [
521 "https://www.googleapis.com/auth/cloud-platform"
522 ]
523 }
524 }
525 },
526 "liens": {
527 "methods": {
528 "delete": {
529 "description": "Delete a Lien by `name`.\n\nCallers of this method will require permission on the `parent` resource.\nFor example, a Lien wi th a `parent` of `projects/1234` requires permission\n`resourcemanager.projects. updateLiens`.",
530 "httpMethod": "DELETE",
531 "id": "cloudresourcemanager.liens.delete",
532 "parameterOrder": [
533 "name"
534 ],
535 "parameters": {
536 "name": {
537 "description": "The name/identifier of the Lien to d elete.",
538 "location": "path",
539 "pattern": "^liens/.+$",
540 "required": true,
541 "type": "string"
542 }
543 },
544 "path": "v1/{+name}",
545 "response": {
546 "$ref": "Empty"
547 },
548 "scopes": [
549 "https://www.googleapis.com/auth/cloud-platform",
550 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
551 ]
552 },
553 "list": {
554 "description": "List all Liens applied to the `parent` resou rce.\n\nCallers of this method will require permission on the `parent` resource. \nFor example, a Lien with a `parent` of `projects/1234` requires permission\n`r esourcemanager.projects.get`.",
555 "httpMethod": "GET",
556 "id": "cloudresourcemanager.liens.list",
557 "parameterOrder": [],
558 "parameters": {
559 "parent": {
560 "description": "The name of the resource to list all attached Liens.\nFor example, `projects/1234`.",
561 "location": "query",
562 "type": "string"
563 },
564 "pageToken": {
565 "description": "The `next_page_token` value returned from a previous List request, if any.",
566 "location": "query",
567 "type": "string"
568 },
569 "pageSize": {
570 "description": "The maximum number of items to retur n. This is a suggestion for the server.",
571 "format": "int32",
572 "location": "query",
573 "type": "integer"
574 }
575 },
576 "path": "v1/liens",
577 "response": {
578 "$ref": "ListLiensResponse"
579 },
580 "scopes": [
581 "https://www.googleapis.com/auth/cloud-platform",
582 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
583 ]
584 },
585 "create": {
586 "description": "Create a Lien which applies to the resource denoted by the `parent` field.\n\nCallers of this method will require permission on the `parent` resource.\nFor example, applying to `projects/1234` requires pe rmission\n`resourcemanager.projects.updateLiens`.\n\nNOTE: Some resources may li mit the number of Liens which may be applied.",
587 "httpMethod": "POST",
588 "id": "cloudresourcemanager.liens.create",
589 "parameterOrder": [],
590 "parameters": {},
591 "path": "v1/liens",
592 "request": {
593 "$ref": "Lien"
594 },
595 "response": {
596 "$ref": "Lien"
597 },
598 "scopes": [
599 "https://www.googleapis.com/auth/cloud-platform",
600 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
601 ]
602 }
603 }
604 },
605 "operations": {
606 "methods": {
607 "get": {
608 "description": "Gets the latest state of a long-running oper ation. Clients can use this\nmethod to poll the operation result at intervals a s recommended by the API\nservice.",
609 "httpMethod": "GET",
610 "id": "cloudresourcemanager.operations.get",
611 "parameterOrder": [
612 "name"
613 ],
614 "parameters": {
615 "name": {
616 "description": "The name of the operation resource." ,
617 "location": "path",
618 "pattern": "^operations/.+$",
619 "required": true,
620 "type": "string"
621 }
622 },
623 "path": "v1/{+name}",
624 "response": {
625 "$ref": "Operation"
626 },
627 "scopes": [
628 "https://www.googleapis.com/auth/cloud-platform",
629 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
630 ]
631 }
632 }
633 },
634 "folders": {
635 "methods": {
636 "clearOrgPolicy": {
637 "description": "Clears a `Policy` from a resource.",
638 "httpMethod": "POST",
639 "id": "cloudresourcemanager.folders.clearOrgPolicy",
640 "parameterOrder": [
641 "resource"
642 ],
643 "parameters": {
644 "resource": {
645 "description": "Name of the resource for the `Policy ` to clear.",
646 "location": "path",
647 "pattern": "^folders/[^/]+$",
648 "required": true,
649 "type": "string"
650 }
651 },
652 "path": "v1/{+resource}:clearOrgPolicy",
653 "request": {
654 "$ref": "ClearOrgPolicyRequest"
655 },
656 "response": {
657 "$ref": "Empty"
658 },
659 "scopes": [
660 "https://www.googleapis.com/auth/cloud-platform"
661 ]
662 },
663 "setOrgPolicy": {
664 "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`.",
665 "httpMethod": "POST",
666 "id": "cloudresourcemanager.folders.setOrgPolicy",
667 "parameterOrder": [
668 "resource"
669 ],
670 "parameters": {
671 "resource": {
672 "description": "Resource name of the resource to att ach the `Policy`.",
673 "location": "path",
674 "pattern": "^folders/[^/]+$",
675 "required": true,
676 "type": "string"
677 }
678 },
679 "path": "v1/{+resource}:setOrgPolicy",
680 "request": {
681 "$ref": "SetOrgPolicyRequest"
682 },
683 "response": {
684 "$ref": "OrgPolicy"
685 },
686 "scopes": [
687 "https://www.googleapis.com/auth/cloud-platform"
688 ]
689 },
690 "clearOrgPolicyV1": {
691 "description": "Clears a `Policy` from a resource.",
692 "httpMethod": "POST",
693 "id": "cloudresourcemanager.folders.clearOrgPolicyV1",
694 "parameterOrder": [
695 "resource"
696 ],
697 "parameters": {
698 "resource": {
699 "description": "Name of the resource for the `Policy ` to clear.",
700 "location": "path",
701 "pattern": "^folders/[^/]+$",
702 "required": true,
703 "type": "string"
704 }
705 },
706 "path": "v1/{+resource}:clearOrgPolicyV1",
707 "request": {
708 "$ref": "ClearOrgPolicyRequest"
709 },
710 "response": {
711 "$ref": "Empty"
712 },
713 "scopes": [
714 "https://www.googleapis.com/auth/cloud-platform"
715 ]
716 },
717 "listAvailableOrgPolicyConstraints": {
718 "description": "Lists `Constraints` that could be applied on the specified resource.",
719 "httpMethod": "POST",
720 "id": "cloudresourcemanager.folders.listAvailableOrgPolicyCo nstraints",
721 "parameterOrder": [
722 "resource"
723 ],
724 "parameters": {
725 "resource": {
726 "description": "Name of the resource to list `Constr aints` for.",
727 "location": "path",
728 "pattern": "^folders/[^/]+$",
729 "required": true,
730 "type": "string"
731 }
732 },
733 "path": "v1/{+resource}:listAvailableOrgPolicyConstraints",
734 "request": {
735 "$ref": "ListAvailableOrgPolicyConstraintsRequest"
736 },
737 "response": {
738 "$ref": "ListAvailableOrgPolicyConstraintsResponse"
739 },
740 "scopes": [
741 "https://www.googleapis.com/auth/cloud-platform",
742 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
743 ]
744 },
745 "listOrgPolicies": {
746 "description": "Lists all the `Policies` set for a particula r resource.",
747 "httpMethod": "POST",
748 "id": "cloudresourcemanager.folders.listOrgPolicies",
749 "parameterOrder": [
750 "resource"
751 ],
752 "parameters": {
753 "resource": {
754 "description": "Name of the resource to list Policie s for.",
755 "location": "path",
756 "pattern": "^folders/[^/]+$",
757 "required": true,
758 "type": "string"
759 }
760 },
761 "path": "v1/{+resource}:listOrgPolicies",
762 "request": {
763 "$ref": "ListOrgPoliciesRequest"
764 },
765 "response": {
766 "$ref": "ListOrgPoliciesResponse"
767 },
768 "scopes": [
769 "https://www.googleapis.com/auth/cloud-platform",
770 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
771 ]
772 },
773 "getOrgPolicy": {
774 "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.",
775 "httpMethod": "POST",
776 "id": "cloudresourcemanager.folders.getOrgPolicy",
777 "parameterOrder": [
778 "resource"
779 ],
780 "parameters": {
781 "resource": {
782 "description": "Name of the resource the `Policy` is set on.",
783 "location": "path",
784 "pattern": "^folders/[^/]+$",
785 "required": true,
786 "type": "string"
787 }
788 },
789 "path": "v1/{+resource}:getOrgPolicy",
790 "request": {
791 "$ref": "GetOrgPolicyRequest"
792 },
793 "response": {
794 "$ref": "OrgPolicy"
795 },
796 "scopes": [
797 "https://www.googleapis.com/auth/cloud-platform",
798 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
799 ]
800 },
801 "getOrgPolicyV1": {
802 "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.",
803 "httpMethod": "POST",
804 "id": "cloudresourcemanager.folders.getOrgPolicyV1",
805 "parameterOrder": [
806 "resource"
807 ],
808 "parameters": {
809 "resource": {
810 "description": "Name of the resource the `Policy` is set on.",
811 "location": "path",
812 "pattern": "^folders/[^/]+$",
813 "required": true,
814 "type": "string"
815 }
816 },
817 "path": "v1/{+resource}:getOrgPolicyV1",
818 "request": {
819 "$ref": "GetOrgPolicyRequest"
820 },
821 "response": {
822 "$ref": "OrgPolicy"
823 },
824 "scopes": [
825 "https://www.googleapis.com/auth/cloud-platform",
826 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
827 ]
828 },
829 "getEffectiveOrgPolicy": {
830 "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.",
831 "httpMethod": "POST",
832 "id": "cloudresourcemanager.folders.getEffectiveOrgPolicy",
833 "parameterOrder": [
834 "resource"
835 ],
836 "parameters": {
837 "resource": {
838 "description": "The name of the resource to start co mputing the effective `Policy`.",
839 "location": "path",
840 "pattern": "^folders/[^/]+$",
841 "required": true,
842 "type": "string"
843 }
844 },
845 "path": "v1/{+resource}:getEffectiveOrgPolicy",
846 "request": {
847 "$ref": "GetEffectiveOrgPolicyRequest"
848 },
849 "response": {
850 "$ref": "OrgPolicy"
851 },
852 "scopes": [
853 "https://www.googleapis.com/auth/cloud-platform",
854 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
855 ]
856 },
857 "getEffectiveOrgPolicyV1": {
858 "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.",
859 "httpMethod": "POST",
860 "id": "cloudresourcemanager.folders.getEffectiveOrgPolicyV1" ,
861 "parameterOrder": [
862 "resource"
863 ],
864 "parameters": {
865 "resource": {
866 "description": "The name of the resource to start co mputing the effective `Policy`.",
867 "location": "path",
868 "pattern": "^folders/[^/]+$",
869 "required": true,
870 "type": "string"
871 }
872 },
873 "path": "v1/{+resource}:getEffectiveOrgPolicyV1",
874 "request": {
875 "$ref": "GetEffectiveOrgPolicyRequest"
876 },
877 "response": {
878 "$ref": "OrgPolicy"
879 },
880 "scopes": [
881 "https://www.googleapis.com/auth/cloud-platform",
882 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
883 ]
884 },
885 "setOrgPolicyV1": {
886 "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`.",
887 "httpMethod": "POST",
888 "id": "cloudresourcemanager.folders.setOrgPolicyV1",
889 "parameterOrder": [
890 "resource"
891 ],
892 "parameters": {
893 "resource": {
894 "description": "Resource name of the resource to att ach the `Policy`.",
895 "location": "path",
896 "pattern": "^folders/[^/]+$",
897 "required": true,
898 "type": "string"
899 }
900 },
901 "path": "v1/{+resource}:setOrgPolicyV1",
902 "request": {
903 "$ref": "SetOrgPolicyRequest"
904 },
905 "response": {
906 "$ref": "OrgPolicy"
907 },
908 "scopes": [
909 "https://www.googleapis.com/auth/cloud-platform"
910 ]
911 }
912 }
913 },
914 "projects": {
915 "methods": {
916 "getOrgPolicyV1": {
917 "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.",
918 "httpMethod": "POST",
919 "id": "cloudresourcemanager.projects.getOrgPolicyV1",
920 "parameterOrder": [
921 "resource"
922 ],
923 "parameters": {
924 "resource": {
925 "description": "Name of the resource the `Policy` is set on.",
926 "location": "path",
927 "pattern": "^projects/[^/]+$",
928 "required": true,
929 "type": "string"
930 }
931 },
932 "path": "v1/{+resource}:getOrgPolicyV1",
933 "request": {
934 "$ref": "GetOrgPolicyRequest"
935 },
936 "response": {
937 "$ref": "OrgPolicy"
938 },
939 "scopes": [
940 "https://www.googleapis.com/auth/cloud-platform",
941 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
942 ]
943 },
944 "undelete": {
945 "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.",
946 "httpMethod": "POST",
947 "id": "cloudresourcemanager.projects.undelete",
948 "parameterOrder": [
949 "projectId"
950 ],
951 "parameters": {
952 "projectId": {
953 "description": "The project ID (for example, `foo-ba r-123`).\n\nRequired.",
954 "location": "path",
955 "required": true,
956 "type": "string"
957 }
958 },
959 "path": "v1/projects/{projectId}:undelete",
960 "request": {
961 "$ref": "UndeleteProjectRequest"
962 },
963 "response": {
964 "$ref": "Empty"
965 },
966 "scopes": [
967 "https://www.googleapis.com/auth/cloud-platform"
968 ]
969 },
970 "getEffectiveOrgPolicy": {
971 "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.",
972 "httpMethod": "POST",
973 "id": "cloudresourcemanager.projects.getEffectiveOrgPolicy",
974 "parameterOrder": [
975 "resource"
976 ],
977 "parameters": {
978 "resource": {
979 "description": "The name of the resource to start co mputing the effective `Policy`.",
980 "location": "path",
981 "pattern": "^projects/[^/]+$",
982 "required": true,
983 "type": "string"
984 }
985 },
986 "path": "v1/{+resource}:getEffectiveOrgPolicy",
987 "request": {
988 "$ref": "GetEffectiveOrgPolicyRequest"
989 },
990 "response": {
991 "$ref": "OrgPolicy"
992 },
993 "scopes": [
994 "https://www.googleapis.com/auth/cloud-platform",
995 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
996 ]
997 },
998 "update": {
999 "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.",
1000 "httpMethod": "PUT",
1001 "id": "cloudresourcemanager.projects.update",
1002 "parameterOrder": [
1003 "projectId"
1004 ],
1005 "parameters": {
1006 "projectId": {
1007 "description": "The project ID (for example, `my-pro ject-123`).\n\nRequired.",
1008 "location": "path",
1009 "required": true,
1010 "type": "string"
1011 }
1012 },
1013 "path": "v1/projects/{projectId}",
1014 "request": {
1015 "$ref": "Project"
1016 },
1017 "response": {
1018 "$ref": "Project"
1019 },
1020 "scopes": [
1021 "https://www.googleapis.com/auth/cloud-platform"
1022 ]
1023 },
1024 "setOrgPolicyV1": {
1025 "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`.",
1026 "httpMethod": "POST",
1027 "id": "cloudresourcemanager.projects.setOrgPolicyV1",
1028 "parameterOrder": [
1029 "resource"
1030 ],
1031 "parameters": {
1032 "resource": {
1033 "description": "Resource name of the resource to att ach the `Policy`.",
1034 "location": "path",
1035 "pattern": "^projects/[^/]+$",
1036 "required": true,
1037 "type": "string"
1038 }
1039 },
1040 "path": "v1/{+resource}:setOrgPolicyV1",
1041 "request": {
1042 "$ref": "SetOrgPolicyRequest"
1043 },
1044 "response": {
1045 "$ref": "OrgPolicy"
1046 },
1047 "scopes": [
1048 "https://www.googleapis.com/auth/cloud-platform"
1049 ]
1050 },
1051 "list": {
1052 "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.",
1053 "httpMethod": "GET",
1054 "id": "cloudresourcemanager.projects.list",
1055 "parameterOrder": [],
1056 "parameters": {
1057 "filter": {
1058 "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\nvalue `r ed` and its label `size` has the value `big`.\n\nOptional.",
1059 "location": "query",
1060 "type": "string"
1061 },
1062 "pageToken": {
1063 "description": "A pagination token returned from a p revious call to ListProjects\nthat indicates from where listing should continue. \n\nOptional.",
1064 "location": "query",
1065 "type": "string"
1066 },
1067 "pageSize": {
1068 "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.",
1069 "format": "int32",
1070 "location": "query",
1071 "type": "integer"
1072 }
1073 },
1074 "path": "v1/projects",
1075 "response": {
1076 "$ref": "ListProjectsResponse"
1077 },
1078 "scopes": [
1079 "https://www.googleapis.com/auth/cloud-platform",
1080 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
1081 ]
1082 },
1083 "setOrgPolicy": {
1084 "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`.",
1085 "httpMethod": "POST",
1086 "id": "cloudresourcemanager.projects.setOrgPolicy",
1087 "parameterOrder": [
1088 "resource"
1089 ],
1090 "parameters": {
1091 "resource": {
1092 "description": "Resource name of the resource to att ach the `Policy`.",
1093 "location": "path",
1094 "pattern": "^projects/[^/]+$",
1095 "required": true,
1096 "type": "string"
1097 }
1098 },
1099 "path": "v1/{+resource}:setOrgPolicy",
1100 "request": {
1101 "$ref": "SetOrgPolicyRequest"
1102 },
1103 "response": {
1104 "$ref": "OrgPolicy"
1105 },
1106 "scopes": [
1107 "https://www.googleapis.com/auth/cloud-platform"
1108 ]
1109 },
1110 "clearOrgPolicyV1": {
1111 "description": "Clears a `Policy` from a resource.",
1112 "httpMethod": "POST",
1113 "id": "cloudresourcemanager.projects.clearOrgPolicyV1",
1114 "parameterOrder": [
1115 "resource"
1116 ],
1117 "parameters": {
1118 "resource": {
1119 "description": "Name of the resource for the `Policy ` to clear.",
1120 "location": "path",
1121 "pattern": "^projects/[^/]+$",
1122 "required": true,
1123 "type": "string"
1124 }
1125 },
1126 "path": "v1/{+resource}:clearOrgPolicyV1",
1127 "request": {
1128 "$ref": "ClearOrgPolicyRequest"
1129 },
1130 "response": {
1131 "$ref": "Empty"
1132 },
1133 "scopes": [
1134 "https://www.googleapis.com/auth/cloud-platform"
1135 ]
1136 },
418 "create": { 1137 "create": {
419 "description": "Request that a new Project be created. The r esult is an Operation which\ncan be used to track the creation process. It is au tomatically deleted\nafter a few hours, so there is no need to call DeleteOperat ion.\n\nOur SLO permits Project creation to take up to 30 seconds at the 90th\np ercentile. As of 2016-08-29, we are observing 6 seconds 50th percentile\nlatency . 95th percentile latency is around 11 seconds. We recommend\npolling at the 5th second with an exponential backoff.", 1138 "description": "Request that a new Project be created. The r esult is an Operation which\ncan be used to track the creation process. It is au tomatically deleted\nafter a few hours, so there is no need to call DeleteOperat ion.\n\nOur SLO permits Project creation to take up to 30 seconds at the 90th\np ercentile. As of 2016-08-29, we are observing 6 seconds 50th percentile\nlatency . 95th percentile latency is around 11 seconds. We recommend\npolling at the 5th second with an exponential backoff.",
420 "httpMethod": "POST", 1139 "httpMethod": "POST",
421 "id": "cloudresourcemanager.projects.create", 1140 "id": "cloudresourcemanager.projects.create",
422 "parameterOrder": [], 1141 "parameterOrder": [],
423 "parameters": {}, 1142 "parameters": {},
424 "path": "v1/projects", 1143 "path": "v1/projects",
425 "request": { 1144 "request": {
426 "$ref": "Project" 1145 "$ref": "Project"
427 }, 1146 },
428 "response": { 1147 "response": {
429 "$ref": "Operation" 1148 "$ref": "Operation"
430 }, 1149 },
431 "scopes": [ 1150 "scopes": [
432 "https://www.googleapis.com/auth/cloud-platform" 1151 "https://www.googleapis.com/auth/cloud-platform"
433 ] 1152 ]
434 }, 1153 },
435 "getIamPolicy": { 1154 "listOrgPolicies": {
436 "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.", 1155 "description": "Lists all the `Policies` set for a particula r resource.",
437 "httpMethod": "POST", 1156 "httpMethod": "POST",
438 "id": "cloudresourcemanager.projects.getIamPolicy", 1157 "id": "cloudresourcemanager.projects.listOrgPolicies",
439 "parameterOrder": [ 1158 "parameterOrder": [
440 "resource" 1159 "resource"
441 ], 1160 ],
442 "parameters": { 1161 "parameters": {
443 "resource": { 1162 "resource": {
444 "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", 1163 "description": "Name of the resource to list Policie s for.",
445 "location": "path", 1164 "location": "path",
446 "required": true, 1165 "pattern": "^projects/[^/]+$",
447 "type": "string" 1166 "required": true,
448 } 1167 "type": "string"
449 }, 1168 }
450 "path": "v1/projects/{resource}:getIamPolicy", 1169 },
451 "request": { 1170 "path": "v1/{+resource}:listOrgPolicies",
452 "$ref": "GetIamPolicyRequest" 1171 "request": {
453 }, 1172 "$ref": "ListOrgPoliciesRequest"
454 "response": { 1173 },
455 "$ref": "Policy" 1174 "response": {
1175 "$ref": "ListOrgPoliciesResponse"
456 }, 1176 },
457 "scopes": [ 1177 "scopes": [
458 "https://www.googleapis.com/auth/cloud-platform", 1178 "https://www.googleapis.com/auth/cloud-platform",
459 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 1179 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
460 ] 1180 ]
461 }, 1181 },
462 "get": { 1182 "get": {
463 "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.", 1183 "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.",
464 "httpMethod": "GET", 1184 "httpMethod": "GET",
465 "id": "cloudresourcemanager.projects.get", 1185 "id": "cloudresourcemanager.projects.get",
(...skipping 10 matching lines...) Expand all
476 }, 1196 },
477 "path": "v1/projects/{projectId}", 1197 "path": "v1/projects/{projectId}",
478 "response": { 1198 "response": {
479 "$ref": "Project" 1199 "$ref": "Project"
480 }, 1200 },
481 "scopes": [ 1201 "scopes": [
482 "https://www.googleapis.com/auth/cloud-platform", 1202 "https://www.googleapis.com/auth/cloud-platform",
483 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 1203 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
484 ] 1204 ]
485 }, 1205 },
486 "undelete": {
487 "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.",
488 "httpMethod": "POST",
489 "id": "cloudresourcemanager.projects.undelete",
490 "parameterOrder": [
491 "projectId"
492 ],
493 "parameters": {
494 "projectId": {
495 "description": "The project ID (for example, `foo-ba r-123`).\n\nRequired.",
496 "location": "path",
497 "required": true,
498 "type": "string"
499 }
500 },
501 "path": "v1/projects/{projectId}:undelete",
502 "request": {
503 "$ref": "UndeleteProjectRequest"
504 },
505 "response": {
506 "$ref": "Empty"
507 },
508 "scopes": [
509 "https://www.googleapis.com/auth/cloud-platform"
510 ]
511 },
512 "update": {
513 "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.",
514 "httpMethod": "PUT",
515 "id": "cloudresourcemanager.projects.update",
516 "parameterOrder": [
517 "projectId"
518 ],
519 "parameters": {
520 "projectId": {
521 "description": "The project ID (for example, `my-pro ject-123`).\n\nRequired.",
522 "location": "path",
523 "required": true,
524 "type": "string"
525 }
526 },
527 "path": "v1/projects/{projectId}",
528 "request": {
529 "$ref": "Project"
530 },
531 "response": {
532 "$ref": "Project"
533 },
534 "scopes": [
535 "https://www.googleapis.com/auth/cloud-platform"
536 ]
537 },
538 "getAncestry": { 1206 "getAncestry": {
539 "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.", 1207 "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.",
540 "httpMethod": "POST", 1208 "httpMethod": "POST",
541 "id": "cloudresourcemanager.projects.getAncestry", 1209 "id": "cloudresourcemanager.projects.getAncestry",
542 "parameterOrder": [ 1210 "parameterOrder": [
543 "projectId" 1211 "projectId"
544 ], 1212 ],
545 "parameters": { 1213 "parameters": {
546 "projectId": { 1214 "projectId": {
547 "description": "The Project ID (for example, `my-pro ject-123`).\n\nRequired.", 1215 "description": "The Project ID (for example, `my-pro ject-123`).\n\nRequired.",
548 "location": "path", 1216 "location": "path",
549 "required": true, 1217 "required": true,
550 "type": "string" 1218 "type": "string"
551 } 1219 }
552 }, 1220 },
553 "path": "v1/projects/{projectId}:getAncestry", 1221 "path": "v1/projects/{projectId}:getAncestry",
554 "request": { 1222 "request": {
555 "$ref": "GetAncestryRequest" 1223 "$ref": "GetAncestryRequest"
556 }, 1224 },
557 "response": { 1225 "response": {
558 "$ref": "GetAncestryResponse" 1226 "$ref": "GetAncestryResponse"
559 }, 1227 },
560 "scopes": [ 1228 "scopes": [
561 "https://www.googleapis.com/auth/cloud-platform", 1229 "https://www.googleapis.com/auth/cloud-platform",
562 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 1230 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
563 ] 1231 ]
564 }, 1232 },
1233 "getEffectiveOrgPolicyV1": {
1234 "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.",
1235 "httpMethod": "POST",
1236 "id": "cloudresourcemanager.projects.getEffectiveOrgPolicyV1 ",
1237 "parameterOrder": [
1238 "resource"
1239 ],
1240 "parameters": {
1241 "resource": {
1242 "description": "The name of the resource to start co mputing the effective `Policy`.",
1243 "location": "path",
1244 "pattern": "^projects/[^/]+$",
1245 "required": true,
1246 "type": "string"
1247 }
1248 },
1249 "path": "v1/{+resource}:getEffectiveOrgPolicyV1",
1250 "request": {
1251 "$ref": "GetEffectiveOrgPolicyRequest"
1252 },
1253 "response": {
1254 "$ref": "OrgPolicy"
1255 },
1256 "scopes": [
1257 "https://www.googleapis.com/auth/cloud-platform",
1258 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
1259 ]
1260 },
565 "testIamPermissions": { 1261 "testIamPermissions": {
566 "description": "Returns permissions that a caller has on the specified Project.", 1262 "description": "Returns permissions that a caller has on the specified Project.",
567 "httpMethod": "POST", 1263 "httpMethod": "POST",
568 "id": "cloudresourcemanager.projects.testIamPermissions", 1264 "id": "cloudresourcemanager.projects.testIamPermissions",
569 "parameterOrder": [ 1265 "parameterOrder": [
570 "resource" 1266 "resource"
571 ], 1267 ],
572 "parameters": { 1268 "parameters": {
573 "resource": { 1269 "resource": {
574 "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appr opriate value for this field.", 1270 "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appr opriate value for this field.",
(...skipping 29 matching lines...) Expand all
604 "type": "string" 1300 "type": "string"
605 } 1301 }
606 }, 1302 },
607 "path": "v1/projects/{projectId}", 1303 "path": "v1/projects/{projectId}",
608 "response": { 1304 "response": {
609 "$ref": "Empty" 1305 "$ref": "Empty"
610 }, 1306 },
611 "scopes": [ 1307 "scopes": [
612 "https://www.googleapis.com/auth/cloud-platform" 1308 "https://www.googleapis.com/auth/cloud-platform"
613 ] 1309 ]
1310 },
1311 "clearOrgPolicy": {
1312 "description": "Clears a `Policy` from a resource.",
1313 "httpMethod": "POST",
1314 "id": "cloudresourcemanager.projects.clearOrgPolicy",
1315 "parameterOrder": [
1316 "resource"
1317 ],
1318 "parameters": {
1319 "resource": {
1320 "description": "Name of the resource for the `Policy ` to clear.",
1321 "location": "path",
1322 "pattern": "^projects/[^/]+$",
1323 "required": true,
1324 "type": "string"
1325 }
1326 },
1327 "path": "v1/{+resource}:clearOrgPolicy",
1328 "request": {
1329 "$ref": "ClearOrgPolicyRequest"
1330 },
1331 "response": {
1332 "$ref": "Empty"
1333 },
1334 "scopes": [
1335 "https://www.googleapis.com/auth/cloud-platform"
1336 ]
1337 },
1338 "setIamPolicy": {
1339 "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()`;\nthey must be sent only usi ng the Cloud Platform Console.\n\n+ Membership changes that leave the project wi thout 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 ( ToS) agreement in the policy. Calling `setIamPolicy()` to\nremove the last ToS-a ccepted owner from the policy will fail. This\nrestriction also applies to legac y projects that no longer have owners\nwho have accepted the ToS. Edits to IAM p olicies 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: Re moving service accounts from policies or changing their roles\ncan render servic es completely inoperable. It is important to understand\nhow the service account is being used before removing or updating its\nroles.",
1340 "httpMethod": "POST",
1341 "id": "cloudresourcemanager.projects.setIamPolicy",
1342 "parameterOrder": [
1343 "resource"
1344 ],
1345 "parameters": {
1346 "resource": {
1347 "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
1348 "location": "path",
1349 "required": true,
1350 "type": "string"
1351 }
1352 },
1353 "path": "v1/projects/{resource}:setIamPolicy",
1354 "request": {
1355 "$ref": "SetIamPolicyRequest"
1356 },
1357 "response": {
1358 "$ref": "Policy"
1359 },
1360 "scopes": [
1361 "https://www.googleapis.com/auth/cloud-platform"
1362 ]
1363 },
1364 "listAvailableOrgPolicyConstraints": {
1365 "description": "Lists `Constraints` that could be applied on the specified resource.",
1366 "httpMethod": "POST",
1367 "id": "cloudresourcemanager.projects.listAvailableOrgPolicyC onstraints",
1368 "parameterOrder": [
1369 "resource"
1370 ],
1371 "parameters": {
1372 "resource": {
1373 "description": "Name of the resource to list `Constr aints` for.",
1374 "location": "path",
1375 "pattern": "^projects/[^/]+$",
1376 "required": true,
1377 "type": "string"
1378 }
1379 },
1380 "path": "v1/{+resource}:listAvailableOrgPolicyConstraints",
1381 "request": {
1382 "$ref": "ListAvailableOrgPolicyConstraintsRequest"
1383 },
1384 "response": {
1385 "$ref": "ListAvailableOrgPolicyConstraintsResponse"
1386 },
1387 "scopes": [
1388 "https://www.googleapis.com/auth/cloud-platform",
1389 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
1390 ]
1391 },
1392 "getIamPolicy": {
1393 "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.",
1394 "httpMethod": "POST",
1395 "id": "cloudresourcemanager.projects.getIamPolicy",
1396 "parameterOrder": [
1397 "resource"
1398 ],
1399 "parameters": {
1400 "resource": {
1401 "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
1402 "location": "path",
1403 "required": true,
1404 "type": "string"
1405 }
1406 },
1407 "path": "v1/projects/{resource}:getIamPolicy",
1408 "request": {
1409 "$ref": "GetIamPolicyRequest"
1410 },
1411 "response": {
1412 "$ref": "Policy"
1413 },
1414 "scopes": [
1415 "https://www.googleapis.com/auth/cloud-platform",
1416 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
1417 ]
1418 },
1419 "getOrgPolicy": {
1420 "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.",
1421 "httpMethod": "POST",
1422 "id": "cloudresourcemanager.projects.getOrgPolicy",
1423 "parameterOrder": [
1424 "resource"
1425 ],
1426 "parameters": {
1427 "resource": {
1428 "description": "Name of the resource the `Policy` is set on.",
1429 "location": "path",
1430 "pattern": "^projects/[^/]+$",
1431 "required": true,
1432 "type": "string"
1433 }
1434 },
1435 "path": "v1/{+resource}:getOrgPolicy",
1436 "request": {
1437 "$ref": "GetOrgPolicyRequest"
1438 },
1439 "response": {
1440 "$ref": "OrgPolicy"
1441 },
1442 "scopes": [
1443 "https://www.googleapis.com/auth/cloud-platform",
1444 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
1445 ]
614 } 1446 }
615 } 1447 }
616 } 1448 }
617 }, 1449 },
618 "revision": "20170227", 1450 "revision": "20170324",
619 "rootUrl": "https://cloudresourcemanager.googleapis.com/", 1451 "rootUrl": "https://cloudresourcemanager.googleapis.com/",
620 "schemas": { 1452 "schemas": {
621 "Organization": { 1453 "Constraint": {
622 "description": "The root node in the resource hierarchy to which a p articular entity's\n(e.g., company) resources belong.", 1454 "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.",
623 "id": "Organization", 1455 "id": "Constraint",
624 "properties": { 1456 "properties": {
625 "creationTime": { 1457 "constraintDefault": {
626 "description": "Timestamp when the Organization was created. Assigned by the server.\n@OutputOnly", 1458 "description": "The evaluation behavior of this constraint i n the absense of 'Policy'.",
1459 "enum": [
1460 "CONSTRAINT_DEFAULT_UNSPECIFIED",
1461 "ALLOW",
1462 "DENY"
1463 ],
1464 "enumDescriptions": [
1465 "This is only used for distinguishing unset values and s hould never be\nused.",
1466 "Indicate that all values are allowed for list constrain ts.\nIndicate that enforcement is off for boolean constraints.",
1467 "Indicate that all values are denied for list constraint s.\nIndicate that enforcement is on for boolean constraints."
1468 ],
1469 "type": "string"
1470 },
1471 "name": {
1472 "description": "Immutable value, required to globally be uni que. For example,\n`constraints/serviceuser.services`",
1473 "type": "string"
1474 },
1475 "version": {
1476 "description": "Version of the `Constraint`. Default version is 0;",
1477 "format": "int32",
1478 "type": "integer"
1479 },
1480 "listConstraint": {
1481 "$ref": "ListConstraint",
1482 "description": "Defines this constraint as being a ListConst raint."
1483 },
1484 "displayName": {
1485 "description": "The human readable name.\n\nMutable.",
1486 "type": "string"
1487 },
1488 "description": {
1489 "description": "Detailed description of what this `Constrain t` controls as well as how and\nwhere it is enforced.\n\nMutable.",
1490 "type": "string"
1491 },
1492 "booleanConstraint": {
1493 "$ref": "BooleanConstraint",
1494 "description": "Defines this constraint as being a BooleanCo nstraint."
1495 }
1496 },
1497 "type": "object"
1498 },
1499 "ListLiensResponse": {
1500 "description": "The response message for Liens.ListLiens.",
1501 "id": "ListLiensResponse",
1502 "properties": {
1503 "nextPageToken": {
1504 "description": "Token to retrieve the next page of results, or empty if there are no more\nresults in the list.",
1505 "type": "string"
1506 },
1507 "liens": {
1508 "description": "A list of Liens.",
1509 "items": {
1510 "$ref": "Lien"
1511 },
1512 "type": "array"
1513 }
1514 },
1515 "type": "object"
1516 },
1517 "Status": {
1518 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Lan guage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mes sage is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some except ions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\ n\nThe error model and the `Status` message can be used in a variety of\nenviron ments, either with or without APIs, to provide a\nconsistent developer experienc e across different environments.\n\nExample uses of this error model include:\n\ n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operati ons. If a client uses batch request and batch response, the\n `Status` messag e should be used directly inside batch response, one for\n each error sub-res ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio n\n results in its response, the status of those operations should be\n re presented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any s tripping needed for security/privacy reasons.",
1519 "id": "Status",
1520 "properties": {
1521 "details": {
1522 "description": "A list of messages that carry the error deta ils. There will be a\ncommon set of message types for APIs to use.",
1523 "items": {
1524 "additionalProperties": {
1525 "description": "Properties of the object. Contains f ield @type with type URL.",
1526 "type": "any"
1527 },
1528 "type": "object"
1529 },
1530 "type": "array"
1531 },
1532 "code": {
1533 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
1534 "format": "int32",
1535 "type": "integer"
1536 },
1537 "message": {
1538 "description": "A developer-facing error message, which shou ld be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
1539 "type": "string"
1540 }
1541 },
1542 "type": "object"
1543 },
1544 "Binding": {
1545 "description": "Associates `members` with a `role`.",
1546 "id": "Binding",
1547 "properties": {
1548 "members": {
1549 "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",
1550 "items": {
1551 "type": "string"
1552 },
1553 "type": "array"
1554 },
1555 "role": {
1556 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
1557 "type": "string"
1558 }
1559 },
1560 "type": "object"
1561 },
1562 "GetOrgPolicyRequest": {
1563 "description": "The request sent to the GetOrgPolicy method.",
1564 "id": "GetOrgPolicyRequest",
1565 "properties": {
1566 "constraint": {
1567 "description": "Name of the `Constraint` to get the `Policy` .",
1568 "type": "string"
1569 }
1570 },
1571 "type": "object"
1572 },
1573 "RestoreDefault": {
1574 "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.",
1575 "id": "RestoreDefault",
1576 "properties": {},
1577 "type": "object"
1578 },
1579 "ClearOrgPolicyRequest": {
1580 "description": "The request sent to the ClearOrgPolicy method.",
1581 "id": "ClearOrgPolicyRequest",
1582 "properties": {
1583 "etag": {
1584 "description": "The current version, for concurrency control . Not sending an `etag`\nwill cause the `Policy` to be cleared blindly.",
1585 "format": "byte",
1586 "type": "string"
1587 },
1588 "constraint": {
1589 "description": "Name of the `Constraint` of the `Policy` to clear.",
1590 "type": "string"
1591 }
1592 },
1593 "type": "object"
1594 },
1595 "UndeleteProjectRequest": {
1596 "description": "The request sent to the UndeleteProject\nmethod.",
1597 "id": "UndeleteProjectRequest",
1598 "properties": {},
1599 "type": "object"
1600 },
1601 "ProjectCreationStatus": {
1602 "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.",
1603 "id": "ProjectCreationStatus",
1604 "properties": {
1605 "ready": {
1606 "description": "True if the project creation process is comp lete.",
1607 "type": "boolean"
1608 },
1609 "createTime": {
1610 "description": "Creation time of the project creation workfl ow.",
627 "format": "google-datetime", 1611 "format": "google-datetime",
628 "type": "string" 1612 "type": "string"
629 }, 1613 },
630 "owner": { 1614 "gettable": {
631 "$ref": "OrganizationOwner", 1615 "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.",
632 "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." 1616 "type": "boolean"
1617 }
1618 },
1619 "type": "object"
1620 },
1621 "BooleanConstraint": {
1622 "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.",
1623 "id": "BooleanConstraint",
1624 "properties": {},
1625 "type": "object"
1626 },
1627 "TestIamPermissionsResponse": {
1628 "description": "Response message for `TestIamPermissions` method.",
1629 "id": "TestIamPermissionsResponse",
1630 "properties": {
1631 "permissions": {
1632 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is\nallowed.",
1633 "items": {
1634 "type": "string"
1635 },
1636 "type": "array"
1637 }
1638 },
1639 "type": "object"
1640 },
1641 "GetIamPolicyRequest": {
1642 "description": "Request message for `GetIamPolicy` method.",
1643 "id": "GetIamPolicyRequest",
1644 "properties": {},
1645 "type": "object"
1646 },
1647 "OrganizationOwner": {
1648 "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.",
1649 "id": "OrganizationOwner",
1650 "properties": {
1651 "directoryCustomerId": {
1652 "description": "The Google for Work customer id used in the Directory API.",
1653 "type": "string"
1654 }
1655 },
1656 "type": "object"
1657 },
1658 "ListProjectsResponse": {
1659 "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.",
1660 "id": "ListProjectsResponse",
1661 "properties": {
1662 "projects": {
1663 "description": "The list of Projects that matched the list f ilter. This list can\nbe paginated.",
1664 "items": {
1665 "$ref": "Project"
1666 },
1667 "type": "array"
1668 },
1669 "nextPageToken": {
1670 "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." ,
1671 "type": "string"
1672 }
1673 },
1674 "type": "object"
1675 },
1676 "Project": {
1677 "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.",
1678 "id": "Project",
1679 "properties": {
1680 "projectNumber": {
1681 "description": "The number uniquely identifying the project. \n\nExample: <code>415104041262</code>\nRead-only.",
1682 "format": "int64",
1683 "type": "string"
1684 },
1685 "parent": {
1686 "$ref": "ResourceId",
1687 "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."
1688 },
1689 "labels": {
1690 "additionalProperties": {
1691 "type": "string"
1692 },
1693 "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.",
1694 "type": "object"
1695 },
1696 "createTime": {
1697 "description": "Creation time.\n\nRead-only.",
1698 "format": "google-datetime",
1699 "type": "string"
1700 },
1701 "name": {
1702 "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.",
1703 "type": "string"
1704 },
1705 "projectId": {
1706 "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.",
1707 "type": "string"
633 }, 1708 },
634 "lifecycleState": { 1709 "lifecycleState": {
635 "description": "The organization's current lifecycle state. Assigned by the server.\n@OutputOnly", 1710 "description": "The Project lifecycle state.\n\nRead-only.",
636 "enum": [ 1711 "enum": [
637 "LIFECYCLE_STATE_UNSPECIFIED", 1712 "LIFECYCLE_STATE_UNSPECIFIED",
638 "ACTIVE", 1713 "ACTIVE",
639 "DELETE_REQUESTED" 1714 "DELETE_REQUESTED",
1715 "DELETE_IN_PROGRESS"
640 ], 1716 ],
641 "enumDescriptions": [ 1717 "enumDescriptions": [
642 "Unspecified state. This is only useful for distinguish ing unset values.", 1718 "Unspecified state. This is only used/useful for distin guishing\nunset values.",
643 "The normal and active state.", 1719 "The normal and active state.",
644 "The organization has been marked for deletion by the us er." 1720 "The project has been marked for deletion by the user\n( by invoking\nDeleteProject)\nor by the system (Google Cloud Platform).\nThis can generally be reversed by invoking UndeleteProject.",
645 ], 1721 "This lifecycle state is no longer used and not returned by the API."
646 "type": "string" 1722 ],
647 },
648 "name": {
649 "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\".",
650 "type": "string"
651 },
652 "displayName": {
653 "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",
654 "type": "string" 1723 "type": "string"
655 } 1724 }
656 }, 1725 },
657 "type": "object" 1726 "type": "object"
658 }, 1727 },
659 "GetAncestryResponse": { 1728 "ListOrgPoliciesResponse": {
660 "description": "Response from the GetAncestry method.", 1729 "description": "The response returned from the ListOrgPolicies metho d. It will be empty\nif no `Policies` are set on the resource.",
661 "id": "GetAncestryResponse", 1730 "id": "ListOrgPoliciesResponse",
662 "properties": { 1731 "properties": {
663 "ancestor": { 1732 "policies": {
664 "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.", 1733 "description": "The `Policies` that are set on the resource. It will be empty if no\n`Policies` are set.",
665 "items": { 1734 "items": {
666 "$ref": "Ancestor" 1735 "$ref": "OrgPolicy"
667 }, 1736 },
668 "type": "array" 1737 "type": "array"
1738 },
1739 "nextPageToken": {
1740 "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.",
1741 "type": "string"
669 } 1742 }
670 }, 1743 },
671 "type": "object" 1744 "type": "object"
672 }, 1745 },
673 "SearchOrganizationsRequest": { 1746 "SearchOrganizationsResponse": {
674 "description": "The request sent to the `SearchOrganizations` method .", 1747 "description": "The response returned from the `SearchOrganizations` method.",
675 "id": "SearchOrganizationsRequest", 1748 "id": "SearchOrganizationsResponse",
676 "properties": { 1749 "properties": {
677 "filter": { 1750 "organizations": {
678 "description": "An optional query string used to filter the Organizations to return in\nthe response. Filter rules are case-insensitive.\n\n \nOrganizations may be filtered by `owner.directoryCustomerId` or by\n`domain`, where the domain is a Google for Work domain, for example:\n\n|Filter|Descriptio n|\n|------|-----------|\n|owner.directorycustomerid:123456789|Organizations wit h\n`owner.directory_customer_id` equal to `123456789`.|\n|domain:google.com|Orga nizations corresponding to the domain `google.com`.|\n\nThis field is optional." , 1751 "description": "The list of Organizations that matched the s earch query, possibly\npaginated.",
679 "type": "string" 1752 "items": {
680 }, 1753 "$ref": "Organization"
681 "pageToken": { 1754 },
682 "description": "A pagination token returned from a previous call to `SearchOrganizations`\nthat indicates from where listing should continue .\nThis field is optional.", 1755 "type": "array"
683 "type": "string" 1756 },
684 }, 1757 "nextPageToken": {
685 "pageSize": { 1758 "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.",
686 "description": "The maximum number of Organizations to retur n in the response.\nThis field is optional.", 1759 "type": "string"
1760 }
1761 },
1762 "type": "object"
1763 },
1764 "FolderOperationError": {
1765 "description": "A classification of the Folder Operation error.",
1766 "id": "FolderOperationError",
1767 "properties": {
1768 "errorMessageId": {
1769 "description": "The type of operation error experienced.",
1770 "enum": [
1771 "ERROR_TYPE_UNSPECIFIED",
1772 "FOLDER_HEIGHT_VIOLATION",
1773 "MAX_CHILD_FOLDERS_VIOLATION",
1774 "FOLDER_NAME_UNIQUENESS_VIOLATION",
1775 "RESOURCE_DELETED",
1776 "PARENT_DELETED",
1777 "CYCLE_INTRODUCED_ERROR",
1778 "FOLDER_BEING_MOVED",
1779 "FOLDER_TO_DELETE_NON_EMPTY"
1780 ],
1781 "enumDescriptions": [
1782 "The error type was unrecognized or unspecified.",
1783 "The attempted action would violate the max folder depth constraint.",
1784 "The attempted action would violate the max child folder s constraint.",
1785 "The attempted action would violate the locally-unique f older\ndisplay_name constraint.",
1786 "The resource being moved has been deleted.",
1787 "The resource a folder was being added to has been delet ed.",
1788 "The attempted action would introduce cycle in resource path.",
1789 "The attempted action would move a folder that is alread y being moved.",
1790 "The folder the caller is trying to delete contains acti ve resources."
1791 ],
1792 "type": "string"
1793 }
1794 },
1795 "type": "object"
1796 },
1797 "OrgPolicy": {
1798 "description": "Defines a Cloud Organization `Policy` which is used to specify `Constraints`\nfor configurations of Cloud Platform resources.",
1799 "id": "OrgPolicy",
1800 "properties": {
1801 "version": {
1802 "description": "Version of the `Policy`. Default version is 0;",
687 "format": "int32", 1803 "format": "int32",
688 "type": "integer" 1804 "type": "integer"
1805 },
1806 "restoreDefault": {
1807 "$ref": "RestoreDefault",
1808 "description": "Restores the default behavior of the constra int; independent of\n`Constraint` type."
1809 },
1810 "listPolicy": {
1811 "$ref": "ListPolicy",
1812 "description": "List of values either allowed or disallowed. "
1813 },
1814 "etag": {
1815 "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`.",
1816 "format": "byte",
1817 "type": "string"
1818 },
1819 "booleanPolicy": {
1820 "$ref": "BooleanPolicy",
1821 "description": "For boolean `Constraints`, whether to enforc e the `Constraint` or not."
1822 },
1823 "constraint": {
1824 "description": "The name of the `Constraint` the `Policy` is configuring, for example,\n`constraints/serviceuser.services`.\n\nImmutable aft er creation.",
1825 "type": "string"
1826 },
1827 "updateTime": {
1828 "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.",
1829 "format": "google-datetime",
1830 "type": "string"
689 } 1831 }
690 }, 1832 },
691 "type": "object" 1833 "type": "object"
692 }, 1834 },
693 "GetAncestryRequest": { 1835 "BooleanPolicy": {
694 "description": "The request sent to the\nGetAncestry\nmethod.", 1836 "description": "Used in `policy_type` to specify how `boolean_policy ` will behave at this\nresource.",
695 "id": "GetAncestryRequest", 1837 "id": "BooleanPolicy",
696 "properties": {}, 1838 "properties": {
697 "type": "object" 1839 "enforced": {
698 }, 1840 "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`.",
699 "TestIamPermissionsRequest": { 1841 "type": "boolean"
700 "description": "Request message for `TestIamPermissions` method.", 1842 }
701 "id": "TestIamPermissionsRequest", 1843 },
702 "properties": { 1844 "type": "object"
703 "permissions": { 1845 },
704 "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).", 1846 "Lien": {
1847 "description": "A Lien represents an encumbrance on the actions that can be performed on a\nresource.",
1848 "id": "Lien",
1849 "properties": {
1850 "parent": {
1851 "description": "A reference to the resource this Lien is att ached to. The server will\nvalidate the parent against those for which Liens are supported.\n\nExample: `projects/1234`",
1852 "type": "string"
1853 },
1854 "createTime": {
1855 "description": "The creation time of this Lien.",
1856 "format": "google-datetime",
1857 "type": "string"
1858 },
1859 "origin": {
1860 "description": "A stable, user-visible/meaningful string ide ntifying the origin of the\nLien, intended to be inspected programmatically. Max imum length of 200\ncharacters.\n\nExample: 'compute.googleapis.com'",
1861 "type": "string"
1862 },
1863 "name": {
1864 "description": "A system-generated unique identifier for thi s Lien.\n\nExample: `liens/1234abcd`",
1865 "type": "string"
1866 },
1867 "reason": {
1868 "description": "Concise user-visible strings indicating why an action cannot be performed\non a resource. Maximum lenth of 200 characters.\n \nExample: 'Holds production API key'",
1869 "type": "string"
1870 },
1871 "restrictions": {
1872 "description": "The types of operations which should be bloc ked as a result of this Lien.\nEach value should correspond to an IAM permission . The server will\nvalidate the permissions against those for which Liens are su pported.\n\nAn empty list is meaningless and will be rejected.\n\nExample: ['res ourcemanager.projects.delete']",
705 "items": { 1873 "items": {
706 "type": "string" 1874 "type": "string"
707 }, 1875 },
708 "type": "array" 1876 "type": "array"
709 } 1877 }
710 }, 1878 },
711 "type": "object" 1879 "type": "object"
712 }, 1880 },
713 "Policy": { 1881 "Ancestor": {
714 "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).", 1882 "description": "Identifying information for a single ancestor of a p roject.",
715 "id": "Policy", 1883 "id": "Ancestor",
716 "properties": { 1884 "properties": {
717 "etag": { 1885 "resourceId": {
718 "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.", 1886 "$ref": "ResourceId",
719 "format": "byte", 1887 "description": "Resource id of the ancestor."
720 "type": "string" 1888 }
721 }, 1889 },
722 "version": { 1890 "type": "object"
723 "description": "Version of the `Policy`. The default version is 0.", 1891 },
1892 "ListConstraint": {
1893 "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`.",
1894 "id": "ListConstraint",
1895 "properties": {
1896 "suggestedValue": {
1897 "description": "Optional. The Google Cloud Console will try to default to a configuration\nthat matches the value specified in this `Constra int`.",
1898 "type": "string"
1899 }
1900 },
1901 "type": "object"
1902 },
1903 "SetOrgPolicyRequest": {
1904 "description": "The request sent to the SetOrgPolicyRequest method." ,
1905 "id": "SetOrgPolicyRequest",
1906 "properties": {
1907 "policy": {
1908 "$ref": "OrgPolicy",
1909 "description": "`Policy` to set on the resource."
1910 }
1911 },
1912 "type": "object"
1913 },
1914 "SetIamPolicyRequest": {
1915 "description": "Request message for `SetIamPolicy` method.",
1916 "id": "SetIamPolicyRequest",
1917 "properties": {
1918 "updateMask": {
1919 "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.",
1920 "format": "google-fieldmask",
1921 "type": "string"
1922 },
1923 "policy": {
1924 "$ref": "Policy",
1925 "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."
1926 }
1927 },
1928 "type": "object"
1929 },
1930 "Empty": {
1931 "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 `{}`.",
1932 "id": "Empty",
1933 "properties": {},
1934 "type": "object"
1935 },
1936 "Organization": {
1937 "description": "The root node in the resource hierarchy to which a p articular entity's\n(e.g., company) resources belong.",
1938 "id": "Organization",
1939 "properties": {
1940 "displayName": {
1941 "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",
1942 "type": "string"
1943 },
1944 "creationTime": {
1945 "description": "Timestamp when the Organization was created. Assigned by the server.\n@OutputOnly",
1946 "format": "google-datetime",
1947 "type": "string"
1948 },
1949 "owner": {
1950 "$ref": "OrganizationOwner",
1951 "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."
1952 },
1953 "lifecycleState": {
1954 "description": "The organization's current lifecycle state. Assigned by the server.\n@OutputOnly",
1955 "enum": [
1956 "LIFECYCLE_STATE_UNSPECIFIED",
1957 "ACTIVE",
1958 "DELETE_REQUESTED"
1959 ],
1960 "enumDescriptions": [
1961 "Unspecified state. This is only useful for distinguish ing unset values.",
1962 "The normal and active state.",
1963 "The organization has been marked for deletion by the us er."
1964 ],
1965 "type": "string"
1966 },
1967 "name": {
1968 "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\".",
1969 "type": "string"
1970 }
1971 },
1972 "type": "object"
1973 },
1974 "ListAvailableOrgPolicyConstraintsResponse": {
1975 "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).",
1976 "id": "ListAvailableOrgPolicyConstraintsResponse",
1977 "properties": {
1978 "nextPageToken": {
1979 "description": "Page token used to retrieve the next page. T his is currently not used.",
1980 "type": "string"
1981 },
1982 "constraints": {
1983 "description": "The collection of constraints that are setta ble on the request resource.",
1984 "items": {
1985 "$ref": "Constraint"
1986 },
1987 "type": "array"
1988 }
1989 },
1990 "type": "object"
1991 },
1992 "ListPolicy": {
1993 "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.",
1994 "id": "ListPolicy",
1995 "properties": {
1996 "allValues": {
1997 "description": "The policy all_values state.",
1998 "enum": [
1999 "ALL_VALUES_UNSPECIFIED",
2000 "ALLOW",
2001 "DENY"
2002 ],
2003 "enumDescriptions": [
2004 "Indicates that either allowed_values or denied_values m ust be set.",
2005 "A policy with this set allows all values.",
2006 "A policy with this set denies all values."
2007 ],
2008 "type": "string"
2009 },
2010 "allowedValues": {
2011 "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`.",
2012 "items": {
2013 "type": "string"
2014 },
2015 "type": "array"
2016 },
2017 "suggestedValue": {
2018 "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`.",
2019 "type": "string"
2020 },
2021 "inheritFromParent": {
2022 "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`.",
2023 "type": "boolean"
2024 },
2025 "deniedValues": {
2026 "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`.",
2027 "items": {
2028 "type": "string"
2029 },
2030 "type": "array"
2031 }
2032 },
2033 "type": "object"
2034 },
2035 "GetAncestryResponse": {
2036 "description": "Response from the GetAncestry method.",
2037 "id": "GetAncestryResponse",
2038 "properties": {
2039 "ancestor": {
2040 "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.",
2041 "items": {
2042 "$ref": "Ancestor"
2043 },
2044 "type": "array"
2045 }
2046 },
2047 "type": "object"
2048 },
2049 "AuditLogConfig": {
2050 "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.",
2051 "id": "AuditLogConfig",
2052 "properties": {
2053 "exemptedMembers": {
2054 "description": "Specifies the identities that do not cause l ogging for this type of\npermission.\nFollows the same format of Binding.members .",
2055 "items": {
2056 "type": "string"
2057 },
2058 "type": "array"
2059 },
2060 "logType": {
2061 "description": "The log type that this config enables.",
2062 "enum": [
2063 "LOG_TYPE_UNSPECIFIED",
2064 "ADMIN_READ",
2065 "DATA_WRITE",
2066 "DATA_READ"
2067 ],
2068 "enumDescriptions": [
2069 "Default case. Should never be this.",
2070 "Admin reads. Example: CloudIAM getIamPolicy",
2071 "Data writes. Example: CloudSQL Users create",
2072 "Data reads. Example: CloudSQL Users list"
2073 ],
2074 "type": "string"
2075 }
2076 },
2077 "type": "object"
2078 },
2079 "SearchOrganizationsRequest": {
2080 "description": "The request sent to the `SearchOrganizations` method .",
2081 "id": "SearchOrganizationsRequest",
2082 "properties": {
2083 "pageToken": {
2084 "description": "A pagination token returned from a previous call to `SearchOrganizations`\nthat indicates from where listing should continue .\nThis field is optional.",
2085 "type": "string"
2086 },
2087 "pageSize": {
2088 "description": "The maximum number of Organizations to retur n in the response.\nThis field is optional.",
724 "format": "int32", 2089 "format": "int32",
725 "type": "integer" 2090 "type": "integer"
726 }, 2091 },
727 "bindings": { 2092 "filter": {
728 "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.", 2093 "description": "An optional query string used to filter the Organizations to return in\nthe response. Filter rules are case-insensitive.\n\n \nOrganizations may be filtered by `owner.directoryCustomerId` or by\n`domain`, where the domain is a Google for Work domain, for example:\n\n|Filter|Descriptio n|\n|------|-----------|\n|owner.directorycustomerid:123456789|Organizations wit h\n`owner.directory_customer_id` equal to `123456789`.|\n|domain:google.com|Orga nizations corresponding to the domain `google.com`.|\n\nThis field is optional." ,
729 "items": { 2094 "type": "string"
730 "$ref": "Binding" 2095 }
731 }, 2096 },
732 "type": "array" 2097 "type": "object"
733 } 2098 },
734 }, 2099 "GetAncestryRequest": {
735 "type": "object" 2100 "description": "The request sent to the\nGetAncestry\nmethod.",
736 }, 2101 "id": "GetAncestryRequest",
737 "FolderOperation": {
738 "description": "Metadata describing a long running folder operation" ,
739 "id": "FolderOperation",
740 "properties": {
741 "destinationParent": {
742 "description": "The resource name of the folder or organizat ion we are either creating\nthe folder under or moving the folder to.",
743 "type": "string"
744 },
745 "operationType": {
746 "description": "The type of this operation.",
747 "enum": [
748 "OPERATION_TYPE_UNSPECIFIED",
749 "CREATE",
750 "MOVE"
751 ],
752 "enumDescriptions": [
753 "Operation type not specified.",
754 "A create folder operation.",
755 "A move folder operation."
756 ],
757 "type": "string"
758 },
759 "displayName": {
760 "description": "The display name of the folder.",
761 "type": "string"
762 },
763 "sourceParent": {
764 "description": "The resource name of the folder's parent.\nO nly applicable when the operation_type is MOVE.",
765 "type": "string"
766 }
767 },
768 "type": "object"
769 },
770 "ResourceId": {
771 "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 .",
772 "id": "ResourceId",
773 "properties": {
774 "type": {
775 "description": "Required field representing the resource typ e this id is for.\nAt present, the valid types are: \"organization\"",
776 "type": "string"
777 },
778 "id": {
779 "description": "Required field for the type-specific id. Thi s should correspond to the id\nused in the type-specific API's.",
780 "type": "string"
781 }
782 },
783 "type": "object"
784 },
785 "Operation": {
786 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.",
787 "id": "Operation",
788 "properties": {
789 "metadata": {
790 "additionalProperties": {
791 "description": "Properties of the object. Contains field @type with type URL.",
792 "type": "any"
793 },
794 "description": "Service-specific metadata associated with th e operation. It typically\ncontains progress information and common metadata su ch as create time.\nSome services might not provide such metadata. Any method t hat returns a\nlong-running operation should document the metadata type, if any. ",
795 "type": "object"
796 },
797 "done": {
798 "description": "If the value is `false`, it means the operat ion is still in progress.\nIf true, the operation is completed, and either `erro r` or `response` is\navailable.",
799 "type": "boolean"
800 },
801 "response": {
802 "additionalProperties": {
803 "description": "Properties of the object. Contains field @type with type URL.",
804 "type": "any"
805 },
806 "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delet e`, the response is\n`google.protobuf.Empty`. If the original method is standar d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi nal method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
807 "type": "object"
808 },
809 "name": {
810 "description": "The server-assigned name, which is only uniq ue within the same service that\noriginally returns it. If you use the default H TTP mapping, the\n`name` should have the format of `operations/some/unique/name` .",
811 "type": "string"
812 },
813 "error": {
814 "$ref": "Status",
815 "description": "The error result of the operation in case of failure or cancellation."
816 }
817 },
818 "type": "object"
819 },
820 "Status": {
821 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Lan guage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mes sage is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some except ions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\ n\nThe error model and the `Status` message can be used in a variety of\nenviron ments, either with or without APIs, to provide a\nconsistent developer experienc e across different environments.\n\nExample uses of this error model include:\n\ n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operati ons. If a client uses batch request and batch response, the\n `Status` messag e should be used directly inside batch response, one for\n each error sub-res ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio n\n results in its response, the status of those operations should be\n re presented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any s tripping needed for security/privacy reasons.",
822 "id": "Status",
823 "properties": {
824 "code": {
825 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
826 "format": "int32",
827 "type": "integer"
828 },
829 "message": {
830 "description": "A developer-facing error message, which shou ld be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
831 "type": "string"
832 },
833 "details": {
834 "description": "A list of messages that carry the error deta ils. There will be a\ncommon set of message types for APIs to use.",
835 "items": {
836 "additionalProperties": {
837 "description": "Properties of the object. Contains f ield @type with type URL.",
838 "type": "any"
839 },
840 "type": "object"
841 },
842 "type": "array"
843 }
844 },
845 "type": "object"
846 },
847 "ListLiensResponse": {
848 "description": "The response message for Liens.ListLiens.",
849 "id": "ListLiensResponse",
850 "properties": {
851 "nextPageToken": {
852 "description": "Token to retrieve the next page of results, or empty if there are no more\nresults in the list.",
853 "type": "string"
854 },
855 "liens": {
856 "description": "A list of Liens.",
857 "items": {
858 "$ref": "Lien"
859 },
860 "type": "array"
861 }
862 },
863 "type": "object"
864 },
865 "Binding": {
866 "description": "Associates `members` with a `role`.",
867 "id": "Binding",
868 "properties": {
869 "role": {
870 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
871 "type": "string"
872 },
873 "members": {
874 "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",
875 "items": {
876 "type": "string"
877 },
878 "type": "array"
879 }
880 },
881 "type": "object"
882 },
883 "UndeleteProjectRequest": {
884 "description": "The request sent to the UndeleteProject\nmethod.",
885 "id": "UndeleteProjectRequest",
886 "properties": {}, 2102 "properties": {},
887 "type": "object" 2103 "type": "object"
888 }, 2104 },
889 "ProjectCreationStatus": { 2105 "TestIamPermissionsRequest": {
890 "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.", 2106 "description": "Request message for `TestIamPermissions` method.",
891 "id": "ProjectCreationStatus", 2107 "id": "TestIamPermissionsRequest",
892 "properties": {
893 "ready": {
894 "description": "True if the project creation process is comp lete.",
895 "type": "boolean"
896 },
897 "createTime": {
898 "description": "Creation time of the project creation workfl ow.",
899 "format": "google-datetime",
900 "type": "string"
901 },
902 "gettable": {
903 "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.",
904 "type": "boolean"
905 }
906 },
907 "type": "object"
908 },
909 "GetIamPolicyRequest": {
910 "description": "Request message for `GetIamPolicy` method.",
911 "id": "GetIamPolicyRequest",
912 "properties": {},
913 "type": "object"
914 },
915 "TestIamPermissionsResponse": {
916 "description": "Response message for `TestIamPermissions` method.",
917 "id": "TestIamPermissionsResponse",
918 "properties": { 2108 "properties": {
919 "permissions": { 2109 "permissions": {
920 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is\nallowed.", 2110 "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).",
921 "items": { 2111 "items": {
922 "type": "string" 2112 "type": "string"
923 }, 2113 },
924 "type": "array" 2114 "type": "array"
925 } 2115 }
926 }, 2116 },
927 "type": "object" 2117 "type": "object"
928 }, 2118 },
929 "OrganizationOwner": { 2119 "ListAvailableOrgPolicyConstraintsRequest": {
930 "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.", 2120 "description": "The request sent to the [ListAvailableOrgPolicyConst raints]\ngoogle.cloud.OrgPolicy.v1.ListAvailableOrgPolicyConstraints] method.",
931 "id": "OrganizationOwner", 2121 "id": "ListAvailableOrgPolicyConstraintsRequest",
932 "properties": { 2122 "properties": {
933 "directoryCustomerId": { 2123 "pageToken": {
934 "description": "The Google for Work customer id used in the Directory API.", 2124 "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.",
935 "type": "string" 2125 "type": "string"
2126 },
2127 "pageSize": {
2128 "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.",
2129 "format": "int32",
2130 "type": "integer"
936 } 2131 }
937 }, 2132 },
938 "type": "object" 2133 "type": "object"
939 }, 2134 },
940 "ListProjectsResponse": { 2135 "Policy": {
941 "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.", 2136 "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).",
942 "id": "ListProjectsResponse", 2137 "id": "Policy",
943 "properties": { 2138 "properties": {
944 "nextPageToken": { 2139 "bindings": {
945 "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." , 2140 "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.",
2141 "items": {
2142 "$ref": "Binding"
2143 },
2144 "type": "array"
2145 },
2146 "etag": {
2147 "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.",
2148 "format": "byte",
946 "type": "string" 2149 "type": "string"
947 }, 2150 },
948 "projects": { 2151 "version": {
949 "description": "The list of Projects that matched the list f ilter. This list can\nbe paginated.", 2152 "description": "Version of the `Policy`. The default version is 0.",
2153 "format": "int32",
2154 "type": "integer"
2155 },
2156 "auditConfigs": {
2157 "description": "Specifies cloud audit logging configuration for this policy.",
950 "items": { 2158 "items": {
951 "$ref": "Project" 2159 "$ref": "AuditConfig"
952 }, 2160 },
953 "type": "array" 2161 "type": "array"
954 } 2162 }
955 }, 2163 },
956 "type": "object" 2164 "type": "object"
957 }, 2165 },
958 "Project": { 2166 "FolderOperation": {
959 "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.", 2167 "description": "Metadata describing a long running folder operation" ,
960 "id": "Project", 2168 "id": "FolderOperation",
961 "properties": { 2169 "properties": {
962 "projectId": { 2170 "destinationParent": {
963 "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.", 2171 "description": "The resource name of the folder or organizat ion we are either creating\nthe folder under or moving the folder to.",
964 "type": "string" 2172 "type": "string"
965 }, 2173 },
966 "lifecycleState": { 2174 "operationType": {
967 "description": "The Project lifecycle state.\n\nRead-only.", 2175 "description": "The type of this operation.",
968 "enum": [ 2176 "enum": [
969 "LIFECYCLE_STATE_UNSPECIFIED", 2177 "OPERATION_TYPE_UNSPECIFIED",
970 "ACTIVE", 2178 "CREATE",
971 "DELETE_REQUESTED", 2179 "MOVE"
972 "DELETE_IN_PROGRESS"
973 ], 2180 ],
974 "enumDescriptions": [ 2181 "enumDescriptions": [
975 "Unspecified state. This is only used/useful for distin guishing\nunset values.", 2182 "Operation type not specified.",
976 "The normal and active state.", 2183 "A create folder operation.",
977 "The project has been marked for deletion by the user\n( by invoking\nDeleteProject)\nor by the system (Google Cloud Platform).\nThis can generally be reversed by invoking UndeleteProject.", 2184 "A move folder operation."
978 "This lifecycle state is no longer used and not returned by the API."
979 ], 2185 ],
980 "type": "string" 2186 "type": "string"
981 }, 2187 },
982 "projectNumber": { 2188 "displayName": {
983 "description": "The number uniquely identifying the project. \n\nExample: <code>415104041262</code>\nRead-only.", 2189 "description": "The display name of the folder.",
984 "format": "int64",
985 "type": "string" 2190 "type": "string"
986 }, 2191 },
987 "parent": { 2192 "sourceParent": {
988 "$ref": "ResourceId", 2193 "description": "The resource name of the folder's parent.\nO nly applicable when the operation_type is MOVE.",
989 "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."
990 },
991 "createTime": {
992 "description": "Creation time.\n\nRead-only.",
993 "format": "google-datetime",
994 "type": "string"
995 },
996 "labels": {
997 "additionalProperties": {
998 "type": "string"
999 },
1000 "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.",
1001 "type": "object"
1002 },
1003 "name": {
1004 "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.",
1005 "type": "string" 2194 "type": "string"
1006 } 2195 }
1007 }, 2196 },
1008 "type": "object" 2197 "type": "object"
1009 }, 2198 },
1010 "SearchOrganizationsResponse": { 2199 "ResourceId": {
1011 "description": "The response returned from the `SearchOrganizations` method.", 2200 "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 .",
1012 "id": "SearchOrganizationsResponse", 2201 "id": "ResourceId",
1013 "properties": { 2202 "properties": {
1014 "nextPageToken": { 2203 "id": {
1015 "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.", 2204 "description": "Required field for the type-specific id. Thi s should correspond to the id\nused in the type-specific API's.",
1016 "type": "string" 2205 "type": "string"
1017 }, 2206 },
1018 "organizations": { 2207 "type": {
1019 "description": "The list of Organizations that matched the s earch query, possibly\npaginated.", 2208 "description": "Required field representing the resource typ e this id is for.\nAt present, the valid types are: \"organization\"",
2209 "type": "string"
2210 }
2211 },
2212 "type": "object"
2213 },
2214 "GetEffectiveOrgPolicyRequest": {
2215 "description": "The request sent to the GetEffectiveOrgPolicy method .",
2216 "id": "GetEffectiveOrgPolicyRequest",
2217 "properties": {
2218 "constraint": {
2219 "description": "The name of the `Constraint` to compute the effective `Policy`.",
2220 "type": "string"
2221 }
2222 },
2223 "type": "object"
2224 },
2225 "ListOrgPoliciesRequest": {
2226 "description": "The request sent to the ListOrgPolicies method.",
2227 "id": "ListOrgPoliciesRequest",
2228 "properties": {
2229 "pageToken": {
2230 "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.",
2231 "type": "string"
2232 },
2233 "pageSize": {
2234 "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.",
2235 "format": "int32",
2236 "type": "integer"
2237 }
2238 },
2239 "type": "object"
2240 },
2241 "Operation": {
2242 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.",
2243 "id": "Operation",
2244 "properties": {
2245 "error": {
2246 "$ref": "Status",
2247 "description": "The error result of the operation in case of failure or cancellation."
2248 },
2249 "metadata": {
2250 "additionalProperties": {
2251 "description": "Properties of the object. Contains field @type with type URL.",
2252 "type": "any"
2253 },
2254 "description": "Service-specific metadata associated with th e operation. It typically\ncontains progress information and common metadata su ch as create time.\nSome services might not provide such metadata. Any method t hat returns a\nlong-running operation should document the metadata type, if any. ",
2255 "type": "object"
2256 },
2257 "done": {
2258 "description": "If the value is `false`, it means the operat ion is still in progress.\nIf true, the operation is completed, and either `erro r` or `response` is\navailable.",
2259 "type": "boolean"
2260 },
2261 "response": {
2262 "additionalProperties": {
2263 "description": "Properties of the object. Contains field @type with type URL.",
2264 "type": "any"
2265 },
2266 "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delet e`, the response is\n`google.protobuf.Empty`. If the original method is standar d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi nal method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
2267 "type": "object"
2268 },
2269 "name": {
2270 "description": "The server-assigned name, which is only uniq ue within the same service that\noriginally returns it. If you use the default H TTP mapping, the\n`name` should have the format of `operations/some/unique/name` .",
2271 "type": "string"
2272 }
2273 },
2274 "type": "object"
2275 },
2276 "AuditConfig": {
2277 "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.",
2278 "id": "AuditConfig",
2279 "properties": {
2280 "service": {
2281 "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.",
2282 "type": "string"
2283 },
2284 "auditLogConfigs": {
2285 "description": "The configuration for logging of each type o f permission.\nNext ID: 4",
1020 "items": { 2286 "items": {
1021 "$ref": "Organization" 2287 "$ref": "AuditLogConfig"
1022 }, 2288 },
1023 "type": "array" 2289 "type": "array"
1024 } 2290 }
1025 }, 2291 },
1026 "type": "object" 2292 "type": "object"
1027 },
1028 "FolderOperationError": {
1029 "description": "A classification of the Folder Operation error.",
1030 "id": "FolderOperationError",
1031 "properties": {
1032 "errorMessageId": {
1033 "description": "The type of operation error experienced.",
1034 "enum": [
1035 "ERROR_TYPE_UNSPECIFIED",
1036 "FOLDER_HEIGHT_VIOLATION",
1037 "MAX_CHILD_FOLDERS_VIOLATION",
1038 "FOLDER_NAME_UNIQUENESS_VIOLATION",
1039 "RESOURCE_DELETED",
1040 "PARENT_DELETED",
1041 "CYCLE_INTRODUCED_ERROR",
1042 "FOLDER_ALREADY_BEING_MOVED",
1043 "FOLDER_TO_DELETE_NON_EMPTY"
1044 ],
1045 "enumDescriptions": [
1046 "The error type was unrecognized or unspecified.",
1047 "The attempted action would violate the max folder depth constraint.",
1048 "The attempted action would violate the max child folder s constraint.",
1049 "The attempted action would violate the locally-unique f older\ndisplay_name constraint.",
1050 "The resource being moved has been deleted.",
1051 "The resource a folder was being added to has been delet ed.",
1052 "The attempted action would introduce cycle in resource path.",
1053 "The attempted action would move a folder that is alread y being moved.",
1054 "The folder the caller is trying to delete contains acti ve resources."
1055 ],
1056 "type": "string"
1057 }
1058 },
1059 "type": "object"
1060 },
1061 "Lien": {
1062 "description": "A Lien represents an encumbrance on the actions that can be performed on a\nresource.",
1063 "id": "Lien",
1064 "properties": {
1065 "parent": {
1066 "description": "A reference to the resource this Lien is att ached to. The server will\nvalidate the parent against those for which Liens are supported.\n\nExample: `projects/1234`",
1067 "type": "string"
1068 },
1069 "createTime": {
1070 "description": "The creation time of this Lien.",
1071 "format": "google-datetime",
1072 "type": "string"
1073 },
1074 "name": {
1075 "description": "A system-generated unique identifier for thi s Lien.\n\nExample: `liens/1234abcd`",
1076 "type": "string"
1077 },
1078 "reason": {
1079 "description": "Concise user-visible strings indicating why an action cannot be performed\non a resource. Maximum lenth of 200 characters.\n \nExample: 'Holds production API key'",
1080 "type": "string"
1081 },
1082 "origin": {
1083 "description": "A stable, user-visible/meaningful string ide ntifying the origin of the\nLien, intended to be inspected programmatically. Max imum length of 200\ncharacters.\n\nExample: 'compute.googleapis.com'",
1084 "type": "string"
1085 },
1086 "restrictions": {
1087 "description": "The types of operations which should be bloc ked as a result of this Lien.\nEach value should correspond to an IAM permission . The server will\nvalidate the permissions against those for which Liens are su pported.\n\nAn empty list is meaningless and will be rejected.\n\nExample: ['res ourcemanager.projects.delete']",
1088 "items": {
1089 "type": "string"
1090 },
1091 "type": "array"
1092 }
1093 },
1094 "type": "object"
1095 },
1096 "Ancestor": {
1097 "description": "Identifying information for a single ancestor of a p roject.",
1098 "id": "Ancestor",
1099 "properties": {
1100 "resourceId": {
1101 "$ref": "ResourceId",
1102 "description": "Resource id of the ancestor."
1103 }
1104 },
1105 "type": "object"
1106 },
1107 "SetIamPolicyRequest": {
1108 "description": "Request message for `SetIamPolicy` method.",
1109 "id": "SetIamPolicyRequest",
1110 "properties": {
1111 "policy": {
1112 "$ref": "Policy",
1113 "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."
1114 }
1115 },
1116 "type": "object"
1117 },
1118 "Empty": {
1119 "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 `{}`.",
1120 "id": "Empty",
1121 "properties": {},
1122 "type": "object"
1123 } 2293 }
1124 }, 2294 },
1125 "servicePath": "", 2295 "servicePath": "",
1126 "title": "Google Cloud Resource Manager API", 2296 "title": "Google Cloud Resource Manager API",
1127 "version": "v1" 2297 "version": "v1"
1128 } 2298 }
OLDNEW
« no previous file with comments | « discovery/googleapis/cloudkms__v1.json ('k') | discovery/googleapis/cloudtrace__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698