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

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

Issue 3006323002: Api-Roll 54: 2017-09-11 (Closed)
Patch Set: use 2.0.0-dev.infinity sdk constraint in pubspecs Created 3 years, 3 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": { 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 },
11 "basePath": "", 11 "basePath": "",
12 "baseUrl": "https://iam.googleapis.com/", 12 "baseUrl": "https://iam.googleapis.com/",
13 "batchPath": "batch", 13 "batchPath": "batch",
14 "canonicalName": "iam", 14 "canonicalName": "iam",
15 "description": "Manages identity and access control for Google Cloud Platfor m resources, including the creation of service accounts, which you can use to au thenticate to Google and make API calls.", 15 "description": "Manages identity and access control for Google Cloud Platfor m resources, including the creation of service accounts, which you can use to au thenticate to Google and make API calls.",
16 "discoveryVersion": "v1", 16 "discoveryVersion": "v1",
17 "documentationLink": "https://cloud.google.com/iam/", 17 "documentationLink": "https://cloud.google.com/iam/",
18 "icons": { 18 "icons": {
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", 19 "x16": "http://www.google.com/images/icons/product/search-16.gif",
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" 20 "x32": "http://www.google.com/images/icons/product/search-32.gif"
21 }, 21 },
22 "id": "iam:v1", 22 "id": "iam:v1",
23 "kind": "discovery#restDescription", 23 "kind": "discovery#restDescription",
24 "name": "iam", 24 "name": "iam",
25 "ownerDomain": "google.com", 25 "ownerDomain": "google.com",
26 "ownerName": "Google", 26 "ownerName": "Google",
27 "parameters": { 27 "parameters": {
28 "access_token": { 28 "alt": {
29 "description": "OAuth access token.", 29 "default": "json",
30 "description": "Data format for response.",
31 "enum": [
32 "json",
33 "media",
34 "proto"
35 ],
36 "enumDescriptions": [
37 "Responses with Content-Type of application/json",
38 "Media download with context-dependent Content-Type",
39 "Responses with Content-Type of application/x-protobuf"
40 ],
30 "location": "query", 41 "location": "query",
31 "type": "string" 42 "type": "string"
32 }, 43 },
33 "key": { 44 "key": {
34 "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.", 45 "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.",
35 "location": "query", 46 "location": "query",
36 "type": "string" 47 "type": "string"
37 }, 48 },
49 "access_token": {
50 "description": "OAuth access token.",
51 "location": "query",
52 "type": "string"
53 },
38 "quotaUser": { 54 "quotaUser": {
39 "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.", 55 "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.",
40 "location": "query", 56 "location": "query",
41 "type": "string" 57 "type": "string"
42 }, 58 },
43 "pp": { 59 "pp": {
44 "default": "true", 60 "default": "true",
45 "description": "Pretty-print response.", 61 "description": "Pretty-print response.",
46 "location": "query", 62 "location": "query",
47 "type": "boolean" 63 "type": "boolean"
(...skipping 12 matching lines...) Expand all
60 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 76 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
61 "location": "query", 77 "location": "query",
62 "type": "string" 78 "type": "string"
63 }, 79 },
64 "prettyPrint": { 80 "prettyPrint": {
65 "default": "true", 81 "default": "true",
66 "description": "Returns response with indentations and line breaks." , 82 "description": "Returns response with indentations and line breaks." ,
67 "location": "query", 83 "location": "query",
68 "type": "boolean" 84 "type": "boolean"
69 }, 85 },
86 "fields": {
87 "description": "Selector specifying which fields to include in a par tial response.",
88 "location": "query",
89 "type": "string"
90 },
70 "uploadType": { 91 "uploadType": {
71 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 92 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
72 "location": "query", 93 "location": "query",
73 "type": "string" 94 "type": "string"
74 }, 95 },
75 "fields": {
76 "description": "Selector specifying which fields to include in a par tial response.",
77 "location": "query",
78 "type": "string"
79 },
80 "callback": { 96 "callback": {
81 "description": "JSONP", 97 "description": "JSONP",
82 "location": "query", 98 "location": "query",
83 "type": "string" 99 "type": "string"
84 }, 100 },
85 "$.xgafv": { 101 "$.xgafv": {
86 "description": "V1 error format.", 102 "description": "V1 error format.",
87 "enum": [ 103 "enum": [
88 "1", 104 "1",
89 "2" 105 "2"
90 ], 106 ],
91 "enumDescriptions": [ 107 "enumDescriptions": [
92 "v1 error format", 108 "v1 error format",
93 "v2 error format" 109 "v2 error format"
94 ], 110 ],
95 "location": "query", 111 "location": "query",
96 "type": "string" 112 "type": "string"
97 },
98 "alt": {
99 "default": "json",
100 "description": "Data format for response.",
101 "enum": [
102 "json",
103 "media",
104 "proto"
105 ],
106 "enumDescriptions": [
107 "Responses with Content-Type of application/json",
108 "Media download with context-dependent Content-Type",
109 "Responses with Content-Type of application/x-protobuf"
110 ],
111 "location": "query",
112 "type": "string"
113 } 113 }
114 }, 114 },
115 "protocol": "rest", 115 "protocol": "rest",
116 "resources": { 116 "resources": {
117 "projects": { 117 "permissions": {
118 "methods": {
119 "queryTestablePermissions": {
120 "description": "Lists the permissions testable on a resource .\nA permission is testable if it can be tested for an identity on a resource.",
121 "httpMethod": "POST",
122 "id": "iam.permissions.queryTestablePermissions",
123 "parameterOrder": [],
124 "parameters": {},
125 "path": "v1/permissions:queryTestablePermissions",
126 "request": {
127 "$ref": "QueryTestablePermissionsRequest"
128 },
129 "response": {
130 "$ref": "QueryTestablePermissionsResponse"
131 },
132 "scopes": [
133 "https://www.googleapis.com/auth/cloud-platform"
134 ]
135 }
136 }
137 },
138 "roles": {
139 "methods": {
140 "queryGrantableRoles": {
141 "description": "Queries roles that can be granted on a parti cular resource.\nA role is grantable if it can be used as the role in a binding for a policy\nfor that resource.",
142 "httpMethod": "POST",
143 "id": "iam.roles.queryGrantableRoles",
144 "parameterOrder": [],
145 "parameters": {},
146 "path": "v1/roles:queryGrantableRoles",
147 "request": {
148 "$ref": "QueryGrantableRolesRequest"
149 },
150 "response": {
151 "$ref": "QueryGrantableRolesResponse"
152 },
153 "scopes": [
154 "https://www.googleapis.com/auth/cloud-platform"
155 ]
156 },
157 "get": {
158 "description": "Gets a Role definition.",
159 "httpMethod": "GET",
160 "id": "iam.roles.get",
161 "parameterOrder": [
162 "name"
163 ],
164 "parameters": {
165 "name": {
166 "description": "The resource name of the role in one of the following formats:\n`roles/{ROLE_NAME}`\n`organizations/{ORGANIZATION_ID }/roles/{ROLE_NAME}`\n`projects/{PROJECT_ID}/roles/{ROLE_NAME}`",
167 "location": "path",
168 "pattern": "^roles/[^/]+$",
169 "required": true,
170 "type": "string"
171 }
172 },
173 "path": "v1/{+name}",
174 "response": {
175 "$ref": "Role"
176 },
177 "scopes": [
178 "https://www.googleapis.com/auth/cloud-platform"
179 ]
180 },
181 "list": {
182 "description": "Lists the Roles defined on a resource.",
183 "httpMethod": "GET",
184 "id": "iam.roles.list",
185 "parameterOrder": [],
186 "parameters": {
187 "pageToken": {
188 "description": "Optional pagination token returned i n an earlier ListRolesResponse.",
189 "location": "query",
190 "type": "string"
191 },
192 "pageSize": {
193 "description": "Optional limit on the number of role s to include in the response.",
194 "format": "int32",
195 "location": "query",
196 "type": "integer"
197 },
198 "view": {
199 "description": "Optional view for the returned Role objects.",
200 "enum": [
201 "BASIC",
202 "FULL"
203 ],
204 "location": "query",
205 "type": "string"
206 },
207 "parent": {
208 "description": "The resource name of the parent reso urce in one of the following formats:\n`` (empty string) -- this refers to curat ed roles.\n`organizations/{ORGANIZATION_ID}`\n`projects/{PROJECT_ID}`",
209 "location": "query",
210 "type": "string"
211 },
212 "showDeleted": {
213 "description": "Include Roles that have been deleted .",
214 "location": "query",
215 "type": "boolean"
216 }
217 },
218 "path": "v1/roles",
219 "response": {
220 "$ref": "ListRolesResponse"
221 },
222 "scopes": [
223 "https://www.googleapis.com/auth/cloud-platform"
224 ]
225 }
226 }
227 },
228 "organizations": {
118 "resources": { 229 "resources": {
119 "roles": { 230 "roles": {
120 "methods": { 231 "methods": {
121 "undelete": { 232 "patch": {
122 "description": "Undelete a Role, bringing it back in its previous state.", 233 "description": "Updates a Role definition.",
123 "httpMethod": "POST", 234 "httpMethod": "PATCH",
124 "id": "iam.projects.roles.undelete", 235 "id": "iam.organizations.roles.patch",
125 "parameterOrder": [ 236 "parameterOrder": [
126 "name" 237 "name"
127 ], 238 ],
128 "parameters": { 239 "parameters": {
129 "name": { 240 "name": {
130 "description": "The resource name of the rol e in one of the following formats:\n`organizations/{ORGANIZATION_ID}/roles/{ROLE _NAME}`\n`projects/{PROJECT_ID}/roles/{ROLE_NAME}`", 241 "description": "The resource name of the rol e in one of the following formats:\n`roles/{ROLE_NAME}`\n`organizations/{ORGANIZ ATION_ID}/roles/{ROLE_NAME}`\n`projects/{PROJECT_ID}/roles/{ROLE_NAME}`",
131 "location": "path", 242 "location": "path",
132 "pattern": "^projects/[^/]+/roles/[^/]+$", 243 "pattern": "^organizations/[^/]+/roles/[^/]+ $",
133 "required": true, 244 "required": true,
134 "type": "string" 245 "type": "string"
246 },
247 "updateMask": {
248 "description": "A mask describing which fiel ds in the Role have changed.",
249 "format": "google-fieldmask",
250 "location": "query",
251 "type": "string"
135 } 252 }
136 }, 253 },
137 "path": "v1/{+name}:undelete", 254 "path": "v1/{+name}",
138 "request": { 255 "request": {
139 "$ref": "UndeleteRoleRequest" 256 "$ref": "Role"
140 }, 257 },
141 "response": { 258 "response": {
142 "$ref": "Role" 259 "$ref": "Role"
143 }, 260 },
144 "scopes": [ 261 "scopes": [
145 "https://www.googleapis.com/auth/cloud-platform" 262 "https://www.googleapis.com/auth/cloud-platform"
146 ] 263 ]
147 }, 264 },
148 "get": { 265 "undelete": {
149 "description": "Gets a Role definition.", 266 "description": "Undelete a Role, bringing it back in its previous state.",
150 "httpMethod": "GET", 267 "httpMethod": "POST",
151 "id": "iam.projects.roles.get", 268 "id": "iam.organizations.roles.undelete",
152 "parameterOrder": [ 269 "parameterOrder": [
153 "name" 270 "name"
154 ], 271 ],
155 "parameters": { 272 "parameters": {
156 "name": { 273 "name": {
157 "description": "The resource name of the rol e in one of the following formats:\n`roles/{ROLE_NAME}`\n`organizations/{ORGANIZ ATION_ID}/roles/{ROLE_NAME}`\n`projects/{PROJECT_ID}/roles/{ROLE_NAME}`", 274 "description": "The resource name of the rol e in one of the following formats:\n`organizations/{ORGANIZATION_ID}/roles/{ROLE _NAME}`\n`projects/{PROJECT_ID}/roles/{ROLE_NAME}`",
158 "location": "path", 275 "location": "path",
159 "pattern": "^projects/[^/]+/roles/[^/]+$", 276 "pattern": "^organizations/[^/]+/roles/[^/]+ $",
160 "required": true, 277 "required": true,
161 "type": "string" 278 "type": "string"
162 } 279 }
163 }, 280 },
164 "path": "v1/{+name}", 281 "path": "v1/{+name}:undelete",
282 "request": {
283 "$ref": "UndeleteRoleRequest"
284 },
165 "response": { 285 "response": {
166 "$ref": "Role" 286 "$ref": "Role"
167 }, 287 },
168 "scopes": [ 288 "scopes": [
169 "https://www.googleapis.com/auth/cloud-platform" 289 "https://www.googleapis.com/auth/cloud-platform"
170 ] 290 ]
171 }, 291 },
172 "patch": { 292 "get": {
173 "description": "Updates a Role definition.", 293 "description": "Gets a Role definition.",
174 "httpMethod": "PATCH", 294 "httpMethod": "GET",
175 "id": "iam.projects.roles.patch", 295 "id": "iam.organizations.roles.get",
176 "parameterOrder": [ 296 "parameterOrder": [
177 "name" 297 "name"
178 ], 298 ],
179 "parameters": { 299 "parameters": {
180 "updateMask": {
181 "description": "A mask describing which fiel ds in the Role have changed.",
182 "format": "google-fieldmask",
183 "location": "query",
184 "type": "string"
185 },
186 "name": { 300 "name": {
187 "description": "The resource name of the rol e in one of the following formats:\n`roles/{ROLE_NAME}`\n`organizations/{ORGANIZ ATION_ID}/roles/{ROLE_NAME}`\n`projects/{PROJECT_ID}/roles/{ROLE_NAME}`", 301 "description": "The resource name of the rol e in one of the following formats:\n`roles/{ROLE_NAME}`\n`organizations/{ORGANIZ ATION_ID}/roles/{ROLE_NAME}`\n`projects/{PROJECT_ID}/roles/{ROLE_NAME}`",
188 "location": "path", 302 "location": "path",
189 "pattern": "^projects/[^/]+/roles/[^/]+$", 303 "pattern": "^organizations/[^/]+/roles/[^/]+ $",
190 "required": true, 304 "required": true,
191 "type": "string" 305 "type": "string"
192 } 306 }
193 }, 307 },
194 "path": "v1/{+name}", 308 "path": "v1/{+name}",
195 "request": {
196 "$ref": "Role"
197 },
198 "response": { 309 "response": {
199 "$ref": "Role" 310 "$ref": "Role"
200 }, 311 },
201 "scopes": [ 312 "scopes": [
202 "https://www.googleapis.com/auth/cloud-platform" 313 "https://www.googleapis.com/auth/cloud-platform"
203 ] 314 ]
204 }, 315 },
205 "delete": { 316 "delete": {
206 "description": "Soft deletes a role. The role is sus pended and cannot be used to create new\nIAM Policy Bindings.\nThe Role will not be included in `ListRoles()` unless `show_deleted` is set\nin the `ListRolesReq uest`. The Role contains the deleted boolean set.\nExisting Bindings remains, bu t are inactive. The Role can be undeleted\nwithin 7 days. After 7 days the Role is deleted and all Bindings associated\nwith the role are removed.", 317 "description": "Soft deletes a role. The role is sus pended and cannot be used to create new\nIAM Policy Bindings.\nThe Role will not be included in `ListRoles()` unless `show_deleted` is set\nin the `ListRolesReq uest`. The Role contains the deleted boolean set.\nExisting Bindings remains, bu t are inactive. The Role can be undeleted\nwithin 7 days. After 7 days the Role is deleted and all Bindings associated\nwith the role are removed.",
207 "httpMethod": "DELETE", 318 "httpMethod": "DELETE",
208 "id": "iam.projects.roles.delete", 319 "id": "iam.organizations.roles.delete",
209 "parameterOrder": [ 320 "parameterOrder": [
210 "name" 321 "name"
211 ], 322 ],
212 "parameters": { 323 "parameters": {
213 "name": {
214 "description": "The resource name of the rol e in one of the following formats:\n`organizations/{ORGANIZATION_ID}/roles/{ROLE _NAME}`\n`projects/{PROJECT_ID}/roles/{ROLE_NAME}`",
215 "location": "path",
216 "pattern": "^projects/[^/]+/roles/[^/]+$",
217 "required": true,
218 "type": "string"
219 },
220 "etag": { 324 "etag": {
221 "description": "Used to perform a consistent read-modify-write.", 325 "description": "Used to perform a consistent read-modify-write.",
222 "format": "byte", 326 "format": "byte",
223 "location": "query", 327 "location": "query",
224 "type": "string" 328 "type": "string"
329 },
330 "name": {
331 "description": "The resource name of the rol e in one of the following formats:\n`organizations/{ORGANIZATION_ID}/roles/{ROLE _NAME}`\n`projects/{PROJECT_ID}/roles/{ROLE_NAME}`",
332 "location": "path",
333 "pattern": "^organizations/[^/]+/roles/[^/]+ $",
334 "required": true,
335 "type": "string"
225 } 336 }
226 }, 337 },
227 "path": "v1/{+name}", 338 "path": "v1/{+name}",
228 "response": { 339 "response": {
229 "$ref": "Role" 340 "$ref": "Role"
230 }, 341 },
231 "scopes": [ 342 "scopes": [
232 "https://www.googleapis.com/auth/cloud-platform" 343 "https://www.googleapis.com/auth/cloud-platform"
233 ] 344 ]
234 }, 345 },
235 "list": { 346 "list": {
236 "description": "Lists the Roles defined on a resourc e.", 347 "description": "Lists the Roles defined on a resourc e.",
237 "httpMethod": "GET", 348 "httpMethod": "GET",
238 "id": "iam.projects.roles.list", 349 "id": "iam.organizations.roles.list",
239 "parameterOrder": [ 350 "parameterOrder": [
240 "parent" 351 "parent"
241 ], 352 ],
242 "parameters": { 353 "parameters": {
354 "parent": {
355 "description": "The resource name of the par ent resource in one of the following formats:\n`` (empty string) -- this refers to curated roles.\n`organizations/{ORGANIZATION_ID}`\n`projects/{PROJECT_ID}`",
356 "location": "path",
357 "pattern": "^organizations/[^/]+$",
358 "required": true,
359 "type": "string"
360 },
243 "showDeleted": { 361 "showDeleted": {
244 "description": "Include Roles that have been deleted.", 362 "description": "Include Roles that have been deleted.",
245 "location": "query", 363 "location": "query",
246 "type": "boolean" 364 "type": "boolean"
247 }, 365 },
248 "pageToken": { 366 "pageToken": {
249 "description": "Optional pagination token re turned in an earlier ListRolesResponse.", 367 "description": "Optional pagination token re turned in an earlier ListRolesResponse.",
250 "location": "query", 368 "location": "query",
251 "type": "string" 369 "type": "string"
252 }, 370 },
253 "pageSize": { 371 "pageSize": {
254 "description": "Optional limit on the number of roles to include in the response.", 372 "description": "Optional limit on the number of roles to include in the response.",
255 "format": "int32", 373 "format": "int32",
256 "location": "query", 374 "location": "query",
257 "type": "integer" 375 "type": "integer"
258 }, 376 },
259 "view": { 377 "view": {
260 "description": "Optional view for the return ed Role objects.", 378 "description": "Optional view for the return ed Role objects.",
261 "enum": [ 379 "enum": [
262 "BASIC", 380 "BASIC",
263 "FULL" 381 "FULL"
264 ], 382 ],
265 "location": "query", 383 "location": "query",
266 "type": "string" 384 "type": "string"
267 },
268 "parent": {
269 "description": "The resource name of the par ent resource in one of the following formats:\n`` (empty string) -- this refers to curated roles.\n`organizations/{ORGANIZATION_ID}`\n`projects/{PROJECT_ID}`",
270 "location": "path",
271 "pattern": "^projects/[^/]+$",
272 "required": true,
273 "type": "string"
274 } 385 }
275 }, 386 },
276 "path": "v1/{+parent}/roles", 387 "path": "v1/{+parent}/roles",
277 "response": { 388 "response": {
278 "$ref": "ListRolesResponse" 389 "$ref": "ListRolesResponse"
279 }, 390 },
280 "scopes": [ 391 "scopes": [
281 "https://www.googleapis.com/auth/cloud-platform" 392 "https://www.googleapis.com/auth/cloud-platform"
282 ] 393 ]
283 }, 394 },
284 "create": { 395 "create": {
285 "description": "Creates a new Role.", 396 "description": "Creates a new Role.",
286 "httpMethod": "POST", 397 "httpMethod": "POST",
287 "id": "iam.projects.roles.create", 398 "id": "iam.organizations.roles.create",
288 "parameterOrder": [ 399 "parameterOrder": [
289 "parent" 400 "parent"
290 ], 401 ],
291 "parameters": { 402 "parameters": {
292 "parent": { 403 "parent": {
293 "description": "The resource name of the par ent resource in one of the following formats:\n`organizations/{ORGANIZATION_ID}` \n`projects/{PROJECT_ID}`", 404 "description": "The resource name of the par ent resource in one of the following formats:\n`organizations/{ORGANIZATION_ID}` \n`projects/{PROJECT_ID}`",
294 "location": "path", 405 "location": "path",
295 "pattern": "^projects/[^/]+$", 406 "pattern": "^organizations/[^/]+$",
296 "required": true, 407 "required": true,
297 "type": "string" 408 "type": "string"
298 } 409 }
299 }, 410 },
300 "path": "v1/{+parent}/roles", 411 "path": "v1/{+parent}/roles",
301 "request": { 412 "request": {
302 "$ref": "CreateRoleRequest" 413 "$ref": "CreateRoleRequest"
303 }, 414 },
304 "response": { 415 "response": {
305 "$ref": "Role" 416 "$ref": "Role"
306 }, 417 },
307 "scopes": [ 418 "scopes": [
308 "https://www.googleapis.com/auth/cloud-platform" 419 "https://www.googleapis.com/auth/cloud-platform"
309 ] 420 ]
310 } 421 }
311 } 422 }
423 }
424 }
425 },
426 "projects": {
427 "resources": {
428 "roles": {
429 "methods": {
430 "delete": {
431 "description": "Soft deletes a role. The role is sus pended and cannot be used to create new\nIAM Policy Bindings.\nThe Role will not be included in `ListRoles()` unless `show_deleted` is set\nin the `ListRolesReq uest`. The Role contains the deleted boolean set.\nExisting Bindings remains, bu t are inactive. The Role can be undeleted\nwithin 7 days. After 7 days the Role is deleted and all Bindings associated\nwith the role are removed.",
432 "httpMethod": "DELETE",
433 "id": "iam.projects.roles.delete",
434 "parameterOrder": [
435 "name"
436 ],
437 "parameters": {
438 "name": {
439 "description": "The resource name of the rol e in one of the following formats:\n`organizations/{ORGANIZATION_ID}/roles/{ROLE _NAME}`\n`projects/{PROJECT_ID}/roles/{ROLE_NAME}`",
440 "location": "path",
441 "pattern": "^projects/[^/]+/roles/[^/]+$",
442 "required": true,
443 "type": "string"
444 },
445 "etag": {
446 "description": "Used to perform a consistent read-modify-write.",
447 "format": "byte",
448 "location": "query",
449 "type": "string"
450 }
451 },
452 "path": "v1/{+name}",
453 "response": {
454 "$ref": "Role"
455 },
456 "scopes": [
457 "https://www.googleapis.com/auth/cloud-platform"
458 ]
459 },
460 "list": {
461 "description": "Lists the Roles defined on a resourc e.",
462 "httpMethod": "GET",
463 "id": "iam.projects.roles.list",
464 "parameterOrder": [
465 "parent"
466 ],
467 "parameters": {
468 "pageToken": {
469 "description": "Optional pagination token re turned in an earlier ListRolesResponse.",
470 "location": "query",
471 "type": "string"
472 },
473 "pageSize": {
474 "description": "Optional limit on the number of roles to include in the response.",
475 "format": "int32",
476 "location": "query",
477 "type": "integer"
478 },
479 "view": {
480 "description": "Optional view for the return ed Role objects.",
481 "enum": [
482 "BASIC",
483 "FULL"
484 ],
485 "location": "query",
486 "type": "string"
487 },
488 "parent": {
489 "description": "The resource name of the par ent resource in one of the following formats:\n`` (empty string) -- this refers to curated roles.\n`organizations/{ORGANIZATION_ID}`\n`projects/{PROJECT_ID}`",
490 "location": "path",
491 "pattern": "^projects/[^/]+$",
492 "required": true,
493 "type": "string"
494 },
495 "showDeleted": {
496 "description": "Include Roles that have been deleted.",
497 "location": "query",
498 "type": "boolean"
499 }
500 },
501 "path": "v1/{+parent}/roles",
502 "response": {
503 "$ref": "ListRolesResponse"
504 },
505 "scopes": [
506 "https://www.googleapis.com/auth/cloud-platform"
507 ]
508 },
509 "create": {
510 "description": "Creates a new Role.",
511 "httpMethod": "POST",
512 "id": "iam.projects.roles.create",
513 "parameterOrder": [
514 "parent"
515 ],
516 "parameters": {
517 "parent": {
518 "description": "The resource name of the par ent resource in one of the following formats:\n`organizations/{ORGANIZATION_ID}` \n`projects/{PROJECT_ID}`",
519 "location": "path",
520 "pattern": "^projects/[^/]+$",
521 "required": true,
522 "type": "string"
523 }
524 },
525 "path": "v1/{+parent}/roles",
526 "request": {
527 "$ref": "CreateRoleRequest"
528 },
529 "response": {
530 "$ref": "Role"
531 },
532 "scopes": [
533 "https://www.googleapis.com/auth/cloud-platform"
534 ]
535 },
536 "get": {
537 "description": "Gets a Role definition.",
538 "httpMethod": "GET",
539 "id": "iam.projects.roles.get",
540 "parameterOrder": [
541 "name"
542 ],
543 "parameters": {
544 "name": {
545 "description": "The resource name of the rol e in one of the following formats:\n`roles/{ROLE_NAME}`\n`organizations/{ORGANIZ ATION_ID}/roles/{ROLE_NAME}`\n`projects/{PROJECT_ID}/roles/{ROLE_NAME}`",
546 "location": "path",
547 "pattern": "^projects/[^/]+/roles/[^/]+$",
548 "required": true,
549 "type": "string"
550 }
551 },
552 "path": "v1/{+name}",
553 "response": {
554 "$ref": "Role"
555 },
556 "scopes": [
557 "https://www.googleapis.com/auth/cloud-platform"
558 ]
559 },
560 "patch": {
561 "description": "Updates a Role definition.",
562 "httpMethod": "PATCH",
563 "id": "iam.projects.roles.patch",
564 "parameterOrder": [
565 "name"
566 ],
567 "parameters": {
568 "updateMask": {
569 "description": "A mask describing which fiel ds in the Role have changed.",
570 "format": "google-fieldmask",
571 "location": "query",
572 "type": "string"
573 },
574 "name": {
575 "description": "The resource name of the rol e in one of the following formats:\n`roles/{ROLE_NAME}`\n`organizations/{ORGANIZ ATION_ID}/roles/{ROLE_NAME}`\n`projects/{PROJECT_ID}/roles/{ROLE_NAME}`",
576 "location": "path",
577 "pattern": "^projects/[^/]+/roles/[^/]+$",
578 "required": true,
579 "type": "string"
580 }
581 },
582 "path": "v1/{+name}",
583 "request": {
584 "$ref": "Role"
585 },
586 "response": {
587 "$ref": "Role"
588 },
589 "scopes": [
590 "https://www.googleapis.com/auth/cloud-platform"
591 ]
592 },
593 "undelete": {
594 "description": "Undelete a Role, bringing it back in its previous state.",
595 "httpMethod": "POST",
596 "id": "iam.projects.roles.undelete",
597 "parameterOrder": [
598 "name"
599 ],
600 "parameters": {
601 "name": {
602 "description": "The resource name of the rol e in one of the following formats:\n`organizations/{ORGANIZATION_ID}/roles/{ROLE _NAME}`\n`projects/{PROJECT_ID}/roles/{ROLE_NAME}`",
603 "location": "path",
604 "pattern": "^projects/[^/]+/roles/[^/]+$",
605 "required": true,
606 "type": "string"
607 }
608 },
609 "path": "v1/{+name}:undelete",
610 "request": {
611 "$ref": "UndeleteRoleRequest"
612 },
613 "response": {
614 "$ref": "Role"
615 },
616 "scopes": [
617 "https://www.googleapis.com/auth/cloud-platform"
618 ]
619 }
620 }
312 }, 621 },
313 "serviceAccounts": { 622 "serviceAccounts": {
314 "methods": { 623 "methods": {
315 "get": { 624 "getIamPolicy": {
316 "description": "Gets a ServiceAccount.", 625 "description": "Returns the IAM access control polic y for a\nServiceAccount.",
317 "httpMethod": "GET", 626 "httpMethod": "POST",
318 "id": "iam.projects.serviceAccounts.get", 627 "id": "iam.projects.serviceAccounts.getIamPolicy",
319 "parameterOrder": [ 628 "parameterOrder": [
320 "name" 629 "resource"
321 ], 630 ],
322 "parameters": { 631 "parameters": {
323 "name": { 632 "resource": {
324 "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.", 633 "description": "REQUIRED: The resource for w hich the policy is being requested.\nSee the operation documentation for the app ropriate value for this field.",
325 "location": "path", 634 "location": "path",
326 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$", 635 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
327 "required": true, 636 "required": true,
328 "type": "string" 637 "type": "string"
329 } 638 }
330 }, 639 },
331 "path": "v1/{+name}", 640 "path": "v1/{+resource}:getIamPolicy",
332 "response": {
333 "$ref": "ServiceAccount"
334 },
335 "scopes": [
336 "https://www.googleapis.com/auth/cloud-platform"
337 ]
338 },
339 "update": {
340 "description": "Updates a ServiceAccount.\n\nCurrent ly, only the following fields are updatable:\n`display_name` .\nThe `etag` is ma ndatory.",
341 "httpMethod": "PUT",
342 "id": "iam.projects.serviceAccounts.update",
343 "parameterOrder": [
344 "name"
345 ],
346 "parameters": {
347 "name": {
348 "description": "The resource name of the ser vice account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{S ERVICE_ACCOUNT_EMAIL}`.\n\nRequests using `-` as a wildcard for the project will infer the project\nfrom the `account` and the `account` value can be the `email ` address or\nthe `unique_id` of the service account.\n\nIn responses the resour ce name will always be in the format\n`projects/{PROJECT_ID}/serviceAccounts/{SE RVICE_ACCOUNT_EMAIL}`.",
349 "location": "path",
350 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
351 "required": true,
352 "type": "string"
353 }
354 },
355 "path": "v1/{+name}",
356 "request": {
357 "$ref": "ServiceAccount"
358 },
359 "response": {
360 "$ref": "ServiceAccount"
361 },
362 "scopes": [
363 "https://www.googleapis.com/auth/cloud-platform"
364 ]
365 },
366 "testIamPermissions": {
367 "description": "Tests the specified permissions agai nst the IAM access control policy\nfor a ServiceAccount.",
368 "httpMethod": "POST",
369 "id": "iam.projects.serviceAccounts.testIamPermissio ns",
370 "parameterOrder": [
371 "resource"
372 ],
373 "parameters": {
374 "resource": {
375 "description": "REQUIRED: The resource for w hich the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.",
376 "location": "path",
377 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
378 "required": true,
379 "type": "string"
380 }
381 },
382 "path": "v1/{+resource}:testIamPermissions",
383 "request": {
384 "$ref": "TestIamPermissionsRequest"
385 },
386 "response": {
387 "$ref": "TestIamPermissionsResponse"
388 },
389 "scopes": [
390 "https://www.googleapis.com/auth/cloud-platform"
391 ]
392 },
393 "delete": {
394 "description": "Deletes a ServiceAccount.",
395 "httpMethod": "DELETE",
396 "id": "iam.projects.serviceAccounts.delete",
397 "parameterOrder": [
398 "name"
399 ],
400 "parameters": {
401 "name": {
402 "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.",
403 "location": "path",
404 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
405 "required": true,
406 "type": "string"
407 }
408 },
409 "path": "v1/{+name}",
410 "response": {
411 "$ref": "Empty"
412 },
413 "scopes": [
414 "https://www.googleapis.com/auth/cloud-platform"
415 ]
416 },
417 "signBlob": {
418 "description": "Signs a blob using a service account 's system-managed private key.",
419 "httpMethod": "POST",
420 "id": "iam.projects.serviceAccounts.signBlob",
421 "parameterOrder": [
422 "name"
423 ],
424 "parameters": {
425 "name": {
426 "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.",
427 "location": "path",
428 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
429 "required": true,
430 "type": "string"
431 }
432 },
433 "path": "v1/{+name}:signBlob",
434 "request": {
435 "$ref": "SignBlobRequest"
436 },
437 "response": {
438 "$ref": "SignBlobResponse"
439 },
440 "scopes": [
441 "https://www.googleapis.com/auth/cloud-platform"
442 ]
443 },
444 "list": {
445 "description": "Lists ServiceAccounts for a project. ",
446 "httpMethod": "GET",
447 "id": "iam.projects.serviceAccounts.list",
448 "parameterOrder": [
449 "name"
450 ],
451 "parameters": {
452 "pageToken": {
453 "description": "Optional pagination token re turned in an earlier\nListServiceAccountsResponse.next_page_token.",
454 "location": "query",
455 "type": "string"
456 },
457 "name": {
458 "description": "Required. The resource name of the project associated with the service\naccounts, such as `projects/my-proje ct-123`.",
459 "location": "path",
460 "pattern": "^projects/[^/]+$",
461 "required": true,
462 "type": "string"
463 },
464 "pageSize": {
465 "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.",
466 "format": "int32",
467 "location": "query",
468 "type": "integer"
469 }
470 },
471 "path": "v1/{+name}/serviceAccounts",
472 "response": {
473 "$ref": "ListServiceAccountsResponse"
474 },
475 "scopes": [
476 "https://www.googleapis.com/auth/cloud-platform"
477 ]
478 },
479 "setIamPolicy": {
480 "description": "Sets the IAM access control policy f or a\nServiceAccount.",
481 "httpMethod": "POST",
482 "id": "iam.projects.serviceAccounts.setIamPolicy",
483 "parameterOrder": [
484 "resource"
485 ],
486 "parameters": {
487 "resource": {
488 "description": "REQUIRED: The resource for w hich the policy is being specified.\nSee the operation documentation for the app ropriate value for this field.",
489 "location": "path",
490 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
491 "required": true,
492 "type": "string"
493 }
494 },
495 "path": "v1/{+resource}:setIamPolicy",
496 "request": {
497 "$ref": "SetIamPolicyRequest"
498 },
499 "response": { 641 "response": {
500 "$ref": "Policy" 642 "$ref": "Policy"
501 }, 643 },
502 "scopes": [ 644 "scopes": [
503 "https://www.googleapis.com/auth/cloud-platform" 645 "https://www.googleapis.com/auth/cloud-platform"
504 ] 646 ]
505 }, 647 },
506 "signJwt": { 648 "get": {
507 "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.", 649 "description": "Gets a ServiceAccount.",
508 "httpMethod": "POST", 650 "httpMethod": "GET",
509 "id": "iam.projects.serviceAccounts.signJwt", 651 "id": "iam.projects.serviceAccounts.get",
510 "parameterOrder": [ 652 "parameterOrder": [
511 "name" 653 "name"
512 ], 654 ],
513 "parameters": { 655 "parameters": {
514 "name": { 656 "name": {
515 "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.", 657 "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.",
516 "location": "path", 658 "location": "path",
517 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$", 659 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
518 "required": true, 660 "required": true,
519 "type": "string" 661 "type": "string"
520 } 662 }
521 }, 663 },
522 "path": "v1/{+name}:signJwt", 664 "path": "v1/{+name}",
523 "request": {
524 "$ref": "SignJwtRequest"
525 },
526 "response": { 665 "response": {
527 "$ref": "SignJwtResponse" 666 "$ref": "ServiceAccount"
528 }, 667 },
529 "scopes": [ 668 "scopes": [
530 "https://www.googleapis.com/auth/cloud-platform" 669 "https://www.googleapis.com/auth/cloud-platform"
531 ] 670 ]
532 }, 671 },
533 "create": { 672 "update": {
534 "description": "Creates a ServiceAccount\nand return s it.", 673 "description": "Updates a ServiceAccount.\n\nCurrent ly, only the following fields are updatable:\n`display_name` .\nThe `etag` is ma ndatory.",
535 "httpMethod": "POST", 674 "httpMethod": "PUT",
536 "id": "iam.projects.serviceAccounts.create", 675 "id": "iam.projects.serviceAccounts.update",
537 "parameterOrder": [ 676 "parameterOrder": [
538 "name" 677 "name"
539 ], 678 ],
540 "parameters": { 679 "parameters": {
541 "name": { 680 "name": {
542 "description": "Required. The resource name of the project associated with the service\naccounts, such as `projects/my-proje ct-123`.", 681 "description": "The resource name of the ser vice account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{S ERVICE_ACCOUNT_EMAIL}`.\n\nRequests using `-` as a wildcard for the project will infer the project\nfrom the `account` and the `account` value can be the `email ` address or\nthe `unique_id` of the service account.\n\nIn responses the resour ce name will always be in the format\n`projects/{PROJECT_ID}/serviceAccounts/{SE RVICE_ACCOUNT_EMAIL}`.",
543 "location": "path", 682 "location": "path",
544 "pattern": "^projects/[^/]+$", 683 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
545 "required": true, 684 "required": true,
546 "type": "string" 685 "type": "string"
547 } 686 }
548 }, 687 },
549 "path": "v1/{+name}/serviceAccounts", 688 "path": "v1/{+name}",
550 "request": { 689 "request": {
551 "$ref": "CreateServiceAccountRequest" 690 "$ref": "ServiceAccount"
552 }, 691 },
553 "response": { 692 "response": {
554 "$ref": "ServiceAccount" 693 "$ref": "ServiceAccount"
555 }, 694 },
556 "scopes": [ 695 "scopes": [
557 "https://www.googleapis.com/auth/cloud-platform" 696 "https://www.googleapis.com/auth/cloud-platform"
558 ] 697 ]
559 }, 698 },
560 "getIamPolicy": { 699 "testIamPermissions": {
561 "description": "Returns the IAM access control polic y for a\nServiceAccount.", 700 "description": "Tests the specified permissions agai nst the IAM access control policy\nfor a ServiceAccount.",
562 "httpMethod": "POST", 701 "httpMethod": "POST",
563 "id": "iam.projects.serviceAccounts.getIamPolicy", 702 "id": "iam.projects.serviceAccounts.testIamPermissio ns",
564 "parameterOrder": [ 703 "parameterOrder": [
565 "resource" 704 "resource"
566 ], 705 ],
567 "parameters": { 706 "parameters": {
568 "resource": { 707 "resource": {
569 "description": "REQUIRED: The resource for w hich the policy is being requested.\nSee the operation documentation for the app ropriate value for this field.", 708 "description": "REQUIRED: The resource for w hich the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.",
570 "location": "path", 709 "location": "path",
571 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$", 710 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
572 "required": true, 711 "required": true,
573 "type": "string" 712 "type": "string"
574 } 713 }
575 }, 714 },
576 "path": "v1/{+resource}:getIamPolicy", 715 "path": "v1/{+resource}:testIamPermissions",
716 "request": {
717 "$ref": "TestIamPermissionsRequest"
718 },
719 "response": {
720 "$ref": "TestIamPermissionsResponse"
721 },
722 "scopes": [
723 "https://www.googleapis.com/auth/cloud-platform"
724 ]
725 },
726 "delete": {
727 "description": "Deletes a ServiceAccount.",
728 "httpMethod": "DELETE",
729 "id": "iam.projects.serviceAccounts.delete",
730 "parameterOrder": [
731 "name"
732 ],
733 "parameters": {
734 "name": {
735 "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.",
736 "location": "path",
737 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
738 "required": true,
739 "type": "string"
740 }
741 },
742 "path": "v1/{+name}",
743 "response": {
744 "$ref": "Empty"
745 },
746 "scopes": [
747 "https://www.googleapis.com/auth/cloud-platform"
748 ]
749 },
750 "list": {
751 "description": "Lists ServiceAccounts for a project. ",
752 "httpMethod": "GET",
753 "id": "iam.projects.serviceAccounts.list",
754 "parameterOrder": [
755 "name"
756 ],
757 "parameters": {
758 "pageToken": {
759 "description": "Optional pagination token re turned in an earlier\nListServiceAccountsResponse.next_page_token.",
760 "location": "query",
761 "type": "string"
762 },
763 "name": {
764 "description": "Required. The resource name of the project associated with the service\naccounts, such as `projects/my-proje ct-123`.",
765 "location": "path",
766 "pattern": "^projects/[^/]+$",
767 "required": true,
768 "type": "string"
769 },
770 "pageSize": {
771 "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.",
772 "format": "int32",
773 "location": "query",
774 "type": "integer"
775 }
776 },
777 "path": "v1/{+name}/serviceAccounts",
778 "response": {
779 "$ref": "ListServiceAccountsResponse"
780 },
781 "scopes": [
782 "https://www.googleapis.com/auth/cloud-platform"
783 ]
784 },
785 "signBlob": {
786 "description": "Signs a blob using a service account 's system-managed private key.",
787 "httpMethod": "POST",
788 "id": "iam.projects.serviceAccounts.signBlob",
789 "parameterOrder": [
790 "name"
791 ],
792 "parameters": {
793 "name": {
794 "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.",
795 "location": "path",
796 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
797 "required": true,
798 "type": "string"
799 }
800 },
801 "path": "v1/{+name}:signBlob",
802 "request": {
803 "$ref": "SignBlobRequest"
804 },
805 "response": {
806 "$ref": "SignBlobResponse"
807 },
808 "scopes": [
809 "https://www.googleapis.com/auth/cloud-platform"
810 ]
811 },
812 "setIamPolicy": {
813 "description": "Sets the IAM access control policy f or a\nServiceAccount.",
814 "httpMethod": "POST",
815 "id": "iam.projects.serviceAccounts.setIamPolicy",
816 "parameterOrder": [
817 "resource"
818 ],
819 "parameters": {
820 "resource": {
821 "description": "REQUIRED: The resource for w hich the policy is being specified.\nSee the operation documentation for the app ropriate value for this field.",
822 "location": "path",
823 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
824 "required": true,
825 "type": "string"
826 }
827 },
828 "path": "v1/{+resource}:setIamPolicy",
829 "request": {
830 "$ref": "SetIamPolicyRequest"
831 },
577 "response": { 832 "response": {
578 "$ref": "Policy" 833 "$ref": "Policy"
579 }, 834 },
580 "scopes": [ 835 "scopes": [
581 "https://www.googleapis.com/auth/cloud-platform" 836 "https://www.googleapis.com/auth/cloud-platform"
582 ] 837 ]
838 },
839 "signJwt": {
840 "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.",
841 "httpMethod": "POST",
842 "id": "iam.projects.serviceAccounts.signJwt",
843 "parameterOrder": [
844 "name"
845 ],
846 "parameters": {
847 "name": {
848 "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.",
849 "location": "path",
850 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
851 "required": true,
852 "type": "string"
853 }
854 },
855 "path": "v1/{+name}:signJwt",
856 "request": {
857 "$ref": "SignJwtRequest"
858 },
859 "response": {
860 "$ref": "SignJwtResponse"
861 },
862 "scopes": [
863 "https://www.googleapis.com/auth/cloud-platform"
864 ]
865 },
866 "create": {
867 "description": "Creates a ServiceAccount\nand return s it.",
868 "httpMethod": "POST",
869 "id": "iam.projects.serviceAccounts.create",
870 "parameterOrder": [
871 "name"
872 ],
873 "parameters": {
874 "name": {
875 "description": "Required. The resource name of the project associated with the service\naccounts, such as `projects/my-proje ct-123`.",
876 "location": "path",
877 "pattern": "^projects/[^/]+$",
878 "required": true,
879 "type": "string"
880 }
881 },
882 "path": "v1/{+name}/serviceAccounts",
883 "request": {
884 "$ref": "CreateServiceAccountRequest"
885 },
886 "response": {
887 "$ref": "ServiceAccount"
888 },
889 "scopes": [
890 "https://www.googleapis.com/auth/cloud-platform"
891 ]
583 } 892 }
584 }, 893 },
585 "resources": { 894 "resources": {
586 "keys": { 895 "keys": {
587 "methods": { 896 "methods": {
897 "delete": {
898 "description": "Deletes a ServiceAccountKey. ",
899 "httpMethod": "DELETE",
900 "id": "iam.projects.serviceAccounts.keys.del ete",
901 "parameterOrder": [
902 "name"
903 ],
904 "parameters": {
905 "name": {
906 "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.",
907 "location": "path",
908 "pattern": "^projects/[^/]+/serviceA ccounts/[^/]+/keys/[^/]+$",
909 "required": true,
910 "type": "string"
911 }
912 },
913 "path": "v1/{+name}",
914 "response": {
915 "$ref": "Empty"
916 },
917 "scopes": [
918 "https://www.googleapis.com/auth/cloud-p latform"
919 ]
920 },
588 "get": { 921 "get": {
589 "description": "Gets the ServiceAccountKey\n by key id.", 922 "description": "Gets the ServiceAccountKey\n by key id.",
590 "httpMethod": "GET", 923 "httpMethod": "GET",
591 "id": "iam.projects.serviceAccounts.keys.get ", 924 "id": "iam.projects.serviceAccounts.keys.get ",
592 "parameterOrder": [ 925 "parameterOrder": [
593 "name" 926 "name"
594 ], 927 ],
595 "parameters": { 928 "parameters": {
596 "publicKeyType": { 929 "publicKeyType": {
597 "description": "The output format of the public key requested.\nX509_PEM is the default output format.", 930 "description": "The output format of the public key requested.\nX509_PEM is the default output format.",
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 "path": "v1/{+name}/keys", 1006 "path": "v1/{+name}/keys",
674 "request": { 1007 "request": {
675 "$ref": "CreateServiceAccountKeyRequest" 1008 "$ref": "CreateServiceAccountKeyRequest"
676 }, 1009 },
677 "response": { 1010 "response": {
678 "$ref": "ServiceAccountKey" 1011 "$ref": "ServiceAccountKey"
679 }, 1012 },
680 "scopes": [ 1013 "scopes": [
681 "https://www.googleapis.com/auth/cloud-p latform" 1014 "https://www.googleapis.com/auth/cloud-p latform"
682 ] 1015 ]
683 },
684 "delete": {
685 "description": "Deletes a ServiceAccountKey. ",
686 "httpMethod": "DELETE",
687 "id": "iam.projects.serviceAccounts.keys.del ete",
688 "parameterOrder": [
689 "name"
690 ],
691 "parameters": {
692 "name": {
693 "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.",
694 "location": "path",
695 "pattern": "^projects/[^/]+/serviceA ccounts/[^/]+/keys/[^/]+$",
696 "required": true,
697 "type": "string"
698 }
699 },
700 "path": "v1/{+name}",
701 "response": {
702 "$ref": "Empty"
703 },
704 "scopes": [
705 "https://www.googleapis.com/auth/cloud-p latform"
706 ]
707 } 1016 }
708 } 1017 }
709 } 1018 }
710 } 1019 }
711 } 1020 }
712 } 1021 }
713 },
714 "permissions": {
715 "methods": {
716 "queryTestablePermissions": {
717 "description": "Lists the permissions testable on a resource .\nA permission is testable if it can be tested for an identity on a resource.",
718 "httpMethod": "POST",
719 "id": "iam.permissions.queryTestablePermissions",
720 "parameterOrder": [],
721 "parameters": {},
722 "path": "v1/permissions:queryTestablePermissions",
723 "request": {
724 "$ref": "QueryTestablePermissionsRequest"
725 },
726 "response": {
727 "$ref": "QueryTestablePermissionsResponse"
728 },
729 "scopes": [
730 "https://www.googleapis.com/auth/cloud-platform"
731 ]
732 }
733 }
734 },
735 "roles": {
736 "methods": {
737 "queryGrantableRoles": {
738 "description": "Queries roles that can be granted on a parti cular resource.\nA role is grantable if it can be used as the role in a binding for a policy\nfor that resource.",
739 "httpMethod": "POST",
740 "id": "iam.roles.queryGrantableRoles",
741 "parameterOrder": [],
742 "parameters": {},
743 "path": "v1/roles:queryGrantableRoles",
744 "request": {
745 "$ref": "QueryGrantableRolesRequest"
746 },
747 "response": {
748 "$ref": "QueryGrantableRolesResponse"
749 },
750 "scopes": [
751 "https://www.googleapis.com/auth/cloud-platform"
752 ]
753 },
754 "get": {
755 "description": "Gets a Role definition.",
756 "httpMethod": "GET",
757 "id": "iam.roles.get",
758 "parameterOrder": [
759 "name"
760 ],
761 "parameters": {
762 "name": {
763 "description": "The resource name of the role in one of the following formats:\n`roles/{ROLE_NAME}`\n`organizations/{ORGANIZATION_ID }/roles/{ROLE_NAME}`\n`projects/{PROJECT_ID}/roles/{ROLE_NAME}`",
764 "location": "path",
765 "pattern": "^roles/[^/]+$",
766 "required": true,
767 "type": "string"
768 }
769 },
770 "path": "v1/{+name}",
771 "response": {
772 "$ref": "Role"
773 },
774 "scopes": [
775 "https://www.googleapis.com/auth/cloud-platform"
776 ]
777 },
778 "list": {
779 "description": "Lists the Roles defined on a resource.",
780 "httpMethod": "GET",
781 "id": "iam.roles.list",
782 "parameterOrder": [],
783 "parameters": {
784 "view": {
785 "description": "Optional view for the returned Role objects.",
786 "enum": [
787 "BASIC",
788 "FULL"
789 ],
790 "location": "query",
791 "type": "string"
792 },
793 "parent": {
794 "description": "The resource name of the parent reso urce in one of the following formats:\n`` (empty string) -- this refers to curat ed roles.\n`organizations/{ORGANIZATION_ID}`\n`projects/{PROJECT_ID}`",
795 "location": "query",
796 "type": "string"
797 },
798 "showDeleted": {
799 "description": "Include Roles that have been deleted .",
800 "location": "query",
801 "type": "boolean"
802 },
803 "pageToken": {
804 "description": "Optional pagination token returned i n an earlier ListRolesResponse.",
805 "location": "query",
806 "type": "string"
807 },
808 "pageSize": {
809 "description": "Optional limit on the number of role s to include in the response.",
810 "format": "int32",
811 "location": "query",
812 "type": "integer"
813 }
814 },
815 "path": "v1/roles",
816 "response": {
817 "$ref": "ListRolesResponse"
818 },
819 "scopes": [
820 "https://www.googleapis.com/auth/cloud-platform"
821 ]
822 }
823 }
824 },
825 "organizations": {
826 "resources": {
827 "roles": {
828 "methods": {
829 "undelete": {
830 "description": "Undelete a Role, bringing it back in its previous state.",
831 "httpMethod": "POST",
832 "id": "iam.organizations.roles.undelete",
833 "parameterOrder": [
834 "name"
835 ],
836 "parameters": {
837 "name": {
838 "description": "The resource name of the rol e in one of the following formats:\n`organizations/{ORGANIZATION_ID}/roles/{ROLE _NAME}`\n`projects/{PROJECT_ID}/roles/{ROLE_NAME}`",
839 "location": "path",
840 "pattern": "^organizations/[^/]+/roles/[^/]+ $",
841 "required": true,
842 "type": "string"
843 }
844 },
845 "path": "v1/{+name}:undelete",
846 "request": {
847 "$ref": "UndeleteRoleRequest"
848 },
849 "response": {
850 "$ref": "Role"
851 },
852 "scopes": [
853 "https://www.googleapis.com/auth/cloud-platform"
854 ]
855 },
856 "get": {
857 "description": "Gets a Role definition.",
858 "httpMethod": "GET",
859 "id": "iam.organizations.roles.get",
860 "parameterOrder": [
861 "name"
862 ],
863 "parameters": {
864 "name": {
865 "description": "The resource name of the rol e in one of the following formats:\n`roles/{ROLE_NAME}`\n`organizations/{ORGANIZ ATION_ID}/roles/{ROLE_NAME}`\n`projects/{PROJECT_ID}/roles/{ROLE_NAME}`",
866 "location": "path",
867 "pattern": "^organizations/[^/]+/roles/[^/]+ $",
868 "required": true,
869 "type": "string"
870 }
871 },
872 "path": "v1/{+name}",
873 "response": {
874 "$ref": "Role"
875 },
876 "scopes": [
877 "https://www.googleapis.com/auth/cloud-platform"
878 ]
879 },
880 "patch": {
881 "description": "Updates a Role definition.",
882 "httpMethod": "PATCH",
883 "id": "iam.organizations.roles.patch",
884 "parameterOrder": [
885 "name"
886 ],
887 "parameters": {
888 "updateMask": {
889 "description": "A mask describing which fiel ds in the Role have changed.",
890 "format": "google-fieldmask",
891 "location": "query",
892 "type": "string"
893 },
894 "name": {
895 "description": "The resource name of the rol e in one of the following formats:\n`roles/{ROLE_NAME}`\n`organizations/{ORGANIZ ATION_ID}/roles/{ROLE_NAME}`\n`projects/{PROJECT_ID}/roles/{ROLE_NAME}`",
896 "location": "path",
897 "pattern": "^organizations/[^/]+/roles/[^/]+ $",
898 "required": true,
899 "type": "string"
900 }
901 },
902 "path": "v1/{+name}",
903 "request": {
904 "$ref": "Role"
905 },
906 "response": {
907 "$ref": "Role"
908 },
909 "scopes": [
910 "https://www.googleapis.com/auth/cloud-platform"
911 ]
912 },
913 "delete": {
914 "description": "Soft deletes a role. The role is sus pended and cannot be used to create new\nIAM Policy Bindings.\nThe Role will not be included in `ListRoles()` unless `show_deleted` is set\nin the `ListRolesReq uest`. The Role contains the deleted boolean set.\nExisting Bindings remains, bu t are inactive. The Role can be undeleted\nwithin 7 days. After 7 days the Role is deleted and all Bindings associated\nwith the role are removed.",
915 "httpMethod": "DELETE",
916 "id": "iam.organizations.roles.delete",
917 "parameterOrder": [
918 "name"
919 ],
920 "parameters": {
921 "name": {
922 "description": "The resource name of the rol e in one of the following formats:\n`organizations/{ORGANIZATION_ID}/roles/{ROLE _NAME}`\n`projects/{PROJECT_ID}/roles/{ROLE_NAME}`",
923 "location": "path",
924 "pattern": "^organizations/[^/]+/roles/[^/]+ $",
925 "required": true,
926 "type": "string"
927 },
928 "etag": {
929 "description": "Used to perform a consistent read-modify-write.",
930 "format": "byte",
931 "location": "query",
932 "type": "string"
933 }
934 },
935 "path": "v1/{+name}",
936 "response": {
937 "$ref": "Role"
938 },
939 "scopes": [
940 "https://www.googleapis.com/auth/cloud-platform"
941 ]
942 },
943 "list": {
944 "description": "Lists the Roles defined on a resourc e.",
945 "httpMethod": "GET",
946 "id": "iam.organizations.roles.list",
947 "parameterOrder": [
948 "parent"
949 ],
950 "parameters": {
951 "showDeleted": {
952 "description": "Include Roles that have been deleted.",
953 "location": "query",
954 "type": "boolean"
955 },
956 "pageToken": {
957 "description": "Optional pagination token re turned in an earlier ListRolesResponse.",
958 "location": "query",
959 "type": "string"
960 },
961 "pageSize": {
962 "description": "Optional limit on the number of roles to include in the response.",
963 "format": "int32",
964 "location": "query",
965 "type": "integer"
966 },
967 "view": {
968 "description": "Optional view for the return ed Role objects.",
969 "enum": [
970 "BASIC",
971 "FULL"
972 ],
973 "location": "query",
974 "type": "string"
975 },
976 "parent": {
977 "description": "The resource name of the par ent resource in one of the following formats:\n`` (empty string) -- this refers to curated roles.\n`organizations/{ORGANIZATION_ID}`\n`projects/{PROJECT_ID}`",
978 "location": "path",
979 "pattern": "^organizations/[^/]+$",
980 "required": true,
981 "type": "string"
982 }
983 },
984 "path": "v1/{+parent}/roles",
985 "response": {
986 "$ref": "ListRolesResponse"
987 },
988 "scopes": [
989 "https://www.googleapis.com/auth/cloud-platform"
990 ]
991 },
992 "create": {
993 "description": "Creates a new Role.",
994 "httpMethod": "POST",
995 "id": "iam.organizations.roles.create",
996 "parameterOrder": [
997 "parent"
998 ],
999 "parameters": {
1000 "parent": {
1001 "description": "The resource name of the par ent resource in one of the following formats:\n`organizations/{ORGANIZATION_ID}` \n`projects/{PROJECT_ID}`",
1002 "location": "path",
1003 "pattern": "^organizations/[^/]+$",
1004 "required": true,
1005 "type": "string"
1006 }
1007 },
1008 "path": "v1/{+parent}/roles",
1009 "request": {
1010 "$ref": "CreateRoleRequest"
1011 },
1012 "response": {
1013 "$ref": "Role"
1014 },
1015 "scopes": [
1016 "https://www.googleapis.com/auth/cloud-platform"
1017 ]
1018 }
1019 }
1020 }
1021 }
1022 } 1022 }
1023 }, 1023 },
1024 "revision": "20170811", 1024 "revision": "20170901",
1025 "rootUrl": "https://iam.googleapis.com/", 1025 "rootUrl": "https://iam.googleapis.com/",
1026 "schemas": { 1026 "schemas": {
1027 "Binding": {
1028 "description": "Associates `members` with a `role`.",
1029 "id": "Binding",
1030 "properties": {
1031 "members": {
1032 "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",
1033 "items": {
1034 "type": "string"
1035 },
1036 "type": "array"
1037 },
1038 "role": {
1039 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
1040 "type": "string"
1041 }
1042 },
1043 "type": "object"
1044 },
1045 "Expr": {
1046 "description": "Represents an expression text. Example:\n\n title : \"User account presence\"\n description: \"Determines whether the request h as a user account\"\n expression: \"size(request.user) > 0\"",
1047 "id": "Expr",
1048 "properties": {
1049 "expression": {
1050 "description": "Textual representation of an expression in\n Common Expression Language syntax.\n\nThe application context of the containing message determines which\nwell-known feature set of CEL is supported.",
1051 "type": "string"
1052 },
1053 "location": {
1054 "description": "An optional string indicating the location o f the expression for error\nreporting, e.g. a file name and a position in the fi le.",
1055 "type": "string"
1056 },
1057 "title": {
1058 "description": "An optional title for the expression, i.e. a short string describing\nits purpose. This can be used e.g. in UIs which allow to enter the\nexpression.",
1059 "type": "string"
1060 },
1061 "description": {
1062 "description": "An optional description of the expression. T his is a longer text which\ndescribes the expression, e.g. when hovered over it in a UI.",
1063 "type": "string"
1064 }
1065 },
1066 "type": "object"
1067 },
1068 "ServiceAccount": {
1069 "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.",
1070 "id": "ServiceAccount",
1071 "properties": {
1072 "oauth2ClientId": {
1073 "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.",
1074 "type": "string"
1075 },
1076 "uniqueId": {
1077 "description": "@OutputOnly The unique and stable id of the service account.",
1078 "type": "string"
1079 },
1080 "displayName": {
1081 "description": "Optional. A user-specified description of th e service account. Must be\nfewer than 100 UTF-8 bytes.",
1082 "type": "string"
1083 },
1084 "etag": {
1085 "description": "Used to perform a consistent read-modify-wri te.",
1086 "format": "byte",
1087 "type": "string"
1088 },
1089 "email": {
1090 "description": "@OutputOnly The email address of the service account.",
1091 "type": "string"
1092 },
1093 "name": {
1094 "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}`.",
1095 "type": "string"
1096 },
1097 "projectId": {
1098 "description": "@OutputOnly The id of the project that owns the service account.",
1099 "type": "string"
1100 }
1101 },
1102 "type": "object"
1103 },
1104 "QueryGrantableRolesRequest": {
1105 "description": "The grantable role query request.",
1106 "id": "QueryGrantableRolesRequest",
1107 "properties": {
1108 "fullResourceName": {
1109 "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`.",
1110 "type": "string"
1111 },
1112 "pageToken": {
1113 "description": "Optional pagination token returned in an ear lier\nQueryGrantableRolesResponse.",
1114 "type": "string"
1115 },
1116 "pageSize": {
1117 "description": "Optional limit on the number of roles to inc lude in the response.",
1118 "format": "int32",
1119 "type": "integer"
1120 },
1121 "view": {
1122 "enum": [
1123 "BASIC",
1124 "FULL"
1125 ],
1126 "enumDescriptions": [
1127 "Omits the `included_permissions` field.\nThis is the de fault value.",
1128 "Returns all fields."
1129 ],
1130 "type": "string"
1131 }
1132 },
1133 "type": "object"
1134 },
1135 "CreateRoleRequest": {
1136 "description": "The request to create a new role.",
1137 "id": "CreateRoleRequest",
1138 "properties": {
1139 "roleId": {
1140 "description": "The role id to use for this role.",
1141 "type": "string"
1142 },
1143 "role": {
1144 "$ref": "Role",
1145 "description": "The Role resource to create."
1146 }
1147 },
1148 "type": "object"
1149 },
1150 "ListServiceAccountKeysResponse": {
1151 "description": "The service account keys list response.",
1152 "id": "ListServiceAccountKeysResponse",
1153 "properties": {
1154 "keys": {
1155 "description": "The public keys for the service account.",
1156 "items": {
1157 "$ref": "ServiceAccountKey"
1158 },
1159 "type": "array"
1160 }
1161 },
1162 "type": "object"
1163 },
1164 "TestIamPermissionsResponse": {
1165 "description": "Response message for `TestIamPermissions` method.",
1166 "id": "TestIamPermissionsResponse",
1167 "properties": {
1168 "permissions": {
1169 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is\nallowed.",
1170 "items": {
1171 "type": "string"
1172 },
1173 "type": "array"
1174 }
1175 },
1176 "type": "object"
1177 },
1178 "QueryTestablePermissionsRequest": {
1179 "description": "A request to get permissions which can be tested on a resource.",
1180 "id": "QueryTestablePermissionsRequest",
1181 "properties": {
1182 "fullResourceName": {
1183 "description": "Required. The full resource name to query fr om the list of testable\npermissions.\n\nThe name follows the Google Cloud Platf orm resource format.\nFor example, a Cloud Platform project with id `my-project` will be named\n`//cloudresourcemanager.googleapis.com/projects/my-project`.",
1184 "type": "string"
1185 },
1186 "pageToken": {
1187 "description": "Optional pagination token returned in an ear lier\nQueryTestablePermissionsRequest.",
1188 "type": "string"
1189 },
1190 "pageSize": {
1191 "description": "Optional limit on the number of permissions to include in the response.",
1192 "format": "int32",
1193 "type": "integer"
1194 }
1195 },
1196 "type": "object"
1197 },
1198 "ServiceAccountKey": {
1199 "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.",
1200 "id": "ServiceAccountKey",
1201 "properties": {
1202 "privateKeyData": {
1203 "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.\nWhen decod ed, the private key data can be used to authenticate with\nGoogle API client lib raries and with\n<a href=\"/sdk/gcloud/reference/auth/activate-service-account\" >gcloud\nauth activate-service-account</a>.",
1204 "format": "byte",
1205 "type": "string"
1206 },
1207 "publicKeyData": {
1208 "description": "The public key data. Only provided in `GetSe rviceAccountKey` responses.",
1209 "format": "byte",
1210 "type": "string"
1211 },
1212 "name": {
1213 "description": "The resource name of the service account key in the following format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUN T_EMAIL}/keys/{key}`.",
1214 "type": "string"
1215 },
1216 "validBeforeTime": {
1217 "description": "The key can be used before this timestamp.",
1218 "format": "google-datetime",
1219 "type": "string"
1220 },
1221 "keyAlgorithm": {
1222 "description": "Specifies the algorithm (and possibly key si ze) for the key.",
1223 "enum": [
1224 "KEY_ALG_UNSPECIFIED",
1225 "KEY_ALG_RSA_1024",
1226 "KEY_ALG_RSA_2048"
1227 ],
1228 "enumDescriptions": [
1229 "An unspecified key algorithm.",
1230 "1k RSA Key.",
1231 "2k RSA Key."
1232 ],
1233 "type": "string"
1234 },
1235 "privateKeyType": {
1236 "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.",
1237 "enum": [
1238 "TYPE_UNSPECIFIED",
1239 "TYPE_PKCS12_FILE",
1240 "TYPE_GOOGLE_CREDENTIALS_FILE"
1241 ],
1242 "enumDescriptions": [
1243 "Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FIL E`.",
1244 "PKCS12 format.\nThe password for the PKCS12 file is `no tasecret`.\nFor more information, see https://tools.ietf.org/html/rfc7292.",
1245 "Google Credentials File format."
1246 ],
1247 "type": "string"
1248 },
1249 "validAfterTime": {
1250 "description": "The key can be used after this timestamp.",
1251 "format": "google-datetime",
1252 "type": "string"
1253 }
1254 },
1255 "type": "object"
1256 },
1257 "SignBlobResponse": {
1258 "description": "The service account sign blob response.",
1259 "id": "SignBlobResponse",
1260 "properties": {
1261 "keyId": {
1262 "description": "The id of the key used to sign the blob.",
1263 "type": "string"
1264 },
1265 "signature": {
1266 "description": "The signed blob.",
1267 "format": "byte",
1268 "type": "string"
1269 }
1270 },
1271 "type": "object"
1272 },
1273 "SignJwtRequest": {
1274 "description": "The service account sign JWT request.",
1275 "id": "SignJwtRequest",
1276 "properties": {
1277 "payload": {
1278 "description": "The JWT payload to sign, a JSON JWT Claim se t.",
1279 "type": "string"
1280 }
1281 },
1282 "type": "object"
1283 },
1284 "Permission": {
1285 "description": "A permission which can be included by a role.",
1286 "id": "Permission",
1287 "properties": {
1288 "title": {
1289 "description": "The title of this Permission.",
1290 "type": "string"
1291 },
1292 "description": {
1293 "description": "A brief description of what this Permission is used for.",
1294 "type": "string"
1295 },
1296 "customRolesSupportLevel": {
1297 "description": "The current custom role support level.",
1298 "enum": [
1299 "SUPPORTED",
1300 "TESTING",
1301 "NOT_SUPPORTED"
1302 ],
1303 "enumDescriptions": [
1304 "Permission is fully supported for custom role use.",
1305 "Permission is being tested to check custom role compati bility.",
1306 "Permission is not supported for custom role use."
1307 ],
1308 "type": "string"
1309 },
1310 "stage": {
1311 "description": "The current launch stage of the permission." ,
1312 "enum": [
1313 "ALPHA",
1314 "BETA",
1315 "GA",
1316 "DEPRECATED"
1317 ],
1318 "enumDescriptions": [
1319 "The permission is currently in an alpha phase.",
1320 "The permission is currently in a beta phase.",
1321 "The permission is generally available.",
1322 "The permission is being deprecated."
1323 ],
1324 "type": "string"
1325 },
1326 "name": {
1327 "description": "The name of this Permission.",
1328 "type": "string"
1329 },
1330 "onlyInPredefinedRoles": {
1331 "description": "This permission can ONLY be used in predefin ed roles.",
1332 "type": "boolean"
1333 }
1334 },
1335 "type": "object"
1336 },
1337 "PolicyDelta": { 1027 "PolicyDelta": {
1338 "description": "The difference delta between two policies.", 1028 "description": "The difference delta between two policies.",
1339 "id": "PolicyDelta", 1029 "id": "PolicyDelta",
1340 "properties": { 1030 "properties": {
1341 "bindingDeltas": { 1031 "bindingDeltas": {
1342 "description": "The delta for Bindings between two policies. ", 1032 "description": "The delta for Bindings between two policies. ",
1343 "items": { 1033 "items": {
1344 "$ref": "BindingDelta" 1034 "$ref": "BindingDelta"
1345 }, 1035 },
1346 "type": "array" 1036 "type": "array"
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
1492 "description": "The id of the key used to sign the JWT.", 1182 "description": "The id of the key used to sign the JWT.",
1493 "type": "string" 1183 "type": "string"
1494 } 1184 }
1495 }, 1185 },
1496 "type": "object" 1186 "type": "object"
1497 }, 1187 },
1498 "Policy": { 1188 "Policy": {
1499 "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).", 1189 "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).",
1500 "id": "Policy", 1190 "id": "Policy",
1501 "properties": { 1191 "properties": {
1502 "bindings": {
1503 "description": "Associates a list of `members` to a `role`.\ n`bindings` with no members will result in an error.",
1504 "items": {
1505 "$ref": "Binding"
1506 },
1507 "type": "array"
1508 },
1509 "etag": { 1192 "etag": {
1510 "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.", 1193 "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.",
1511 "format": "byte", 1194 "format": "byte",
1512 "type": "string" 1195 "type": "string"
1513 }, 1196 },
1514 "version": { 1197 "version": {
1515 "description": "Version of the `Policy`. The default version is 0.", 1198 "description": "Version of the `Policy`. The default version is 0.",
1516 "format": "int32", 1199 "format": "int32",
1517 "type": "integer" 1200 "type": "integer"
1201 },
1202 "bindings": {
1203 "description": "Associates a list of `members` to a `role`.\ n`bindings` with no members will result in an error.",
1204 "items": {
1205 "$ref": "Binding"
1206 },
1207 "type": "array"
1518 } 1208 }
1519 }, 1209 },
1520 "type": "object" 1210 "type": "object"
1521 }, 1211 },
1522 "ListRolesResponse": { 1212 "ListRolesResponse": {
1523 "description": "The response containing the roles defined under a re source.", 1213 "description": "The response containing the roles defined under a re source.",
1524 "id": "ListRolesResponse", 1214 "id": "ListRolesResponse",
1525 "properties": { 1215 "properties": {
1526 "nextPageToken": { 1216 "nextPageToken": {
1527 "description": "To retrieve the next page of results, set\n` ListRolesRequest.page_token` to this value.", 1217 "description": "To retrieve the next page of results, set\n` ListRolesRequest.page_token` to this value.",
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
1605 "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.", 1295 "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.",
1606 "type": "string" 1296 "type": "string"
1607 } 1297 }
1608 }, 1298 },
1609 "type": "object" 1299 "type": "object"
1610 }, 1300 },
1611 "Role": { 1301 "Role": {
1612 "description": "A role in the Identity and Access Management API.", 1302 "description": "A role in the Identity and Access Management API.",
1613 "id": "Role", 1303 "id": "Role",
1614 "properties": { 1304 "properties": {
1615 "deleted": {
1616 "description": "The current deleted state of the role. This field is read only.\nIt will be ignored in calls to CreateRole and UpdateRole.",
1617 "type": "boolean"
1618 },
1619 "title": {
1620 "description": "Optional. A human-readable title for the ro le. Typically this\nis limited to 100 UTF-8 bytes.",
1621 "type": "string"
1622 },
1623 "includedPermissions": { 1305 "includedPermissions": {
1624 "description": "The names of the permissions this role grant s when bound in an IAM policy.", 1306 "description": "The names of the permissions this role grant s when bound in an IAM policy.",
1625 "items": { 1307 "items": {
1626 "type": "string" 1308 "type": "string"
1627 }, 1309 },
1628 "type": "array" 1310 "type": "array"
1629 }, 1311 },
1630 "description": { 1312 "description": {
1631 "description": "Optional. A human-readable description for the role.", 1313 "description": "Optional. A human-readable description for the role.",
1632 "type": "string" 1314 "type": "string"
(...skipping 19 matching lines...) Expand all
1652 "The user has indicated this role is generally available .", 1334 "The user has indicated this role is generally available .",
1653 "The user has indicated this role is being deprecated.", 1335 "The user has indicated this role is being deprecated.",
1654 "This role is disabled and will not contribute permissio ns to any members\nit is granted to in policies.", 1336 "This role is disabled and will not contribute permissio ns to any members\nit is granted to in policies.",
1655 "The user has indicated this role is currently in an eap phase." 1337 "The user has indicated this role is currently in an eap phase."
1656 ], 1338 ],
1657 "type": "string" 1339 "type": "string"
1658 }, 1340 },
1659 "name": { 1341 "name": {
1660 "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.", 1342 "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.",
1661 "type": "string" 1343 "type": "string"
1662 } 1344 },
1663 }, 1345 "deleted": {
1664 "type": "object" 1346 "description": "The current deleted state of the role. This field is read only.\nIt will be ignored in calls to CreateRole and UpdateRole.",
1347 "type": "boolean"
1348 },
1349 "title": {
1350 "description": "Optional. A human-readable title for the ro le. Typically this\nis limited to 100 UTF-8 bytes.",
1351 "type": "string"
1352 }
1353 },
1354 "type": "object"
1355 },
1356 "Binding": {
1357 "description": "Associates `members` with a `role`.",
1358 "id": "Binding",
1359 "properties": {
1360 "members": {
1361 "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",
1362 "items": {
1363 "type": "string"
1364 },
1365 "type": "array"
1366 },
1367 "role": {
1368 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
1369 "type": "string"
1370 }
1371 },
1372 "type": "object"
1373 },
1374 "Expr": {
1375 "description": "Represents an expression text. Example:\n\n title : \"User account presence\"\n description: \"Determines whether the request h as a user account\"\n expression: \"size(request.user) > 0\"",
1376 "id": "Expr",
1377 "properties": {
1378 "description": {
1379 "description": "An optional description of the expression. T his is a longer text which\ndescribes the expression, e.g. when hovered over it in a UI.",
1380 "type": "string"
1381 },
1382 "expression": {
1383 "description": "Textual representation of an expression in\n Common Expression Language syntax.\n\nThe application context of the containing message determines which\nwell-known feature set of CEL is supported.",
1384 "type": "string"
1385 },
1386 "location": {
1387 "description": "An optional string indicating the location o f the expression for error\nreporting, e.g. a file name and a position in the fi le.",
1388 "type": "string"
1389 },
1390 "title": {
1391 "description": "An optional title for the expression, i.e. a short string describing\nits purpose. This can be used e.g. in UIs which allow to enter the\nexpression.",
1392 "type": "string"
1393 }
1394 },
1395 "type": "object"
1396 },
1397 "ServiceAccount": {
1398 "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.",
1399 "id": "ServiceAccount",
1400 "properties": {
1401 "etag": {
1402 "description": "Used to perform a consistent read-modify-wri te.",
1403 "format": "byte",
1404 "type": "string"
1405 },
1406 "name": {
1407 "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}`.",
1408 "type": "string"
1409 },
1410 "email": {
1411 "description": "@OutputOnly The email address of the service account.",
1412 "type": "string"
1413 },
1414 "projectId": {
1415 "description": "@OutputOnly The id of the project that owns the service account.",
1416 "type": "string"
1417 },
1418 "oauth2ClientId": {
1419 "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.",
1420 "type": "string"
1421 },
1422 "uniqueId": {
1423 "description": "@OutputOnly The unique and stable id of the service account.",
1424 "type": "string"
1425 },
1426 "displayName": {
1427 "description": "Optional. A user-specified description of th e service account. Must be\nfewer than 100 UTF-8 bytes.",
1428 "type": "string"
1429 }
1430 },
1431 "type": "object"
1432 },
1433 "QueryGrantableRolesRequest": {
1434 "description": "The grantable role query request.",
1435 "id": "QueryGrantableRolesRequest",
1436 "properties": {
1437 "fullResourceName": {
1438 "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`.",
1439 "type": "string"
1440 },
1441 "pageToken": {
1442 "description": "Optional pagination token returned in an ear lier\nQueryGrantableRolesResponse.",
1443 "type": "string"
1444 },
1445 "pageSize": {
1446 "description": "Optional limit on the number of roles to inc lude in the response.",
1447 "format": "int32",
1448 "type": "integer"
1449 },
1450 "view": {
1451 "enum": [
1452 "BASIC",
1453 "FULL"
1454 ],
1455 "enumDescriptions": [
1456 "Omits the `included_permissions` field.\nThis is the de fault value.",
1457 "Returns all fields."
1458 ],
1459 "type": "string"
1460 }
1461 },
1462 "type": "object"
1463 },
1464 "CreateRoleRequest": {
1465 "description": "The request to create a new role.",
1466 "id": "CreateRoleRequest",
1467 "properties": {
1468 "roleId": {
1469 "description": "The role id to use for this role.",
1470 "type": "string"
1471 },
1472 "role": {
1473 "$ref": "Role",
1474 "description": "The Role resource to create."
1475 }
1476 },
1477 "type": "object"
1478 },
1479 "ListServiceAccountKeysResponse": {
1480 "description": "The service account keys list response.",
1481 "id": "ListServiceAccountKeysResponse",
1482 "properties": {
1483 "keys": {
1484 "description": "The public keys for the service account.",
1485 "items": {
1486 "$ref": "ServiceAccountKey"
1487 },
1488 "type": "array"
1489 }
1490 },
1491 "type": "object"
1492 },
1493 "TestIamPermissionsResponse": {
1494 "description": "Response message for `TestIamPermissions` method.",
1495 "id": "TestIamPermissionsResponse",
1496 "properties": {
1497 "permissions": {
1498 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is\nallowed.",
1499 "items": {
1500 "type": "string"
1501 },
1502 "type": "array"
1503 }
1504 },
1505 "type": "object"
1506 },
1507 "QueryTestablePermissionsRequest": {
1508 "description": "A request to get permissions which can be tested on a resource.",
1509 "id": "QueryTestablePermissionsRequest",
1510 "properties": {
1511 "fullResourceName": {
1512 "description": "Required. The full resource name to query fr om the list of testable\npermissions.\n\nThe name follows the Google Cloud Platf orm resource format.\nFor example, a Cloud Platform project with id `my-project` will be named\n`//cloudresourcemanager.googleapis.com/projects/my-project`.",
1513 "type": "string"
1514 },
1515 "pageToken": {
1516 "description": "Optional pagination token returned in an ear lier\nQueryTestablePermissionsRequest.",
1517 "type": "string"
1518 },
1519 "pageSize": {
1520 "description": "Optional limit on the number of permissions to include in the response.",
1521 "format": "int32",
1522 "type": "integer"
1523 }
1524 },
1525 "type": "object"
1526 },
1527 "ServiceAccountKey": {
1528 "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.",
1529 "id": "ServiceAccountKey",
1530 "properties": {
1531 "privateKeyData": {
1532 "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.\nWhen decod ed, the private key data can be used to authenticate with\nGoogle API client lib raries and with\n<a href=\"/sdk/gcloud/reference/auth/activate-service-account\" >gcloud\nauth activate-service-account</a>.",
1533 "format": "byte",
1534 "type": "string"
1535 },
1536 "publicKeyData": {
1537 "description": "The public key data. Only provided in `GetSe rviceAccountKey` responses.",
1538 "format": "byte",
1539 "type": "string"
1540 },
1541 "name": {
1542 "description": "The resource name of the service account key in the following format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUN T_EMAIL}/keys/{key}`.",
1543 "type": "string"
1544 },
1545 "validBeforeTime": {
1546 "description": "The key can be used before this timestamp.",
1547 "format": "google-datetime",
1548 "type": "string"
1549 },
1550 "keyAlgorithm": {
1551 "description": "Specifies the algorithm (and possibly key si ze) for the key.",
1552 "enum": [
1553 "KEY_ALG_UNSPECIFIED",
1554 "KEY_ALG_RSA_1024",
1555 "KEY_ALG_RSA_2048"
1556 ],
1557 "enumDescriptions": [
1558 "An unspecified key algorithm.",
1559 "1k RSA Key.",
1560 "2k RSA Key."
1561 ],
1562 "type": "string"
1563 },
1564 "privateKeyType": {
1565 "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.",
1566 "enum": [
1567 "TYPE_UNSPECIFIED",
1568 "TYPE_PKCS12_FILE",
1569 "TYPE_GOOGLE_CREDENTIALS_FILE"
1570 ],
1571 "enumDescriptions": [
1572 "Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FIL E`.",
1573 "PKCS12 format.\nThe password for the PKCS12 file is `no tasecret`.\nFor more information, see https://tools.ietf.org/html/rfc7292.",
1574 "Google Credentials File format."
1575 ],
1576 "type": "string"
1577 },
1578 "validAfterTime": {
1579 "description": "The key can be used after this timestamp.",
1580 "format": "google-datetime",
1581 "type": "string"
1582 }
1583 },
1584 "type": "object"
1585 },
1586 "SignBlobResponse": {
1587 "description": "The service account sign blob response.",
1588 "id": "SignBlobResponse",
1589 "properties": {
1590 "keyId": {
1591 "description": "The id of the key used to sign the blob.",
1592 "type": "string"
1593 },
1594 "signature": {
1595 "description": "The signed blob.",
1596 "format": "byte",
1597 "type": "string"
1598 }
1599 },
1600 "type": "object"
1601 },
1602 "SignJwtRequest": {
1603 "description": "The service account sign JWT request.",
1604 "id": "SignJwtRequest",
1605 "properties": {
1606 "payload": {
1607 "description": "The JWT payload to sign, a JSON JWT Claim se t.",
1608 "type": "string"
1609 }
1610 },
1611 "type": "object"
1612 },
1613 "Permission": {
1614 "description": "A permission which can be included by a role.",
1615 "id": "Permission",
1616 "properties": {
1617 "stage": {
1618 "description": "The current launch stage of the permission." ,
1619 "enum": [
1620 "ALPHA",
1621 "BETA",
1622 "GA",
1623 "DEPRECATED"
1624 ],
1625 "enumDescriptions": [
1626 "The permission is currently in an alpha phase.",
1627 "The permission is currently in a beta phase.",
1628 "The permission is generally available.",
1629 "The permission is being deprecated."
1630 ],
1631 "type": "string"
1632 },
1633 "name": {
1634 "description": "The name of this Permission.",
1635 "type": "string"
1636 },
1637 "onlyInPredefinedRoles": {
1638 "description": "This permission can ONLY be used in predefin ed roles.",
1639 "type": "boolean"
1640 },
1641 "title": {
1642 "description": "The title of this Permission.",
1643 "type": "string"
1644 },
1645 "description": {
1646 "description": "A brief description of what this Permission is used for.",
1647 "type": "string"
1648 },
1649 "customRolesSupportLevel": {
1650 "description": "The current custom role support level.",
1651 "enum": [
1652 "SUPPORTED",
1653 "TESTING",
1654 "NOT_SUPPORTED"
1655 ],
1656 "enumDescriptions": [
1657 "Permission is fully supported for custom role use.",
1658 "Permission is being tested to check custom role compati bility.",
1659 "Permission is not supported for custom role use."
1660 ],
1661 "type": "string"
1662 }
1663 },
1664 "type": "object"
1665 } 1665 }
1666 }, 1666 },
1667 "servicePath": "", 1667 "servicePath": "",
1668 "title": "Google Identity and Access Management (IAM) API", 1668 "title": "Google Identity and Access Management (IAM) API",
1669 "version": "v1" 1669 "version": "v1"
1670 } 1670 }
OLDNEW
« no previous file with comments | « discovery/googleapis/groupssettings__v1.json ('k') | discovery/googleapis/identitytoolkit__v3.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698