OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/cloud-platform": { |
| 6 "description": "View and manage your data across Google Clou
d Platform services" |
| 7 }, |
5 "https://www.googleapis.com/auth/cloud-platform.read-only": { | 8 "https://www.googleapis.com/auth/cloud-platform.read-only": { |
6 "description": "View your data across Google Cloud Platform
services" | 9 "description": "View your data across Google Cloud Platform
services" |
7 }, | |
8 "https://www.googleapis.com/auth/cloud-platform": { | |
9 "description": "View and manage your data across Google Clou
d Platform services" | |
10 } | 10 } |
11 } | 11 } |
12 } | 12 } |
13 }, | 13 }, |
14 "basePath": "", | 14 "basePath": "", |
15 "baseUrl": "https://cloudresourcemanager.googleapis.com/", | 15 "baseUrl": "https://cloudresourcemanager.googleapis.com/", |
16 "batchPath": "batch", | 16 "batchPath": "batch", |
17 "canonicalName": "Cloud Resource Manager", | 17 "canonicalName": "Cloud Resource Manager", |
18 "description": "The Google Cloud Resource Manager API provides methods for c
reating, reading, and updating project metadata.", | 18 "description": "The Google Cloud Resource Manager API provides methods for c
reating, reading, and updating project metadata.", |
19 "discoveryVersion": "v1", | 19 "discoveryVersion": "v1", |
20 "documentationLink": "https://cloud.google.com/resource-manager", | 20 "documentationLink": "https://cloud.google.com/resource-manager", |
21 "icons": { | 21 "icons": { |
22 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
23 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
24 }, | 24 }, |
25 "id": "cloudresourcemanager:v1beta1", | 25 "id": "cloudresourcemanager:v1beta1", |
26 "kind": "discovery#restDescription", | 26 "kind": "discovery#restDescription", |
27 "name": "cloudresourcemanager", | 27 "name": "cloudresourcemanager", |
28 "ownerDomain": "google.com", | 28 "ownerDomain": "google.com", |
29 "ownerName": "Google", | 29 "ownerName": "Google", |
30 "parameters": { | 30 "parameters": { |
31 "access_token": { | |
32 "description": "OAuth access token.", | |
33 "location": "query", | |
34 "type": "string" | |
35 }, | |
36 "key": { | |
37 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", | |
38 "location": "query", | |
39 "type": "string" | |
40 }, | |
41 "quotaUser": { | |
42 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | |
43 "location": "query", | |
44 "type": "string" | |
45 }, | |
46 "pp": { | |
47 "default": "true", | |
48 "description": "Pretty-print response.", | |
49 "location": "query", | |
50 "type": "boolean" | |
51 }, | |
52 "oauth_token": { | |
53 "description": "OAuth 2.0 token for the current user.", | |
54 "location": "query", | |
55 "type": "string" | |
56 }, | |
57 "bearer_token": { | |
58 "description": "OAuth bearer token.", | |
59 "location": "query", | |
60 "type": "string" | |
61 }, | |
62 "upload_protocol": { | 31 "upload_protocol": { |
63 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 32 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
64 "location": "query", | 33 "location": "query", |
65 "type": "string" | 34 "type": "string" |
66 }, | 35 }, |
67 "prettyPrint": { | 36 "prettyPrint": { |
68 "default": "true", | 37 "default": "true", |
69 "description": "Returns response with indentations and line breaks."
, | 38 "description": "Returns response with indentations and line breaks."
, |
70 "location": "query", | 39 "location": "query", |
71 "type": "boolean" | 40 "type": "boolean" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 "media", | 75 "media", |
107 "proto" | 76 "proto" |
108 ], | 77 ], |
109 "enumDescriptions": [ | 78 "enumDescriptions": [ |
110 "Responses with Content-Type of application/json", | 79 "Responses with Content-Type of application/json", |
111 "Media download with context-dependent Content-Type", | 80 "Media download with context-dependent Content-Type", |
112 "Responses with Content-Type of application/x-protobuf" | 81 "Responses with Content-Type of application/x-protobuf" |
113 ], | 82 ], |
114 "location": "query", | 83 "location": "query", |
115 "type": "string" | 84 "type": "string" |
| 85 }, |
| 86 "key": { |
| 87 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
| 88 "location": "query", |
| 89 "type": "string" |
| 90 }, |
| 91 "access_token": { |
| 92 "description": "OAuth access token.", |
| 93 "location": "query", |
| 94 "type": "string" |
| 95 }, |
| 96 "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.", |
| 98 "location": "query", |
| 99 "type": "string" |
| 100 }, |
| 101 "pp": { |
| 102 "default": "true", |
| 103 "description": "Pretty-print response.", |
| 104 "location": "query", |
| 105 "type": "boolean" |
| 106 }, |
| 107 "oauth_token": { |
| 108 "description": "OAuth 2.0 token for the current user.", |
| 109 "location": "query", |
| 110 "type": "string" |
| 111 }, |
| 112 "bearer_token": { |
| 113 "description": "OAuth bearer token.", |
| 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": { | |
123 "description": "Fetches an Organization resource identified
by the specified resource name.", | |
124 "httpMethod": "GET", | |
125 "id": "cloudresourcemanager.organizations.get", | |
126 "parameterOrder": [ | |
127 "name" | |
128 ], | |
129 "parameters": { | |
130 "name": { | |
131 "description": "The resource name of the Organizatio
n to fetch, e.g. \"organizations/1234\".", | |
132 "location": "path", | |
133 "pattern": "^organizations/[^/]+$", | |
134 "required": true, | |
135 "type": "string" | |
136 }, | |
137 "organizationId": { | |
138 "description": "The id of the Organization resource
to fetch.\nThis field is deprecated and will be removed in v1. Use name instead.
", | |
139 "location": "query", | |
140 "type": "string" | |
141 } | |
142 }, | |
143 "path": "v1beta1/{+name}", | |
144 "response": { | |
145 "$ref": "Organization" | |
146 }, | |
147 "scopes": [ | |
148 "https://www.googleapis.com/auth/cloud-platform", | |
149 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | |
150 ] | |
151 }, | |
152 "update": { | 122 "update": { |
153 "description": "Updates an Organization resource identified
by the specified resource name.", | 123 "description": "Updates an Organization resource identified
by the specified resource name.", |
154 "httpMethod": "PUT", | 124 "httpMethod": "PUT", |
155 "id": "cloudresourcemanager.organizations.update", | 125 "id": "cloudresourcemanager.organizations.update", |
156 "parameterOrder": [ | 126 "parameterOrder": [ |
157 "name" | 127 "name" |
158 ], | 128 ], |
159 "parameters": { | 129 "parameters": { |
160 "name": { | 130 "name": { |
161 "description": "Output Only. The resource name of th
e organization. This is the\norganization's relative path in the API. Its format
is\n\"organizations/[organization_id]\". For example, \"organizations/1234\".", | 131 "description": "Output Only. The resource name of th
e organization. This is the\norganization's relative path in the API. Its format
is\n\"organizations/[organization_id]\". For example, \"organizations/1234\".", |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 "request": { | 253 "request": { |
284 "$ref": "GetIamPolicyRequest" | 254 "$ref": "GetIamPolicyRequest" |
285 }, | 255 }, |
286 "response": { | 256 "response": { |
287 "$ref": "Policy" | 257 "$ref": "Policy" |
288 }, | 258 }, |
289 "scopes": [ | 259 "scopes": [ |
290 "https://www.googleapis.com/auth/cloud-platform", | 260 "https://www.googleapis.com/auth/cloud-platform", |
291 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 261 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
292 ] | 262 ] |
| 263 }, |
| 264 "get": { |
| 265 "description": "Fetches an Organization resource identified
by the specified resource name.", |
| 266 "httpMethod": "GET", |
| 267 "id": "cloudresourcemanager.organizations.get", |
| 268 "parameterOrder": [ |
| 269 "name" |
| 270 ], |
| 271 "parameters": { |
| 272 "name": { |
| 273 "description": "The resource name of the Organizatio
n to fetch, e.g. \"organizations/1234\".", |
| 274 "location": "path", |
| 275 "pattern": "^organizations/[^/]+$", |
| 276 "required": true, |
| 277 "type": "string" |
| 278 }, |
| 279 "organizationId": { |
| 280 "description": "The id of the Organization resource
to fetch.\nThis field is deprecated and will be removed in v1. Use name instead.
", |
| 281 "location": "query", |
| 282 "type": "string" |
| 283 } |
| 284 }, |
| 285 "path": "v1beta1/{+name}", |
| 286 "response": { |
| 287 "$ref": "Organization" |
| 288 }, |
| 289 "scopes": [ |
| 290 "https://www.googleapis.com/auth/cloud-platform", |
| 291 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 292 ] |
293 } | 293 } |
294 } | 294 } |
295 }, | 295 }, |
296 "projects": { | 296 "projects": { |
297 "methods": { | 297 "methods": { |
298 "testIamPermissions": { | |
299 "description": "Returns permissions that a caller has on the
specified Project.", | |
300 "httpMethod": "POST", | |
301 "id": "cloudresourcemanager.projects.testIamPermissions", | |
302 "parameterOrder": [ | |
303 "resource" | |
304 ], | |
305 "parameters": { | |
306 "resource": { | |
307 "description": "REQUIRED: The resource for which the
policy detail is being requested.\nSee the operation documentation for the appr
opriate value for this field.", | |
308 "location": "path", | |
309 "required": true, | |
310 "type": "string" | |
311 } | |
312 }, | |
313 "path": "v1beta1/projects/{resource}:testIamPermissions", | |
314 "request": { | |
315 "$ref": "TestIamPermissionsRequest" | |
316 }, | |
317 "response": { | |
318 "$ref": "TestIamPermissionsResponse" | |
319 }, | |
320 "scopes": [ | |
321 "https://www.googleapis.com/auth/cloud-platform", | |
322 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | |
323 ] | |
324 }, | |
325 "delete": { | |
326 "description": "Marks the Project identified by the specifie
d\n`project_id` (for example, `my-project-123`) for deletion.\nThis method will
only affect the Project if the following criteria are met:\n\n+ The Project does
not have a billing account associated with it.\n+ The Project has a lifecycle s
tate of\nACTIVE.\n\nThis method changes the Project's lifecycle state from\nACTI
VE\nto DELETE_REQUESTED.\nThe deletion starts at an unspecified time, at which p
oint the project is\nno longer accessible.\n\nUntil the deletion completes, you
can check the lifecycle state\nchecked by retrieving the Project with GetProject
,\nand the Project remains visible to ListProjects.\nHowever, you cannot update
the project.\n\nAfter the deletion completes, the Project is not retrievable by\
nthe GetProject and\nListProjects methods.\n\nThe caller must have modify permi
ssions for this Project.", | |
327 "httpMethod": "DELETE", | |
328 "id": "cloudresourcemanager.projects.delete", | |
329 "parameterOrder": [ | |
330 "projectId" | |
331 ], | |
332 "parameters": { | |
333 "projectId": { | |
334 "description": "The Project ID (for example, `foo-ba
r-123`).\n\nRequired.", | |
335 "location": "path", | |
336 "required": true, | |
337 "type": "string" | |
338 } | |
339 }, | |
340 "path": "v1beta1/projects/{projectId}", | |
341 "response": { | |
342 "$ref": "Empty" | |
343 }, | |
344 "scopes": [ | |
345 "https://www.googleapis.com/auth/cloud-platform" | |
346 ] | |
347 }, | |
348 "list": { | |
349 "description": "Lists Projects that are visible to the user
and satisfy the\nspecified filter. This method returns Projects in an unspecifie
d order.\nNew Projects do not necessarily appear at the end of the list.", | |
350 "httpMethod": "GET", | |
351 "id": "cloudresourcemanager.projects.list", | |
352 "parameterOrder": [], | |
353 "parameters": { | |
354 "filter": { | |
355 "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:how*|The project's name starts with
\"how\".|\n|name:Howl|The project's name is `Howl` or `howl`.|\n|name:HOWL|Equi
valent to above.|\n|NAME:howl|Equivalent to above.|\n|labels.color:*|The project
has the label `color`.|\n|labels.color:red|The project's label `color` has the
value `red`.|\n|labels.color:red labels.size:big|The project's label `color
` has the value `red` and its label `size` has the value `big`.\n\nIf you specif
y a filter that has both `parent.type` and `parent.id`, then\nthe `resourcemanag
er.projects.list` permission is checked on the parent.\nIf the user has this per
mission, all projects under the parent will be\nreturned after remaining filters
have been applied. If the user lacks this\npermission, then all projects for wh
ich the user has the\n`resourcemanager.projects.get` permission will be returned
after remaining\nfilters have been applied. If no filter is specified, the call
will return\nprojects for which the user has `resourcemanager.projects.get` per
missions.\n\nOptional.", | |
356 "location": "query", | |
357 "type": "string" | |
358 }, | |
359 "pageToken": { | |
360 "description": "A pagination token returned from a p
revious call to ListProjects\nthat indicates from where listing should continue.
\n\nOptional.", | |
361 "location": "query", | |
362 "type": "string" | |
363 }, | |
364 "pageSize": { | |
365 "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.", | |
366 "format": "int32", | |
367 "location": "query", | |
368 "type": "integer" | |
369 } | |
370 }, | |
371 "path": "v1beta1/projects", | |
372 "response": { | |
373 "$ref": "ListProjectsResponse" | |
374 }, | |
375 "scopes": [ | |
376 "https://www.googleapis.com/auth/cloud-platform", | |
377 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | |
378 ] | |
379 }, | |
380 "setIamPolicy": { | 298 "setIamPolicy": { |
381 "description": "Sets the IAM access control policy for the s
pecified Project. Replaces\nany existing policy.\n\nThe following constraints ap
ply when using `setIamPolicy()`:\n\n+ Project does not support `allUsers` and `a
llAuthenticatedUsers` as\n`members` in a `Binding` of a `Policy`.\n\n+ The owner
role can be granted only to `user` and `serviceAccount`.\n\n+ Service accounts
can be made owners of a project directly\nwithout any restrictions. However, to
be added as an owner, a user must be\ninvited via Cloud Platform console and mus
t accept the invitation.\n\n+ A user cannot be granted the owner role using `set
IamPolicy()`. The user\nmust be granted the owner role using the Cloud Platform
Console and must\nexplicitly accept the invitation.\n\n+ Invitations to grant th
e owner role cannot be sent using\n`setIamPolicy()`; they must be sent only usin
g the Cloud Platform Console.\n\n+ Membership changes that leave the project wit
hout any owners that have\naccepted the Terms of Service (ToS) will be rejected.
\n\n+ If the project is not part of an organization, there must be at least\none
owner who has accepted the Terms of Service (ToS) agreement in the\npolicy. Cal
ling `setIamPolicy()` to remove the last ToS-accepted owner\nfrom the policy wil
l fail. This restriction also applies to legacy\nprojects that no longer have ow
ners who have accepted the ToS. Edits to\nIAM policies will be rejected until th
e lack of a ToS-accepting owner is\nrectified.\n\n+ Calling this method requires
enabling the App Engine Admin API.\n\nNote: Removing service accounts from poli
cies or changing their roles\ncan render services completely inoperable. It is i
mportant to understand\nhow the service account is being used before removing or
updating its\nroles.", | 299 "description": "Sets the IAM access control policy for the s
pecified Project. Replaces\nany existing policy.\n\nThe following constraints ap
ply when using `setIamPolicy()`:\n\n+ Project does not support `allUsers` and `a
llAuthenticatedUsers` as\n`members` in a `Binding` of a `Policy`.\n\n+ The owner
role can be granted only to `user` and `serviceAccount`.\n\n+ Service accounts
can be made owners of a project directly\nwithout any restrictions. However, to
be added as an owner, a user must be\ninvited via Cloud Platform console and mus
t accept the invitation.\n\n+ A user cannot be granted the owner role using `set
IamPolicy()`. The user\nmust be granted the owner role using the Cloud Platform
Console and must\nexplicitly accept the invitation.\n\n+ Invitations to grant th
e owner role cannot be sent using\n`setIamPolicy()`; they must be sent only usin
g the Cloud Platform Console.\n\n+ Membership changes that leave the project wit
hout any owners that have\naccepted the Terms of Service (ToS) will be rejected.
\n\n+ If the project is not part of an organization, there must be at least\none
owner who has accepted the Terms of Service (ToS) agreement in the\npolicy. Cal
ling `setIamPolicy()` to remove the last ToS-accepted owner\nfrom the policy wil
l fail. This restriction also applies to legacy\nprojects that no longer have ow
ners who have accepted the ToS. Edits to\nIAM policies will be rejected until th
e lack of a ToS-accepting owner is\nrectified.\n\n+ Calling this method requires
enabling the App Engine Admin API.\n\nNote: Removing service accounts from poli
cies or changing their roles\ncan render services completely inoperable. It is i
mportant to understand\nhow the service account is being used before removing or
updating its\nroles.", |
382 "httpMethod": "POST", | 300 "httpMethod": "POST", |
383 "id": "cloudresourcemanager.projects.setIamPolicy", | 301 "id": "cloudresourcemanager.projects.setIamPolicy", |
384 "parameterOrder": [ | 302 "parameterOrder": [ |
385 "resource" | 303 "resource" |
386 ], | 304 ], |
387 "parameters": { | 305 "parameters": { |
388 "resource": { | 306 "resource": { |
389 "description": "REQUIRED: The resource for which the
policy is being specified.\nSee the operation documentation for the appropriate
value for this field.", | 307 "description": "REQUIRED: The resource for which the
policy is being specified.\nSee the operation documentation for the appropriate
value for this field.", |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 "$ref": "GetIamPolicyRequest" | 364 "$ref": "GetIamPolicyRequest" |
447 }, | 365 }, |
448 "response": { | 366 "response": { |
449 "$ref": "Policy" | 367 "$ref": "Policy" |
450 }, | 368 }, |
451 "scopes": [ | 369 "scopes": [ |
452 "https://www.googleapis.com/auth/cloud-platform", | 370 "https://www.googleapis.com/auth/cloud-platform", |
453 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 371 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
454 ] | 372 ] |
455 }, | 373 }, |
| 374 "get": { |
| 375 "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.", |
| 376 "httpMethod": "GET", |
| 377 "id": "cloudresourcemanager.projects.get", |
| 378 "parameterOrder": [ |
| 379 "projectId" |
| 380 ], |
| 381 "parameters": { |
| 382 "projectId": { |
| 383 "description": "The Project ID (for example, `my-pro
ject-123`).\n\nRequired.", |
| 384 "location": "path", |
| 385 "required": true, |
| 386 "type": "string" |
| 387 } |
| 388 }, |
| 389 "path": "v1beta1/projects/{projectId}", |
| 390 "response": { |
| 391 "$ref": "Project" |
| 392 }, |
| 393 "scopes": [ |
| 394 "https://www.googleapis.com/auth/cloud-platform", |
| 395 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 396 ] |
| 397 }, |
456 "undelete": { | 398 "undelete": { |
457 "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.", | 399 "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.", |
458 "httpMethod": "POST", | 400 "httpMethod": "POST", |
459 "id": "cloudresourcemanager.projects.undelete", | 401 "id": "cloudresourcemanager.projects.undelete", |
460 "parameterOrder": [ | 402 "parameterOrder": [ |
461 "projectId" | 403 "projectId" |
462 ], | 404 ], |
463 "parameters": { | 405 "parameters": { |
464 "projectId": { | 406 "projectId": { |
465 "description": "The project ID (for example, `foo-ba
r-123`).\n\nRequired.", | 407 "description": "The project ID (for example, `foo-ba
r-123`).\n\nRequired.", |
466 "location": "path", | 408 "location": "path", |
467 "required": true, | 409 "required": true, |
468 "type": "string" | 410 "type": "string" |
469 } | 411 } |
470 }, | 412 }, |
471 "path": "v1beta1/projects/{projectId}:undelete", | 413 "path": "v1beta1/projects/{projectId}:undelete", |
472 "request": { | 414 "request": { |
473 "$ref": "UndeleteProjectRequest" | 415 "$ref": "UndeleteProjectRequest" |
474 }, | 416 }, |
475 "response": { | 417 "response": { |
476 "$ref": "Empty" | 418 "$ref": "Empty" |
477 }, | 419 }, |
478 "scopes": [ | 420 "scopes": [ |
479 "https://www.googleapis.com/auth/cloud-platform" | 421 "https://www.googleapis.com/auth/cloud-platform" |
480 ] | 422 ] |
481 }, | 423 }, |
482 "get": { | |
483 "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.", | |
484 "httpMethod": "GET", | |
485 "id": "cloudresourcemanager.projects.get", | |
486 "parameterOrder": [ | |
487 "projectId" | |
488 ], | |
489 "parameters": { | |
490 "projectId": { | |
491 "description": "The Project ID (for example, `my-pro
ject-123`).\n\nRequired.", | |
492 "location": "path", | |
493 "required": true, | |
494 "type": "string" | |
495 } | |
496 }, | |
497 "path": "v1beta1/projects/{projectId}", | |
498 "response": { | |
499 "$ref": "Project" | |
500 }, | |
501 "scopes": [ | |
502 "https://www.googleapis.com/auth/cloud-platform", | |
503 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | |
504 ] | |
505 }, | |
506 "getAncestry": { | 424 "getAncestry": { |
507 "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.", | 425 "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.", |
508 "httpMethod": "POST", | 426 "httpMethod": "POST", |
509 "id": "cloudresourcemanager.projects.getAncestry", | 427 "id": "cloudresourcemanager.projects.getAncestry", |
510 "parameterOrder": [ | 428 "parameterOrder": [ |
511 "projectId" | 429 "projectId" |
512 ], | 430 ], |
513 "parameters": { | 431 "parameters": { |
514 "projectId": { | 432 "projectId": { |
515 "description": "The Project ID (for example, `my-pro
ject-123`).\n\nRequired.", | 433 "description": "The Project ID (for example, `my-pro
ject-123`).\n\nRequired.", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 "path": "v1beta1/projects/{projectId}", | 466 "path": "v1beta1/projects/{projectId}", |
549 "request": { | 467 "request": { |
550 "$ref": "Project" | 468 "$ref": "Project" |
551 }, | 469 }, |
552 "response": { | 470 "response": { |
553 "$ref": "Project" | 471 "$ref": "Project" |
554 }, | 472 }, |
555 "scopes": [ | 473 "scopes": [ |
556 "https://www.googleapis.com/auth/cloud-platform" | 474 "https://www.googleapis.com/auth/cloud-platform" |
557 ] | 475 ] |
| 476 }, |
| 477 "testIamPermissions": { |
| 478 "description": "Returns permissions that a caller has on the
specified Project.", |
| 479 "httpMethod": "POST", |
| 480 "id": "cloudresourcemanager.projects.testIamPermissions", |
| 481 "parameterOrder": [ |
| 482 "resource" |
| 483 ], |
| 484 "parameters": { |
| 485 "resource": { |
| 486 "description": "REQUIRED: The resource for which the
policy detail is being requested.\nSee the operation documentation for the appr
opriate value for this field.", |
| 487 "location": "path", |
| 488 "required": true, |
| 489 "type": "string" |
| 490 } |
| 491 }, |
| 492 "path": "v1beta1/projects/{resource}:testIamPermissions", |
| 493 "request": { |
| 494 "$ref": "TestIamPermissionsRequest" |
| 495 }, |
| 496 "response": { |
| 497 "$ref": "TestIamPermissionsResponse" |
| 498 }, |
| 499 "scopes": [ |
| 500 "https://www.googleapis.com/auth/cloud-platform", |
| 501 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 502 ] |
| 503 }, |
| 504 "delete": { |
| 505 "description": "Marks the Project identified by the specifie
d\n`project_id` (for example, `my-project-123`) for deletion.\nThis method will
only affect the Project if the following criteria are met:\n\n+ The Project does
not have a billing account associated with it.\n+ The Project has a lifecycle s
tate of\nACTIVE.\n\nThis method changes the Project's lifecycle state from\nACTI
VE\nto DELETE_REQUESTED.\nThe deletion starts at an unspecified time, at which p
oint the project is\nno longer accessible.\n\nUntil the deletion completes, you
can check the lifecycle state\nchecked by retrieving the Project with GetProject
,\nand the Project remains visible to ListProjects.\nHowever, you cannot update
the project.\n\nAfter the deletion completes, the Project is not retrievable by\
nthe GetProject and\nListProjects methods.\n\nThe caller must have modify permi
ssions for this Project.", |
| 506 "httpMethod": "DELETE", |
| 507 "id": "cloudresourcemanager.projects.delete", |
| 508 "parameterOrder": [ |
| 509 "projectId" |
| 510 ], |
| 511 "parameters": { |
| 512 "projectId": { |
| 513 "description": "The Project ID (for example, `foo-ba
r-123`).\n\nRequired.", |
| 514 "location": "path", |
| 515 "required": true, |
| 516 "type": "string" |
| 517 } |
| 518 }, |
| 519 "path": "v1beta1/projects/{projectId}", |
| 520 "response": { |
| 521 "$ref": "Empty" |
| 522 }, |
| 523 "scopes": [ |
| 524 "https://www.googleapis.com/auth/cloud-platform" |
| 525 ] |
| 526 }, |
| 527 "list": { |
| 528 "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.", |
| 529 "httpMethod": "GET", |
| 530 "id": "cloudresourcemanager.projects.list", |
| 531 "parameterOrder": [], |
| 532 "parameters": { |
| 533 "pageToken": { |
| 534 "description": "A pagination token returned from a p
revious call to ListProjects\nthat indicates from where listing should continue.
\n\nOptional.", |
| 535 "location": "query", |
| 536 "type": "string" |
| 537 }, |
| 538 "pageSize": { |
| 539 "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.", |
| 540 "format": "int32", |
| 541 "location": "query", |
| 542 "type": "integer" |
| 543 }, |
| 544 "filter": { |
| 545 "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:how*|The project's name starts with
\"how\".|\n|name:Howl|The project's name is `Howl` or `howl`.|\n|name:HOWL|Equi
valent to above.|\n|NAME:howl|Equivalent to above.|\n|labels.color:*|The project
has the label `color`.|\n|labels.color:red|The project's label `color` has the
value `red`.|\n|labels.color:red labels.size:big|The project's label `color
` has the value `red` and its label `size` has the value `big`.\n\nIf you specif
y a filter that has both `parent.type` and `parent.id`, then\nthe `resourcemanag
er.projects.list` permission is checked on the parent.\nIf the user has this per
mission, all projects under the parent will be\nreturned after remaining filters
have been applied. If the user lacks this\npermission, then all projects for wh
ich the user has the\n`resourcemanager.projects.get` permission will be returned
after remaining\nfilters have been applied. If no filter is specified, the call
will return\nprojects for which the user has `resourcemanager.projects.get` per
missions.\n\nOptional.", |
| 546 "location": "query", |
| 547 "type": "string" |
| 548 } |
| 549 }, |
| 550 "path": "v1beta1/projects", |
| 551 "response": { |
| 552 "$ref": "ListProjectsResponse" |
| 553 }, |
| 554 "scopes": [ |
| 555 "https://www.googleapis.com/auth/cloud-platform", |
| 556 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 557 ] |
558 } | 558 } |
559 } | 559 } |
560 } | 560 } |
561 }, | 561 }, |
562 "revision": "20170726", | 562 "revision": "20170814", |
563 "rootUrl": "https://cloudresourcemanager.googleapis.com/", | 563 "rootUrl": "https://cloudresourcemanager.googleapis.com/", |
564 "schemas": { | 564 "schemas": { |
565 "Empty": { | |
566 "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 `{}`.", | |
567 "id": "Empty", | |
568 "properties": {}, | |
569 "type": "object" | |
570 }, | |
571 "Organization": { | |
572 "description": "The root node in the resource hierarchy to which a p
articular entity's\n(e.g., company) resources belong.", | |
573 "id": "Organization", | |
574 "properties": { | |
575 "owner": { | |
576 "$ref": "OrganizationOwner", | |
577 "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." | |
578 }, | |
579 "name": { | |
580 "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\".", | |
581 "type": "string" | |
582 }, | |
583 "organizationId": { | |
584 "description": "An immutable id for the Organization that is
assigned on creation. This\nshould be omitted when creating a new Organization.
\nThis field is read-only.\nThis field is deprecated and will be removed in v1.
Use name instead.", | |
585 "type": "string" | |
586 }, | |
587 "lifecycleState": { | |
588 "description": "The organization's current lifecycle state.
Assigned by the server.\n@OutputOnly", | |
589 "enum": [ | |
590 "LIFECYCLE_STATE_UNSPECIFIED", | |
591 "ACTIVE", | |
592 "DELETE_REQUESTED" | |
593 ], | |
594 "enumDescriptions": [ | |
595 "Unspecified state. This is only useful for distinguish
ing unset values.", | |
596 "The normal and active state.", | |
597 "The organization has been marked for deletion by the us
er." | |
598 ], | |
599 "type": "string" | |
600 }, | |
601 "displayName": { | |
602 "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", | |
603 "type": "string" | |
604 }, | |
605 "creationTime": { | |
606 "description": "Timestamp when the Organization was created.
Assigned by the server.\n@OutputOnly", | |
607 "format": "google-datetime", | |
608 "type": "string" | |
609 } | |
610 }, | |
611 "type": "object" | |
612 }, | |
613 "UndeleteProjectRequest": { | |
614 "description": "The request sent to the UndeleteProject\nmethod.", | |
615 "id": "UndeleteProjectRequest", | |
616 "properties": {}, | |
617 "type": "object" | |
618 }, | |
619 "ProjectCreationStatus": { | |
620 "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.", | |
621 "id": "ProjectCreationStatus", | |
622 "properties": { | |
623 "ready": { | |
624 "description": "True if the project creation process is comp
lete.", | |
625 "type": "boolean" | |
626 }, | |
627 "gettable": { | |
628 "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.", | |
629 "type": "boolean" | |
630 }, | |
631 "createTime": { | |
632 "description": "Creation time of the project creation workfl
ow.", | |
633 "format": "google-datetime", | |
634 "type": "string" | |
635 } | |
636 }, | |
637 "type": "object" | |
638 }, | |
639 "TestIamPermissionsResponse": { | |
640 "description": "Response message for `TestIamPermissions` method.", | |
641 "id": "TestIamPermissionsResponse", | |
642 "properties": { | |
643 "permissions": { | |
644 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is\nallowed.", | |
645 "items": { | |
646 "type": "string" | |
647 }, | |
648 "type": "array" | |
649 } | |
650 }, | |
651 "type": "object" | |
652 }, | |
653 "GetIamPolicyRequest": { | |
654 "description": "Request message for `GetIamPolicy` method.", | |
655 "id": "GetIamPolicyRequest", | |
656 "properties": {}, | |
657 "type": "object" | |
658 }, | |
659 "OrganizationOwner": { | |
660 "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.", | |
661 "id": "OrganizationOwner", | |
662 "properties": { | |
663 "directoryCustomerId": { | |
664 "description": "The Google for Work customer id used in the
Directory API.", | |
665 "type": "string" | |
666 } | |
667 }, | |
668 "type": "object" | |
669 }, | |
670 "GetAncestryResponse": { | |
671 "description": "Response from the GetAncestry method.", | |
672 "id": "GetAncestryResponse", | |
673 "properties": { | |
674 "ancestor": { | |
675 "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.", | |
676 "items": { | |
677 "$ref": "Ancestor" | |
678 }, | |
679 "type": "array" | |
680 } | |
681 }, | |
682 "type": "object" | |
683 }, | |
684 "AuditLogConfig": { | |
685 "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.", | |
686 "id": "AuditLogConfig", | |
687 "properties": { | |
688 "exemptedMembers": { | |
689 "description": "Specifies the identities that do not cause l
ogging for this type of\npermission.\nFollows the same format of Binding.members
.", | |
690 "items": { | |
691 "type": "string" | |
692 }, | |
693 "type": "array" | |
694 }, | |
695 "logType": { | |
696 "description": "The log type that this config enables.", | |
697 "enum": [ | |
698 "LOG_TYPE_UNSPECIFIED", | |
699 "ADMIN_READ", | |
700 "DATA_WRITE", | |
701 "DATA_READ" | |
702 ], | |
703 "enumDescriptions": [ | |
704 "Default case. Should never be this.", | |
705 "Admin reads. Example: CloudIAM getIamPolicy", | |
706 "Data writes. Example: CloudSQL Users create", | |
707 "Data reads. Example: CloudSQL Users list" | |
708 ], | |
709 "type": "string" | |
710 } | |
711 }, | |
712 "type": "object" | |
713 }, | |
714 "ListProjectsResponse": { | |
715 "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.", | |
716 "id": "ListProjectsResponse", | |
717 "properties": { | |
718 "projects": { | |
719 "description": "The list of Projects that matched the list f
ilter. This list can\nbe paginated.", | |
720 "items": { | |
721 "$ref": "Project" | |
722 }, | |
723 "type": "array" | |
724 }, | |
725 "nextPageToken": { | |
726 "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."
, | |
727 "type": "string" | |
728 } | |
729 }, | |
730 "type": "object" | |
731 }, | |
732 "GetAncestryRequest": { | 565 "GetAncestryRequest": { |
733 "description": "The request sent to the\nGetAncestry\nmethod.", | 566 "description": "The request sent to the\nGetAncestry\nmethod.", |
734 "id": "GetAncestryRequest", | 567 "id": "GetAncestryRequest", |
735 "properties": {}, | 568 "properties": {}, |
736 "type": "object" | 569 "type": "object" |
737 }, | 570 }, |
738 "Project": { | 571 "Project": { |
739 "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.", | 572 "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.", |
740 "id": "Project", | 573 "id": "Project", |
741 "properties": { | 574 "properties": { |
742 "projectNumber": { | 575 "projectNumber": { |
743 "description": "The number uniquely identifying the project.
\n\nExample: <code>415104041262</code>\nRead-only.", | 576 "description": "The number uniquely identifying the project.
\n\nExample: <code>415104041262</code>\nRead-only.", |
744 "format": "int64", | 577 "format": "int64", |
745 "type": "string" | 578 "type": "string" |
746 }, | 579 }, |
747 "parent": { | 580 "parent": { |
748 "$ref": "ResourceId", | 581 "$ref": "ResourceId", |
749 "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." | 582 "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." |
750 }, | 583 }, |
751 "createTime": { | |
752 "description": "Creation time.\n\nRead-only.", | |
753 "format": "google-datetime", | |
754 "type": "string" | |
755 }, | |
756 "labels": { | 584 "labels": { |
757 "additionalProperties": { | 585 "additionalProperties": { |
758 "type": "string" | 586 "type": "string" |
759 }, | 587 }, |
760 "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.", | 588 "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.", |
761 "type": "object" | 589 "type": "object" |
762 }, | 590 }, |
| 591 "createTime": { |
| 592 "description": "Creation time.\n\nRead-only.", |
| 593 "format": "google-datetime", |
| 594 "type": "string" |
| 595 }, |
763 "name": { | 596 "name": { |
764 "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.", | 597 "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.", |
765 "type": "string" | 598 "type": "string" |
766 }, | 599 }, |
767 "projectId": { | 600 "projectId": { |
768 "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.", | 601 "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.", |
769 "type": "string" | 602 "type": "string" |
770 }, | 603 }, |
771 "lifecycleState": { | 604 "lifecycleState": { |
772 "description": "The Project lifecycle state.\n\nRead-only.", | 605 "description": "The Project lifecycle state.\n\nRead-only.", |
(...skipping 21 matching lines...) Expand all Loading... |
794 "permissions": { | 627 "permissions": { |
795 "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).", | 628 "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).", |
796 "items": { | 629 "items": { |
797 "type": "string" | 630 "type": "string" |
798 }, | 631 }, |
799 "type": "array" | 632 "type": "array" |
800 } | 633 } |
801 }, | 634 }, |
802 "type": "object" | 635 "type": "object" |
803 }, | 636 }, |
| 637 "FolderOperationError": { |
| 638 "description": "A classification of the Folder Operation error.", |
| 639 "id": "FolderOperationError", |
| 640 "properties": { |
| 641 "errorMessageId": { |
| 642 "description": "The type of operation error experienced.", |
| 643 "enum": [ |
| 644 "ERROR_TYPE_UNSPECIFIED", |
| 645 "ACTIVE_FOLDER_HEIGHT_VIOLATION", |
| 646 "MAX_CHILD_FOLDERS_VIOLATION", |
| 647 "FOLDER_NAME_UNIQUENESS_VIOLATION", |
| 648 "RESOURCE_DELETED_VIOLATION", |
| 649 "PARENT_DELETED_VIOLATION", |
| 650 "CYCLE_INTRODUCED_VIOLATION", |
| 651 "FOLDER_BEING_MOVED_VIOLATION", |
| 652 "FOLDER_TO_DELETE_NON_EMPTY_VIOLATION", |
| 653 "DELETED_FOLDER_HEIGHT_VIOLATION" |
| 654 ], |
| 655 "enumDescriptions": [ |
| 656 "The error type was unrecognized or unspecified.", |
| 657 "The attempted action would violate the max folder depth
constraint.", |
| 658 "The attempted action would violate the max child folder
s constraint.", |
| 659 "The attempted action would violate the locally-unique f
older\ndisplay_name constraint.", |
| 660 "The resource being moved has been deleted.", |
| 661 "The resource a folder was being added to has been delet
ed.", |
| 662 "The attempted action would introduce cycle in resource
path.", |
| 663 "The attempted action would move a folder that is alread
y being moved.", |
| 664 "The folder the caller is trying to delete contains acti
ve resources.", |
| 665 "The attempted action would violate the max deleted fold
er depth\nconstraint." |
| 666 ], |
| 667 "type": "string" |
| 668 } |
| 669 }, |
| 670 "type": "object" |
| 671 }, |
804 "FolderOperation": { | 672 "FolderOperation": { |
805 "description": "Metadata describing a long running folder operation"
, | 673 "description": "Metadata describing a long running folder operation"
, |
806 "id": "FolderOperation", | 674 "id": "FolderOperation", |
807 "properties": { | 675 "properties": { |
808 "sourceParent": { | |
809 "description": "The resource name of the folder's parent.\nO
nly applicable when the operation_type is MOVE.", | |
810 "type": "string" | |
811 }, | |
812 "displayName": { | |
813 "description": "The display name of the folder.", | |
814 "type": "string" | |
815 }, | |
816 "destinationParent": { | |
817 "description": "The resource name of the folder or organizat
ion we are either creating\nthe folder under or moving the folder to.", | |
818 "type": "string" | |
819 }, | |
820 "operationType": { | 676 "operationType": { |
821 "description": "The type of this operation.", | 677 "description": "The type of this operation.", |
822 "enum": [ | 678 "enum": [ |
823 "OPERATION_TYPE_UNSPECIFIED", | 679 "OPERATION_TYPE_UNSPECIFIED", |
824 "CREATE", | 680 "CREATE", |
825 "MOVE" | 681 "MOVE" |
826 ], | 682 ], |
827 "enumDescriptions": [ | 683 "enumDescriptions": [ |
828 "Operation type not specified.", | 684 "Operation type not specified.", |
829 "A create folder operation.", | 685 "A create folder operation.", |
830 "A move folder operation." | 686 "A move folder operation." |
831 ], | 687 ], |
832 "type": "string" | 688 "type": "string" |
| 689 }, |
| 690 "sourceParent": { |
| 691 "description": "The resource name of the folder's parent.\nO
nly applicable when the operation_type is MOVE.", |
| 692 "type": "string" |
| 693 }, |
| 694 "displayName": { |
| 695 "description": "The display name of the folder.", |
| 696 "type": "string" |
| 697 }, |
| 698 "destinationParent": { |
| 699 "description": "The resource name of the folder or organizat
ion we are either creating\nthe folder under or moving the folder to.", |
| 700 "type": "string" |
833 } | 701 } |
834 }, | 702 }, |
835 "type": "object" | 703 "type": "object" |
836 }, | 704 }, |
837 "Policy": { | 705 "Policy": { |
838 "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).", | 706 "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).", |
839 "id": "Policy", | 707 "id": "Policy", |
840 "properties": { | 708 "properties": { |
841 "bindings": { | |
842 "description": "Associates a list of `members` to a `role`.\
n`bindings` with no members will result in an error.", | |
843 "items": { | |
844 "$ref": "Binding" | |
845 }, | |
846 "type": "array" | |
847 }, | |
848 "etag": { | 709 "etag": { |
849 "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.", | 710 "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.", |
850 "format": "byte", | 711 "format": "byte", |
851 "type": "string" | 712 "type": "string" |
852 }, | 713 }, |
853 "version": { | 714 "version": { |
854 "description": "Version of the `Policy`. The default version
is 0.", | 715 "description": "Version of the `Policy`. The default version
is 0.", |
855 "format": "int32", | 716 "format": "int32", |
856 "type": "integer" | 717 "type": "integer" |
857 }, | 718 }, |
858 "auditConfigs": { | 719 "auditConfigs": { |
859 "description": "Specifies cloud audit logging configuration
for this policy.", | 720 "description": "Specifies cloud audit logging configuration
for this policy.", |
860 "items": { | 721 "items": { |
861 "$ref": "AuditConfig" | 722 "$ref": "AuditConfig" |
862 }, | 723 }, |
863 "type": "array" | 724 "type": "array" |
| 725 }, |
| 726 "bindings": { |
| 727 "description": "Associates a list of `members` to a `role`.\
n`bindings` with no members will result in an error.", |
| 728 "items": { |
| 729 "$ref": "Binding" |
| 730 }, |
| 731 "type": "array" |
864 } | 732 } |
865 }, | 733 }, |
866 "type": "object" | 734 "type": "object" |
867 }, | |
868 "FolderOperationError": { | |
869 "description": "A classification of the Folder Operation error.", | |
870 "id": "FolderOperationError", | |
871 "properties": { | |
872 "errorMessageId": { | |
873 "description": "The type of operation error experienced.", | |
874 "enum": [ | |
875 "ERROR_TYPE_UNSPECIFIED", | |
876 "ACTIVE_FOLDER_HEIGHT_VIOLATION", | |
877 "MAX_CHILD_FOLDERS_VIOLATION", | |
878 "FOLDER_NAME_UNIQUENESS_VIOLATION", | |
879 "RESOURCE_DELETED_VIOLATION", | |
880 "PARENT_DELETED_VIOLATION", | |
881 "CYCLE_INTRODUCED_VIOLATION", | |
882 "FOLDER_BEING_MOVED_VIOLATION", | |
883 "FOLDER_TO_DELETE_NON_EMPTY_VIOLATION", | |
884 "DELETED_FOLDER_HEIGHT_VIOLATION" | |
885 ], | |
886 "enumDescriptions": [ | |
887 "The error type was unrecognized or unspecified.", | |
888 "The attempted action would violate the max folder depth
constraint.", | |
889 "The attempted action would violate the max child folder
s constraint.", | |
890 "The attempted action would violate the locally-unique f
older\ndisplay_name constraint.", | |
891 "The resource being moved has been deleted.", | |
892 "The resource a folder was being added to has been delet
ed.", | |
893 "The attempted action would introduce cycle in resource
path.", | |
894 "The attempted action would move a folder that is alread
y being moved.", | |
895 "The folder the caller is trying to delete contains acti
ve resources.", | |
896 "The attempted action would violate the max deleted fold
er depth\nconstraint." | |
897 ], | |
898 "type": "string" | |
899 } | |
900 }, | |
901 "type": "object" | |
902 }, | 735 }, |
903 "ResourceId": { | 736 "ResourceId": { |
904 "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
.", | 737 "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
.", |
905 "id": "ResourceId", | 738 "id": "ResourceId", |
906 "properties": { | 739 "properties": { |
| 740 "id": { |
| 741 "description": "Required field for the type-specific id. Thi
s should correspond to the id\nused in the type-specific API's.", |
| 742 "type": "string" |
| 743 }, |
907 "type": { | 744 "type": { |
908 "description": "Required field representing the resource typ
e this id is for.\nAt present, the valid types are \"project\" and \"organizatio
n\".", | 745 "description": "Required field representing the resource typ
e this id is for.\nAt present, the valid types are \"project\" and \"organizatio
n\".", |
909 "type": "string" | 746 "type": "string" |
910 }, | |
911 "id": { | |
912 "description": "Required field for the type-specific id. Thi
s should correspond to the id\nused in the type-specific API's.", | |
913 "type": "string" | |
914 } | 747 } |
915 }, | 748 }, |
916 "type": "object" | 749 "type": "object" |
917 }, | 750 }, |
918 "AuditConfig": { | 751 "AuditConfig": { |
919 "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 AuditConfig 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.\n\nExample Policy with multiple AuditConfigs:\n\n
{\n \"audit_configs\": [\n {\n \"service\": \"allServices
\"\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 \"lo
g_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n
\"service\": \"fooservice.googleapis.com\"\n \"audit_log_config
s\": [\n {\n \"log_type\": \"DATA_READ\",\n }
,\n {\n \"log_type\": \"DATA_WRITE\",\n \"e
xempted_members\": [\n \"user:bar@gmail.com\"\n ]\n
}\n ]\n }\n ]\n }\n\nFor fooservice, this pol
icy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@g
mail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.", | 752 "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 AuditConfig 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.\n\nExample Policy with multiple AuditConfigs:\n\n
{\n \"audit_configs\": [\n {\n \"service\": \"allServices
\"\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 \"lo
g_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n
\"service\": \"fooservice.googleapis.com\"\n \"audit_log_config
s\": [\n {\n \"log_type\": \"DATA_READ\",\n }
,\n {\n \"log_type\": \"DATA_WRITE\",\n \"e
xempted_members\": [\n \"user:bar@gmail.com\"\n ]\n
}\n ]\n }\n ]\n }\n\nFor fooservice, this pol
icy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@g
mail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.", |
920 "id": "AuditConfig", | 753 "id": "AuditConfig", |
921 "properties": { | 754 "properties": { |
922 "service": { | 755 "service": { |
923 "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.", | 756 "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.", |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
959 }, | 792 }, |
960 "type": "array" | 793 "type": "array" |
961 } | 794 } |
962 }, | 795 }, |
963 "type": "object" | 796 "type": "object" |
964 }, | 797 }, |
965 "SetIamPolicyRequest": { | 798 "SetIamPolicyRequest": { |
966 "description": "Request message for `SetIamPolicy` method.", | 799 "description": "Request message for `SetIamPolicy` method.", |
967 "id": "SetIamPolicyRequest", | 800 "id": "SetIamPolicyRequest", |
968 "properties": { | 801 "properties": { |
969 "policy": { | |
970 "$ref": "Policy", | |
971 "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." | |
972 }, | |
973 "updateMask": { | 802 "updateMask": { |
974 "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.", | 803 "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.", |
975 "format": "google-fieldmask", | 804 "format": "google-fieldmask", |
976 "type": "string" | 805 "type": "string" |
| 806 }, |
| 807 "policy": { |
| 808 "$ref": "Policy", |
| 809 "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." |
977 } | 810 } |
978 }, | 811 }, |
979 "type": "object" | 812 "type": "object" |
980 }, | 813 }, |
981 "Binding": { | 814 "Binding": { |
982 "description": "Associates `members` with a `role`.", | 815 "description": "Associates `members` with a `role`.", |
983 "id": "Binding", | 816 "id": "Binding", |
984 "properties": { | 817 "properties": { |
985 "members": { | 818 "members": { |
986 "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\n* `domain:{domain}`: A Google Apps domain name that repre
sents all the\n users of that domain. For example, `google.com` or `example.co
m`.\n\n", | 819 "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\n* `domain:{domain}`: A Google Apps domain name that repre
sents all the\n users of that domain. For example, `google.com` or `example.co
m`.\n\n", |
987 "items": { | 820 "items": { |
988 "type": "string" | 821 "type": "string" |
989 }, | 822 }, |
990 "type": "array" | 823 "type": "array" |
991 }, | 824 }, |
992 "role": { | 825 "role": { |
993 "description": "Role that is assigned to `members`.\nFor exa
mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", | 826 "description": "Role that is assigned to `members`.\nFor exa
mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", |
994 "type": "string" | 827 "type": "string" |
995 } | 828 } |
996 }, | 829 }, |
997 "type": "object" | 830 "type": "object" |
| 831 }, |
| 832 "Empty": { |
| 833 "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 `{}`.", |
| 834 "id": "Empty", |
| 835 "properties": {}, |
| 836 "type": "object" |
| 837 }, |
| 838 "Organization": { |
| 839 "description": "The root node in the resource hierarchy to which a p
articular entity's\n(e.g., company) resources belong.", |
| 840 "id": "Organization", |
| 841 "properties": { |
| 842 "creationTime": { |
| 843 "description": "Timestamp when the Organization was created.
Assigned by the server.\n@OutputOnly", |
| 844 "format": "google-datetime", |
| 845 "type": "string" |
| 846 }, |
| 847 "owner": { |
| 848 "$ref": "OrganizationOwner", |
| 849 "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." |
| 850 }, |
| 851 "name": { |
| 852 "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\".", |
| 853 "type": "string" |
| 854 }, |
| 855 "organizationId": { |
| 856 "description": "An immutable id for the Organization that is
assigned on creation. This\nshould be omitted when creating a new Organization.
\nThis field is read-only.\nThis field is deprecated and will be removed in v1.
Use name instead.", |
| 857 "type": "string" |
| 858 }, |
| 859 "lifecycleState": { |
| 860 "description": "The organization's current lifecycle state.
Assigned by the server.\n@OutputOnly", |
| 861 "enum": [ |
| 862 "LIFECYCLE_STATE_UNSPECIFIED", |
| 863 "ACTIVE", |
| 864 "DELETE_REQUESTED" |
| 865 ], |
| 866 "enumDescriptions": [ |
| 867 "Unspecified state. This is only useful for distinguish
ing unset values.", |
| 868 "The normal and active state.", |
| 869 "The organization has been marked for deletion by the us
er." |
| 870 ], |
| 871 "type": "string" |
| 872 }, |
| 873 "displayName": { |
| 874 "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", |
| 875 "type": "string" |
| 876 } |
| 877 }, |
| 878 "type": "object" |
| 879 }, |
| 880 "UndeleteProjectRequest": { |
| 881 "description": "The request sent to the UndeleteProject\nmethod.", |
| 882 "id": "UndeleteProjectRequest", |
| 883 "properties": {}, |
| 884 "type": "object" |
| 885 }, |
| 886 "ProjectCreationStatus": { |
| 887 "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.", |
| 888 "id": "ProjectCreationStatus", |
| 889 "properties": { |
| 890 "ready": { |
| 891 "description": "True if the project creation process is comp
lete.", |
| 892 "type": "boolean" |
| 893 }, |
| 894 "gettable": { |
| 895 "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.", |
| 896 "type": "boolean" |
| 897 }, |
| 898 "createTime": { |
| 899 "description": "Creation time of the project creation workfl
ow.", |
| 900 "format": "google-datetime", |
| 901 "type": "string" |
| 902 } |
| 903 }, |
| 904 "type": "object" |
| 905 }, |
| 906 "TestIamPermissionsResponse": { |
| 907 "description": "Response message for `TestIamPermissions` method.", |
| 908 "id": "TestIamPermissionsResponse", |
| 909 "properties": { |
| 910 "permissions": { |
| 911 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is\nallowed.", |
| 912 "items": { |
| 913 "type": "string" |
| 914 }, |
| 915 "type": "array" |
| 916 } |
| 917 }, |
| 918 "type": "object" |
| 919 }, |
| 920 "GetIamPolicyRequest": { |
| 921 "description": "Request message for `GetIamPolicy` method.", |
| 922 "id": "GetIamPolicyRequest", |
| 923 "properties": {}, |
| 924 "type": "object" |
| 925 }, |
| 926 "OrganizationOwner": { |
| 927 "description": "The entity that owns an Organization. The lifetime o
f the Organization and\nall of its descendants are bound to the `OrganizationOwn
er`. If the\n`OrganizationOwner` is deleted, the Organization and all its descen
dants will\nbe deleted.", |
| 928 "id": "OrganizationOwner", |
| 929 "properties": { |
| 930 "directoryCustomerId": { |
| 931 "description": "The Google for Work customer id used in the
Directory API.", |
| 932 "type": "string" |
| 933 } |
| 934 }, |
| 935 "type": "object" |
| 936 }, |
| 937 "GetAncestryResponse": { |
| 938 "description": "Response from the GetAncestry method.", |
| 939 "id": "GetAncestryResponse", |
| 940 "properties": { |
| 941 "ancestor": { |
| 942 "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.", |
| 943 "items": { |
| 944 "$ref": "Ancestor" |
| 945 }, |
| 946 "type": "array" |
| 947 } |
| 948 }, |
| 949 "type": "object" |
| 950 }, |
| 951 "AuditLogConfig": { |
| 952 "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.", |
| 953 "id": "AuditLogConfig", |
| 954 "properties": { |
| 955 "exemptedMembers": { |
| 956 "description": "Specifies the identities that do not cause l
ogging for this type of\npermission.\nFollows the same format of Binding.members
.", |
| 957 "items": { |
| 958 "type": "string" |
| 959 }, |
| 960 "type": "array" |
| 961 }, |
| 962 "logType": { |
| 963 "description": "The log type that this config enables.", |
| 964 "enum": [ |
| 965 "LOG_TYPE_UNSPECIFIED", |
| 966 "ADMIN_READ", |
| 967 "DATA_WRITE", |
| 968 "DATA_READ" |
| 969 ], |
| 970 "enumDescriptions": [ |
| 971 "Default case. Should never be this.", |
| 972 "Admin reads. Example: CloudIAM getIamPolicy", |
| 973 "Data writes. Example: CloudSQL Users create", |
| 974 "Data reads. Example: CloudSQL Users list" |
| 975 ], |
| 976 "type": "string" |
| 977 } |
| 978 }, |
| 979 "type": "object" |
| 980 }, |
| 981 "ListProjectsResponse": { |
| 982 "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.", |
| 983 "id": "ListProjectsResponse", |
| 984 "properties": { |
| 985 "projects": { |
| 986 "description": "The list of Projects that matched the list f
ilter. This list can\nbe paginated.", |
| 987 "items": { |
| 988 "$ref": "Project" |
| 989 }, |
| 990 "type": "array" |
| 991 }, |
| 992 "nextPageToken": { |
| 993 "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."
, |
| 994 "type": "string" |
| 995 } |
| 996 }, |
| 997 "type": "object" |
998 } | 998 } |
999 }, | 999 }, |
1000 "servicePath": "", | 1000 "servicePath": "", |
1001 "title": "Google Cloud Resource Manager API", | 1001 "title": "Google Cloud Resource Manager API", |
1002 "version": "v1beta1" | 1002 "version": "v1beta1" |
1003 } | 1003 } |
OLD | NEW |