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

Side by Side Diff: discovery/googleapis/cloudresourcemanager__v2beta1.json

Issue 2987103002: Api-Roll 52: 2017-07-31 (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform.read-only": { 5 "https://www.googleapis.com/auth/cloud-platform.read-only": {
6 "description": "View your data across Google Cloud Platform services" 6 "description": "View your data across Google Cloud Platform services"
7 }, 7 },
8 "https://www.googleapis.com/auth/cloud-platform": { 8 "https://www.googleapis.com/auth/cloud-platform": {
9 "description": "View and manage your data across Google Clou d Platform services" 9 "description": "View and manage your data across Google Clou d Platform services"
10 } 10 }
(...skipping 10 matching lines...) Expand all
21 "icons": { 21 "icons": {
22 "x16": "http://www.google.com/images/icons/product/search-16.gif", 22 "x16": "http://www.google.com/images/icons/product/search-16.gif",
23 "x32": "http://www.google.com/images/icons/product/search-32.gif" 23 "x32": "http://www.google.com/images/icons/product/search-32.gif"
24 }, 24 },
25 "id": "cloudresourcemanager:v2beta1", 25 "id": "cloudresourcemanager:v2beta1",
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 "key": {
32 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
33 "location": "query",
34 "type": "string"
35 },
36 "access_token": {
37 "description": "OAuth access token.",
38 "location": "query",
39 "type": "string"
40 },
31 "quotaUser": { 41 "quotaUser": {
32 "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.", 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.",
33 "location": "query", 43 "location": "query",
34 "type": "string" 44 "type": "string"
35 }, 45 },
36 "pp": { 46 "pp": {
37 "default": "true", 47 "default": "true",
38 "description": "Pretty-print response.", 48 "description": "Pretty-print response.",
39 "location": "query", 49 "location": "query",
40 "type": "boolean" 50 "type": "boolean"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 "media", 106 "media",
97 "proto" 107 "proto"
98 ], 108 ],
99 "enumDescriptions": [ 109 "enumDescriptions": [
100 "Responses with Content-Type of application/json", 110 "Responses with Content-Type of application/json",
101 "Media download with context-dependent Content-Type", 111 "Media download with context-dependent Content-Type",
102 "Responses with Content-Type of application/x-protobuf" 112 "Responses with Content-Type of application/x-protobuf"
103 ], 113 ],
104 "location": "query", 114 "location": "query",
105 "type": "string" 115 "type": "string"
106 },
107 "key": {
108 "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.",
109 "location": "query",
110 "type": "string"
111 },
112 "access_token": {
113 "description": "OAuth access token.",
114 "location": "query",
115 "type": "string"
116 } 116 }
117 }, 117 },
118 "protocol": "rest", 118 "protocol": "rest",
119 "resources": { 119 "resources": {
120 "folders": { 120 "folders": {
121 "methods": { 121 "methods": {
122 "list": {
123 "description": "Lists the Folders that are direct descendant s of supplied parent resource.\nList provides a strongly consistent view of the Folders underneath\nthe specified parent resource.\nList returns Folders sorted based upon the (ascending) lexical ordering\nof their display_name.\nThe caller must have `resourcemanager.folders.list` permission on the\nidentified parent.",
124 "httpMethod": "GET",
125 "id": "cloudresourcemanager.folders.list",
126 "parameterOrder": [],
127 "parameters": {
128 "showDeleted": {
129 "description": "Controls whether Folders in the [DEL ETE_REQUESTED} state should\nbe returned.",
130 "location": "query",
131 "type": "boolean"
132 },
133 "pageToken": {
134 "description": "A pagination token returned from a p revious call to `ListFolders`\nthat indicates where this listing should continue from.\nThis field is optional.",
135 "location": "query",
136 "type": "string"
137 },
138 "pageSize": {
139 "description": "The maximum number of Folders to ret urn in the response.\nThis field is optional.",
140 "format": "int32",
141 "location": "query",
142 "type": "integer"
143 },
144 "parent": {
145 "description": "The resource name of the Organizatio n or Folder whose Folders are\nbeing listed.\nMust be of the form `folders/{fold er_id}` or `organizations/{org_id}`.\nAccess to this method is controlled by che cking the\n`resourcemanager.folders.list` permission on the `parent`.",
146 "location": "query",
147 "type": "string"
148 }
149 },
150 "path": "v2beta1/folders",
151 "response": {
152 "$ref": "ListFoldersResponse"
153 },
154 "scopes": [
155 "https://www.googleapis.com/auth/cloud-platform",
156 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
157 ]
158 },
159 "create": {
160 "description": "Creates a Folder in the resource hierarchy.\ nReturns an Operation which can be used to track the progress of the\nfolder cre ation workflow.\nUpon success the Operation.response field will be populated wit h the\ncreated Folder.\n\nIn order to succeed, the addition of this new Folder m ust not violate\nthe Folder naming, height or fanout constraints.\n+ The Folder' s display_name must be distinct from all other Folder's that\nshare its parent.\ n+ The addition of the Folder must not cause the active Folder hierarchy\nto exc eed a height of 4. Note, the full active + deleted Folder hierarchy\nis allowed to reach a height of 8; this provides additional headroom when\nmoving folders t hat contain deleted folders.\n+ The addition of the Folder must not cause the to tal number of Folders\nunder its parent to exceed 100.\n\nIf the operation fails due to a folder constraint violation,\na PreconditionFailure explaining the vio lation will be returned.\nIf the failure occurs synchronously then the Precondit ionFailure\nwill be returned via the Status.details field and if it occurs\nasyn chronously then the PreconditionFailure will be returned\nvia the the Operation. error field.\n\nThe caller must have `resourcemanager.folders.create` permission on the\nidentified parent.",
161 "httpMethod": "POST",
162 "id": "cloudresourcemanager.folders.create",
163 "parameterOrder": [],
164 "parameters": {
165 "parent": {
166 "description": "The resource name of the new Folder' s parent.\nMust be of the form `folders/{folder_id}` or `organizations/{org_id}` .",
167 "location": "query",
168 "type": "string"
169 }
170 },
171 "path": "v2beta1/folders",
172 "request": {
173 "$ref": "Folder"
174 },
175 "response": {
176 "$ref": "Operation"
177 },
178 "scopes": [
179 "https://www.googleapis.com/auth/cloud-platform"
180 ]
181 },
182 "setIamPolicy": {
183 "description": "Sets the access control policy on a Folder, replacing any existing policy.\nThe `resource` field should be the Folder's reso urce name, e.g.\n\"folders/1234\".\nThe caller must have `resourcemanager.folder s.setIamPolicy` permission\non the identified folder.",
184 "httpMethod": "POST",
185 "id": "cloudresourcemanager.folders.setIamPolicy",
186 "parameterOrder": [
187 "resource"
188 ],
189 "parameters": {
190 "resource": {
191 "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
192 "location": "path",
193 "pattern": "^folders/[^/]+$",
194 "required": true,
195 "type": "string"
196 }
197 },
198 "path": "v2beta1/{+resource}:setIamPolicy",
199 "request": {
200 "$ref": "SetIamPolicyRequest"
201 },
202 "response": {
203 "$ref": "Policy"
204 },
205 "scopes": [
206 "https://www.googleapis.com/auth/cloud-platform"
207 ]
208 },
209 "getIamPolicy": {
210 "description": "Gets the access control policy for a Folder. The returned policy may be\nempty if no such policy or resource exists. The `re source` field should\nbe the Folder's resource name, e.g. \"folders/1234\".\nThe caller must have `resourcemanager.folders.getIamPolicy` permission\non the iden tified folder.",
211 "httpMethod": "POST",
212 "id": "cloudresourcemanager.folders.getIamPolicy",
213 "parameterOrder": [
214 "resource"
215 ],
216 "parameters": {
217 "resource": {
218 "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
219 "location": "path",
220 "pattern": "^folders/[^/]+$",
221 "required": true,
222 "type": "string"
223 }
224 },
225 "path": "v2beta1/{+resource}:getIamPolicy",
226 "request": {
227 "$ref": "GetIamPolicyRequest"
228 },
229 "response": {
230 "$ref": "Policy"
231 },
232 "scopes": [
233 "https://www.googleapis.com/auth/cloud-platform",
234 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
235 ]
236 },
237 "search": { 122 "search": {
238 "description": "Search for folders that match specific filte r criteria.\nSearch provides an eventually consistent view of the folders a user has\naccess to which meet the specified filter criteria.\n\nThis will only retu rn folders on which the caller has the\npermission `resourcemanager.folders.get` .", 123 "description": "Search for folders that match specific filte r criteria.\nSearch provides an eventually consistent view of the folders a user has\naccess to which meet the specified filter criteria.\n\nThis will only retu rn folders on which the caller has the\npermission `resourcemanager.folders.get` .",
239 "httpMethod": "POST", 124 "httpMethod": "POST",
240 "id": "cloudresourcemanager.folders.search", 125 "id": "cloudresourcemanager.folders.search",
241 "parameterOrder": [], 126 "parameterOrder": [],
242 "parameters": {}, 127 "parameters": {},
243 "path": "v2beta1/folders:search", 128 "path": "v2beta1/folders:search",
244 "request": { 129 "request": {
245 "$ref": "SearchFoldersRequest" 130 "$ref": "SearchFoldersRequest"
246 }, 131 },
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 "type": "string" 292 "type": "string"
408 } 293 }
409 }, 294 },
410 "path": "v2beta1/{+name}", 295 "path": "v2beta1/{+name}",
411 "response": { 296 "response": {
412 "$ref": "Folder" 297 "$ref": "Folder"
413 }, 298 },
414 "scopes": [ 299 "scopes": [
415 "https://www.googleapis.com/auth/cloud-platform" 300 "https://www.googleapis.com/auth/cloud-platform"
416 ] 301 ]
302 },
303 "list": {
304 "description": "Lists the Folders that are direct descendant s of supplied parent resource.\nList provides a strongly consistent view of the Folders underneath\nthe specified parent resource.\nList returns Folders sorted based upon the (ascending) lexical ordering\nof their display_name.\nThe caller must have `resourcemanager.folders.list` permission on the\nidentified parent.",
305 "httpMethod": "GET",
306 "id": "cloudresourcemanager.folders.list",
307 "parameterOrder": [],
308 "parameters": {
309 "showDeleted": {
310 "description": "Controls whether Folders in the [DEL ETE_REQUESTED} state should\nbe returned.",
311 "location": "query",
312 "type": "boolean"
313 },
314 "pageToken": {
315 "description": "A pagination token returned from a p revious call to `ListFolders`\nthat indicates where this listing should continue from.\nThis field is optional.",
316 "location": "query",
317 "type": "string"
318 },
319 "pageSize": {
320 "description": "The maximum number of Folders to ret urn in the response.\nThis field is optional.",
321 "format": "int32",
322 "location": "query",
323 "type": "integer"
324 },
325 "parent": {
326 "description": "The resource name of the Organizatio n or Folder whose Folders are\nbeing listed.\nMust be of the form `folders/{fold er_id}` or `organizations/{org_id}`.\nAccess to this method is controlled by che cking the\n`resourcemanager.folders.list` permission on the `parent`.",
327 "location": "query",
328 "type": "string"
329 }
330 },
331 "path": "v2beta1/folders",
332 "response": {
333 "$ref": "ListFoldersResponse"
334 },
335 "scopes": [
336 "https://www.googleapis.com/auth/cloud-platform",
337 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
338 ]
339 },
340 "setIamPolicy": {
341 "description": "Sets the access control policy on a Folder, replacing any existing policy.\nThe `resource` field should be the Folder's reso urce name, e.g.\n\"folders/1234\".\nThe caller must have `resourcemanager.folder s.setIamPolicy` permission\non the identified folder.",
342 "httpMethod": "POST",
343 "id": "cloudresourcemanager.folders.setIamPolicy",
344 "parameterOrder": [
345 "resource"
346 ],
347 "parameters": {
348 "resource": {
349 "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
350 "location": "path",
351 "pattern": "^folders/[^/]+$",
352 "required": true,
353 "type": "string"
354 }
355 },
356 "path": "v2beta1/{+resource}:setIamPolicy",
357 "request": {
358 "$ref": "SetIamPolicyRequest"
359 },
360 "response": {
361 "$ref": "Policy"
362 },
363 "scopes": [
364 "https://www.googleapis.com/auth/cloud-platform"
365 ]
366 },
367 "create": {
368 "description": "Creates a Folder in the resource hierarchy.\ nReturns an Operation which can be used to track the progress of the\nfolder cre ation workflow.\nUpon success the Operation.response field will be populated wit h the\ncreated Folder.\n\nIn order to succeed, the addition of this new Folder m ust not violate\nthe Folder naming, height or fanout constraints.\n+ The Folder' s display_name must be distinct from all other Folder's that\nshare its parent.\ n+ The addition of the Folder must not cause the active Folder hierarchy\nto exc eed a height of 4. Note, the full active + deleted Folder hierarchy\nis allowed to reach a height of 8; this provides additional headroom when\nmoving folders t hat contain deleted folders.\n+ The addition of the Folder must not cause the to tal number of Folders\nunder its parent to exceed 100.\n\nIf the operation fails due to a folder constraint violation,\na PreconditionFailure explaining the vio lation will be returned.\nIf the failure occurs synchronously then the Precondit ionFailure\nwill be returned via the Status.details field and if it occurs\nasyn chronously then the PreconditionFailure will be returned\nvia the the Operation. error field.\n\nThe caller must have `resourcemanager.folders.create` permission on the\nidentified parent.",
369 "httpMethod": "POST",
370 "id": "cloudresourcemanager.folders.create",
371 "parameterOrder": [],
372 "parameters": {
373 "parent": {
374 "description": "The resource name of the new Folder' s parent.\nMust be of the form `folders/{folder_id}` or `organizations/{org_id}` .",
375 "location": "query",
376 "type": "string"
377 }
378 },
379 "path": "v2beta1/folders",
380 "request": {
381 "$ref": "Folder"
382 },
383 "response": {
384 "$ref": "Operation"
385 },
386 "scopes": [
387 "https://www.googleapis.com/auth/cloud-platform"
388 ]
389 },
390 "getIamPolicy": {
391 "description": "Gets the access control policy for a Folder. The returned policy may be\nempty if no such policy or resource exists. The `re source` field should\nbe the Folder's resource name, e.g. \"folders/1234\".\nThe caller must have `resourcemanager.folders.getIamPolicy` permission\non the iden tified folder.",
392 "httpMethod": "POST",
393 "id": "cloudresourcemanager.folders.getIamPolicy",
394 "parameterOrder": [
395 "resource"
396 ],
397 "parameters": {
398 "resource": {
399 "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
400 "location": "path",
401 "pattern": "^folders/[^/]+$",
402 "required": true,
403 "type": "string"
404 }
405 },
406 "path": "v2beta1/{+resource}:getIamPolicy",
407 "request": {
408 "$ref": "GetIamPolicyRequest"
409 },
410 "response": {
411 "$ref": "Policy"
412 },
413 "scopes": [
414 "https://www.googleapis.com/auth/cloud-platform",
415 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
416 ]
417 } 417 }
418 } 418 }
419 } 419 }
420 }, 420 },
421 "revision": "20170705", 421 "revision": "20170726",
422 "rootUrl": "https://cloudresourcemanager.googleapis.com/", 422 "rootUrl": "https://cloudresourcemanager.googleapis.com/",
423 "schemas": { 423 "schemas": {
424 "UndeleteFolderRequest": {
425 "description": "The UndeleteFolder request message.",
426 "id": "UndeleteFolderRequest",
427 "properties": {},
428 "type": "object"
429 },
430 "AuditLogConfig": {
431 "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.",
432 "id": "AuditLogConfig",
433 "properties": {
434 "exemptedMembers": {
435 "description": "Specifies the identities that do not cause l ogging for this type of\npermission.\nFollows the same format of Binding.members .",
436 "items": {
437 "type": "string"
438 },
439 "type": "array"
440 },
441 "logType": {
442 "description": "The log type that this config enables.",
443 "enum": [
444 "LOG_TYPE_UNSPECIFIED",
445 "ADMIN_READ",
446 "DATA_WRITE",
447 "DATA_READ"
448 ],
449 "enumDescriptions": [
450 "Default case. Should never be this.",
451 "Admin reads. Example: CloudIAM getIamPolicy",
452 "Data writes. Example: CloudSQL Users create",
453 "Data reads. Example: CloudSQL Users list"
454 ],
455 "type": "string"
456 }
457 },
458 "type": "object"
459 },
460 "TestIamPermissionsRequest": {
461 "description": "Request message for `TestIamPermissions` method.",
462 "id": "TestIamPermissionsRequest",
463 "properties": {
464 "permissions": {
465 "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).",
466 "items": {
467 "type": "string"
468 },
469 "type": "array"
470 }
471 },
472 "type": "object"
473 },
474 "FolderOperationError": {
475 "description": "A classification of the Folder Operation error.",
476 "id": "FolderOperationError",
477 "properties": {
478 "errorMessageId": {
479 "description": "The type of operation error experienced.",
480 "enum": [
481 "ERROR_TYPE_UNSPECIFIED",
482 "ACTIVE_FOLDER_HEIGHT_VIOLATION",
483 "MAX_CHILD_FOLDERS_VIOLATION",
484 "FOLDER_NAME_UNIQUENESS_VIOLATION",
485 "RESOURCE_DELETED_VIOLATION",
486 "PARENT_DELETED_VIOLATION",
487 "CYCLE_INTRODUCED_VIOLATION",
488 "FOLDER_BEING_MOVED_VIOLATION",
489 "FOLDER_TO_DELETE_NON_EMPTY_VIOLATION",
490 "DELETED_FOLDER_HEIGHT_VIOLATION"
491 ],
492 "enumDescriptions": [
493 "The error type was unrecognized or unspecified.",
494 "The attempted action would violate the max folder depth constraint.",
495 "The attempted action would violate the max child folder s constraint.",
496 "The attempted action would violate the locally-unique f older\ndisplay_name constraint.",
497 "The resource being moved has been deleted.",
498 "The resource a folder was being added to has been delet ed.",
499 "The attempted action would introduce cycle in resource path.",
500 "The attempted action would move a folder that is alread y being moved.",
501 "The folder the caller is trying to delete contains acti ve resources.",
502 "The attempted action would violate the max deleted fold er depth\nconstraint."
503 ],
504 "type": "string"
505 }
506 },
507 "type": "object"
508 },
509 "FolderOperation": {
510 "description": "Metadata describing a long running folder operation" ,
511 "id": "FolderOperation",
512 "properties": {
513 "destinationParent": {
514 "description": "The resource name of the folder or organizat ion we are either creating\nthe folder under or moving the folder to.",
515 "type": "string"
516 },
517 "operationType": {
518 "description": "The type of this operation.",
519 "enum": [
520 "OPERATION_TYPE_UNSPECIFIED",
521 "CREATE",
522 "MOVE"
523 ],
524 "enumDescriptions": [
525 "Operation type not specified.",
526 "A create folder operation.",
527 "A move folder operation."
528 ],
529 "type": "string"
530 },
531 "sourceParent": {
532 "description": "The resource name of the folder's parent.\nO nly applicable when the operation_type is MOVE.",
533 "type": "string"
534 },
535 "displayName": {
536 "description": "The display name of the folder.",
537 "type": "string"
538 }
539 },
540 "type": "object"
541 },
542 "Policy": {
543 "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).",
544 "id": "Policy",
545 "properties": {
546 "etag": {
547 "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.",
548 "format": "byte",
549 "type": "string"
550 },
551 "version": {
552 "description": "Version of the `Policy`. The default version is 0.",
553 "format": "int32",
554 "type": "integer"
555 },
556 "auditConfigs": {
557 "description": "Specifies cloud audit logging configuration for this policy.",
558 "items": {
559 "$ref": "AuditConfig"
560 },
561 "type": "array"
562 },
563 "bindings": {
564 "description": "Associates a list of `members` to a `role`.\ n`bindings` with no members will result in an error.",
565 "items": {
566 "$ref": "Binding"
567 },
568 "type": "array"
569 }
570 },
571 "type": "object"
572 },
573 "Operation": {
574 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.",
575 "id": "Operation",
576 "properties": {
577 "name": {
578 "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` .",
579 "type": "string"
580 },
581 "error": {
582 "$ref": "Status",
583 "description": "The error result of the operation in case of failure or cancellation."
584 },
585 "metadata": {
586 "additionalProperties": {
587 "description": "Properties of the object. Contains field @type with type URL.",
588 "type": "any"
589 },
590 "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. ",
591 "type": "object"
592 },
593 "done": {
594 "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.",
595 "type": "boolean"
596 },
597 "response": {
598 "additionalProperties": {
599 "description": "Properties of the object. Contains field @type with type URL.",
600 "type": "any"
601 },
602 "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`.",
603 "type": "object"
604 }
605 },
606 "type": "object"
607 },
608 "AuditConfig": {
609 "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.",
610 "id": "AuditConfig",
611 "properties": {
612 "service": {
613 "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.",
614 "type": "string"
615 },
616 "auditLogConfigs": {
617 "description": "The configuration for logging of each type o f permission.\nNext ID: 4",
618 "items": {
619 "$ref": "AuditLogConfig"
620 },
621 "type": "array"
622 }
623 },
624 "type": "object"
625 },
626 "ListFoldersResponse": { 424 "ListFoldersResponse": {
627 "description": "The ListFolders response message.", 425 "description": "The ListFolders response message.",
628 "id": "ListFoldersResponse", 426 "id": "ListFoldersResponse",
629 "properties": { 427 "properties": {
630 "folders": { 428 "folders": {
631 "description": "A possibly paginated list of Folders that ar e direct descendants of\nthe specified parent resource.", 429 "description": "A possibly paginated list of Folders that ar e direct descendants of\nthe specified parent resource.",
632 "items": { 430 "items": {
633 "$ref": "Folder" 431 "$ref": "Folder"
634 }, 432 },
635 "type": "array" 433 "type": "array"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
683 "description": "A pagination token returned from a previous call to `SearchFolders`\nthat indicates from where searching should continue.\nT his field is optional.", 481 "description": "A pagination token returned from a previous call to `SearchFolders`\nthat indicates from where searching should continue.\nT his field is optional.",
684 "type": "string" 482 "type": "string"
685 } 483 }
686 }, 484 },
687 "type": "object" 485 "type": "object"
688 }, 486 },
689 "Status": { 487 "Status": {
690 "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` that can be used for common error conditions.\n\n# Lang uage 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` mess age is\nexposed in different client libraries and different wire protocols, it c an be\nmapped differently. For example, it will likely be mapped to some excepti ons\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\nenvironm ents, either with or without APIs, to provide a\nconsistent developer experience 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 m ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\ n- Asynchronous operations. If an API call embeds asynchronous operation\n re sults in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are store d in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", 488 "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` that can be used for common error conditions.\n\n# Lang uage 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` mess age is\nexposed in different client libraries and different wire protocols, it c an be\nmapped differently. For example, it will likely be mapped to some excepti ons\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\nenvironm ents, either with or without APIs, to provide a\nconsistent developer experience 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 m ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\ n- Asynchronous operations. If an API call embeds asynchronous operation\n re sults in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are store d in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
691 "id": "Status", 489 "id": "Status",
692 "properties": { 490 "properties": {
491 "code": {
492 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
493 "format": "int32",
494 "type": "integer"
495 },
693 "message": { 496 "message": {
694 "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.", 497 "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.",
695 "type": "string" 498 "type": "string"
696 }, 499 },
697 "details": { 500 "details": {
698 "description": "A list of messages that carry the error deta ils. There will be a\ncommon set of message types for APIs to use.", 501 "description": "A list of messages that carry the error deta ils. There is a common set of\nmessage types for APIs to use.",
699 "items": { 502 "items": {
700 "additionalProperties": { 503 "additionalProperties": {
701 "description": "Properties of the object. Contains f ield @type with type URL.", 504 "description": "Properties of the object. Contains f ield @type with type URL.",
702 "type": "any" 505 "type": "any"
703 }, 506 },
704 "type": "object" 507 "type": "object"
705 }, 508 },
706 "type": "array" 509 "type": "array"
707 },
708 "code": {
709 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
710 "format": "int32",
711 "type": "integer"
712 } 510 }
713 }, 511 },
714 "type": "object" 512 "type": "object"
715 }, 513 },
716 "Binding": { 514 "Binding": {
717 "description": "Associates `members` with a `role`.", 515 "description": "Associates `members` with a `role`.",
718 "id": "Binding", 516 "id": "Binding",
719 "properties": { 517 "properties": {
720 "members": { 518 "members": {
721 "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", 519 "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",
(...skipping 26 matching lines...) Expand all
748 "description": "Search criteria used to select the Folders t o return.\nIf no search criteria is specified then all accessible folders will b e\nreturned.\n\nQuery expressions can be used to restrict results based upon dis playName,\nlifecycleState and parent, where the operators `=`, `NOT`, `AND` and `OR`\ncan be used along with the suffix wildcard symbol `*`.\n\nSome example que ries are:\n|Query|Description|\n|------|-----------|\n|displayName=Test*|Folders whose display name starts with \"Test\".|\n|lifecycleState=ACTIVE|Folders whose lifecycleState is ACTIVE.|\n|parent=folders/123|Folders whose parent is \"folde rs/123\".|\n|parent=folders/123 AND lifecycleState=ACTIVE|Active folders whose\n parent is \"folders/123\".|", 546 "description": "Search criteria used to select the Folders t o return.\nIf no search criteria is specified then all accessible folders will b e\nreturned.\n\nQuery expressions can be used to restrict results based upon dis playName,\nlifecycleState and parent, where the operators `=`, `NOT`, `AND` and `OR`\ncan be used along with the suffix wildcard symbol `*`.\n\nSome example que ries are:\n|Query|Description|\n|------|-----------|\n|displayName=Test*|Folders whose display name starts with \"Test\".|\n|lifecycleState=ACTIVE|Folders whose lifecycleState is ACTIVE.|\n|parent=folders/123|Folders whose parent is \"folde rs/123\".|\n|parent=folders/123 AND lifecycleState=ACTIVE|Active folders whose\n parent is \"folders/123\".|",
749 "type": "string" 547 "type": "string"
750 } 548 }
751 }, 549 },
752 "type": "object" 550 "type": "object"
753 }, 551 },
754 "Folder": { 552 "Folder": {
755 "description": "A Folder in an Organization's resource hierarchy, us ed to\norganize that Organization's resources.", 553 "description": "A Folder in an Organization's resource hierarchy, us ed to\norganize that Organization's resources.",
756 "id": "Folder", 554 "id": "Folder",
757 "properties": { 555 "properties": {
758 "name": {
759 "description": "Output only. The resource name of the Folder .\nIts format is `folders/{folder_id}`, for example: \"folders/1234\".",
760 "type": "string"
761 },
762 "displayName": {
763 "description": "The folder’s display name.\nA folder’s displ ay name must be unique amongst its siblings, e.g.\nno two folders with the same parent can share the same display name.\nThe display name must start and end wit h a letter or digit, may contain\nletters, digits, spaces, hyphens and underscor es and can be no longer\nthan 30 characters. This is captured by the regular exp ression:\n[\\p{L}\\p{N}]({\\p{L}\\p{N}_- ]{0,28}[\\p{L}\\p{N}])?.",
764 "type": "string"
765 },
766 "parent": {
767 "description": "The Folder’s parent's resource name.\nUpdate s to the folder's parent must be performed via [MoveFolders].",
768 "type": "string"
769 },
770 "createTime": { 556 "createTime": {
771 "description": "Output only. Timestamp when the Folder was c reated. Assigned by the server.", 557 "description": "Output only. Timestamp when the Folder was c reated. Assigned by the server.",
772 "format": "google-datetime", 558 "format": "google-datetime",
773 "type": "string" 559 "type": "string"
774 }, 560 },
775 "lifecycleState": { 561 "lifecycleState": {
776 "description": "Output only. The lifecycle state of the fol der.\nUpdates to the lifecycle_state must be performed via\n[DeleteFolder] and [ UndeleteFolder].", 562 "description": "Output only. The lifecycle state of the fol der.\nUpdates to the lifecycle_state must be performed via\n[DeleteFolder] and [ UndeleteFolder].",
777 "enum": [ 563 "enum": [
778 "LIFECYCLE_STATE_UNSPECIFIED", 564 "LIFECYCLE_STATE_UNSPECIFIED",
779 "ACTIVE", 565 "ACTIVE",
780 "DELETE_REQUESTED" 566 "DELETE_REQUESTED"
781 ], 567 ],
782 "enumDescriptions": [ 568 "enumDescriptions": [
783 "Unspecified state.", 569 "Unspecified state.",
784 "The normal and active state.", 570 "The normal and active state.",
785 "The folder has been marked for deletion by the user." 571 "The folder has been marked for deletion by the user."
786 ], 572 ],
787 "type": "string" 573 "type": "string"
574 },
575 "name": {
576 "description": "Output only. The resource name of the Folder .\nIts format is `folders/{folder_id}`, for example: \"folders/1234\".",
577 "type": "string"
578 },
579 "displayName": {
580 "description": "The folder’s display name.\nA folder’s displ ay name must be unique amongst its siblings, e.g.\nno two folders with the same parent can share the same display name.\nThe display name must start and end wit h a letter or digit, may contain\nletters, digits, spaces, hyphens and underscor es and can be no longer\nthan 30 characters. This is captured by the regular exp ression:\n[\\p{L}\\p{N}]({\\p{L}\\p{N}_- ]{0,28}[\\p{L}\\p{N}])?.",
581 "type": "string"
582 },
583 "parent": {
584 "description": "The Folder’s parent's resource name.\nUpdate s to the folder's parent must be performed via [MoveFolders].",
585 "type": "string"
788 } 586 }
789 }, 587 },
790 "type": "object" 588 "type": "object"
791 }, 589 },
792 "ProjectCreationStatus": { 590 "ProjectCreationStatus": {
793 "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.", 591 "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.",
794 "id": "ProjectCreationStatus", 592 "id": "ProjectCreationStatus",
795 "properties": { 593 "properties": {
594 "ready": {
595 "description": "True if the project creation process is comp lete.",
596 "type": "boolean"
597 },
796 "gettable": { 598 "gettable": {
797 "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.", 599 "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.",
798 "type": "boolean" 600 "type": "boolean"
799 }, 601 },
800 "createTime": { 602 "createTime": {
801 "description": "Creation time of the project creation workfl ow.", 603 "description": "Creation time of the project creation workfl ow.",
802 "format": "google-datetime", 604 "format": "google-datetime",
803 "type": "string" 605 "type": "string"
804 },
805 "ready": {
806 "description": "True if the project creation process is comp lete.",
807 "type": "boolean"
808 } 606 }
809 }, 607 },
810 "type": "object" 608 "type": "object"
811 }, 609 },
812 "TestIamPermissionsResponse": { 610 "TestIamPermissionsResponse": {
813 "description": "Response message for `TestIamPermissions` method.", 611 "description": "Response message for `TestIamPermissions` method.",
814 "id": "TestIamPermissionsResponse", 612 "id": "TestIamPermissionsResponse",
815 "properties": { 613 "properties": {
816 "permissions": { 614 "permissions": {
817 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is\nallowed.", 615 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is\nallowed.",
818 "items": { 616 "items": {
819 "type": "string" 617 "type": "string"
820 }, 618 },
821 "type": "array" 619 "type": "array"
822 } 620 }
823 }, 621 },
824 "type": "object" 622 "type": "object"
825 }, 623 },
826 "GetIamPolicyRequest": { 624 "GetIamPolicyRequest": {
827 "description": "Request message for `GetIamPolicy` method.", 625 "description": "Request message for `GetIamPolicy` method.",
828 "id": "GetIamPolicyRequest", 626 "id": "GetIamPolicyRequest",
829 "properties": {}, 627 "properties": {},
830 "type": "object" 628 "type": "object"
629 },
630 "UndeleteFolderRequest": {
631 "description": "The UndeleteFolder request message.",
632 "id": "UndeleteFolderRequest",
633 "properties": {},
634 "type": "object"
635 },
636 "AuditLogConfig": {
637 "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.",
638 "id": "AuditLogConfig",
639 "properties": {
640 "exemptedMembers": {
641 "description": "Specifies the identities that do not cause l ogging for this type of\npermission.\nFollows the same format of Binding.members .",
642 "items": {
643 "type": "string"
644 },
645 "type": "array"
646 },
647 "logType": {
648 "description": "The log type that this config enables.",
649 "enum": [
650 "LOG_TYPE_UNSPECIFIED",
651 "ADMIN_READ",
652 "DATA_WRITE",
653 "DATA_READ"
654 ],
655 "enumDescriptions": [
656 "Default case. Should never be this.",
657 "Admin reads. Example: CloudIAM getIamPolicy",
658 "Data writes. Example: CloudSQL Users create",
659 "Data reads. Example: CloudSQL Users list"
660 ],
661 "type": "string"
662 }
663 },
664 "type": "object"
665 },
666 "TestIamPermissionsRequest": {
667 "description": "Request message for `TestIamPermissions` method.",
668 "id": "TestIamPermissionsRequest",
669 "properties": {
670 "permissions": {
671 "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).",
672 "items": {
673 "type": "string"
674 },
675 "type": "array"
676 }
677 },
678 "type": "object"
679 },
680 "FolderOperationError": {
681 "description": "A classification of the Folder Operation error.",
682 "id": "FolderOperationError",
683 "properties": {
684 "errorMessageId": {
685 "description": "The type of operation error experienced.",
686 "enum": [
687 "ERROR_TYPE_UNSPECIFIED",
688 "ACTIVE_FOLDER_HEIGHT_VIOLATION",
689 "MAX_CHILD_FOLDERS_VIOLATION",
690 "FOLDER_NAME_UNIQUENESS_VIOLATION",
691 "RESOURCE_DELETED_VIOLATION",
692 "PARENT_DELETED_VIOLATION",
693 "CYCLE_INTRODUCED_VIOLATION",
694 "FOLDER_BEING_MOVED_VIOLATION",
695 "FOLDER_TO_DELETE_NON_EMPTY_VIOLATION",
696 "DELETED_FOLDER_HEIGHT_VIOLATION"
697 ],
698 "enumDescriptions": [
699 "The error type was unrecognized or unspecified.",
700 "The attempted action would violate the max folder depth constraint.",
701 "The attempted action would violate the max child folder s constraint.",
702 "The attempted action would violate the locally-unique f older\ndisplay_name constraint.",
703 "The resource being moved has been deleted.",
704 "The resource a folder was being added to has been delet ed.",
705 "The attempted action would introduce cycle in resource path.",
706 "The attempted action would move a folder that is alread y being moved.",
707 "The folder the caller is trying to delete contains acti ve resources.",
708 "The attempted action would violate the max deleted fold er depth\nconstraint."
709 ],
710 "type": "string"
711 }
712 },
713 "type": "object"
714 },
715 "FolderOperation": {
716 "description": "Metadata describing a long running folder operation" ,
717 "id": "FolderOperation",
718 "properties": {
719 "operationType": {
720 "description": "The type of this operation.",
721 "enum": [
722 "OPERATION_TYPE_UNSPECIFIED",
723 "CREATE",
724 "MOVE"
725 ],
726 "enumDescriptions": [
727 "Operation type not specified.",
728 "A create folder operation.",
729 "A move folder operation."
730 ],
731 "type": "string"
732 },
733 "sourceParent": {
734 "description": "The resource name of the folder's parent.\nO nly applicable when the operation_type is MOVE.",
735 "type": "string"
736 },
737 "displayName": {
738 "description": "The display name of the folder.",
739 "type": "string"
740 },
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 },
746 "type": "object"
747 },
748 "Policy": {
749 "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).",
750 "id": "Policy",
751 "properties": {
752 "auditConfigs": {
753 "description": "Specifies cloud audit logging configuration for this policy.",
754 "items": {
755 "$ref": "AuditConfig"
756 },
757 "type": "array"
758 },
759 "bindings": {
760 "description": "Associates a list of `members` to a `role`.\ n`bindings` with no members will result in an error.",
761 "items": {
762 "$ref": "Binding"
763 },
764 "type": "array"
765 },
766 "etag": {
767 "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.",
768 "format": "byte",
769 "type": "string"
770 },
771 "version": {
772 "description": "Version of the `Policy`. The default version is 0.",
773 "format": "int32",
774 "type": "integer"
775 }
776 },
777 "type": "object"
778 },
779 "AuditConfig": {
780 "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.",
781 "id": "AuditConfig",
782 "properties": {
783 "service": {
784 "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.",
785 "type": "string"
786 },
787 "auditLogConfigs": {
788 "description": "The configuration for logging of each type o f permission.\nNext ID: 4",
789 "items": {
790 "$ref": "AuditLogConfig"
791 },
792 "type": "array"
793 }
794 },
795 "type": "object"
796 },
797 "Operation": {
798 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.",
799 "id": "Operation",
800 "properties": {
801 "error": {
802 "$ref": "Status",
803 "description": "The error result of the operation in case of failure or cancellation."
804 },
805 "metadata": {
806 "additionalProperties": {
807 "description": "Properties of the object. Contains field @type with type URL.",
808 "type": "any"
809 },
810 "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. ",
811 "type": "object"
812 },
813 "done": {
814 "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.",
815 "type": "boolean"
816 },
817 "response": {
818 "additionalProperties": {
819 "description": "Properties of the object. Contains field @type with type URL.",
820 "type": "any"
821 },
822 "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`.",
823 "type": "object"
824 },
825 "name": {
826 "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` .",
827 "type": "string"
828 }
829 },
830 "type": "object"
831 } 831 }
832 }, 832 },
833 "servicePath": "", 833 "servicePath": "",
834 "title": "Google Cloud Resource Manager API", 834 "title": "Google Cloud Resource Manager API",
835 "version": "v2beta1" 835 "version": "v2beta1"
836 } 836 }
OLDNEW
« no previous file with comments | « discovery/googleapis/cloudresourcemanager__v1.json ('k') | discovery/googleapis/cloudtrace__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698