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

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

Issue 2973303002: Api-Roll 51: 2017-07-10 (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « discovery/googleapis/gmail__v1.json ('k') | discovery/googleapis/kgsearch__v1.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 } 7 }
8 } 8 }
9 } 9 }
10 }, 10 },
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 "proto" 73 "proto"
74 ], 74 ],
75 "enumDescriptions": [ 75 "enumDescriptions": [
76 "Responses with Content-Type of application/json", 76 "Responses with Content-Type of application/json",
77 "Media download with context-dependent Content-Type", 77 "Media download with context-dependent Content-Type",
78 "Responses with Content-Type of application/x-protobuf" 78 "Responses with Content-Type of application/x-protobuf"
79 ], 79 ],
80 "location": "query", 80 "location": "query",
81 "type": "string" 81 "type": "string"
82 }, 82 },
83 "key": {
84 "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.",
85 "location": "query",
86 "type": "string"
87 },
83 "access_token": { 88 "access_token": {
84 "description": "OAuth access token.", 89 "description": "OAuth access token.",
85 "location": "query", 90 "location": "query",
86 "type": "string" 91 "type": "string"
87 }, 92 },
88 "key": {
89 "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.",
90 "location": "query",
91 "type": "string"
92 },
93 "quotaUser": { 93 "quotaUser": {
94 "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.", 94 "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.",
95 "location": "query", 95 "location": "query",
96 "type": "string" 96 "type": "string"
97 }, 97 },
98 "pp": { 98 "pp": {
99 "default": "true", 99 "default": "true",
100 "description": "Pretty-print response.", 100 "description": "Pretty-print response.",
101 "location": "query", 101 "location": "query",
102 "type": "boolean" 102 "type": "boolean"
103 }, 103 },
104 "bearer_token": {
105 "description": "OAuth bearer token.",
106 "location": "query",
107 "type": "string"
108 },
104 "oauth_token": { 109 "oauth_token": {
105 "description": "OAuth 2.0 token for the current user.", 110 "description": "OAuth 2.0 token for the current user.",
106 "location": "query", 111 "location": "query",
107 "type": "string" 112 "type": "string"
108 },
109 "bearer_token": {
110 "description": "OAuth bearer token.",
111 "location": "query",
112 "type": "string"
113 } 113 }
114 }, 114 },
115 "protocol": "rest", 115 "protocol": "rest",
116 "resources": { 116 "resources": {
117 "projects": { 117 "projects": {
118 "resources": { 118 "resources": {
119 "serviceAccounts": { 119 "serviceAccounts": {
120 "methods": { 120 "methods": {
121 "getIamPolicy": {
122 "description": "Returns the IAM access control polic y for a\nServiceAccount.",
123 "httpMethod": "POST",
124 "id": "iam.projects.serviceAccounts.getIamPolicy",
125 "parameterOrder": [
126 "resource"
127 ],
128 "parameters": {
129 "resource": {
130 "description": "REQUIRED: The resource for w hich the policy is being requested.\nSee the operation documentation for the app ropriate value for this field.",
131 "location": "path",
132 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
133 "required": true,
134 "type": "string"
135 }
136 },
137 "path": "v1/{+resource}:getIamPolicy",
138 "response": {
139 "$ref": "Policy"
140 },
141 "scopes": [
142 "https://www.googleapis.com/auth/cloud-platform"
143 ]
144 },
145 "get": { 121 "get": {
146 "description": "Gets a ServiceAccount.", 122 "description": "Gets a ServiceAccount.",
147 "httpMethod": "GET", 123 "httpMethod": "GET",
148 "id": "iam.projects.serviceAccounts.get", 124 "id": "iam.projects.serviceAccounts.get",
149 "parameterOrder": [ 125 "parameterOrder": [
150 "name" 126 "name"
151 ], 127 ],
152 "parameters": { 128 "parameters": {
153 "name": { 129 "name": {
154 "description": "The resource name of the ser vice account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{S ERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the \n`unique_id` of the service account.", 130 "description": "The resource name of the ser vice account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{S ERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the \n`unique_id` of the service account.",
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 ] 248 ]
273 }, 249 },
274 "list": { 250 "list": {
275 "description": "Lists ServiceAccounts for a project. ", 251 "description": "Lists ServiceAccounts for a project. ",
276 "httpMethod": "GET", 252 "httpMethod": "GET",
277 "id": "iam.projects.serviceAccounts.list", 253 "id": "iam.projects.serviceAccounts.list",
278 "parameterOrder": [ 254 "parameterOrder": [
279 "name" 255 "name"
280 ], 256 ],
281 "parameters": { 257 "parameters": {
258 "pageToken": {
259 "description": "Optional pagination token re turned in an earlier\nListServiceAccountsResponse.next_page_token.",
260 "location": "query",
261 "type": "string"
262 },
282 "name": { 263 "name": {
283 "description": "Required. The resource name of the project associated with the service\naccounts, such as `projects/my-proje ct-123`.", 264 "description": "Required. The resource name of the project associated with the service\naccounts, such as `projects/my-proje ct-123`.",
284 "location": "path", 265 "location": "path",
285 "pattern": "^projects/[^/]+$", 266 "pattern": "^projects/[^/]+$",
286 "required": true, 267 "required": true,
287 "type": "string" 268 "type": "string"
288 }, 269 },
289 "pageToken": {
290 "description": "Optional pagination token re turned in an earlier\nListServiceAccountsResponse.next_page_token.",
291 "location": "query",
292 "type": "string"
293 },
294 "pageSize": { 270 "pageSize": {
295 "description": "Optional limit on the number of service accounts to include in the\nresponse. Further accounts can subsequen tly be obtained by including the\nListServiceAccountsResponse.next_page_token\ni n a subsequent request.", 271 "description": "Optional limit on the number of service accounts to include in the\nresponse. Further accounts can subsequen tly be obtained by including the\nListServiceAccountsResponse.next_page_token\ni n a subsequent request.",
296 "format": "int32", 272 "format": "int32",
297 "location": "query", 273 "location": "query",
298 "type": "integer" 274 "type": "integer"
299 } 275 }
300 }, 276 },
301 "path": "v1/{+name}/serviceAccounts", 277 "path": "v1/{+name}/serviceAccounts",
302 "response": { 278 "response": {
303 "$ref": "ListServiceAccountsResponse" 279 "$ref": "ListServiceAccountsResponse"
304 }, 280 },
305 "scopes": [ 281 "scopes": [
306 "https://www.googleapis.com/auth/cloud-platform" 282 "https://www.googleapis.com/auth/cloud-platform"
307 ] 283 ]
308 }, 284 },
285 "signJwt": {
286 "description": "Signs a JWT using a service account' s system-managed private key.\n\nIf no expiry time (`exp`) is provided in the `S ignJwtRequest`, IAM sets an\nan expiry time of one hour by default. If you reque st an expiry time of\nmore than one hour, the request will fail.",
287 "httpMethod": "POST",
288 "id": "iam.projects.serviceAccounts.signJwt",
289 "parameterOrder": [
290 "name"
291 ],
292 "parameters": {
293 "name": {
294 "description": "The resource name of the ser vice account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{S ERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the \n`unique_id` of the service account.",
295 "location": "path",
296 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
297 "required": true,
298 "type": "string"
299 }
300 },
301 "path": "v1/{+name}:signJwt",
302 "request": {
303 "$ref": "SignJwtRequest"
304 },
305 "response": {
306 "$ref": "SignJwtResponse"
307 },
308 "scopes": [
309 "https://www.googleapis.com/auth/cloud-platform"
310 ]
311 },
309 "setIamPolicy": { 312 "setIamPolicy": {
310 "description": "Sets the IAM access control policy f or a\nServiceAccount.", 313 "description": "Sets the IAM access control policy f or a\nServiceAccount.",
311 "httpMethod": "POST", 314 "httpMethod": "POST",
312 "id": "iam.projects.serviceAccounts.setIamPolicy", 315 "id": "iam.projects.serviceAccounts.setIamPolicy",
313 "parameterOrder": [ 316 "parameterOrder": [
314 "resource" 317 "resource"
315 ], 318 ],
316 "parameters": { 319 "parameters": {
317 "resource": { 320 "resource": {
318 "description": "REQUIRED: The resource for w hich the policy is being specified.\nSee the operation documentation for the app ropriate value for this field.", 321 "description": "REQUIRED: The resource for w hich the policy is being specified.\nSee the operation documentation for the app ropriate value for this field.",
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 "request": { 356 "request": {
354 "$ref": "CreateServiceAccountRequest" 357 "$ref": "CreateServiceAccountRequest"
355 }, 358 },
356 "response": { 359 "response": {
357 "$ref": "ServiceAccount" 360 "$ref": "ServiceAccount"
358 }, 361 },
359 "scopes": [ 362 "scopes": [
360 "https://www.googleapis.com/auth/cloud-platform" 363 "https://www.googleapis.com/auth/cloud-platform"
361 ] 364 ]
362 }, 365 },
363 "signJwt": { 366 "getIamPolicy": {
364 "description": "Signs a JWT using a service account' s system-managed private key.\n\nIf no expiry time (`exp`) is provided in the `S ignJwtRequest`, IAM sets an\nan expiry time of one hour by default. If you reque st an expiry time of\nmore than one hour, the request will fail.", 367 "description": "Returns the IAM access control polic y for a\nServiceAccount.",
365 "httpMethod": "POST", 368 "httpMethod": "POST",
366 "id": "iam.projects.serviceAccounts.signJwt", 369 "id": "iam.projects.serviceAccounts.getIamPolicy",
367 "parameterOrder": [ 370 "parameterOrder": [
368 "name" 371 "resource"
369 ], 372 ],
370 "parameters": { 373 "parameters": {
371 "name": { 374 "resource": {
372 "description": "The resource name of the ser vice account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{S ERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the \n`unique_id` of the service account.", 375 "description": "REQUIRED: The resource for w hich the policy is being requested.\nSee the operation documentation for the app ropriate value for this field.",
373 "location": "path", 376 "location": "path",
374 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$", 377 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
375 "required": true, 378 "required": true,
376 "type": "string" 379 "type": "string"
377 } 380 }
378 }, 381 },
379 "path": "v1/{+name}:signJwt", 382 "path": "v1/{+resource}:getIamPolicy",
380 "request": {
381 "$ref": "SignJwtRequest"
382 },
383 "response": { 383 "response": {
384 "$ref": "SignJwtResponse" 384 "$ref": "Policy"
385 }, 385 },
386 "scopes": [ 386 "scopes": [
387 "https://www.googleapis.com/auth/cloud-platform" 387 "https://www.googleapis.com/auth/cloud-platform"
388 ] 388 ]
389 } 389 }
390 }, 390 },
391 "resources": { 391 "resources": {
392 "keys": { 392 "keys": {
393 "methods": { 393 "methods": {
394 "create": {
395 "description": "Creates a ServiceAccountKey\ nand returns it.",
396 "httpMethod": "POST",
397 "id": "iam.projects.serviceAccounts.keys.cre ate",
398 "parameterOrder": [
399 "name"
400 ],
401 "parameters": {
402 "name": {
403 "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAcc ounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will in fer the project from\nthe account. The `account` value can be the `email` addres s or the\n`unique_id` of the service account.",
404 "location": "path",
405 "pattern": "^projects/[^/]+/serviceA ccounts/[^/]+$",
406 "required": true,
407 "type": "string"
408 }
409 },
410 "path": "v1/{+name}/keys",
411 "request": {
412 "$ref": "CreateServiceAccountKeyRequest"
413 },
414 "response": {
415 "$ref": "ServiceAccountKey"
416 },
417 "scopes": [
418 "https://www.googleapis.com/auth/cloud-p latform"
419 ]
420 },
421 "delete": { 394 "delete": {
422 "description": "Deletes a ServiceAccountKey. ", 395 "description": "Deletes a ServiceAccountKey. ",
423 "httpMethod": "DELETE", 396 "httpMethod": "DELETE",
424 "id": "iam.projects.serviceAccounts.keys.del ete", 397 "id": "iam.projects.serviceAccounts.keys.del ete",
425 "parameterOrder": [ 398 "parameterOrder": [
426 "name" 399 "name"
427 ], 400 ],
428 "parameters": { 401 "parameters": {
429 "name": { 402 "name": {
430 "description": "The resource name of the service account key in the following format:\n`projects/{PROJECT_ID}/servic eAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.", 403 "description": "The resource name of the service account key in the following format:\n`projects/{PROJECT_ID}/servic eAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.",
431 "location": "path", 404 "location": "path",
432 "pattern": "^projects/[^/]+/serviceA ccounts/[^/]+/keys/[^/]+$", 405 "pattern": "^projects/[^/]+/serviceA ccounts/[^/]+/keys/[^/]+$",
433 "required": true, 406 "required": true,
407 "type": "string"
408 }
409 },
410 "path": "v1/{+name}",
411 "response": {
412 "$ref": "Empty"
413 },
414 "scopes": [
415 "https://www.googleapis.com/auth/cloud-p latform"
416 ]
417 },
418 "get": {
419 "description": "Gets the ServiceAccountKey\n by key id.",
420 "httpMethod": "GET",
421 "id": "iam.projects.serviceAccounts.keys.get ",
422 "parameterOrder": [
423 "name"
424 ],
425 "parameters": {
426 "publicKeyType": {
427 "description": "The output format of the public key requested.\nX509_PEM is the default output format.",
428 "enum": [
429 "TYPE_NONE",
430 "TYPE_X509_PEM_FILE",
431 "TYPE_RAW_PUBLIC_KEY"
432 ],
433 "location": "query",
434 "type": "string"
435 },
436 "name": {
437 "description": "The resource name of the service account key in the following format:\n`projects/{PROJECT_ID}/servic eAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.\n\nUsing `-` as a wildcard for th e project will infer the project from\nthe account. The `account` value can be t he `email` address or the\n`unique_id` of the service account.",
438 "location": "path",
439 "pattern": "^projects/[^/]+/serviceA ccounts/[^/]+/keys/[^/]+$",
440 "required": true,
434 "type": "string" 441 "type": "string"
435 } 442 }
436 }, 443 },
437 "path": "v1/{+name}", 444 "path": "v1/{+name}",
438 "response": { 445 "response": {
439 "$ref": "Empty" 446 "$ref": "ServiceAccountKey"
440 }, 447 },
441 "scopes": [ 448 "scopes": [
442 "https://www.googleapis.com/auth/cloud-p latform" 449 "https://www.googleapis.com/auth/cloud-p latform"
443 ] 450 ]
444 }, 451 },
445 "list": { 452 "list": {
446 "description": "Lists ServiceAccountKeys.", 453 "description": "Lists ServiceAccountKeys.",
447 "httpMethod": "GET", 454 "httpMethod": "GET",
448 "id": "iam.projects.serviceAccounts.keys.lis t", 455 "id": "iam.projects.serviceAccounts.keys.lis t",
449 "parameterOrder": [ 456 "parameterOrder": [
(...skipping 20 matching lines...) Expand all
470 } 477 }
471 }, 478 },
472 "path": "v1/{+name}/keys", 479 "path": "v1/{+name}/keys",
473 "response": { 480 "response": {
474 "$ref": "ListServiceAccountKeysResponse" 481 "$ref": "ListServiceAccountKeysResponse"
475 }, 482 },
476 "scopes": [ 483 "scopes": [
477 "https://www.googleapis.com/auth/cloud-p latform" 484 "https://www.googleapis.com/auth/cloud-p latform"
478 ] 485 ]
479 }, 486 },
480 "get": { 487 "create": {
481 "description": "Gets the ServiceAccountKey\n by key id.", 488 "description": "Creates a ServiceAccountKey\ nand returns it.",
482 "httpMethod": "GET", 489 "httpMethod": "POST",
483 "id": "iam.projects.serviceAccounts.keys.get ", 490 "id": "iam.projects.serviceAccounts.keys.cre ate",
484 "parameterOrder": [ 491 "parameterOrder": [
485 "name" 492 "name"
486 ], 493 ],
487 "parameters": { 494 "parameters": {
488 "publicKeyType": {
489 "description": "The output format of the public key requested.\nX509_PEM is the default output format.",
490 "enum": [
491 "TYPE_NONE",
492 "TYPE_X509_PEM_FILE",
493 "TYPE_RAW_PUBLIC_KEY"
494 ],
495 "location": "query",
496 "type": "string"
497 },
498 "name": { 495 "name": {
499 "description": "The resource name of the service account key in the following format:\n`projects/{PROJECT_ID}/servic eAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.\n\nUsing `-` as a wildcard for th e project will infer the project from\nthe account. The `account` value can be t he `email` address or the\n`unique_id` of the service account.", 496 "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAcc ounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will in fer the project from\nthe account. The `account` value can be the `email` addres s or the\n`unique_id` of the service account.",
500 "location": "path", 497 "location": "path",
501 "pattern": "^projects/[^/]+/serviceA ccounts/[^/]+/keys/[^/]+$", 498 "pattern": "^projects/[^/]+/serviceA ccounts/[^/]+$",
502 "required": true, 499 "required": true,
503 "type": "string" 500 "type": "string"
504 } 501 }
505 }, 502 },
506 "path": "v1/{+name}", 503 "path": "v1/{+name}/keys",
504 "request": {
505 "$ref": "CreateServiceAccountKeyRequest"
506 },
507 "response": { 507 "response": {
508 "$ref": "ServiceAccountKey" 508 "$ref": "ServiceAccountKey"
509 }, 509 },
510 "scopes": [ 510 "scopes": [
511 "https://www.googleapis.com/auth/cloud-p latform" 511 "https://www.googleapis.com/auth/cloud-p latform"
512 ] 512 ]
513 } 513 }
514 } 514 }
515 } 515 }
516 } 516 }
(...skipping 15 matching lines...) Expand all
532 "response": { 532 "response": {
533 "$ref": "QueryGrantableRolesResponse" 533 "$ref": "QueryGrantableRolesResponse"
534 }, 534 },
535 "scopes": [ 535 "scopes": [
536 "https://www.googleapis.com/auth/cloud-platform" 536 "https://www.googleapis.com/auth/cloud-platform"
537 ] 537 ]
538 } 538 }
539 } 539 }
540 } 540 }
541 }, 541 },
542 "revision": "20170526", 542 "revision": "20170622",
543 "rootUrl": "https://iam.googleapis.com/", 543 "rootUrl": "https://iam.googleapis.com/",
544 "schemas": { 544 "schemas": {
545 "PolicyDelta": {
546 "description": "The difference delta between two policies.",
547 "id": "PolicyDelta",
548 "properties": {
549 "bindingDeltas": {
550 "description": "The delta for Bindings between two policies. ",
551 "items": {
552 "$ref": "BindingDelta"
553 },
554 "type": "array"
555 }
556 },
557 "type": "object"
558 },
559 "CreateServiceAccountRequest": {
560 "description": "The service account create request.",
561 "id": "CreateServiceAccountRequest",
562 "properties": {
563 "serviceAccount": {
564 "$ref": "ServiceAccount",
565 "description": "The ServiceAccount resource to create.\nCurr ently, only the following values are user assignable:\n`display_name` ."
566 },
567 "accountId": {
568 "description": "Required. The account id that is used to gen erate the service account\nemail address and a stable unique id. It is unique wi thin a project,\nmust be 6-30 characters long, and match the regular expression\ n`[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035.",
569 "type": "string"
570 }
571 },
572 "type": "object"
573 },
574 "ListServiceAccountsResponse": {
575 "description": "The service account list response.",
576 "id": "ListServiceAccountsResponse",
577 "properties": {
578 "nextPageToken": {
579 "description": "To retrieve the next page of results, set\nL istServiceAccountsRequest.page_token\nto this value.",
580 "type": "string"
581 },
582 "accounts": {
583 "description": "The list of matching service accounts.",
584 "items": {
585 "$ref": "ServiceAccount"
586 },
587 "type": "array"
588 }
589 },
590 "type": "object"
591 },
545 "QueryGrantableRolesResponse": { 592 "QueryGrantableRolesResponse": {
546 "description": "The grantable role query response.", 593 "description": "The grantable role query response.",
547 "id": "QueryGrantableRolesResponse", 594 "id": "QueryGrantableRolesResponse",
548 "properties": { 595 "properties": {
596 "nextPageToken": {
597 "description": "To retrieve the next page of results, set\n` QueryGrantableRolesRequest.page_token` to this value.",
598 "type": "string"
599 },
549 "roles": { 600 "roles": {
550 "description": "The list of matching roles.", 601 "description": "The list of matching roles.",
551 "items": { 602 "items": {
552 "$ref": "Role" 603 "$ref": "Role"
553 }, 604 },
554 "type": "array" 605 "type": "array"
555 },
556 "nextPageToken": {
557 "description": "To retrieve the next page of results, set\n` QueryGrantableRolesRequest.page_token` to this value.",
558 "type": "string"
559 } 606 }
560 }, 607 },
561 "type": "object" 608 "type": "object"
562 },
563 "SignBlobRequest": {
564 "description": "The service account sign blob request.",
565 "id": "SignBlobRequest",
566 "properties": {
567 "bytesToSign": {
568 "description": "The bytes to sign.",
569 "format": "byte",
570 "type": "string"
571 }
572 },
573 "type": "object"
574 }, 609 },
575 "Role": { 610 "Role": {
576 "description": "A role in the Identity and Access Management API.", 611 "description": "A role in the Identity and Access Management API.",
577 "id": "Role", 612 "id": "Role",
578 "properties": { 613 "properties": {
614 "description": {
615 "description": "Optional. A human-readable description for the role.",
616 "type": "string"
617 },
579 "title": { 618 "title": {
580 "description": "Optional. A human-readable title for the ro le. Typically this\nis limited to 100 UTF-8 bytes.", 619 "description": "Optional. A human-readable title for the ro le. Typically this\nis limited to 100 UTF-8 bytes.",
581 "type": "string" 620 "type": "string"
582 }, 621 },
583 "name": { 622 "name": {
584 "description": "The name of the role.\n\nWhen Role is used i n CreateRole, the role name must not be set.\n\nWhen Role is used in output and other input such as UpdateRole, the role\nname is the complete path, e.g., roles /logging.viewer for curated roles\nand organizations/{ORGANIZATION_ID}/roles/log ging.viewer for custom roles.", 623 "description": "The name of the role.\n\nWhen Role is used i n CreateRole, the role name must not be set.\n\nWhen Role is used in output and other input such as UpdateRole, the role\nname is the complete path, e.g., roles /logging.viewer for curated roles\nand organizations/{ORGANIZATION_ID}/roles/log ging.viewer for custom roles.",
585 "type": "string" 624 "type": "string"
586 }, 625 }
587 "description": { 626 },
588 "description": "Optional. A human-readable description for the role.", 627 "type": "object"
628 },
629 "SignBlobRequest": {
630 "description": "The service account sign blob request.",
631 "id": "SignBlobRequest",
632 "properties": {
633 "bytesToSign": {
634 "description": "The bytes to sign.",
635 "format": "byte",
589 "type": "string" 636 "type": "string"
590 } 637 }
591 }, 638 },
592 "type": "object" 639 "type": "object"
593 }, 640 },
594 "SetIamPolicyRequest": { 641 "SetIamPolicyRequest": {
595 "description": "Request message for `SetIamPolicy` method.", 642 "description": "Request message for `SetIamPolicy` method.",
596 "id": "SetIamPolicyRequest", 643 "id": "SetIamPolicyRequest",
597 "properties": { 644 "properties": {
598 "policy": { 645 "policy": {
(...skipping 14 matching lines...) Expand all
613 }, 660 },
614 "type": "array" 661 "type": "array"
615 }, 662 },
616 "role": { 663 "role": {
617 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", 664 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
618 "type": "string" 665 "type": "string"
619 } 666 }
620 }, 667 },
621 "type": "object" 668 "type": "object"
622 }, 669 },
623 "QueryGrantableRolesRequest": {
624 "description": "The grantable role query request.",
625 "id": "QueryGrantableRolesRequest",
626 "properties": {
627 "fullResourceName": {
628 "description": "Required. The full resource name to query fr om the list of grantable roles.\n\nThe name follows the Google Cloud Platform re source format.\nFor example, a Cloud Platform project with id `my-project` will be named\n`//cloudresourcemanager.googleapis.com/projects/my-project`.",
629 "type": "string"
630 },
631 "pageToken": {
632 "description": "Optional pagination token returned in an ear lier\nQueryGrantableRolesResponse.",
633 "type": "string"
634 },
635 "pageSize": {
636 "description": "Optional limit on the number of roles to inc lude in the response.",
637 "format": "int32",
638 "type": "integer"
639 }
640 },
641 "type": "object"
642 },
643 "Empty": {
644 "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 `{}`.",
645 "id": "Empty",
646 "properties": {},
647 "type": "object"
648 },
649 "ServiceAccount": { 670 "ServiceAccount": {
650 "description": "A service account in the Identity and Access Managem ent API.\n\nTo create a service account, specify the `project_id` and the `accou nt_id`\nfor the account. The `account_id` is unique within the project, and is used\nto generate the service account email address and a stable\n`unique_id`.\n \nIf the account already exists, the account's resource name is returned\nin uti l::Status's ResourceInfo.resource_name in the format of\nprojects/{PROJECT_ID}/s erviceAccounts/{SERVICE_ACCOUNT_EMAIL}. The caller can\nuse the name in other me thods to access the account.\n\nAll other methods can identify the service accou nt using the format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMA IL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of t he service account.", 671 "description": "A service account in the Identity and Access Managem ent API.\n\nTo create a service account, specify the `project_id` and the `accou nt_id`\nfor the account. The `account_id` is unique within the project, and is used\nto generate the service account email address and a stable\n`unique_id`.\n \nIf the account already exists, the account's resource name is returned\nin uti l::Status's ResourceInfo.resource_name in the format of\nprojects/{PROJECT_ID}/s erviceAccounts/{SERVICE_ACCOUNT_EMAIL}. The caller can\nuse the name in other me thods to access the account.\n\nAll other methods can identify the service accou nt using the format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMA IL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of t he service account.",
651 "id": "ServiceAccount", 672 "id": "ServiceAccount",
652 "properties": { 673 "properties": {
674 "displayName": {
675 "description": "Optional. A user-specified description of th e service account. Must be\nfewer than 100 UTF-8 bytes.",
676 "type": "string"
677 },
653 "etag": { 678 "etag": {
654 "description": "Used to perform a consistent read-modify-wri te.", 679 "description": "Used to perform a consistent read-modify-wri te.",
655 "format": "byte", 680 "format": "byte",
656 "type": "string" 681 "type": "string"
657 }, 682 },
658 "name": { 683 "name": {
659 "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_E MAIL}`.\n\nRequests using `-` as a wildcard for the project will infer the proje ct\nfrom the `account` and the `account` value can be the `email` address or\nth e `unique_id` of the service account.\n\nIn responses the resource name will alw ays be in the format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EM AIL}`.", 684 "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_E MAIL}`.\n\nRequests using `-` as a wildcard for the project will infer the proje ct\nfrom the `account` and the `account` value can be the `email` address or\nth e `unique_id` of the service account.\n\nIn responses the resource name will alw ays be in the format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EM AIL}`.",
660 "type": "string" 685 "type": "string"
661 }, 686 },
662 "email": { 687 "email": {
663 "description": "@OutputOnly The email address of the service account.", 688 "description": "@OutputOnly The email address of the service account.",
664 "type": "string" 689 "type": "string"
665 }, 690 },
666 "projectId": { 691 "projectId": {
667 "description": "@OutputOnly The id of the project that owns the service account.", 692 "description": "@OutputOnly The id of the project that owns the service account.",
668 "type": "string" 693 "type": "string"
669 }, 694 },
670 "oauth2ClientId": {
671 "description": "@OutputOnly. The OAuth2 client id for the se rvice account.\nThis is used in conjunction with the OAuth2 clientconfig API to make\nthree legged OAuth2 (3LO) flows to access the data of Google users.",
672 "type": "string"
673 },
674 "uniqueId": { 695 "uniqueId": {
675 "description": "@OutputOnly The unique and stable id of the service account.", 696 "description": "@OutputOnly The unique and stable id of the service account.",
676 "type": "string" 697 "type": "string"
677 }, 698 },
678 "displayName": { 699 "oauth2ClientId": {
679 "description": "Optional. A user-specified description of th e service account. Must be\nfewer than 100 UTF-8 bytes.", 700 "description": "@OutputOnly. The OAuth2 client id for the se rvice account.\nThis is used in conjunction with the OAuth2 clientconfig API to make\nthree legged OAuth2 (3LO) flows to access the data of Google users.",
680 "type": "string" 701 "type": "string"
681 } 702 }
682 }, 703 },
683 "type": "object" 704 "type": "object"
684 }, 705 },
685 "TestIamPermissionsResponse": { 706 "Empty": {
686 "description": "Response message for `TestIamPermissions` method.", 707 "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 `{}`.",
687 "id": "TestIamPermissionsResponse", 708 "id": "Empty",
709 "properties": {},
710 "type": "object"
711 },
712 "QueryGrantableRolesRequest": {
713 "description": "The grantable role query request.",
714 "id": "QueryGrantableRolesRequest",
688 "properties": { 715 "properties": {
689 "permissions": { 716 "pageSize": {
690 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is\nallowed.", 717 "description": "Optional limit on the number of roles to inc lude in the response.",
691 "items": { 718 "format": "int32",
692 "type": "string" 719 "type": "integer"
693 }, 720 },
694 "type": "array" 721 "fullResourceName": {
722 "description": "Required. The full resource name to query fr om the list of grantable roles.\n\nThe name follows the Google Cloud Platform re source format.\nFor example, a Cloud Platform project with id `my-project` will be named\n`//cloudresourcemanager.googleapis.com/projects/my-project`.",
723 "type": "string"
724 },
725 "pageToken": {
726 "description": "Optional pagination token returned in an ear lier\nQueryGrantableRolesResponse.",
727 "type": "string"
695 } 728 }
696 }, 729 },
697 "type": "object" 730 "type": "object"
698 }, 731 },
699 "ListServiceAccountKeysResponse": { 732 "ListServiceAccountKeysResponse": {
700 "description": "The service account keys list response.", 733 "description": "The service account keys list response.",
701 "id": "ListServiceAccountKeysResponse", 734 "id": "ListServiceAccountKeysResponse",
702 "properties": { 735 "properties": {
703 "keys": { 736 "keys": {
704 "description": "The public keys for the service account.", 737 "description": "The public keys for the service account.",
705 "items": { 738 "items": {
706 "$ref": "ServiceAccountKey" 739 "$ref": "ServiceAccountKey"
707 }, 740 },
708 "type": "array" 741 "type": "array"
709 } 742 }
710 }, 743 },
711 "type": "object" 744 "type": "object"
712 }, 745 },
746 "TestIamPermissionsResponse": {
747 "description": "Response message for `TestIamPermissions` method.",
748 "id": "TestIamPermissionsResponse",
749 "properties": {
750 "permissions": {
751 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is\nallowed.",
752 "items": {
753 "type": "string"
754 },
755 "type": "array"
756 }
757 },
758 "type": "object"
759 },
713 "ServiceAccountKey": { 760 "ServiceAccountKey": {
714 "description": "Represents a service account key.\n\nA service accou nt has two sets of key-pairs: user-managed, and\nsystem-managed.\n\nUser-managed key-pairs can be created and deleted by users. Users are\nresponsible for rota ting these keys periodically to ensure security of\ntheir service accounts. Use rs retain the private key of these key-pairs,\nand Google retains ONLY the publi c key.\n\nSystem-managed key-pairs are managed automatically by Google, and rota ted\ndaily without user intervention. The private key never leaves Google's\nse rvers to maximize security.\n\nPublic keys for all service accounts are also pub lished at the OAuth2\nService Account API.", 761 "description": "Represents a service account key.\n\nA service accou nt has two sets of key-pairs: user-managed, and\nsystem-managed.\n\nUser-managed key-pairs can be created and deleted by users. Users are\nresponsible for rota ting these keys periodically to ensure security of\ntheir service accounts. Use rs retain the private key of these key-pairs,\nand Google retains ONLY the publi c key.\n\nSystem-managed key-pairs are managed automatically by Google, and rota ted\ndaily without user intervention. The private key never leaves Google's\nse rvers to maximize security.\n\nPublic keys for all service accounts are also pub lished at the OAuth2\nService Account API.",
715 "id": "ServiceAccountKey", 762 "id": "ServiceAccountKey",
716 "properties": { 763 "properties": {
764 "privateKeyData": {
765 "description": "The private key data. Only provided in `Crea teServiceAccountKey`\nresponses. Make sure to keep the private key data secure b ecause it\nallows for the assertion of the service account identity.",
766 "format": "byte",
767 "type": "string"
768 },
769 "publicKeyData": {
770 "description": "The public key data. Only provided in `GetSe rviceAccountKey` responses.",
771 "format": "byte",
772 "type": "string"
773 },
717 "name": { 774 "name": {
718 "description": "The resource name of the service account key in the following format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUN T_EMAIL}/keys/{key}`.", 775 "description": "The resource name of the service account key in the following format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUN T_EMAIL}/keys/{key}`.",
719 "type": "string" 776 "type": "string"
720 }, 777 },
721 "validBeforeTime": { 778 "validBeforeTime": {
722 "description": "The key can be used before this timestamp.", 779 "description": "The key can be used before this timestamp.",
723 "format": "google-datetime", 780 "format": "google-datetime",
724 "type": "string" 781 "type": "string"
725 }, 782 },
726 "keyAlgorithm": { 783 "keyAlgorithm": {
727 "description": "Specifies the algorithm (and possibly key si ze) for the key.", 784 "description": "Specifies the algorithm (and possibly key si ze) for the key.",
728 "enum": [ 785 "enum": [
729 "KEY_ALG_UNSPECIFIED", 786 "KEY_ALG_UNSPECIFIED",
730 "KEY_ALG_RSA_1024", 787 "KEY_ALG_RSA_1024",
731 "KEY_ALG_RSA_2048" 788 "KEY_ALG_RSA_2048"
732 ], 789 ],
733 "enumDescriptions": [ 790 "enumDescriptions": [
734 "An unspecified key algorithm.", 791 "An unspecified key algorithm.",
735 "1k RSA Key.", 792 "1k RSA Key.",
736 "2k RSA Key." 793 "2k RSA Key."
737 ], 794 ],
738 "type": "string" 795 "type": "string"
739 }, 796 },
797 "validAfterTime": {
798 "description": "The key can be used after this timestamp.",
799 "format": "google-datetime",
800 "type": "string"
801 },
740 "privateKeyType": { 802 "privateKeyType": {
741 "description": "The output format for the private key.\nOnly provided in `CreateServiceAccountKey` responses, not\nin `GetServiceAccountKey` or `ListServiceAccountKey` responses.\n\nGoogle never exposes system-managed pr ivate keys, and never retains\nuser-managed private keys.", 803 "description": "The output format for the private key.\nOnly provided in `CreateServiceAccountKey` responses, not\nin `GetServiceAccountKey` or `ListServiceAccountKey` responses.\n\nGoogle never exposes system-managed pr ivate keys, and never retains\nuser-managed private keys.",
742 "enum": [ 804 "enum": [
743 "TYPE_UNSPECIFIED", 805 "TYPE_UNSPECIFIED",
744 "TYPE_PKCS12_FILE", 806 "TYPE_PKCS12_FILE",
745 "TYPE_GOOGLE_CREDENTIALS_FILE" 807 "TYPE_GOOGLE_CREDENTIALS_FILE"
746 ], 808 ],
747 "enumDescriptions": [ 809 "enumDescriptions": [
748 "Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FIL E`.", 810 "Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FIL E`.",
749 "PKCS12 format.\nThe password for the PKCS12 file is `no tasecret`.\nFor more information, see https://tools.ietf.org/html/rfc7292.", 811 "PKCS12 format.\nThe password for the PKCS12 file is `no tasecret`.\nFor more information, see https://tools.ietf.org/html/rfc7292.",
750 "Google Credentials File format." 812 "Google Credentials File format."
751 ], 813 ],
752 "type": "string" 814 "type": "string"
753 },
754 "validAfterTime": {
755 "description": "The key can be used after this timestamp.",
756 "format": "google-datetime",
757 "type": "string"
758 },
759 "privateKeyData": {
760 "description": "The private key data. Only provided in `Crea teServiceAccountKey`\nresponses.",
761 "format": "byte",
762 "type": "string"
763 },
764 "publicKeyData": {
765 "description": "The public key data. Only provided in `GetSe rviceAccountKey` responses.",
766 "format": "byte",
767 "type": "string"
768 } 815 }
769 }, 816 },
770 "type": "object" 817 "type": "object"
771 }, 818 },
772 "CreateServiceAccountKeyRequest": { 819 "CreateServiceAccountKeyRequest": {
773 "description": "The service account key create request.", 820 "description": "The service account key create request.",
774 "id": "CreateServiceAccountKeyRequest", 821 "id": "CreateServiceAccountKeyRequest",
775 "properties": { 822 "properties": {
776 "includePublicKeyData": { 823 "includePublicKeyData": {
777 "type": "boolean" 824 "type": "boolean"
(...skipping 22 matching lines...) Expand all
800 "enumDescriptions": [ 847 "enumDescriptions": [
801 "Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FIL E`.", 848 "Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FIL E`.",
802 "PKCS12 format.\nThe password for the PKCS12 file is `no tasecret`.\nFor more information, see https://tools.ietf.org/html/rfc7292.", 849 "PKCS12 format.\nThe password for the PKCS12 file is `no tasecret`.\nFor more information, see https://tools.ietf.org/html/rfc7292.",
803 "Google Credentials File format." 850 "Google Credentials File format."
804 ], 851 ],
805 "type": "string" 852 "type": "string"
806 } 853 }
807 }, 854 },
808 "type": "object" 855 "type": "object"
809 }, 856 },
810 "SignJwtResponse": { 857 "TestIamPermissionsRequest": {
811 "description": "The service account sign JWT response.", 858 "description": "Request message for `TestIamPermissions` method.",
812 "id": "SignJwtResponse", 859 "id": "TestIamPermissionsRequest",
813 "properties": { 860 "properties": {
814 "keyId": { 861 "permissions": {
815 "description": "The id of the key used to sign the JWT.", 862 "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).",
816 "type": "string" 863 "items": {
817 }, 864 "type": "string"
818 "signedJwt": { 865 },
819 "description": "The signed JWT.", 866 "type": "array"
820 "type": "string"
821 } 867 }
822 }, 868 },
823 "type": "object" 869 "type": "object"
824 }, 870 },
825 "SignBlobResponse": { 871 "SignBlobResponse": {
826 "description": "The service account sign blob response.", 872 "description": "The service account sign blob response.",
827 "id": "SignBlobResponse", 873 "id": "SignBlobResponse",
828 "properties": { 874 "properties": {
829 "signature": { 875 "signature": {
830 "description": "The signed blob.", 876 "description": "The signed blob.",
831 "format": "byte", 877 "format": "byte",
832 "type": "string" 878 "type": "string"
833 }, 879 },
834 "keyId": { 880 "keyId": {
835 "description": "The id of the key used to sign the blob.", 881 "description": "The id of the key used to sign the blob.",
836 "type": "string" 882 "type": "string"
837 } 883 }
838 }, 884 },
839 "type": "object" 885 "type": "object"
840 }, 886 },
841 "TestIamPermissionsRequest": { 887 "SignJwtResponse": {
842 "description": "Request message for `TestIamPermissions` method.", 888 "description": "The service account sign JWT response.",
843 "id": "TestIamPermissionsRequest", 889 "id": "SignJwtResponse",
844 "properties": { 890 "properties": {
845 "permissions": { 891 "signedJwt": {
846 "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).", 892 "description": "The signed JWT.",
847 "items": { 893 "type": "string"
848 "type": "string" 894 },
849 }, 895 "keyId": {
850 "type": "array" 896 "description": "The id of the key used to sign the JWT.",
897 "type": "string"
851 } 898 }
852 }, 899 },
853 "type": "object" 900 "type": "object"
854 }, 901 },
855 "SignJwtRequest": { 902 "SignJwtRequest": {
856 "description": "The service account sign JWT request.", 903 "description": "The service account sign JWT request.",
857 "id": "SignJwtRequest", 904 "id": "SignJwtRequest",
858 "properties": { 905 "properties": {
859 "payload": { 906 "payload": {
860 "description": "The JWT payload to sign, a JSON JWT Claim se t.", 907 "description": "The JWT payload to sign, a JSON JWT Claim se t.",
861 "type": "string" 908 "type": "string"
862 } 909 }
863 }, 910 },
864 "type": "object" 911 "type": "object"
865 }, 912 },
866 "Policy": { 913 "Policy": {
867 "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).", 914 "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).",
868 "id": "Policy", 915 "id": "Policy",
869 "properties": { 916 "properties": {
870 "bindings": {
871 "description": "Associates a list of `members` to a `role`.\ nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.",
872 "items": {
873 "$ref": "Binding"
874 },
875 "type": "array"
876 },
877 "etag": { 917 "etag": {
878 "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.", 918 "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.",
879 "format": "byte", 919 "format": "byte",
880 "type": "string" 920 "type": "string"
881 }, 921 },
882 "version": { 922 "version": {
883 "description": "Version of the `Policy`. The default version is 0.", 923 "description": "Version of the `Policy`. The default version is 0.",
884 "format": "int32", 924 "format": "int32",
885 "type": "integer" 925 "type": "integer"
926 },
927 "bindings": {
928 "description": "Associates a list of `members` to a `role`.\ n`bindings` with no members will result in an error.",
929 "items": {
930 "$ref": "Binding"
931 },
932 "type": "array"
886 } 933 }
887 }, 934 },
888 "type": "object" 935 "type": "object"
889 }, 936 },
890 "AuditData": { 937 "AuditData": {
891 "description": "Audit log information specific to Cloud IAM. This me ssage is serialized\nas an `Any` type in the `ServiceData` message of an\n`Audit Log` message.", 938 "description": "Audit log information specific to Cloud IAM. This me ssage is serialized\nas an `Any` type in the `ServiceData` message of an\n`Audit Log` message.",
892 "id": "AuditData", 939 "id": "AuditData",
893 "properties": { 940 "properties": {
894 "policyDelta": { 941 "policyDelta": {
895 "$ref": "PolicyDelta", 942 "$ref": "PolicyDelta",
(...skipping 23 matching lines...) Expand all
919 "Removal of a Binding." 966 "Removal of a Binding."
920 ], 967 ],
921 "type": "string" 968 "type": "string"
922 }, 969 },
923 "member": { 970 "member": {
924 "description": "A single identity requesting access for a Cl oud Platform resource.\nFollows the same format of Binding.members.\nRequired", 971 "description": "A single identity requesting access for a Cl oud Platform resource.\nFollows the same format of Binding.members.\nRequired",
925 "type": "string" 972 "type": "string"
926 } 973 }
927 }, 974 },
928 "type": "object" 975 "type": "object"
929 },
930 "PolicyDelta": {
931 "description": "The difference delta between two policies.",
932 "id": "PolicyDelta",
933 "properties": {
934 "bindingDeltas": {
935 "description": "The delta for Bindings between two policies. ",
936 "items": {
937 "$ref": "BindingDelta"
938 },
939 "type": "array"
940 }
941 },
942 "type": "object"
943 },
944 "CreateServiceAccountRequest": {
945 "description": "The service account create request.",
946 "id": "CreateServiceAccountRequest",
947 "properties": {
948 "serviceAccount": {
949 "$ref": "ServiceAccount",
950 "description": "The ServiceAccount resource to create.\nCurr ently, only the following values are user assignable:\n`display_name` ."
951 },
952 "accountId": {
953 "description": "Required. The account id that is used to gen erate the service account\nemail address and a stable unique id. It is unique wi thin a project,\nmust be 6-30 characters long, and match the regular expression\ n`[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035.",
954 "type": "string"
955 }
956 },
957 "type": "object"
958 },
959 "ListServiceAccountsResponse": {
960 "description": "The service account list response.",
961 "id": "ListServiceAccountsResponse",
962 "properties": {
963 "accounts": {
964 "description": "The list of matching service accounts.",
965 "items": {
966 "$ref": "ServiceAccount"
967 },
968 "type": "array"
969 },
970 "nextPageToken": {
971 "description": "To retrieve the next page of results, set\nL istServiceAccountsRequest.page_token\nto this value.",
972 "type": "string"
973 }
974 },
975 "type": "object"
976 } 976 }
977 }, 977 },
978 "servicePath": "", 978 "servicePath": "",
979 "title": "Google Identity and Access Management (IAM) API", 979 "title": "Google Identity and Access Management (IAM) API",
980 "version": "v1" 980 "version": "v1"
981 } 981 }
OLDNEW
« no previous file with comments | « discovery/googleapis/gmail__v1.json ('k') | discovery/googleapis/kgsearch__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698