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

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

Issue 2485703002: Api-roll 42: 2016-11-08 (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « discovery/googleapis/gmail__v1.json ('k') | discovery/googleapis/identitytoolkit__v3.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 } 7 }
8 } 8 }
9 } 9 }
10 }, 10 },
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 "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.",
15 "discoveryVersion": "v1", 16 "discoveryVersion": "v1",
16 "documentationLink": "https://cloud.google.com/iam/", 17 "documentationLink": "https://cloud.google.com/iam/",
17 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/KGIJuBPLol6TqL9arf5YOmp-wQ0\"", 18 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/bQX0iw41CX8vYvVm7WSKLdyxMvI\"",
18 "icons": { 19 "icons": {
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", 20 "x16": "http://www.google.com/images/icons/product/search-16.gif",
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" 21 "x32": "http://www.google.com/images/icons/product/search-32.gif"
21 }, 22 },
22 "id": "iam:v1", 23 "id": "iam:v1",
23 "kind": "discovery#restDescription", 24 "kind": "discovery#restDescription",
24 "name": "iam", 25 "name": "iam",
25 "ownerDomain": "google.com", 26 "ownerDomain": "google.com",
26 "ownerName": "Google", 27 "ownerName": "Google",
27 "parameters": { 28 "parameters": {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 "type": "string" 104 "type": "string"
104 } 105 }
105 }, 106 },
106 "protocol": "rest", 107 "protocol": "rest",
107 "resources": { 108 "resources": {
108 "projects": { 109 "projects": {
109 "resources": { 110 "resources": {
110 "serviceAccounts": { 111 "serviceAccounts": {
111 "methods": { 112 "methods": {
112 "list": { 113 "list": {
113 "description": "Lists service accounts for a project .", 114 "description": "Lists ServiceAccounts for a project. ",
114 "httpMethod": "GET", 115 "httpMethod": "GET",
115 "id": "iam.projects.serviceAccounts.list", 116 "id": "iam.projects.serviceAccounts.list",
116 "parameterOrder": [ 117 "parameterOrder": [
117 "name" 118 "name"
118 ], 119 ],
119 "parameters": { 120 "parameters": {
120 "name": { 121 "name": {
121 "description": "Required. The resource name of the project associated with the service accounts, such as \"projects/123\"", 122 "description": "Required. The resource name of the project associated with the service accounts, such as `projects/my-projec t-123`.",
122 "location": "path", 123 "location": "path",
123 "pattern": "^projects/[^/]*$", 124 "pattern": "^projects/[^/]*$",
124 "required": true, 125 "required": true,
125 "type": "string" 126 "type": "string"
126 }, 127 },
127 "pageSize": { 128 "pageSize": {
128 "description": "Optional limit on the number of service accounts to include in the response. Further accounts can subsequent ly be obtained by including the [ListServiceAccountsResponse.next_page_token] in a subsequent request.", 129 "description": "Optional limit on the number of service accounts to include in the response. Further accounts can subsequent ly be obtained by including the ListServiceAccountsResponse.next_page_token in a subsequent request.",
129 "format": "int32", 130 "format": "int32",
130 "location": "query", 131 "location": "query",
131 "type": "integer" 132 "type": "integer"
132 }, 133 },
133 "pageToken": { 134 "pageToken": {
134 "description": "Optional pagination token re turned in an earlier [ListServiceAccountsResponse.next_page_token].", 135 "description": "Optional pagination token re turned in an earlier ListServiceAccountsResponse.next_page_token.",
135 "location": "query", 136 "location": "query",
136 "type": "string" 137 "type": "string"
137 } 138 }
138 }, 139 },
139 "path": "v1/{+name}/serviceAccounts", 140 "path": "v1/{+name}/serviceAccounts",
140 "response": { 141 "response": {
141 "$ref": "ListServiceAccountsResponse" 142 "$ref": "ListServiceAccountsResponse"
142 }, 143 },
143 "scopes": [ 144 "scopes": [
144 "https://www.googleapis.com/auth/cloud-platform" 145 "https://www.googleapis.com/auth/cloud-platform"
145 ] 146 ]
146 }, 147 },
147 "get": { 148 "get": {
148 "description": "Gets a ServiceAccount", 149 "description": "Gets a ServiceAccount.",
149 "httpMethod": "GET", 150 "httpMethod": "GET",
150 "id": "iam.projects.serviceAccounts.get", 151 "id": "iam.projects.serviceAccounts.get",
151 "parameterOrder": [ 152 "parameterOrder": [
152 "name" 153 "name"
153 ], 154 ],
154 "parameters": { 155 "parameters": {
155 "name": { 156 "name": {
156 "description": "The resource name of the ser vice account in the format \"projects/{project}/serviceAccounts/{account}\". Usi ng '-' as a wildcard for the project, will infer the project from the account. T he account value can be the email address or the unique_id of the service accoun t.", 157 "description": "The resource name of the ser vice account in the following format: `projects/{project}/serviceAccounts/{accou nt}`. Using `-` as a wildcard for the project will infer the project from the ac count. The `account` value can be the `email` address or the `unique_id` of the service account.",
157 "location": "path", 158 "location": "path",
158 "pattern": "^projects/[^/]*/serviceAccounts/ [^/]*$", 159 "pattern": "^projects/[^/]*/serviceAccounts/ [^/]*$",
159 "required": true, 160 "required": true,
160 "type": "string" 161 "type": "string"
161 } 162 }
162 }, 163 },
163 "path": "v1/{+name}", 164 "path": "v1/{+name}",
164 "response": { 165 "response": {
165 "$ref": "ServiceAccount" 166 "$ref": "ServiceAccount"
166 }, 167 },
167 "scopes": [ 168 "scopes": [
168 "https://www.googleapis.com/auth/cloud-platform" 169 "https://www.googleapis.com/auth/cloud-platform"
169 ] 170 ]
170 }, 171 },
171 "create": { 172 "create": {
172 "description": "Creates a service account and return s it.", 173 "description": "Creates a ServiceAccount and returns it.",
173 "httpMethod": "POST", 174 "httpMethod": "POST",
174 "id": "iam.projects.serviceAccounts.create", 175 "id": "iam.projects.serviceAccounts.create",
175 "parameterOrder": [ 176 "parameterOrder": [
176 "name" 177 "name"
177 ], 178 ],
178 "parameters": { 179 "parameters": {
179 "name": { 180 "name": {
180 "description": "Required. The resource name of the project associated with the service accounts, such as \"projects/123\"", 181 "description": "Required. The resource name of the project associated with the service accounts, such as `projects/my-projec t-123`.",
181 "location": "path", 182 "location": "path",
182 "pattern": "^projects/[^/]*$", 183 "pattern": "^projects/[^/]*$",
183 "required": true, 184 "required": true,
184 "type": "string" 185 "type": "string"
185 } 186 }
186 }, 187 },
187 "path": "v1/{+name}/serviceAccounts", 188 "path": "v1/{+name}/serviceAccounts",
188 "request": { 189 "request": {
189 "$ref": "CreateServiceAccountRequest" 190 "$ref": "CreateServiceAccountRequest"
190 }, 191 },
191 "response": { 192 "response": {
192 "$ref": "ServiceAccount" 193 "$ref": "ServiceAccount"
193 }, 194 },
194 "scopes": [ 195 "scopes": [
195 "https://www.googleapis.com/auth/cloud-platform" 196 "https://www.googleapis.com/auth/cloud-platform"
196 ] 197 ]
197 }, 198 },
198 "update": { 199 "update": {
199 "description": "Updates a service account. Currently , only the following fields are updatable: 'display_name' . The 'etag' is mandat ory.", 200 "description": "Updates a ServiceAccount. Currently, only the following fields are updatable: `display_name` . The `etag` is mandato ry.",
200 "httpMethod": "PUT", 201 "httpMethod": "PUT",
201 "id": "iam.projects.serviceAccounts.update", 202 "id": "iam.projects.serviceAccounts.update",
202 "parameterOrder": [ 203 "parameterOrder": [
203 "name" 204 "name"
204 ], 205 ],
205 "parameters": { 206 "parameters": {
206 "name": { 207 "name": {
207 "description": "The resource name of the ser vice account in the format \"projects/{project}/serviceAccounts/{account}\". In requests using '-' as a wildcard for the project, will infer the project from th e account and the account value can be the email address or the unique_id of the service account. In responses the resource name will always be in the format \" projects/{project}/serviceAccounts/{email}\".", 208 "description": "The resource name of the ser vice account in the following format: `projects/{project}/serviceAccounts/{accou nt}`. Requests using `-` as a wildcard for the project will infer the project fr om the `account` and the `account` value can be the `email` address or the `uniq ue_id` of the service account. In responses the resource name will always be in the format `projects/{project}/serviceAccounts/{email}`.",
208 "location": "path", 209 "location": "path",
209 "pattern": "^projects/[^/]*/serviceAccounts/ [^/]*$", 210 "pattern": "^projects/[^/]*/serviceAccounts/ [^/]*$",
210 "required": true, 211 "required": true,
211 "type": "string" 212 "type": "string"
212 } 213 }
213 }, 214 },
214 "path": "v1/{+name}", 215 "path": "v1/{+name}",
215 "request": { 216 "request": {
216 "$ref": "ServiceAccount" 217 "$ref": "ServiceAccount"
217 }, 218 },
218 "response": { 219 "response": {
219 "$ref": "ServiceAccount" 220 "$ref": "ServiceAccount"
220 }, 221 },
221 "scopes": [ 222 "scopes": [
222 "https://www.googleapis.com/auth/cloud-platform" 223 "https://www.googleapis.com/auth/cloud-platform"
223 ] 224 ]
224 }, 225 },
225 "delete": { 226 "delete": {
226 "description": "Deletes a service acount.", 227 "description": "Deletes a ServiceAccount.",
227 "httpMethod": "DELETE", 228 "httpMethod": "DELETE",
228 "id": "iam.projects.serviceAccounts.delete", 229 "id": "iam.projects.serviceAccounts.delete",
229 "parameterOrder": [ 230 "parameterOrder": [
230 "name" 231 "name"
231 ], 232 ],
232 "parameters": { 233 "parameters": {
233 "name": { 234 "name": {
234 "description": "The resource name of the ser vice account in the format \"projects/{project}/serviceAccounts/{account}\". Usi ng '-' as a wildcard for the project, will infer the project from the account. T he account value can be the email address or the unique_id of the service accoun t.", 235 "description": "The resource name of the ser vice account in the following format: `projects/{project}/serviceAccounts/{accou nt}`. Using `-` as a wildcard for the project will infer the project from the ac count. The `account` value can be the `email` address or the `unique_id` of the service account.",
235 "location": "path", 236 "location": "path",
236 "pattern": "^projects/[^/]*/serviceAccounts/ [^/]*$", 237 "pattern": "^projects/[^/]*/serviceAccounts/ [^/]*$",
237 "required": true, 238 "required": true,
238 "type": "string" 239 "type": "string"
239 } 240 }
240 }, 241 },
241 "path": "v1/{+name}", 242 "path": "v1/{+name}",
242 "response": { 243 "response": {
243 "$ref": "Empty" 244 "$ref": "Empty"
244 }, 245 },
245 "scopes": [ 246 "scopes": [
246 "https://www.googleapis.com/auth/cloud-platform" 247 "https://www.googleapis.com/auth/cloud-platform"
247 ] 248 ]
248 }, 249 },
249 "signBlob": { 250 "signBlob": {
250 "description": "Signs a blob using a service account .", 251 "description": "Signs a blob using a service account 's system-managed private key.",
251 "httpMethod": "POST", 252 "httpMethod": "POST",
252 "id": "iam.projects.serviceAccounts.signBlob", 253 "id": "iam.projects.serviceAccounts.signBlob",
253 "parameterOrder": [ 254 "parameterOrder": [
254 "name" 255 "name"
255 ], 256 ],
256 "parameters": { 257 "parameters": {
257 "name": { 258 "name": {
258 "description": "The resource name of the ser vice account in the format \"projects/{project}/serviceAccounts/{account}\". Usi ng '-' as a wildcard for the project, will infer the project from the account. T he account value can be the email address or the unique_id of the service accoun t.", 259 "description": "The resource name of the ser vice account in the following format: `projects/{project}/serviceAccounts/{accou nt}`. Using `-` as a wildcard for the project will infer the project from the ac count. The `account` value can be the `email` address or the `unique_id` of the service account.",
259 "location": "path", 260 "location": "path",
260 "pattern": "^projects/[^/]*/serviceAccounts/ [^/]*$", 261 "pattern": "^projects/[^/]*/serviceAccounts/ [^/]*$",
261 "required": true, 262 "required": true,
262 "type": "string" 263 "type": "string"
263 } 264 }
264 }, 265 },
265 "path": "v1/{+name}:signBlob", 266 "path": "v1/{+name}:signBlob",
266 "request": { 267 "request": {
267 "$ref": "SignBlobRequest" 268 "$ref": "SignBlobRequest"
268 }, 269 },
269 "response": { 270 "response": {
270 "$ref": "SignBlobResponse" 271 "$ref": "SignBlobResponse"
271 }, 272 },
272 "scopes": [ 273 "scopes": [
273 "https://www.googleapis.com/auth/cloud-platform" 274 "https://www.googleapis.com/auth/cloud-platform"
274 ] 275 ]
275 }, 276 },
276 "getIamPolicy": { 277 "getIamPolicy": {
277 "description": "Returns the IAM access control polic y for specified IAM resource.", 278 "description": "Returns the IAM access control polic y for a ServiceAccount.",
278 "httpMethod": "POST", 279 "httpMethod": "POST",
279 "id": "iam.projects.serviceAccounts.getIamPolicy", 280 "id": "iam.projects.serviceAccounts.getIamPolicy",
280 "parameterOrder": [ 281 "parameterOrder": [
281 "resource" 282 "resource"
282 ], 283 ],
283 "parameters": { 284 "parameters": {
284 "resource": { 285 "resource": {
285 "description": "REQUIRED: The resource for w hich the policy is being requested. `resource` is usually specified as a path, s uch as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path s pecified in this value is resource specific and is specified in the `getIamPolic y` documentation.", 286 "description": "REQUIRED: The resource for w hich the policy is being requested. `resource` is usually specified as a path. F or example, a Project resource is specified as `projects/{project}`.",
286 "location": "path", 287 "location": "path",
287 "pattern": "^projects/[^/]*/serviceAccounts/ [^/]*$", 288 "pattern": "^projects/[^/]*/serviceAccounts/ [^/]*$",
288 "required": true, 289 "required": true,
289 "type": "string" 290 "type": "string"
290 } 291 }
291 }, 292 },
292 "path": "v1/{+resource}:getIamPolicy", 293 "path": "v1/{+resource}:getIamPolicy",
293 "response": { 294 "response": {
294 "$ref": "Policy" 295 "$ref": "Policy"
295 }, 296 },
296 "scopes": [ 297 "scopes": [
297 "https://www.googleapis.com/auth/cloud-platform" 298 "https://www.googleapis.com/auth/cloud-platform"
298 ] 299 ]
299 }, 300 },
300 "setIamPolicy": { 301 "setIamPolicy": {
301 "description": "Sets the IAM access control policy f or the specified IAM resource.", 302 "description": "Sets the IAM access control policy f or a ServiceAccount.",
302 "httpMethod": "POST", 303 "httpMethod": "POST",
303 "id": "iam.projects.serviceAccounts.setIamPolicy", 304 "id": "iam.projects.serviceAccounts.setIamPolicy",
304 "parameterOrder": [ 305 "parameterOrder": [
305 "resource" 306 "resource"
306 ], 307 ],
307 "parameters": { 308 "parameters": {
308 "resource": { 309 "resource": {
309 "description": "REQUIRED: The resource for w hich the policy is being specified. `resource` is usually specified as a path, s uch as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path s pecified in this value is resource specific and is specified in the `setIamPolic y` documentation.", 310 "description": "REQUIRED: The resource for w hich the policy is being specified. `resource` is usually specified as a path. F or example, a Project resource is specified as `projects/{project}`.",
310 "location": "path", 311 "location": "path",
311 "pattern": "^projects/[^/]*/serviceAccounts/ [^/]*$", 312 "pattern": "^projects/[^/]*/serviceAccounts/ [^/]*$",
312 "required": true, 313 "required": true,
313 "type": "string" 314 "type": "string"
314 } 315 }
315 }, 316 },
316 "path": "v1/{+resource}:setIamPolicy", 317 "path": "v1/{+resource}:setIamPolicy",
317 "request": { 318 "request": {
318 "$ref": "SetIamPolicyRequest" 319 "$ref": "SetIamPolicyRequest"
319 }, 320 },
320 "response": { 321 "response": {
321 "$ref": "Policy" 322 "$ref": "Policy"
322 }, 323 },
323 "scopes": [ 324 "scopes": [
324 "https://www.googleapis.com/auth/cloud-platform" 325 "https://www.googleapis.com/auth/cloud-platform"
325 ] 326 ]
326 }, 327 },
327 "testIamPermissions": { 328 "testIamPermissions": {
328 "description": "Tests the specified permissions agai nst the IAM access control policy for the specified IAM resource.", 329 "description": "Tests the specified permissions agai nst the IAM access control policy for a ServiceAccount.",
329 "httpMethod": "POST", 330 "httpMethod": "POST",
330 "id": "iam.projects.serviceAccounts.testIamPermissio ns", 331 "id": "iam.projects.serviceAccounts.testIamPermissio ns",
331 "parameterOrder": [ 332 "parameterOrder": [
332 "resource" 333 "resource"
333 ], 334 ],
334 "parameters": { 335 "parameters": {
335 "resource": { 336 "resource": {
336 "description": "REQUIRED: The resource for w hich the policy detail is being requested. `resource` is usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path specified in this value is resource specific and is specified in the `test IamPermissions` documentation.", 337 "description": "REQUIRED: The resource for w hich the policy detail is being requested. `resource` is usually specified as a path. For example, a Project resource is specified as `projects/{project}`.",
337 "location": "path", 338 "location": "path",
338 "pattern": "^projects/[^/]*/serviceAccounts/ [^/]*$", 339 "pattern": "^projects/[^/]*/serviceAccounts/ [^/]*$",
339 "required": true, 340 "required": true,
340 "type": "string" 341 "type": "string"
341 } 342 }
342 }, 343 },
343 "path": "v1/{+resource}:testIamPermissions", 344 "path": "v1/{+resource}:testIamPermissions",
344 "request": { 345 "request": {
345 "$ref": "TestIamPermissionsRequest" 346 "$ref": "TestIamPermissionsRequest"
346 }, 347 },
347 "response": { 348 "response": {
348 "$ref": "TestIamPermissionsResponse" 349 "$ref": "TestIamPermissionsResponse"
349 }, 350 },
350 "scopes": [ 351 "scopes": [
351 "https://www.googleapis.com/auth/cloud-platform" 352 "https://www.googleapis.com/auth/cloud-platform"
352 ] 353 ]
353 } 354 }
354 }, 355 },
355 "resources": { 356 "resources": {
356 "keys": { 357 "keys": {
357 "methods": { 358 "methods": {
358 "list": { 359 "list": {
359 "description": "Lists service account keys", 360 "description": "Lists ServiceAccountKeys.",
360 "httpMethod": "GET", 361 "httpMethod": "GET",
361 "id": "iam.projects.serviceAccounts.keys.lis t", 362 "id": "iam.projects.serviceAccounts.keys.lis t",
362 "parameterOrder": [ 363 "parameterOrder": [
363 "name" 364 "name"
364 ], 365 ],
365 "parameters": { 366 "parameters": {
366 "name": { 367 "name": {
367 "description": "The resource name of the service account in the format \"projects/{project}/serviceAccounts/{account }\". Using '-' as a wildcard for the project, will infer the project from the ac count. The account value can be the email address or the unique_id of the servic e account.", 368 "description": "The resource name of the service account in the following format: `projects/{project}/serviceAccount s/{account}`. Using `-` as a wildcard for the project, will infer the project fr om the account. The `account` value can be the `email` address or the `unique_id ` of the service account.",
368 "location": "path", 369 "location": "path",
369 "pattern": "^projects/[^/]*/serviceA ccounts/[^/]*$", 370 "pattern": "^projects/[^/]*/serviceA ccounts/[^/]*$",
370 "required": true, 371 "required": true,
371 "type": "string" 372 "type": "string"
372 }, 373 },
373 "keyTypes": { 374 "keyTypes": {
374 "description": "The type of keys the user wants to list. If empty, all key types are included in the response. Dupli cate key types are not allowed.", 375 "description": "Filters the types of keys the user wants to include in the list response. Duplicate key types are no t allowed. If no key type is provided, all keys are returned.",
375 "enum": [ 376 "enum": [
376 "KEY_TYPE_UNSPECIFIED", 377 "KEY_TYPE_UNSPECIFIED",
377 "USER_MANAGED", 378 "USER_MANAGED",
378 "SYSTEM_MANAGED" 379 "SYSTEM_MANAGED"
379 ], 380 ],
380 "location": "query", 381 "location": "query",
381 "repeated": true, 382 "repeated": true,
382 "type": "string" 383 "type": "string"
383 } 384 }
384 }, 385 },
385 "path": "v1/{+name}/keys", 386 "path": "v1/{+name}/keys",
386 "response": { 387 "response": {
387 "$ref": "ListServiceAccountKeysResponse" 388 "$ref": "ListServiceAccountKeysResponse"
388 }, 389 },
389 "scopes": [ 390 "scopes": [
390 "https://www.googleapis.com/auth/cloud-p latform" 391 "https://www.googleapis.com/auth/cloud-p latform"
391 ] 392 ]
392 }, 393 },
393 "get": { 394 "get": {
394 "description": "Gets the ServiceAccountKey b y key id.", 395 "description": "Gets the ServiceAccountKey b y key id.",
395 "httpMethod": "GET", 396 "httpMethod": "GET",
396 "id": "iam.projects.serviceAccounts.keys.get ", 397 "id": "iam.projects.serviceAccounts.keys.get ",
397 "parameterOrder": [ 398 "parameterOrder": [
398 "name" 399 "name"
399 ], 400 ],
400 "parameters": { 401 "parameters": {
401 "name": { 402 "name": {
402 "description": "The resource name of the service account key in the format \"projects/{project}/serviceAccounts/{acc ount}/keys/{key}\". Using '-' as a wildcard for the project will infer the proje ct from the account. The account value can be the email address or the unique_id of the service account.", 403 "description": "The resource name of the service account key in the following format: `projects/{project}/serviceAcc ounts/{account}/keys/{key}`. Using `-` as a wildcard for the project will infer the project from the account. The `account` value can be the `email` address or the `unique_id` of the service account.",
403 "location": "path", 404 "location": "path",
404 "pattern": "^projects/[^/]*/serviceA ccounts/[^/]*/keys/[^/]*$", 405 "pattern": "^projects/[^/]*/serviceA ccounts/[^/]*/keys/[^/]*$",
405 "required": true, 406 "required": true,
406 "type": "string" 407 "type": "string"
408 },
409 "publicKeyType": {
410 "description": "The output format of the public key requested. X509_PEM is the default output format.",
411 "enum": [
412 "TYPE_NONE",
413 "TYPE_X509_PEM_FILE",
414 "TYPE_RAW_PUBLIC_KEY"
415 ],
416 "location": "query",
417 "type": "string"
407 } 418 }
408 }, 419 },
409 "path": "v1/{+name}", 420 "path": "v1/{+name}",
410 "response": { 421 "response": {
411 "$ref": "ServiceAccountKey" 422 "$ref": "ServiceAccountKey"
412 }, 423 },
413 "scopes": [ 424 "scopes": [
414 "https://www.googleapis.com/auth/cloud-p latform" 425 "https://www.googleapis.com/auth/cloud-p latform"
415 ] 426 ]
416 }, 427 },
417 "create": { 428 "create": {
418 "description": "Creates a service account ke y and returns it.", 429 "description": "Creates a ServiceAccountKey and returns it.",
419 "httpMethod": "POST", 430 "httpMethod": "POST",
420 "id": "iam.projects.serviceAccounts.keys.cre ate", 431 "id": "iam.projects.serviceAccounts.keys.cre ate",
421 "parameterOrder": [ 432 "parameterOrder": [
422 "name" 433 "name"
423 ], 434 ],
424 "parameters": { 435 "parameters": {
425 "name": { 436 "name": {
426 "description": "The resource name of the service account in the format \"projects/{project}/serviceAccounts/{account }\". Using '-' as a wildcard for the project, will infer the project from the ac count. The account value can be the email address or the unique_id of the servic e account.", 437 "description": "The resource name of the service account in the following format: `projects/{project}/serviceAccount s/{account}`. Using `-` as a wildcard for the project will infer the project fro m the account. The `account` value can be the `email` address or the `unique_id` of the service account.",
427 "location": "path", 438 "location": "path",
428 "pattern": "^projects/[^/]*/serviceA ccounts/[^/]*$", 439 "pattern": "^projects/[^/]*/serviceA ccounts/[^/]*$",
429 "required": true, 440 "required": true,
430 "type": "string" 441 "type": "string"
431 } 442 }
432 }, 443 },
433 "path": "v1/{+name}/keys", 444 "path": "v1/{+name}/keys",
434 "request": { 445 "request": {
435 "$ref": "CreateServiceAccountKeyRequest" 446 "$ref": "CreateServiceAccountKeyRequest"
436 }, 447 },
437 "response": { 448 "response": {
438 "$ref": "ServiceAccountKey" 449 "$ref": "ServiceAccountKey"
439 }, 450 },
440 "scopes": [ 451 "scopes": [
441 "https://www.googleapis.com/auth/cloud-p latform" 452 "https://www.googleapis.com/auth/cloud-p latform"
442 ] 453 ]
443 }, 454 },
444 "delete": { 455 "delete": {
445 "description": "Deletes a service account ke y.", 456 "description": "Deletes a ServiceAccountKey. ",
446 "httpMethod": "DELETE", 457 "httpMethod": "DELETE",
447 "id": "iam.projects.serviceAccounts.keys.del ete", 458 "id": "iam.projects.serviceAccounts.keys.del ete",
448 "parameterOrder": [ 459 "parameterOrder": [
449 "name" 460 "name"
450 ], 461 ],
451 "parameters": { 462 "parameters": {
452 "name": { 463 "name": {
453 "description": "The resource name of the service account key in the format \"projects/{project}/serviceAccounts/{acc ount}/keys/{key}\". Using '-' as a wildcard for the project will infer the proje ct from the account. The account value can be the email address or the unique_id of the service account.", 464 "description": "The resource name of the service account key in the following format: `projects/{project}/serviceAcc ounts/{account}/keys/{key}`. Using `-` as a wildcard for the project will infer the project from the account. The `account` value can be the `email` address or the `unique_id` of the service account.",
454 "location": "path", 465 "location": "path",
455 "pattern": "^projects/[^/]*/serviceA ccounts/[^/]*/keys/[^/]*$", 466 "pattern": "^projects/[^/]*/serviceA ccounts/[^/]*/keys/[^/]*$",
456 "required": true, 467 "required": true,
457 "type": "string" 468 "type": "string"
458 } 469 }
459 }, 470 },
460 "path": "v1/{+name}", 471 "path": "v1/{+name}",
461 "response": { 472 "response": {
462 "$ref": "Empty" 473 "$ref": "Empty"
463 }, 474 },
464 "scopes": [ 475 "scopes": [
465 "https://www.googleapis.com/auth/cloud-p latform" 476 "https://www.googleapis.com/auth/cloud-p latform"
466 ] 477 ]
467 } 478 }
468 } 479 }
469 } 480 }
470 } 481 }
471 } 482 }
472 } 483 }
484 },
485 "roles": {
486 "methods": {
487 "queryGrantableRoles": {
488 "description": "Queries roles that can be granted on a parti cular resource. A role is grantable if it can be used as the role in a binding f or a policy for that resource.",
489 "httpMethod": "POST",
490 "id": "iam.roles.queryGrantableRoles",
491 "path": "v1/roles:queryGrantableRoles",
492 "request": {
493 "$ref": "QueryGrantableRolesRequest"
494 },
495 "response": {
496 "$ref": "QueryGrantableRolesResponse"
497 },
498 "scopes": [
499 "https://www.googleapis.com/auth/cloud-platform"
500 ]
501 }
502 }
473 } 503 }
474 }, 504 },
475 "revision": "20160129", 505 "revision": "20160915",
476 "rootUrl": "https://iam.googleapis.com/", 506 "rootUrl": "https://iam.googleapis.com/",
477 "schemas": { 507 "schemas": {
478 "ListServiceAccountsResponse": { 508 "ListServiceAccountsResponse": {
479 "description": "The service account list response.", 509 "description": "The service account list response.",
480 "id": "ListServiceAccountsResponse", 510 "id": "ListServiceAccountsResponse",
481 "properties": { 511 "properties": {
482 "accounts": { 512 "accounts": {
483 "description": "The list of matching service accounts.", 513 "description": "The list of matching service accounts.",
484 "items": { 514 "items": {
485 "$ref": "ServiceAccount" 515 "$ref": "ServiceAccount"
486 }, 516 },
487 "type": "array" 517 "type": "array"
488 }, 518 },
489 "nextPageToken": { 519 "nextPageToken": {
490 "description": "To retrieve the next page of results, set [L istServiceAccountsRequest.page_token] to this value.", 520 "description": "To retrieve the next page of results, set Li stServiceAccountsRequest.page_token to this value.",
491 "type": "string" 521 "type": "string"
492 } 522 }
493 }, 523 },
494 "type": "object" 524 "type": "object"
495 }, 525 },
496 "ServiceAccount": { 526 "ServiceAccount": {
497 "description": "A service account in the Identity and Access Managem ent API. To create a service account, you specify the project_id and account_id for the account. The account_id is unique within the project, and used to genera te the service account email address and a stable unique id. All other methods c an identify accounts using the format \"projects/{project}/serviceAccounts/{acco unt}\". Using '-' as a wildcard for the project, will infer the project from the account. The account value can be the email address or the unique_id of the ser vice account.", 527 "description": "A service account in the Identity and Access Managem ent API. To create a service account, specify the `project_id` and the `account_ id` for the account. The `account_id` is unique within the project, and is used to generate the service account email address and a stable `unique_id`. If the a ccount already exists, the account's resource name is returned in util::Status's ResourceInfo.resource_name in the format of projects/{project}/serviceAccounts/ {email}. The caller can use the name in other methods to access the account. All other methods can identify the service account using the format `projects/{proj ect}/serviceAccounts/{account}`. Using `-` as a wildcard for the project will in fer the project from the account. The `account` value can be the `email` address or the `unique_id` of the service account.",
498 "id": "ServiceAccount", 528 "id": "ServiceAccount",
499 "properties": { 529 "properties": {
500 "name": { 530 "name": {
501 "description": "The resource name of the service account in the format \"projects/{project}/serviceAccounts/{account}\". In requests using ' -' as a wildcard for the project, will infer the project from the account and th e account value can be the email address or the unique_id of the service account . In responses the resource name will always be in the format \"projects/{projec t}/serviceAccounts/{email}\".", 531 "description": "The resource name of the service account in the following format: `projects/{project}/serviceAccounts/{account}`. Requests u sing `-` as a wildcard for the project will infer the project from the `account` and the `account` value can be the `email` address or the `unique_id` of the se rvice account. In responses the resource name will always be in the format `proj ects/{project}/serviceAccounts/{email}`.",
502 "type": "string" 532 "type": "string"
503 }, 533 },
504 "projectId": { 534 "projectId": {
505 "description": "@OutputOnly The id of the project that owns the service account.", 535 "description": "@OutputOnly The id of the project that owns the service account.",
506 "type": "string" 536 "type": "string"
507 }, 537 },
508 "uniqueId": { 538 "uniqueId": {
509 "description": "@OutputOnly unique and stable id of the serv ice account.", 539 "description": "@OutputOnly The unique and stable id of the service account.",
510 "type": "string" 540 "type": "string"
511 }, 541 },
512 "email": { 542 "email": {
513 "description": "@OutputOnly Email address of the service acc ount.", 543 "description": "@OutputOnly The email address of the service account.",
514 "type": "string" 544 "type": "string"
515 }, 545 },
516 "displayName": { 546 "displayName": {
517 "description": "Optional. A user-specified description of th e service account. Must be fewer than 100 UTF-8 bytes.", 547 "description": "Optional. A user-specified description of th e service account. Must be fewer than 100 UTF-8 bytes.",
518 "type": "string" 548 "type": "string"
519 }, 549 },
520 "etag": { 550 "etag": {
521 "description": "Used to perform a consistent read-modify-wri te.", 551 "description": "Used to perform a consistent read-modify-wri te.",
522 "format": "byte", 552 "format": "byte",
523 "type": "string" 553 "type": "string"
524 }, 554 },
525 "oauth2ClientId": { 555 "oauth2ClientId": {
526 "description": "@OutputOnly. The OAuth2 client id for the se rvice account. This is used in conjunction with the OAuth2 clientconfig API to m ake three legged OAuth2 (3LO) flows to access the data of Google users.", 556 "description": "@OutputOnly. The OAuth2 client id for the se rvice account. This is used in conjunction with the OAuth2 clientconfig API to m ake three legged OAuth2 (3LO) flows to access the data of Google users.",
527 "type": "string" 557 "type": "string"
528 } 558 }
529 }, 559 },
530 "type": "object" 560 "type": "object"
531 }, 561 },
532 "CreateServiceAccountRequest": { 562 "CreateServiceAccountRequest": {
533 "description": "The service account create request.", 563 "description": "The service account create request.",
534 "id": "CreateServiceAccountRequest", 564 "id": "CreateServiceAccountRequest",
535 "properties": { 565 "properties": {
536 "accountId": { 566 "accountId": {
537 "description": "Required. The account id that is used to gen erate the service account email address and a stable unique id. It is unique wit hin a project, must be 1-63 characters long, and match the regular expression [a -z]([-a-z0-9]*[a-z0-9]) to comply with RFC1035.", 567 "description": "Required. The account id that is used to gen erate the service account email address and a stable unique id. It is unique wit hin a project, must be 6-30 characters long, and match the regular expression `[ a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035.",
538 "type": "string" 568 "type": "string"
539 }, 569 },
540 "serviceAccount": { 570 "serviceAccount": {
541 "$ref": "ServiceAccount", 571 "$ref": "ServiceAccount",
542 "description": "The ServiceAccount resource to create. Curre ntly, only the following values are user assignable: display_name ." 572 "description": "The ServiceAccount resource to create. Curre ntly, only the following values are user assignable: `display_name` ."
543 } 573 }
544 }, 574 },
545 "type": "object" 575 "type": "object"
546 }, 576 },
547 "Empty": { 577 "Empty": {
548 "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON re presentation for `Empty` is empty JSON object `{}`.", 578 "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON re presentation for `Empty` is empty JSON object `{}`.",
549 "id": "Empty", 579 "id": "Empty",
550 "type": "object" 580 "type": "object"
551 }, 581 },
552 "ListServiceAccountKeysResponse": { 582 "ListServiceAccountKeysResponse": {
553 "description": "The service account keys list response.", 583 "description": "The service account keys list response.",
554 "id": "ListServiceAccountKeysResponse", 584 "id": "ListServiceAccountKeysResponse",
555 "properties": { 585 "properties": {
556 "keys": { 586 "keys": {
557 "description": "The public keys for the service account.", 587 "description": "The public keys for the service account.",
558 "items": { 588 "items": {
559 "$ref": "ServiceAccountKey" 589 "$ref": "ServiceAccountKey"
560 }, 590 },
561 "type": "array" 591 "type": "array"
562 } 592 }
563 }, 593 },
564 "type": "object" 594 "type": "object"
565 }, 595 },
566 "ServiceAccountKey": { 596 "ServiceAccountKey": {
567 "description": "Represents a service account key. A service account can have 0 or more key pairs. The private keys for these are not stored by Googl e. ServiceAccountKeys are immutable.", 597 "description": "Represents a service account key. A service account has two sets of key-pairs: user-managed, and system-managed. User-managed key-pa irs can be created and deleted by users. Users are responsible for rotating thes e keys periodically to ensure security of their service accounts. Users retain t he private key of these key-pairs, and Google retains ONLY the public key. Syste m-managed key-pairs are managed automatically by Google, and rotated daily witho ut user intervention. The private key never leaves Google's servers to maximize security. Public keys for all service accounts are also published at the OAuth2 Service Account API.",
568 "id": "ServiceAccountKey", 598 "id": "ServiceAccountKey",
569 "properties": { 599 "properties": {
570 "name": { 600 "name": {
571 "description": "The resource name of the service account key in the format \"projects/{project}/serviceAccounts/{email}/keys/{key}\".", 601 "description": "The resource name of the service account key in the following format `projects/{project}/serviceAccounts/{account}/keys/{key }`.",
572 "type": "string" 602 "type": "string"
573 }, 603 },
574 "privateKeyType": { 604 "privateKeyType": {
575 "description": "The type of the private key.", 605 "description": "The output format for the private key. Only provided in `CreateServiceAccountKey` responses, not in `GetServiceAccountKey` o r `ListServiceAccountKey` responses. Google never exposes system-managed private keys, and never retains user-managed private keys.",
576 "enum": [ 606 "enum": [
577 "TYPE_UNSPECIFIED", 607 "TYPE_UNSPECIFIED",
578 "TYPE_PKCS12_FILE", 608 "TYPE_PKCS12_FILE",
579 "TYPE_GOOGLE_CREDENTIALS_FILE" 609 "TYPE_GOOGLE_CREDENTIALS_FILE"
580 ], 610 ],
581 "type": "string" 611 "type": "string"
582 }, 612 },
613 "keyAlgorithm": {
614 "description": "Specifies the algorithm (and possibly key si ze) for the key.",
615 "enum": [
616 "KEY_ALG_UNSPECIFIED",
617 "KEY_ALG_RSA_1024",
618 "KEY_ALG_RSA_2048"
619 ],
620 "type": "string"
621 },
583 "privateKeyData": { 622 "privateKeyData": {
584 "description": "The key data.", 623 "description": "The private key data. Only provided in `Crea teServiceAccountKey` responses.",
585 "format": "byte", 624 "format": "byte",
586 "type": "string" 625 "type": "string"
587 }, 626 },
627 "publicKeyData": {
628 "description": "The public key data. Only provided in `GetSe rviceAccountKey` responses.",
629 "format": "byte",
630 "type": "string"
631 },
588 "validAfterTime": { 632 "validAfterTime": {
589 "description": "The key can be used after this timestamp.", 633 "description": "The key can be used after this timestamp.",
590 "type": "string" 634 "type": "string"
591 }, 635 },
592 "validBeforeTime": { 636 "validBeforeTime": {
593 "description": "The key can be used before this timestamp.", 637 "description": "The key can be used before this timestamp.",
594 "type": "string" 638 "type": "string"
595 } 639 }
596 }, 640 },
597 "type": "object" 641 "type": "object"
598 }, 642 },
599 "CreateServiceAccountKeyRequest": { 643 "CreateServiceAccountKeyRequest": {
600 "description": "The service account key create request.", 644 "description": "The service account key create request.",
601 "id": "CreateServiceAccountKeyRequest", 645 "id": "CreateServiceAccountKeyRequest",
602 "properties": { 646 "properties": {
603 "privateKeyType": { 647 "privateKeyType": {
604 "description": "The type of the key requested. GOOGLE_CREDEN TIALS is the default key type.", 648 "description": "The output format of the private key. `GOOGL E_CREDENTIALS_FILE` is the default output format.",
605 "enum": [ 649 "enum": [
606 "TYPE_UNSPECIFIED", 650 "TYPE_UNSPECIFIED",
607 "TYPE_PKCS12_FILE", 651 "TYPE_PKCS12_FILE",
608 "TYPE_GOOGLE_CREDENTIALS_FILE" 652 "TYPE_GOOGLE_CREDENTIALS_FILE"
609 ], 653 ],
610 "type": "string" 654 "type": "string"
655 },
656 "keyAlgorithm": {
657 "description": "Which type of key and algorithm to use for t he key. The default is currently a 4K RSA key. However this may change in the fu ture.",
658 "enum": [
659 "KEY_ALG_UNSPECIFIED",
660 "KEY_ALG_RSA_1024",
661 "KEY_ALG_RSA_2048"
662 ],
663 "type": "string"
611 } 664 }
612 }, 665 },
613 "type": "object" 666 "type": "object"
614 }, 667 },
615 "SignBlobRequest": { 668 "SignBlobRequest": {
616 "description": "The service account sign blob request.", 669 "description": "The service account sign blob request.",
617 "id": "SignBlobRequest", 670 "id": "SignBlobRequest",
618 "properties": { 671 "properties": {
619 "bytesToSign": { 672 "bytesToSign": {
620 "description": "The bytes to sign", 673 "description": "The bytes to sign.",
621 "format": "byte", 674 "format": "byte",
622 "type": "string" 675 "type": "string"
623 } 676 }
624 }, 677 },
625 "type": "object" 678 "type": "object"
626 }, 679 },
627 "SignBlobResponse": { 680 "SignBlobResponse": {
628 "description": "The service account sign blob response.", 681 "description": "The service account sign blob response.",
629 "id": "SignBlobResponse", 682 "id": "SignBlobResponse",
630 "properties": { 683 "properties": {
631 "keyId": { 684 "keyId": {
632 "description": "The id of the key used to sign the blob.", 685 "description": "The id of the key used to sign the blob.",
633 "type": "string" 686 "type": "string"
634 }, 687 },
635 "signature": { 688 "signature": {
636 "description": "The signed blob.", 689 "description": "The signed blob.",
637 "format": "byte", 690 "format": "byte",
638 "type": "string" 691 "type": "string"
639 } 692 }
640 }, 693 },
641 "type": "object" 694 "type": "object"
642 }, 695 },
643 "Policy": { 696 "Policy": {
644 "description": "Defines an Identity and Access Management (IAM) poli cy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `member s` to a `role`, where the members can be user accounts, Google groups, Google do mains, and service accounts. A `role` is a named list of permissions defined by IAM. **Example** { \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \ "user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \ "serviceAccount:my-other-app@appspot.gserviceaccount.com\"] }, { \"role\": \"rol es/viewer\", \"members\": [\"user:sean@example.com\"] } ] } For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/ iam).", 697 "description": "Defines an Identity and Access Management (IAM) poli cy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `member s` to a `role`, where the members can be user accounts, Google groups, Google do mains, and service accounts. A `role` is a named list of permissions defined by IAM. **Example** { \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \ "user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \ "serviceAccount:my-other-app@appspot.gserviceaccount.com\", ] }, { \"role\": \"r oles/viewer\", \"members\": [\"user:sean@example.com\"] } ] } For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.co m/iam).",
645 "id": "Policy", 698 "id": "Policy",
646 "properties": { 699 "properties": {
647 "version": { 700 "version": {
648 "description": "Version of the `Policy`. The default version is 0.", 701 "description": "Version of the `Policy`. The default version is 0.",
649 "format": "int32", 702 "format": "int32",
650 "type": "integer" 703 "type": "integer"
651 }, 704 },
652 "bindings": { 705 "bindings": {
653 "description": "Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with n o members will result in an error.", 706 "description": "Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with n o members will result in an error.",
654 "items": { 707 "items": {
655 "$ref": "Binding" 708 "$ref": "Binding"
656 }, 709 },
657 "type": "array" 710 "type": "array"
658 }, 711 },
659 "rules": {
660 "items": {
661 "$ref": "Rule"
662 },
663 "type": "array"
664 },
665 "etag": { 712 "etag": {
666 "description": "`etag` is used for optimistic concurrency co ntrol as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race condit ions: An `etag` is returned in the response to `getIamPolicy`, and systems are e xpected to put that etag in the request to `setIamPolicy` to ensure that their c hange will be applied to the same version of the policy. If no `etag` is provide d in the call to `setIamPolicy`, then the existing policy is overwritten blindly .", 713 "description": "`etag` is used for optimistic concurrency co ntrol as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race condit ions: An `etag` is returned in the response to `getIamPolicy`, and systems are e xpected to put that etag in the request to `setIamPolicy` to ensure that their c hange will be applied to the same version of the policy. If no `etag` is provide d in the call to `setIamPolicy`, then the existing policy is overwritten blindly .",
667 "format": "byte", 714 "format": "byte",
668 "type": "string" 715 "type": "string"
669 } 716 }
670 }, 717 },
671 "type": "object" 718 "type": "object"
672 }, 719 },
673 "Binding": { 720 "Binding": {
674 "description": "Associates `members` with a `role`.", 721 "description": "Associates `members` with a `role`.",
675 "id": "Binding", 722 "id": "Binding",
676 "properties": { 723 "properties": {
677 "role": { 724 "role": {
678 "description": "Role that is assigned to `members`. For exam ple, `roles/viewer`, `roles/editor`, or `roles/owner`. Required", 725 "description": "Role that is assigned to `members`. For exam ple, `roles/viewer`, `roles/editor`, or `roles/owner`. Required",
679 "type": "string" 726 "type": "string"
680 }, 727 },
681 "members": { 728 "members": {
682 "description": "Specifies the identities requesting access f or a Cloud Platform resource. `members` can have the following values: * `allUse rs`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service accoun t. * `user:{emailid}`: An email address that represents a specific Google accoun t. For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:{email id}`: An email address that represents a service account. For example, `my-other -app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that re presents a Google group. For example, `admins@example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For exa mple, `google.com` or `example.com`.", 729 "description": "Specifies the identities requesting access f or a Cloud Platform resource. `members` can have the following values: * `allUse rs`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service accoun t. * `user:{emailid}`: An email address that represents a specific Google accoun t. For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:{email id}`: An email address that represents a service account. For example, `my-other -app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that re presents a Google group. For example, `admins@example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For exa mple, `google.com` or `example.com`.",
683 "items": { 730 "items": {
684 "type": "string" 731 "type": "string"
685 }, 732 },
686 "type": "array" 733 "type": "array"
687 } 734 }
688 }, 735 },
689 "type": "object" 736 "type": "object"
690 }, 737 },
691 "Rule": {
692 "description": "A rule to be applied in a Policy.",
693 "id": "Rule",
694 "properties": {
695 "description": {
696 "description": "Human-readable description of the rule.",
697 "type": "string"
698 },
699 "permissions": {
700 "description": "A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb par t of '*' (e.g., 'storage.buckets.*') matches all verbs.",
701 "items": {
702 "type": "string"
703 },
704 "type": "array"
705 },
706 "action": {
707 "description": "Required",
708 "enum": [
709 "NO_ACTION",
710 "ALLOW",
711 "ALLOW_WITH_LOG",
712 "DENY",
713 "DENY_WITH_LOG",
714 "LOG"
715 ],
716 "type": "string"
717 },
718 "in": {
719 "description": "The rule matches if the PRINCIPAL/AUTHORITY_ SELECTOR is in this set of entries.",
720 "items": {
721 "type": "string"
722 },
723 "type": "array"
724 },
725 "notIn": {
726 "description": "The rule matches if the PRINCIPAL/AUTHORITY_ SELECTOR is not in this set of entries. The format for in and not_in entries is the same as for members in a Binding (see google/iam/v1/policy.proto).",
727 "items": {
728 "type": "string"
729 },
730 "type": "array"
731 },
732 "conditions": {
733 "description": "Additional restrictions that must be met",
734 "items": {
735 "$ref": "Condition"
736 },
737 "type": "array"
738 },
739 "logConfig": {
740 "description": "The config returned to callers of tech.iam.I AM.CheckPolicy for any entries that match the LOG action.",
741 "items": {
742 "$ref": "LogConfig"
743 },
744 "type": "array"
745 }
746 },
747 "type": "object"
748 },
749 "Condition": {
750 "description": "A condition to be met.",
751 "id": "Condition",
752 "properties": {
753 "iam": {
754 "description": "Trusted attributes supplied by the IAM syste m.",
755 "enum": [
756 "NO_ATTR",
757 "AUTHORITY",
758 "ATTRIBUTION"
759 ],
760 "type": "string"
761 },
762 "sys": {
763 "description": "Trusted attributes supplied by any service t hat owns resources and uses the IAM system for access control.",
764 "enum": [
765 "NO_ATTR",
766 "REGION",
767 "SERVICE",
768 "NAME",
769 "IP"
770 ],
771 "type": "string"
772 },
773 "svc": {
774 "description": "Trusted attributes discharged by the service .",
775 "type": "string"
776 },
777 "op": {
778 "description": "An operator to apply the subject with.",
779 "enum": [
780 "NO_OP",
781 "EQUALS",
782 "NOT_EQUALS",
783 "IN",
784 "NOT_IN",
785 "DISCHARGED"
786 ],
787 "type": "string"
788 },
789 "value": {
790 "description": "The object of the condition. Exactly one of these must be set.",
791 "type": "string"
792 },
793 "values": {
794 "description": "The objects of the condition. This is mutual ly exclusive with 'value'.",
795 "items": {
796 "type": "string"
797 },
798 "type": "array"
799 }
800 },
801 "type": "object"
802 },
803 "LogConfig": {
804 "description": "Specifies what kind of log the caller must write Inc rement a streamz counter with the specified metric and field names. Metric names should start with a '/', generally be lowercase-only, and end in \"_count\". Fi eld names should not contain an initial slash. The actual exported metric names will have \"/iam/policy\" prepended. Field names correspond to IAM request param eters and field values are their respective values. At present only \"iam_princi pal\", corresponding to IAMContext.principal, is supported. Examples: counter { metric: \"/debug_access_count\" field: \"iam_principal\" } ==> increment counter /iam/policy/backend_debug_access_count {iam_principal=[value of IAMContext.prin cipal]} At this time we do not support: * multiple field names (though this may be supported in the future) * decrementing the counter * incrementing it by anyt hing other than 1",
805 "id": "LogConfig",
806 "properties": {
807 "counter": {
808 "$ref": "CounterOptions",
809 "description": "Counter options."
810 },
811 "dataAccess": {
812 "$ref": "DataAccessOptions",
813 "description": "Data access options."
814 },
815 "cloudAudit": {
816 "$ref": "CloudAuditOptions",
817 "description": "Cloud audit options."
818 }
819 },
820 "type": "object"
821 },
822 "CounterOptions": {
823 "description": "Options for counters",
824 "id": "CounterOptions",
825 "properties": {
826 "metric": {
827 "description": "The metric to update.",
828 "type": "string"
829 },
830 "field": {
831 "description": "The field value to attribute.",
832 "type": "string"
833 }
834 },
835 "type": "object"
836 },
837 "DataAccessOptions": {
838 "description": "Write a Data Access (Gin) log",
839 "id": "DataAccessOptions",
840 "type": "object"
841 },
842 "CloudAuditOptions": {
843 "description": "Write a Cloud Audit log",
844 "id": "CloudAuditOptions",
845 "type": "object"
846 },
847 "SetIamPolicyRequest": { 738 "SetIamPolicyRequest": {
848 "description": "Request message for `SetIamPolicy` method.", 739 "description": "Request message for `SetIamPolicy` method.",
849 "id": "SetIamPolicyRequest", 740 "id": "SetIamPolicyRequest",
850 "properties": { 741 "properties": {
851 "policy": { 742 "policy": {
852 "$ref": "Policy", 743 "$ref": "Policy",
853 "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empt y policy is a valid policy but certain Cloud Platform services (such as Projects ) might reject them." 744 "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empt y policy is a valid policy but certain Cloud Platform services (such as Projects ) might reject them."
854 } 745 }
855 }, 746 },
856 "type": "object" 747 "type": "object"
857 }, 748 },
858 "TestIamPermissionsRequest": { 749 "TestIamPermissionsRequest": {
859 "description": "Request message for `TestIamPermissions` method.", 750 "description": "Request message for `TestIamPermissions` method.",
860 "id": "TestIamPermissionsRequest", 751 "id": "TestIamPermissionsRequest",
861 "properties": { 752 "properties": {
862 "permissions": { 753 "permissions": {
863 "description": "The set of permissions to check for the `res ource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see IAM Overview.", 754 "description": "The set of permissions to check for the `res ource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overv iew#permissions).",
864 "items": { 755 "items": {
865 "type": "string" 756 "type": "string"
866 }, 757 },
867 "type": "array" 758 "type": "array"
868 } 759 }
869 }, 760 },
870 "type": "object" 761 "type": "object"
871 }, 762 },
872 "TestIamPermissionsResponse": { 763 "TestIamPermissionsResponse": {
873 "description": "Response message for `TestIamPermissions` method.", 764 "description": "Response message for `TestIamPermissions` method.",
874 "id": "TestIamPermissionsResponse", 765 "id": "TestIamPermissionsResponse",
875 "properties": { 766 "properties": {
876 "permissions": { 767 "permissions": {
877 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is allowed.", 768 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is allowed.",
878 "items": { 769 "items": {
879 "type": "string" 770 "type": "string"
880 }, 771 },
881 "type": "array" 772 "type": "array"
882 } 773 }
883 }, 774 },
884 "type": "object" 775 "type": "object"
776 },
777 "QueryGrantableRolesRequest": {
778 "description": "The grantable role query request.",
779 "id": "QueryGrantableRolesRequest",
780 "properties": {
781 "fullResourceName": {
782 "description": "Required. The full resource name to query fr om the list of grantable roles. The name follows the Google Cloud Platform resou rce format. For example, a Cloud Platform project with id `my-project` will be n amed `//cloudresourcemanager.googleapis.com/projects/my-project`.",
783 "type": "string"
784 }
785 },
786 "type": "object"
787 },
788 "QueryGrantableRolesResponse": {
789 "description": "The grantable role query response.",
790 "id": "QueryGrantableRolesResponse",
791 "properties": {
792 "roles": {
793 "description": "The list of matching roles.",
794 "items": {
795 "$ref": "Role"
796 },
797 "type": "array"
798 }
799 },
800 "type": "object"
801 },
802 "Role": {
803 "description": "A role in the Identity and Access Management API.",
804 "id": "Role",
805 "properties": {
806 "name": {
807 "description": "The name of the role. When Role is used in C reateRole, the role name must not be set. When Role is used in output and other input such as UpdateRole, the role name is the complete path, e.g., roles/loggin g.viewer for curated roles and organizations/{organization-id}/roles/logging.vie wer for custom roles.",
808 "type": "string"
809 },
810 "title": {
811 "description": "Optional. A human-readable title for the rol e. Typically this is limited to 100 UTF-8 bytes.",
812 "type": "string"
813 },
814 "description": {
815 "description": "Optional. A human-readable description for t he role.",
816 "type": "string"
817 }
818 },
819 "type": "object"
820 },
821 "AuditData": {
822 "description": "Audit log information specific to Cloud IAM. This me ssage is serialized as an `Any` type in the `ServiceData` message of an `AuditLo g` message.",
823 "id": "AuditData",
824 "properties": {
825 "policyDelta": {
826 "$ref": "PolicyDelta",
827 "description": "Policy delta between the original policy and the newly set policy."
828 }
829 },
830 "type": "object"
831 },
832 "PolicyDelta": {
833 "description": "The difference delta between two policies.",
834 "id": "PolicyDelta",
835 "properties": {
836 "bindingDeltas": {
837 "description": "The delta for Bindings between two policies. ",
838 "items": {
839 "$ref": "BindingDelta"
840 },
841 "type": "array"
842 }
843 },
844 "type": "object"
845 },
846 "BindingDelta": {
847 "description": "One delta entry for Binding. Each individual change (only one member in each entry) to a binding will be a separate entry.",
848 "id": "BindingDelta",
849 "properties": {
850 "action": {
851 "description": "The action that was performed on a Binding. Required",
852 "enum": [
853 "ACTION_UNSPECIFIED",
854 "ADD",
855 "REMOVE"
856 ],
857 "type": "string"
858 },
859 "role": {
860 "description": "Role that is assigned to `members`. For exam ple, `roles/viewer`, `roles/editor`, or `roles/owner`. Required",
861 "type": "string"
862 },
863 "member": {
864 "description": "A single identity requesting access for a Cl oud Platform resource. Follows the same format of Binding.members. Required",
865 "type": "string"
866 }
867 },
868 "type": "object"
885 } 869 }
886 }, 870 },
887 "servicePath": "", 871 "servicePath": "",
888 "title": "Google Identity and Access Management API", 872 "title": "Google Identity and Access Management (IAM) API",
889 "version": "v1" 873 "version": "v1"
890 } 874 }
OLDNEW
« no previous file with comments | « discovery/googleapis/gmail__v1.json ('k') | discovery/googleapis/identitytoolkit__v3.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698