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

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

Issue 2695743002: Api-roll 45: 2017-02-13 (Closed)
Patch Set: reverted local changes to pubspec file Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « discovery/googleapis/gmail__v1.json ('k') | discovery/googleapis/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 "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 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/bQX0iw41CX8vYvVm7WSKLdyxMvI\"",
19 "icons": { 18 "icons": {
20 "x16": "http://www.google.com/images/icons/product/search-16.gif", 19 "x16": "http://www.google.com/images/icons/product/search-16.gif",
21 "x32": "http://www.google.com/images/icons/product/search-32.gif" 20 "x32": "http://www.google.com/images/icons/product/search-32.gif"
22 }, 21 },
23 "id": "iam:v1", 22 "id": "iam:v1",
24 "kind": "discovery#restDescription", 23 "kind": "discovery#restDescription",
25 "name": "iam", 24 "name": "iam",
26 "ownerDomain": "google.com", 25 "ownerDomain": "google.com",
27 "ownerName": "Google", 26 "ownerName": "Google",
28 "parameters": { 27 "parameters": {
29 "access_token": { 28 "pp": {
30 "description": "OAuth access token.", 29 "default": "true",
30 "description": "Pretty-print response.",
31 "location": "query", 31 "location": "query",
32 "type": "string" 32 "type": "boolean"
33 },
34 "alt": {
35 "default": "json",
36 "description": "Data format for response.",
37 "enumDescriptions": [
38 "Responses with Content-Type of application/json",
39 "Media download with context-dependent Content-Type",
40 "Responses with Content-Type of application/x-protobuf"
41 ],
42 "location": "query",
43 "type": "string"
44 }, 33 },
45 "bearer_token": { 34 "bearer_token": {
46 "description": "OAuth bearer token.", 35 "description": "OAuth bearer token.",
47 "location": "query", 36 "location": "query",
48 "type": "string" 37 "type": "string"
49 }, 38 },
50 "callback": {
51 "description": "JSONP",
52 "location": "query",
53 "type": "string"
54 },
55 "fields": {
56 "description": "Selector specifying which fields to include in a par tial response.",
57 "location": "query",
58 "type": "string"
59 },
60 "key": {
61 "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.",
62 "location": "query",
63 "type": "string"
64 },
65 "oauth_token": { 39 "oauth_token": {
66 "description": "OAuth 2.0 token for the current user.", 40 "description": "OAuth 2.0 token for the current user.",
67 "location": "query", 41 "location": "query",
68 "type": "string" 42 "type": "string"
69 }, 43 },
70 "pp": { 44 "upload_protocol": {
71 "default": "true", 45 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
72 "description": "Pretty-print response.",
73 "location": "query", 46 "location": "query",
74 "type": "boolean" 47 "type": "string"
75 }, 48 },
76 "prettyPrint": { 49 "prettyPrint": {
77 "default": "true", 50 "default": "true",
78 "description": "Returns response with indentations and line breaks." , 51 "description": "Returns response with indentations and line breaks." ,
79 "location": "query", 52 "location": "query",
80 "type": "boolean" 53 "type": "boolean"
81 }, 54 },
82 "quotaUser": { 55 "fields": {
83 "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.", 56 "description": "Selector specifying which fields to include in a par tial response.",
84 "location": "query",
85 "type": "string"
86 },
87 "upload_protocol": {
88 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
89 "location": "query", 57 "location": "query",
90 "type": "string" 58 "type": "string"
91 }, 59 },
92 "uploadType": { 60 "uploadType": {
93 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 61 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
94 "location": "query", 62 "location": "query",
95 "type": "string" 63 "type": "string"
96 }, 64 },
65 "callback": {
66 "description": "JSONP",
67 "location": "query",
68 "type": "string"
69 },
97 "$.xgafv": { 70 "$.xgafv": {
98 "description": "V1 error format.", 71 "description": "V1 error format.",
72 "enum": [
73 "1",
74 "2"
75 ],
99 "enumDescriptions": [ 76 "enumDescriptions": [
100 "v1 error format", 77 "v1 error format",
101 "v2 error format" 78 "v2 error format"
102 ], 79 ],
103 "location": "query", 80 "location": "query",
104 "type": "string" 81 "type": "string"
82 },
83 "alt": {
84 "default": "json",
85 "description": "Data format for response.",
86 "enum": [
87 "json",
88 "media",
89 "proto"
90 ],
91 "enumDescriptions": [
92 "Responses with Content-Type of application/json",
93 "Media download with context-dependent Content-Type",
94 "Responses with Content-Type of application/x-protobuf"
95 ],
96 "location": "query",
97 "type": "string"
98 },
99 "access_token": {
100 "description": "OAuth access token.",
101 "location": "query",
102 "type": "string"
103 },
104 "key": {
105 "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.",
106 "location": "query",
107 "type": "string"
108 },
109 "quotaUser": {
110 "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.",
111 "location": "query",
112 "type": "string"
105 } 113 }
106 }, 114 },
107 "protocol": "rest", 115 "protocol": "rest",
108 "resources": { 116 "resources": {
109 "projects": { 117 "projects": {
110 "resources": { 118 "resources": {
111 "serviceAccounts": { 119 "serviceAccounts": {
112 "methods": { 120 "methods": {
121 "delete": {
122 "description": "Deletes a ServiceAccount.",
123 "httpMethod": "DELETE",
124 "id": "iam.projects.serviceAccounts.delete",
125 "parameterOrder": [
126 "name"
127 ],
128 "parameters": {
129 "name": {
130 "description": "The resource name of the ser vice account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{S ERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the \n`unique_id` of the service account.",
131 "location": "path",
132 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
133 "required": true,
134 "type": "string"
135 }
136 },
137 "path": "v1/{+name}",
138 "response": {
139 "$ref": "Empty"
140 },
141 "scopes": [
142 "https://www.googleapis.com/auth/cloud-platform"
143 ]
144 },
113 "list": { 145 "list": {
114 "description": "Lists ServiceAccounts for a project. ", 146 "description": "Lists ServiceAccounts for a project. ",
115 "httpMethod": "GET", 147 "httpMethod": "GET",
116 "id": "iam.projects.serviceAccounts.list", 148 "id": "iam.projects.serviceAccounts.list",
117 "parameterOrder": [ 149 "parameterOrder": [
118 "name" 150 "name"
119 ], 151 ],
120 "parameters": { 152 "parameters": {
121 "name": { 153 "name": {
122 "description": "Required. The resource name of the project associated with the service accounts, such as `projects/my-projec t-123`.", 154 "description": "Required. The resource name of the project associated with the service\naccounts, such as `projects/my-proje ct-123`.",
123 "location": "path", 155 "location": "path",
124 "pattern": "^projects/[^/]*$", 156 "pattern": "^projects/[^/]+$",
125 "required": true, 157 "required": true,
126 "type": "string" 158 "type": "string"
127 }, 159 },
160 "pageToken": {
161 "description": "Optional pagination token re turned in an earlier\nListServiceAccountsResponse.next_page_token.",
162 "location": "query",
163 "type": "string"
164 },
128 "pageSize": { 165 "pageSize": {
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.", 166 "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.",
130 "format": "int32", 167 "format": "int32",
131 "location": "query", 168 "location": "query",
132 "type": "integer" 169 "type": "integer"
133 },
134 "pageToken": {
135 "description": "Optional pagination token re turned in an earlier ListServiceAccountsResponse.next_page_token.",
136 "location": "query",
137 "type": "string"
138 } 170 }
139 }, 171 },
140 "path": "v1/{+name}/serviceAccounts", 172 "path": "v1/{+name}/serviceAccounts",
141 "response": { 173 "response": {
142 "$ref": "ListServiceAccountsResponse" 174 "$ref": "ListServiceAccountsResponse"
143 }, 175 },
144 "scopes": [ 176 "scopes": [
145 "https://www.googleapis.com/auth/cloud-platform" 177 "https://www.googleapis.com/auth/cloud-platform"
146 ] 178 ]
147 }, 179 },
148 "get": { 180 "signBlob": {
149 "description": "Gets a ServiceAccount.", 181 "description": "Signs a blob using a service account 's system-managed private key.",
150 "httpMethod": "GET", 182 "httpMethod": "POST",
151 "id": "iam.projects.serviceAccounts.get", 183 "id": "iam.projects.serviceAccounts.signBlob",
152 "parameterOrder": [ 184 "parameterOrder": [
153 "name" 185 "name"
154 ], 186 ],
155 "parameters": { 187 "parameters": {
156 "name": { 188 "name": {
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.", 189 "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.",
158 "location": "path", 190 "location": "path",
159 "pattern": "^projects/[^/]*/serviceAccounts/ [^/]*$", 191 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
160 "required": true, 192 "required": true,
161 "type": "string" 193 "type": "string"
162 } 194 }
163 }, 195 },
164 "path": "v1/{+name}", 196 "path": "v1/{+name}:signBlob",
197 "request": {
198 "$ref": "SignBlobRequest"
199 },
165 "response": { 200 "response": {
166 "$ref": "ServiceAccount" 201 "$ref": "SignBlobResponse"
202 },
203 "scopes": [
204 "https://www.googleapis.com/auth/cloud-platform"
205 ]
206 },
207 "signJwt": {
208 "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.",
209 "httpMethod": "POST",
210 "id": "iam.projects.serviceAccounts.signJwt",
211 "parameterOrder": [
212 "name"
213 ],
214 "parameters": {
215 "name": {
216 "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.",
217 "location": "path",
218 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
219 "required": true,
220 "type": "string"
221 }
222 },
223 "path": "v1/{+name}:signJwt",
224 "request": {
225 "$ref": "SignJwtRequest"
226 },
227 "response": {
228 "$ref": "SignJwtResponse"
229 },
230 "scopes": [
231 "https://www.googleapis.com/auth/cloud-platform"
232 ]
233 },
234 "setIamPolicy": {
235 "description": "Sets the IAM access control policy f or a\nServiceAccount.",
236 "httpMethod": "POST",
237 "id": "iam.projects.serviceAccounts.setIamPolicy",
238 "parameterOrder": [
239 "resource"
240 ],
241 "parameters": {
242 "resource": {
243 "description": "REQUIRED: The resource for w hich the policy is being specified.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
244 "location": "path",
245 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
246 "required": true,
247 "type": "string"
248 }
249 },
250 "path": "v1/{+resource}:setIamPolicy",
251 "request": {
252 "$ref": "SetIamPolicyRequest"
253 },
254 "response": {
255 "$ref": "Policy"
167 }, 256 },
168 "scopes": [ 257 "scopes": [
169 "https://www.googleapis.com/auth/cloud-platform" 258 "https://www.googleapis.com/auth/cloud-platform"
170 ] 259 ]
171 }, 260 },
172 "create": { 261 "create": {
173 "description": "Creates a ServiceAccount and returns it.", 262 "description": "Creates a ServiceAccount\nand return s it.",
174 "httpMethod": "POST", 263 "httpMethod": "POST",
175 "id": "iam.projects.serviceAccounts.create", 264 "id": "iam.projects.serviceAccounts.create",
176 "parameterOrder": [ 265 "parameterOrder": [
177 "name" 266 "name"
178 ], 267 ],
179 "parameters": { 268 "parameters": {
180 "name": { 269 "name": {
181 "description": "Required. The resource name of the project associated with the service accounts, such as `projects/my-projec t-123`.", 270 "description": "Required. The resource name of the project associated with the service\naccounts, such as `projects/my-proje ct-123`.",
182 "location": "path", 271 "location": "path",
183 "pattern": "^projects/[^/]*$", 272 "pattern": "^projects/[^/]+$",
184 "required": true, 273 "required": true,
185 "type": "string" 274 "type": "string"
186 } 275 }
187 }, 276 },
188 "path": "v1/{+name}/serviceAccounts", 277 "path": "v1/{+name}/serviceAccounts",
189 "request": { 278 "request": {
190 "$ref": "CreateServiceAccountRequest" 279 "$ref": "CreateServiceAccountRequest"
191 }, 280 },
192 "response": { 281 "response": {
193 "$ref": "ServiceAccount" 282 "$ref": "ServiceAccount"
194 }, 283 },
195 "scopes": [ 284 "scopes": [
196 "https://www.googleapis.com/auth/cloud-platform" 285 "https://www.googleapis.com/auth/cloud-platform"
197 ] 286 ]
198 }, 287 },
199 "update": {
200 "description": "Updates a ServiceAccount. Currently, only the following fields are updatable: `display_name` . The `etag` is mandato ry.",
201 "httpMethod": "PUT",
202 "id": "iam.projects.serviceAccounts.update",
203 "parameterOrder": [
204 "name"
205 ],
206 "parameters": {
207 "name": {
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}`.",
209 "location": "path",
210 "pattern": "^projects/[^/]*/serviceAccounts/ [^/]*$",
211 "required": true,
212 "type": "string"
213 }
214 },
215 "path": "v1/{+name}",
216 "request": {
217 "$ref": "ServiceAccount"
218 },
219 "response": {
220 "$ref": "ServiceAccount"
221 },
222 "scopes": [
223 "https://www.googleapis.com/auth/cloud-platform"
224 ]
225 },
226 "delete": {
227 "description": "Deletes a ServiceAccount.",
228 "httpMethod": "DELETE",
229 "id": "iam.projects.serviceAccounts.delete",
230 "parameterOrder": [
231 "name"
232 ],
233 "parameters": {
234 "name": {
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.",
236 "location": "path",
237 "pattern": "^projects/[^/]*/serviceAccounts/ [^/]*$",
238 "required": true,
239 "type": "string"
240 }
241 },
242 "path": "v1/{+name}",
243 "response": {
244 "$ref": "Empty"
245 },
246 "scopes": [
247 "https://www.googleapis.com/auth/cloud-platform"
248 ]
249 },
250 "signBlob": {
251 "description": "Signs a blob using a service account 's system-managed private key.",
252 "httpMethod": "POST",
253 "id": "iam.projects.serviceAccounts.signBlob",
254 "parameterOrder": [
255 "name"
256 ],
257 "parameters": {
258 "name": {
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.",
260 "location": "path",
261 "pattern": "^projects/[^/]*/serviceAccounts/ [^/]*$",
262 "required": true,
263 "type": "string"
264 }
265 },
266 "path": "v1/{+name}:signBlob",
267 "request": {
268 "$ref": "SignBlobRequest"
269 },
270 "response": {
271 "$ref": "SignBlobResponse"
272 },
273 "scopes": [
274 "https://www.googleapis.com/auth/cloud-platform"
275 ]
276 },
277 "getIamPolicy": { 288 "getIamPolicy": {
278 "description": "Returns the IAM access control polic y for a ServiceAccount.", 289 "description": "Returns the IAM access control polic y for a\nServiceAccount.",
279 "httpMethod": "POST", 290 "httpMethod": "POST",
280 "id": "iam.projects.serviceAccounts.getIamPolicy", 291 "id": "iam.projects.serviceAccounts.getIamPolicy",
281 "parameterOrder": [ 292 "parameterOrder": [
282 "resource" 293 "resource"
283 ], 294 ],
284 "parameters": { 295 "parameters": {
285 "resource": { 296 "resource": {
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}`.", 297 "description": "REQUIRED: The resource for w hich the policy is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
287 "location": "path", 298 "location": "path",
288 "pattern": "^projects/[^/]*/serviceAccounts/ [^/]*$", 299 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
289 "required": true, 300 "required": true,
290 "type": "string" 301 "type": "string"
291 } 302 }
292 }, 303 },
293 "path": "v1/{+resource}:getIamPolicy", 304 "path": "v1/{+resource}:getIamPolicy",
294 "response": { 305 "response": {
295 "$ref": "Policy" 306 "$ref": "Policy"
296 }, 307 },
297 "scopes": [ 308 "scopes": [
298 "https://www.googleapis.com/auth/cloud-platform" 309 "https://www.googleapis.com/auth/cloud-platform"
299 ] 310 ]
300 }, 311 },
301 "setIamPolicy": { 312 "get": {
302 "description": "Sets the IAM access control policy f or a ServiceAccount.", 313 "description": "Gets a ServiceAccount.",
303 "httpMethod": "POST", 314 "httpMethod": "GET",
304 "id": "iam.projects.serviceAccounts.setIamPolicy", 315 "id": "iam.projects.serviceAccounts.get",
305 "parameterOrder": [ 316 "parameterOrder": [
306 "resource" 317 "name"
307 ], 318 ],
308 "parameters": { 319 "parameters": {
309 "resource": { 320 "name": {
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}`.", 321 "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.",
311 "location": "path", 322 "location": "path",
312 "pattern": "^projects/[^/]*/serviceAccounts/ [^/]*$", 323 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
313 "required": true, 324 "required": true,
314 "type": "string" 325 "type": "string"
315 } 326 }
316 }, 327 },
317 "path": "v1/{+resource}:setIamPolicy", 328 "path": "v1/{+name}",
329 "response": {
330 "$ref": "ServiceAccount"
331 },
332 "scopes": [
333 "https://www.googleapis.com/auth/cloud-platform"
334 ]
335 },
336 "update": {
337 "description": "Updates a ServiceAccount.\n\nCurrent ly, only the following fields are updatable:\n`display_name` .\nThe `etag` is ma ndatory.",
338 "httpMethod": "PUT",
339 "id": "iam.projects.serviceAccounts.update",
340 "parameterOrder": [
341 "name"
342 ],
343 "parameters": {
344 "name": {
345 "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}`.",
346 "location": "path",
347 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
348 "required": true,
349 "type": "string"
350 }
351 },
352 "path": "v1/{+name}",
318 "request": { 353 "request": {
319 "$ref": "SetIamPolicyRequest" 354 "$ref": "ServiceAccount"
320 }, 355 },
321 "response": { 356 "response": {
322 "$ref": "Policy" 357 "$ref": "ServiceAccount"
323 }, 358 },
324 "scopes": [ 359 "scopes": [
325 "https://www.googleapis.com/auth/cloud-platform" 360 "https://www.googleapis.com/auth/cloud-platform"
326 ] 361 ]
327 }, 362 },
328 "testIamPermissions": { 363 "testIamPermissions": {
329 "description": "Tests the specified permissions agai nst the IAM access control policy for a ServiceAccount.", 364 "description": "Tests the specified permissions agai nst the IAM access control policy\nfor a ServiceAccount.",
330 "httpMethod": "POST", 365 "httpMethod": "POST",
331 "id": "iam.projects.serviceAccounts.testIamPermissio ns", 366 "id": "iam.projects.serviceAccounts.testIamPermissio ns",
332 "parameterOrder": [ 367 "parameterOrder": [
333 "resource" 368 "resource"
334 ], 369 ],
335 "parameters": { 370 "parameters": {
336 "resource": { 371 "resource": {
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}`.", 372 "description": "REQUIRED: The resource for w hich the policy detail is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
338 "location": "path", 373 "location": "path",
339 "pattern": "^projects/[^/]*/serviceAccounts/ [^/]*$", 374 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
340 "required": true, 375 "required": true,
341 "type": "string" 376 "type": "string"
342 } 377 }
343 }, 378 },
344 "path": "v1/{+resource}:testIamPermissions", 379 "path": "v1/{+resource}:testIamPermissions",
345 "request": { 380 "request": {
346 "$ref": "TestIamPermissionsRequest" 381 "$ref": "TestIamPermissionsRequest"
347 }, 382 },
348 "response": { 383 "response": {
349 "$ref": "TestIamPermissionsResponse" 384 "$ref": "TestIamPermissionsResponse"
350 }, 385 },
351 "scopes": [ 386 "scopes": [
352 "https://www.googleapis.com/auth/cloud-platform" 387 "https://www.googleapis.com/auth/cloud-platform"
353 ] 388 ]
354 } 389 }
355 }, 390 },
356 "resources": { 391 "resources": {
357 "keys": { 392 "keys": {
358 "methods": { 393 "methods": {
359 "list": { 394 "list": {
360 "description": "Lists ServiceAccountKeys.", 395 "description": "Lists ServiceAccountKeys.",
361 "httpMethod": "GET", 396 "httpMethod": "GET",
362 "id": "iam.projects.serviceAccounts.keys.lis t", 397 "id": "iam.projects.serviceAccounts.keys.lis t",
363 "parameterOrder": [ 398 "parameterOrder": [
364 "name" 399 "name"
365 ], 400 ],
366 "parameters": { 401 "parameters": {
367 "name": {
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.",
369 "location": "path",
370 "pattern": "^projects/[^/]*/serviceA ccounts/[^/]*$",
371 "required": true,
372 "type": "string"
373 },
374 "keyTypes": { 402 "keyTypes": {
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.", 403 "description": "Filters the types of keys the user wants to include in the list\nresponse. Duplicate key types are n ot allowed. If no key type\nis provided, all keys are returned.",
376 "enum": [ 404 "enum": [
377 "KEY_TYPE_UNSPECIFIED", 405 "KEY_TYPE_UNSPECIFIED",
378 "USER_MANAGED", 406 "USER_MANAGED",
379 "SYSTEM_MANAGED" 407 "SYSTEM_MANAGED"
380 ], 408 ],
381 "location": "query", 409 "location": "query",
382 "repeated": true, 410 "repeated": true,
383 "type": "string" 411 "type": "string"
412 },
413 "name": {
414 "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAcc ounts/{SERVICE_ACCOUNT_EMAIL}`.\n\nUsing `-` as a wildcard for the project, will infer the project from\nthe account. The `account` value can be the `email` add ress or the\n`unique_id` of the service account.",
415 "location": "path",
416 "pattern": "^projects/[^/]+/serviceA ccounts/[^/]+$",
417 "required": true,
418 "type": "string"
384 } 419 }
385 }, 420 },
386 "path": "v1/{+name}/keys", 421 "path": "v1/{+name}/keys",
387 "response": { 422 "response": {
388 "$ref": "ListServiceAccountKeysResponse" 423 "$ref": "ListServiceAccountKeysResponse"
389 }, 424 },
390 "scopes": [ 425 "scopes": [
391 "https://www.googleapis.com/auth/cloud-p latform" 426 "https://www.googleapis.com/auth/cloud-p latform"
392 ] 427 ]
393 }, 428 },
394 "get": { 429 "get": {
395 "description": "Gets the ServiceAccountKey b y key id.", 430 "description": "Gets the ServiceAccountKey\n by key id.",
396 "httpMethod": "GET", 431 "httpMethod": "GET",
397 "id": "iam.projects.serviceAccounts.keys.get ", 432 "id": "iam.projects.serviceAccounts.keys.get ",
398 "parameterOrder": [ 433 "parameterOrder": [
399 "name" 434 "name"
400 ], 435 ],
401 "parameters": { 436 "parameters": {
402 "name": {
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.",
404 "location": "path",
405 "pattern": "^projects/[^/]*/serviceA ccounts/[^/]*/keys/[^/]*$",
406 "required": true,
407 "type": "string"
408 },
409 "publicKeyType": { 437 "publicKeyType": {
410 "description": "The output format of the public key requested. X509_PEM is the default output format.", 438 "description": "The output format of the public key requested.\nX509_PEM is the default output format.",
411 "enum": [ 439 "enum": [
412 "TYPE_NONE", 440 "TYPE_NONE",
413 "TYPE_X509_PEM_FILE", 441 "TYPE_X509_PEM_FILE",
414 "TYPE_RAW_PUBLIC_KEY" 442 "TYPE_RAW_PUBLIC_KEY"
415 ], 443 ],
416 "location": "query", 444 "location": "query",
417 "type": "string" 445 "type": "string"
446 },
447 "name": {
448 "description": "The resource name of the service account key in the following format:\n`projects/{PROJECT_ID}/servic eAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.\n\nUsing `-` as a wildcard for th e project will infer the project from\nthe account. The `account` value can be t he `email` address or the\n`unique_id` of the service account.",
449 "location": "path",
450 "pattern": "^projects/[^/]+/serviceA ccounts/[^/]+/keys/[^/]+$",
451 "required": true,
452 "type": "string"
418 } 453 }
419 }, 454 },
420 "path": "v1/{+name}", 455 "path": "v1/{+name}",
421 "response": { 456 "response": {
422 "$ref": "ServiceAccountKey" 457 "$ref": "ServiceAccountKey"
423 }, 458 },
424 "scopes": [ 459 "scopes": [
425 "https://www.googleapis.com/auth/cloud-p latform" 460 "https://www.googleapis.com/auth/cloud-p latform"
426 ] 461 ]
427 }, 462 },
428 "create": { 463 "create": {
429 "description": "Creates a ServiceAccountKey and returns it.", 464 "description": "Creates a ServiceAccountKey\ nand returns it.",
430 "httpMethod": "POST", 465 "httpMethod": "POST",
431 "id": "iam.projects.serviceAccounts.keys.cre ate", 466 "id": "iam.projects.serviceAccounts.keys.cre ate",
432 "parameterOrder": [ 467 "parameterOrder": [
433 "name" 468 "name"
434 ], 469 ],
435 "parameters": { 470 "parameters": {
436 "name": { 471 "name": {
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.", 472 "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAcc ounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will in fer the project from\nthe account. The `account` value can be the `email` addres s or the\n`unique_id` of the service account.",
438 "location": "path", 473 "location": "path",
439 "pattern": "^projects/[^/]*/serviceA ccounts/[^/]*$", 474 "pattern": "^projects/[^/]+/serviceA ccounts/[^/]+$",
440 "required": true, 475 "required": true,
441 "type": "string" 476 "type": "string"
442 } 477 }
443 }, 478 },
444 "path": "v1/{+name}/keys", 479 "path": "v1/{+name}/keys",
445 "request": { 480 "request": {
446 "$ref": "CreateServiceAccountKeyRequest" 481 "$ref": "CreateServiceAccountKeyRequest"
447 }, 482 },
448 "response": { 483 "response": {
449 "$ref": "ServiceAccountKey" 484 "$ref": "ServiceAccountKey"
450 }, 485 },
451 "scopes": [ 486 "scopes": [
452 "https://www.googleapis.com/auth/cloud-p latform" 487 "https://www.googleapis.com/auth/cloud-p latform"
453 ] 488 ]
454 }, 489 },
455 "delete": { 490 "delete": {
456 "description": "Deletes a ServiceAccountKey. ", 491 "description": "Deletes a ServiceAccountKey. ",
457 "httpMethod": "DELETE", 492 "httpMethod": "DELETE",
458 "id": "iam.projects.serviceAccounts.keys.del ete", 493 "id": "iam.projects.serviceAccounts.keys.del ete",
459 "parameterOrder": [ 494 "parameterOrder": [
460 "name" 495 "name"
461 ], 496 ],
462 "parameters": { 497 "parameters": {
463 "name": { 498 "name": {
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.", 499 "description": "The resource name of the service account key in the following format:\n`projects/{PROJECT_ID}/servic eAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.\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.",
465 "location": "path", 500 "location": "path",
466 "pattern": "^projects/[^/]*/serviceA ccounts/[^/]*/keys/[^/]*$", 501 "pattern": "^projects/[^/]+/serviceA ccounts/[^/]+/keys/[^/]+$",
467 "required": true, 502 "required": true,
468 "type": "string" 503 "type": "string"
469 } 504 }
470 }, 505 },
471 "path": "v1/{+name}", 506 "path": "v1/{+name}",
472 "response": { 507 "response": {
473 "$ref": "Empty" 508 "$ref": "Empty"
474 }, 509 },
475 "scopes": [ 510 "scopes": [
476 "https://www.googleapis.com/auth/cloud-p latform" 511 "https://www.googleapis.com/auth/cloud-p latform"
477 ] 512 ]
478 } 513 }
479 } 514 }
480 } 515 }
481 } 516 }
482 } 517 }
483 } 518 }
484 }, 519 },
485 "roles": { 520 "roles": {
486 "methods": { 521 "methods": {
487 "queryGrantableRoles": { 522 "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.", 523 "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.",
489 "httpMethod": "POST", 524 "httpMethod": "POST",
490 "id": "iam.roles.queryGrantableRoles", 525 "id": "iam.roles.queryGrantableRoles",
526 "parameterOrder": [],
527 "parameters": {},
491 "path": "v1/roles:queryGrantableRoles", 528 "path": "v1/roles:queryGrantableRoles",
492 "request": { 529 "request": {
493 "$ref": "QueryGrantableRolesRequest" 530 "$ref": "QueryGrantableRolesRequest"
494 }, 531 },
495 "response": { 532 "response": {
496 "$ref": "QueryGrantableRolesResponse" 533 "$ref": "QueryGrantableRolesResponse"
497 }, 534 },
498 "scopes": [ 535 "scopes": [
499 "https://www.googleapis.com/auth/cloud-platform" 536 "https://www.googleapis.com/auth/cloud-platform"
500 ] 537 ]
501 } 538 }
502 } 539 }
503 } 540 }
504 }, 541 },
505 "revision": "20160915", 542 "revision": "20170126",
506 "rootUrl": "https://iam.googleapis.com/", 543 "rootUrl": "https://iam.googleapis.com/",
507 "schemas": { 544 "schemas": {
545 "CreateServiceAccountRequest": {
546 "description": "The service account create request.",
547 "id": "CreateServiceAccountRequest",
548 "properties": {
549 "serviceAccount": {
550 "$ref": "ServiceAccount",
551 "description": "The ServiceAccount resource to create.\nCurr ently, only the following values are user assignable:\n`display_name` ."
552 },
553 "accountId": {
554 "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.",
555 "type": "string"
556 }
557 },
558 "type": "object"
559 },
508 "ListServiceAccountsResponse": { 560 "ListServiceAccountsResponse": {
509 "description": "The service account list response.", 561 "description": "The service account list response.",
510 "id": "ListServiceAccountsResponse", 562 "id": "ListServiceAccountsResponse",
511 "properties": { 563 "properties": {
512 "accounts": { 564 "accounts": {
513 "description": "The list of matching service accounts.", 565 "description": "The list of matching service accounts.",
514 "items": { 566 "items": {
515 "$ref": "ServiceAccount" 567 "$ref": "ServiceAccount"
516 }, 568 },
517 "type": "array" 569 "type": "array"
518 }, 570 },
519 "nextPageToken": { 571 "nextPageToken": {
520 "description": "To retrieve the next page of results, set Li stServiceAccountsRequest.page_token to this value.", 572 "description": "To retrieve the next page of results, set\nL istServiceAccountsRequest.page_token\nto this value.",
521 "type": "string" 573 "type": "string"
522 } 574 }
523 }, 575 },
524 "type": "object" 576 "type": "object"
525 }, 577 },
578 "QueryGrantableRolesResponse": {
579 "description": "The grantable role query response.",
580 "id": "QueryGrantableRolesResponse",
581 "properties": {
582 "roles": {
583 "description": "The list of matching roles.",
584 "items": {
585 "$ref": "Role"
586 },
587 "type": "array"
588 }
589 },
590 "type": "object"
591 },
592 "SignBlobRequest": {
593 "description": "The service account sign blob request.",
594 "id": "SignBlobRequest",
595 "properties": {
596 "bytesToSign": {
597 "description": "The bytes to sign.",
598 "format": "byte",
599 "type": "string"
600 }
601 },
602 "type": "object"
603 },
604 "Role": {
605 "description": "A role in the Identity and Access Management API.",
606 "id": "Role",
607 "properties": {
608 "name": {
609 "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.",
610 "type": "string"
611 },
612 "description": {
613 "description": "Optional. A human-readable description for the role.",
614 "type": "string"
615 },
616 "title": {
617 "description": "Optional. A human-readable title for the ro le. Typically this\nis limited to 100 UTF-8 bytes.",
618 "type": "string"
619 }
620 },
621 "type": "object"
622 },
623 "SetIamPolicyRequest": {
624 "description": "Request message for `SetIamPolicy` method.",
625 "id": "SetIamPolicyRequest",
626 "properties": {
627 "policy": {
628 "$ref": "Policy",
629 "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An emp ty policy is a\nvalid policy but certain Cloud Platform services (such as Projec ts)\nmight reject them."
630 }
631 },
632 "type": "object"
633 },
634 "Binding": {
635 "description": "Associates `members` with a `role`.",
636 "id": "Binding",
637 "properties": {
638 "role": {
639 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
640 "type": "string"
641 },
642 "members": {
643 "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* `domain:{domain}`: A Google Apps domain name that represe nts all the\n users of that domain. For example, `google.com` or `example.com` .\n\n",
644 "items": {
645 "type": "string"
646 },
647 "type": "array"
648 }
649 },
650 "type": "object"
651 },
526 "ServiceAccount": { 652 "ServiceAccount": {
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.", 653 "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.",
528 "id": "ServiceAccount", 654 "id": "ServiceAccount",
529 "properties": { 655 "properties": {
530 "name": { 656 "name": {
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}`.", 657 "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}`.",
658 "type": "string"
659 },
660 "email": {
661 "description": "@OutputOnly The email address of the service account.",
532 "type": "string" 662 "type": "string"
533 }, 663 },
534 "projectId": { 664 "projectId": {
535 "description": "@OutputOnly The id of the project that owns the service account.", 665 "description": "@OutputOnly The id of the project that owns the service account.",
536 "type": "string" 666 "type": "string"
537 }, 667 },
668 "oauth2ClientId": {
669 "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.",
670 "type": "string"
671 },
538 "uniqueId": { 672 "uniqueId": {
539 "description": "@OutputOnly The unique and stable id of the service account.", 673 "description": "@OutputOnly The unique and stable id of the service account.",
540 "type": "string" 674 "type": "string"
541 }, 675 },
542 "email": {
543 "description": "@OutputOnly The email address of the service account.",
544 "type": "string"
545 },
546 "displayName": { 676 "displayName": {
547 "description": "Optional. A user-specified description of th e service account. Must be fewer than 100 UTF-8 bytes.", 677 "description": "Optional. A user-specified description of th e service account. Must be\nfewer than 100 UTF-8 bytes.",
548 "type": "string" 678 "type": "string"
549 }, 679 },
550 "etag": { 680 "etag": {
551 "description": "Used to perform a consistent read-modify-wri te.", 681 "description": "Used to perform a consistent read-modify-wri te.",
552 "format": "byte", 682 "format": "byte",
553 "type": "string" 683 "type": "string"
554 }, 684 }
555 "oauth2ClientId": { 685 },
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.", 686 "type": "object"
687 },
688 "Empty": {
689 "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use i t as the request\nor the response type of an API method. For instance:\n\n se rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty );\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
690 "id": "Empty",
691 "properties": {},
692 "type": "object"
693 },
694 "QueryGrantableRolesRequest": {
695 "description": "The grantable role query request.",
696 "id": "QueryGrantableRolesRequest",
697 "properties": {
698 "fullResourceName": {
699 "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`.",
557 "type": "string" 700 "type": "string"
558 } 701 }
559 }, 702 },
560 "type": "object" 703 "type": "object"
561 }, 704 },
562 "CreateServiceAccountRequest": {
563 "description": "The service account create request.",
564 "id": "CreateServiceAccountRequest",
565 "properties": {
566 "accountId": {
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.",
568 "type": "string"
569 },
570 "serviceAccount": {
571 "$ref": "ServiceAccount",
572 "description": "The ServiceAccount resource to create. Curre ntly, only the following values are user assignable: `display_name` ."
573 }
574 },
575 "type": "object"
576 },
577 "Empty": {
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 `{}`.",
579 "id": "Empty",
580 "type": "object"
581 },
582 "ListServiceAccountKeysResponse": { 705 "ListServiceAccountKeysResponse": {
583 "description": "The service account keys list response.", 706 "description": "The service account keys list response.",
584 "id": "ListServiceAccountKeysResponse", 707 "id": "ListServiceAccountKeysResponse",
585 "properties": { 708 "properties": {
586 "keys": { 709 "keys": {
587 "description": "The public keys for the service account.", 710 "description": "The public keys for the service account.",
588 "items": { 711 "items": {
589 "$ref": "ServiceAccountKey" 712 "$ref": "ServiceAccountKey"
590 }, 713 },
591 "type": "array" 714 "type": "array"
592 } 715 }
593 }, 716 },
594 "type": "object" 717 "type": "object"
595 }, 718 },
719 "TestIamPermissionsResponse": {
720 "description": "Response message for `TestIamPermissions` method.",
721 "id": "TestIamPermissionsResponse",
722 "properties": {
723 "permissions": {
724 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is\nallowed.",
725 "items": {
726 "type": "string"
727 },
728 "type": "array"
729 }
730 },
731 "type": "object"
732 },
596 "ServiceAccountKey": { 733 "ServiceAccountKey": {
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.", 734 "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.",
598 "id": "ServiceAccountKey", 735 "id": "ServiceAccountKey",
599 "properties": { 736 "properties": {
600 "name": { 737 "validAfterTime": {
601 "description": "The resource name of the service account key in the following format `projects/{project}/serviceAccounts/{account}/keys/{key }`.", 738 "description": "The key can be used after this timestamp.",
739 "format": "google-datetime",
602 "type": "string" 740 "type": "string"
603 }, 741 },
604 "privateKeyType": { 742 "privateKeyType": {
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.", 743 "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.",
606 "enum": [ 744 "enum": [
607 "TYPE_UNSPECIFIED", 745 "TYPE_UNSPECIFIED",
608 "TYPE_PKCS12_FILE", 746 "TYPE_PKCS12_FILE",
609 "TYPE_GOOGLE_CREDENTIALS_FILE" 747 "TYPE_GOOGLE_CREDENTIALS_FILE"
610 ], 748 ],
611 "type": "string" 749 "enumDescriptions": [
612 }, 750 "Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FIL E`.",
613 "keyAlgorithm": { 751 "PKCS12 format.\nThe password for the PKCS12 file is `no tasecret`.\nFor more information, see https://tools.ietf.org/html/rfc7292.",
614 "description": "Specifies the algorithm (and possibly key si ze) for the key.", 752 "Google Credentials File format."
615 "enum": [
616 "KEY_ALG_UNSPECIFIED",
617 "KEY_ALG_RSA_1024",
618 "KEY_ALG_RSA_2048"
619 ], 753 ],
620 "type": "string" 754 "type": "string"
621 }, 755 },
622 "privateKeyData": { 756 "privateKeyData": {
623 "description": "The private key data. Only provided in `Crea teServiceAccountKey` responses.", 757 "description": "The private key data. Only provided in `Crea teServiceAccountKey`\nresponses.",
624 "format": "byte", 758 "format": "byte",
625 "type": "string" 759 "type": "string"
626 }, 760 },
627 "publicKeyData": { 761 "publicKeyData": {
628 "description": "The public key data. Only provided in `GetSe rviceAccountKey` responses.", 762 "description": "The public key data. Only provided in `GetSe rviceAccountKey` responses.",
629 "format": "byte", 763 "format": "byte",
630 "type": "string" 764 "type": "string"
631 }, 765 },
632 "validAfterTime": { 766 "name": {
633 "description": "The key can be used after this timestamp.", 767 "description": "The resource name of the service account key in the following format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUN T_EMAIL}/keys/{key}`.",
634 "type": "string" 768 "type": "string"
635 }, 769 },
636 "validBeforeTime": { 770 "validBeforeTime": {
637 "description": "The key can be used before this timestamp.", 771 "description": "The key can be used before this timestamp.",
772 "format": "google-datetime",
773 "type": "string"
774 },
775 "keyAlgorithm": {
776 "description": "Specifies the algorithm (and possibly key si ze) for the key.",
777 "enum": [
778 "KEY_ALG_UNSPECIFIED",
779 "KEY_ALG_RSA_1024",
780 "KEY_ALG_RSA_2048"
781 ],
782 "enumDescriptions": [
783 "An unspecified key algorithm.",
784 "1k RSA Key.",
785 "2k RSA Key."
786 ],
638 "type": "string" 787 "type": "string"
639 } 788 }
640 }, 789 },
641 "type": "object" 790 "type": "object"
642 }, 791 },
643 "CreateServiceAccountKeyRequest": { 792 "CreateServiceAccountKeyRequest": {
644 "description": "The service account key create request.", 793 "description": "The service account key create request.",
645 "id": "CreateServiceAccountKeyRequest", 794 "id": "CreateServiceAccountKeyRequest",
646 "properties": { 795 "properties": {
796 "keyAlgorithm": {
797 "description": "Which type of key and algorithm to use for t he key.\nThe default is currently a 4K RSA key. However this may change in the\ nfuture.",
798 "enum": [
799 "KEY_ALG_UNSPECIFIED",
800 "KEY_ALG_RSA_1024",
801 "KEY_ALG_RSA_2048"
802 ],
803 "enumDescriptions": [
804 "An unspecified key algorithm.",
805 "1k RSA Key.",
806 "2k RSA Key."
807 ],
808 "type": "string"
809 },
647 "privateKeyType": { 810 "privateKeyType": {
648 "description": "The output format of the private key. `GOOGL E_CREDENTIALS_FILE` is the default output format.", 811 "description": "The output format of the private key. `GOOGL E_CREDENTIALS_FILE` is the\ndefault output format.",
649 "enum": [ 812 "enum": [
650 "TYPE_UNSPECIFIED", 813 "TYPE_UNSPECIFIED",
651 "TYPE_PKCS12_FILE", 814 "TYPE_PKCS12_FILE",
652 "TYPE_GOOGLE_CREDENTIALS_FILE" 815 "TYPE_GOOGLE_CREDENTIALS_FILE"
653 ], 816 ],
654 "type": "string" 817 "enumDescriptions": [
655 }, 818 "Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FIL E`.",
656 "keyAlgorithm": { 819 "PKCS12 format.\nThe password for the PKCS12 file is `no tasecret`.\nFor more information, see https://tools.ietf.org/html/rfc7292.",
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.", 820 "Google Credentials File format."
658 "enum": [
659 "KEY_ALG_UNSPECIFIED",
660 "KEY_ALG_RSA_1024",
661 "KEY_ALG_RSA_2048"
662 ], 821 ],
663 "type": "string" 822 "type": "string"
664 } 823 }
665 }, 824 },
666 "type": "object" 825 "type": "object"
667 }, 826 },
668 "SignBlobRequest": { 827 "SignJwtResponse": {
669 "description": "The service account sign blob request.", 828 "description": "The service account sign JWT response.",
670 "id": "SignBlobRequest", 829 "id": "SignJwtResponse",
671 "properties": { 830 "properties": {
672 "bytesToSign": { 831 "keyId": {
673 "description": "The bytes to sign.", 832 "description": "The id of the key used to sign the JWT.",
674 "format": "byte", 833 "type": "string"
834 },
835 "signedJwt": {
836 "description": "The signed JWT.",
675 "type": "string" 837 "type": "string"
676 } 838 }
677 }, 839 },
678 "type": "object" 840 "type": "object"
679 }, 841 },
680 "SignBlobResponse": { 842 "SignBlobResponse": {
681 "description": "The service account sign blob response.", 843 "description": "The service account sign blob response.",
682 "id": "SignBlobResponse", 844 "id": "SignBlobResponse",
683 "properties": { 845 "properties": {
684 "keyId": { 846 "keyId": {
685 "description": "The id of the key used to sign the blob.", 847 "description": "The id of the key used to sign the blob.",
686 "type": "string" 848 "type": "string"
687 }, 849 },
688 "signature": { 850 "signature": {
689 "description": "The signed blob.", 851 "description": "The signed blob.",
690 "format": "byte", 852 "format": "byte",
691 "type": "string" 853 "type": "string"
692 } 854 }
693 }, 855 },
694 "type": "object" 856 "type": "object"
695 }, 857 },
696 "Policy": {
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).",
698 "id": "Policy",
699 "properties": {
700 "version": {
701 "description": "Version of the `Policy`. The default version is 0.",
702 "format": "int32",
703 "type": "integer"
704 },
705 "bindings": {
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.",
707 "items": {
708 "$ref": "Binding"
709 },
710 "type": "array"
711 },
712 "etag": {
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 .",
714 "format": "byte",
715 "type": "string"
716 }
717 },
718 "type": "object"
719 },
720 "Binding": {
721 "description": "Associates `members` with a `role`.",
722 "id": "Binding",
723 "properties": {
724 "role": {
725 "description": "Role that is assigned to `members`. For exam ple, `roles/viewer`, `roles/editor`, or `roles/owner`. Required",
726 "type": "string"
727 },
728 "members": {
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`.",
730 "items": {
731 "type": "string"
732 },
733 "type": "array"
734 }
735 },
736 "type": "object"
737 },
738 "SetIamPolicyRequest": {
739 "description": "Request message for `SetIamPolicy` method.",
740 "id": "SetIamPolicyRequest",
741 "properties": {
742 "policy": {
743 "$ref": "Policy",
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."
745 }
746 },
747 "type": "object"
748 },
749 "TestIamPermissionsRequest": { 858 "TestIamPermissionsRequest": {
750 "description": "Request message for `TestIamPermissions` method.", 859 "description": "Request message for `TestIamPermissions` method.",
751 "id": "TestIamPermissionsRequest", 860 "id": "TestIamPermissionsRequest",
752 "properties": { 861 "properties": {
753 "permissions": { 862 "permissions": {
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).", 863 "description": "The set of permissions to check for the `res ource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed . For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/ov erview#permissions).",
755 "items": { 864 "items": {
756 "type": "string" 865 "type": "string"
757 }, 866 },
758 "type": "array"
759 }
760 },
761 "type": "object"
762 },
763 "TestIamPermissionsResponse": {
764 "description": "Response message for `TestIamPermissions` method.",
765 "id": "TestIamPermissionsResponse",
766 "properties": {
767 "permissions": {
768 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is allowed.",
769 "items": {
770 "type": "string"
771 },
772 "type": "array" 867 "type": "array"
773 } 868 }
774 }, 869 },
775 "type": "object" 870 "type": "object"
776 }, 871 },
777 "QueryGrantableRolesRequest": { 872 "SignJwtRequest": {
778 "description": "The grantable role query request.", 873 "description": "The service account sign JWT request.",
779 "id": "QueryGrantableRolesRequest", 874 "id": "SignJwtRequest",
780 "properties": { 875 "properties": {
781 "fullResourceName": { 876 "payload": {
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`.", 877 "description": "The JWT payload to sign, a JSON JWT Claim se t.",
783 "type": "string" 878 "type": "string"
784 } 879 }
785 }, 880 },
786 "type": "object" 881 "type": "object"
787 }, 882 },
788 "QueryGrantableRolesResponse": { 883 "Policy": {
789 "description": "The grantable role query response.", 884 "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).",
790 "id": "QueryGrantableRolesResponse", 885 "id": "Policy",
791 "properties": { 886 "properties": {
792 "roles": { 887 "bindings": {
793 "description": "The list of matching roles.", 888 "description": "Associates a list of `members` to a `role`.\ nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.",
794 "items": { 889 "items": {
795 "$ref": "Role" 890 "$ref": "Binding"
796 }, 891 },
797 "type": "array" 892 "type": "array"
798 } 893 },
799 }, 894 "etag": {
800 "type": "object" 895 "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.",
801 }, 896 "format": "byte",
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" 897 "type": "string"
809 }, 898 },
810 "title": { 899 "version": {
811 "description": "Optional. A human-readable title for the rol e. Typically this is limited to 100 UTF-8 bytes.", 900 "description": "Version of the `Policy`. The default version is 0.",
812 "type": "string" 901 "format": "int32",
813 }, 902 "type": "integer"
814 "description": {
815 "description": "Optional. A human-readable description for t he role.",
816 "type": "string"
817 } 903 }
818 }, 904 },
819 "type": "object" 905 "type": "object"
820 }, 906 },
821 "AuditData": { 907 "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.", 908 "description": "Audit log information specific to Cloud IAM. This me ssage is serialized\nas an `Any` type in the `ServiceData` message of an\n`Audit Log` message.",
823 "id": "AuditData", 909 "id": "AuditData",
824 "properties": { 910 "properties": {
825 "policyDelta": { 911 "policyDelta": {
826 "$ref": "PolicyDelta", 912 "$ref": "PolicyDelta",
827 "description": "Policy delta between the original policy and the newly set policy." 913 "description": "Policy delta between the original policy and the newly set policy."
828 } 914 }
829 }, 915 },
830 "type": "object" 916 "type": "object"
831 }, 917 },
918 "BindingDelta": {
919 "description": "One delta entry for Binding. Each individual change (only one member in each\nentry) to a binding will be a separate entry.",
920 "id": "BindingDelta",
921 "properties": {
922 "member": {
923 "description": "A single identity requesting access for a Cl oud Platform resource.\nFollows the same format of Binding.members.\nRequired",
924 "type": "string"
925 },
926 "role": {
927 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
928 "type": "string"
929 },
930 "action": {
931 "description": "The action that was performed on a Binding.\ nRequired",
932 "enum": [
933 "ACTION_UNSPECIFIED",
934 "ADD",
935 "REMOVE"
936 ],
937 "enumDescriptions": [
938 "Unspecified.",
939 "Addition of a Binding.",
940 "Removal of a Binding."
941 ],
942 "type": "string"
943 }
944 },
945 "type": "object"
946 },
832 "PolicyDelta": { 947 "PolicyDelta": {
833 "description": "The difference delta between two policies.", 948 "description": "The difference delta between two policies.",
834 "id": "PolicyDelta", 949 "id": "PolicyDelta",
835 "properties": { 950 "properties": {
836 "bindingDeltas": { 951 "bindingDeltas": {
837 "description": "The delta for Bindings between two policies. ", 952 "description": "The delta for Bindings between two policies. ",
838 "items": { 953 "items": {
839 "$ref": "BindingDelta" 954 "$ref": "BindingDelta"
840 }, 955 },
841 "type": "array" 956 "type": "array"
842 } 957 }
843 }, 958 },
844 "type": "object" 959 "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"
869 } 960 }
870 }, 961 },
871 "servicePath": "", 962 "servicePath": "",
872 "title": "Google Identity and Access Management (IAM) API", 963 "title": "Google Identity and Access Management (IAM) API",
873 "version": "v1" 964 "version": "v1"
874 } 965 }
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