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

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

Issue 2936613002: Api-Roll 50: 2017-06-12 (Closed)
Patch Set: Created 3 years, 6 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/groupssettings__v1.json ('k') | discovery/googleapis/kgsearch__v1.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 } 7 }
8 } 8 }
9 } 9 }
10 }, 10 },
(...skipping 18 matching lines...) Expand all
29 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 29 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
30 "location": "query", 30 "location": "query",
31 "type": "string" 31 "type": "string"
32 }, 32 },
33 "prettyPrint": { 33 "prettyPrint": {
34 "default": "true", 34 "default": "true",
35 "description": "Returns response with indentations and line breaks." , 35 "description": "Returns response with indentations and line breaks." ,
36 "location": "query", 36 "location": "query",
37 "type": "boolean" 37 "type": "boolean"
38 }, 38 },
39 "fields": {
40 "description": "Selector specifying which fields to include in a par tial response.",
41 "location": "query",
42 "type": "string"
43 },
39 "uploadType": { 44 "uploadType": {
40 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 45 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
41 "location": "query", 46 "location": "query",
42 "type": "string" 47 "type": "string"
43 }, 48 },
44 "fields": {
45 "description": "Selector specifying which fields to include in a par tial response.",
46 "location": "query",
47 "type": "string"
48 },
49 "callback": {
50 "description": "JSONP",
51 "location": "query",
52 "type": "string"
53 },
54 "$.xgafv": { 49 "$.xgafv": {
55 "description": "V1 error format.", 50 "description": "V1 error format.",
56 "enum": [ 51 "enum": [
57 "1", 52 "1",
58 "2" 53 "2"
59 ], 54 ],
60 "enumDescriptions": [ 55 "enumDescriptions": [
61 "v1 error format", 56 "v1 error format",
62 "v2 error format" 57 "v2 error format"
63 ], 58 ],
64 "location": "query", 59 "location": "query",
65 "type": "string" 60 "type": "string"
66 }, 61 },
62 "callback": {
63 "description": "JSONP",
64 "location": "query",
65 "type": "string"
66 },
67 "alt": { 67 "alt": {
68 "default": "json", 68 "default": "json",
69 "description": "Data format for response.", 69 "description": "Data format for response.",
70 "enum": [ 70 "enum": [
71 "json", 71 "json",
72 "media", 72 "media",
73 "proto" 73 "proto"
74 ], 74 ],
75 "enumDescriptions": [ 75 "enumDescriptions": [
76 "Responses with Content-Type of application/json", 76 "Responses with Content-Type of application/json",
77 "Media download with context-dependent Content-Type", 77 "Media download with context-dependent Content-Type",
78 "Responses with Content-Type of application/x-protobuf" 78 "Responses with Content-Type of application/x-protobuf"
79 ], 79 ],
80 "location": "query", 80 "location": "query",
81 "type": "string" 81 "type": "string"
82 }, 82 },
83 "access_token": {
84 "description": "OAuth access token.",
85 "location": "query",
86 "type": "string"
87 },
83 "key": { 88 "key": {
84 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.", 89 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
85 "location": "query", 90 "location": "query",
86 "type": "string" 91 "type": "string"
87 }, 92 },
88 "access_token": {
89 "description": "OAuth access token.",
90 "location": "query",
91 "type": "string"
92 },
93 "quotaUser": { 93 "quotaUser": {
94 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.", 94 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
95 "location": "query", 95 "location": "query",
96 "type": "string" 96 "type": "string"
97 }, 97 },
98 "pp": { 98 "pp": {
99 "default": "true", 99 "default": "true",
100 "description": "Pretty-print response.", 100 "description": "Pretty-print response.",
101 "location": "query", 101 "location": "query",
102 "type": "boolean" 102 "type": "boolean"
103 }, 103 },
104 "bearer_token": { 104 "oauth_token": {
105 "description": "OAuth bearer token.", 105 "description": "OAuth 2.0 token for the current user.",
106 "location": "query", 106 "location": "query",
107 "type": "string" 107 "type": "string"
108 }, 108 },
109 "oauth_token": { 109 "bearer_token": {
110 "description": "OAuth 2.0 token for the current user.", 110 "description": "OAuth bearer token.",
111 "location": "query", 111 "location": "query",
112 "type": "string" 112 "type": "string"
113 } 113 }
114 }, 114 },
115 "protocol": "rest", 115 "protocol": "rest",
116 "resources": { 116 "resources": {
117 "roles": {
118 "methods": {
119 "queryGrantableRoles": {
120 "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.",
121 "httpMethod": "POST",
122 "id": "iam.roles.queryGrantableRoles",
123 "parameterOrder": [],
124 "parameters": {},
125 "path": "v1/roles:queryGrantableRoles",
126 "request": {
127 "$ref": "QueryGrantableRolesRequest"
128 },
129 "response": {
130 "$ref": "QueryGrantableRolesResponse"
131 },
132 "scopes": [
133 "https://www.googleapis.com/auth/cloud-platform"
134 ]
135 }
136 }
137 },
138 "projects": { 117 "projects": {
139 "resources": { 118 "resources": {
140 "serviceAccounts": { 119 "serviceAccounts": {
141 "methods": { 120 "methods": {
142 "list": { 121 "getIamPolicy": {
143 "description": "Lists ServiceAccounts for a project. ", 122 "description": "Returns the IAM access control polic y for a\nServiceAccount.",
144 "httpMethod": "GET", 123 "httpMethod": "POST",
145 "id": "iam.projects.serviceAccounts.list", 124 "id": "iam.projects.serviceAccounts.getIamPolicy",
146 "parameterOrder": [ 125 "parameterOrder": [
147 "name" 126 "resource"
148 ], 127 ],
149 "parameters": { 128 "parameters": {
150 "pageSize": { 129 "resource": {
151 "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 "description": "REQUIRED: The resource for w hich the policy is being requested.\nSee the operation documentation for the app ropriate value for this field.",
152 "format": "int32",
153 "location": "query",
154 "type": "integer"
155 },
156 "name": {
157 "description": "Required. The resource name of the project associated with the service\naccounts, such as `projects/my-proje ct-123`.",
158 "location": "path", 131 "location": "path",
159 "pattern": "^projects/[^/]+$", 132 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
160 "required": true, 133 "required": true,
161 "type": "string" 134 "type": "string"
162 },
163 "pageToken": {
164 "description": "Optional pagination token re turned in an earlier\nListServiceAccountsResponse.next_page_token.",
165 "location": "query",
166 "type": "string"
167 } 135 }
168 }, 136 },
169 "path": "v1/{+name}/serviceAccounts", 137 "path": "v1/{+resource}:getIamPolicy",
170 "response": { 138 "response": {
171 "$ref": "ListServiceAccountsResponse" 139 "$ref": "Policy"
172 }, 140 },
173 "scopes": [ 141 "scopes": [
174 "https://www.googleapis.com/auth/cloud-platform" 142 "https://www.googleapis.com/auth/cloud-platform"
175 ] 143 ]
176 }, 144 },
177 "signBlob": { 145 "get": {
178 "description": "Signs a blob using a service account 's system-managed private key.", 146 "description": "Gets a ServiceAccount.",
179 "httpMethod": "POST", 147 "httpMethod": "GET",
180 "id": "iam.projects.serviceAccounts.signBlob", 148 "id": "iam.projects.serviceAccounts.get",
181 "parameterOrder": [ 149 "parameterOrder": [
182 "name" 150 "name"
183 ], 151 ],
184 "parameters": { 152 "parameters": {
185 "name": { 153 "name": {
186 "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.", 154 "description": "The resource name of the ser vice account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{S ERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the \n`unique_id` of the service account.",
187 "location": "path", 155 "location": "path",
188 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$", 156 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
189 "required": true, 157 "required": true,
190 "type": "string" 158 "type": "string"
191 } 159 }
192 }, 160 },
193 "path": "v1/{+name}:signBlob", 161 "path": "v1/{+name}",
194 "request": {
195 "$ref": "SignBlobRequest"
196 },
197 "response": { 162 "response": {
198 "$ref": "SignBlobResponse" 163 "$ref": "ServiceAccount"
199 }, 164 },
200 "scopes": [ 165 "scopes": [
201 "https://www.googleapis.com/auth/cloud-platform" 166 "https://www.googleapis.com/auth/cloud-platform"
202 ] 167 ]
203 }, 168 },
204 "create": { 169 "update": {
205 "description": "Creates a ServiceAccount\nand return s it.", 170 "description": "Updates a ServiceAccount.\n\nCurrent ly, only the following fields are updatable:\n`display_name` .\nThe `etag` is ma ndatory.",
206 "httpMethod": "POST", 171 "httpMethod": "PUT",
207 "id": "iam.projects.serviceAccounts.create", 172 "id": "iam.projects.serviceAccounts.update",
208 "parameterOrder": [ 173 "parameterOrder": [
209 "name" 174 "name"
210 ], 175 ],
211 "parameters": { 176 "parameters": {
212 "name": { 177 "name": {
213 "description": "Required. The resource name of the project associated with the service\naccounts, such as `projects/my-proje ct-123`.", 178 "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}`.",
214 "location": "path", 179 "location": "path",
215 "pattern": "^projects/[^/]+$", 180 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
216 "required": true, 181 "required": true,
217 "type": "string" 182 "type": "string"
218 } 183 }
219 }, 184 },
220 "path": "v1/{+name}/serviceAccounts", 185 "path": "v1/{+name}",
221 "request": { 186 "request": {
222 "$ref": "CreateServiceAccountRequest" 187 "$ref": "ServiceAccount"
223 }, 188 },
224 "response": { 189 "response": {
225 "$ref": "ServiceAccount" 190 "$ref": "ServiceAccount"
226 }, 191 },
227 "scopes": [ 192 "scopes": [
228 "https://www.googleapis.com/auth/cloud-platform" 193 "https://www.googleapis.com/auth/cloud-platform"
229 ] 194 ]
230 }, 195 },
231 "signJwt": {
232 "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.",
233 "httpMethod": "POST",
234 "id": "iam.projects.serviceAccounts.signJwt",
235 "parameterOrder": [
236 "name"
237 ],
238 "parameters": {
239 "name": {
240 "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.",
241 "location": "path",
242 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
243 "required": true,
244 "type": "string"
245 }
246 },
247 "path": "v1/{+name}:signJwt",
248 "request": {
249 "$ref": "SignJwtRequest"
250 },
251 "response": {
252 "$ref": "SignJwtResponse"
253 },
254 "scopes": [
255 "https://www.googleapis.com/auth/cloud-platform"
256 ]
257 },
258 "setIamPolicy": {
259 "description": "Sets the IAM access control policy f or a\nServiceAccount.",
260 "httpMethod": "POST",
261 "id": "iam.projects.serviceAccounts.setIamPolicy",
262 "parameterOrder": [
263 "resource"
264 ],
265 "parameters": {
266 "resource": {
267 "description": "REQUIRED: The resource for w hich the policy is being specified.\nSee the operation documentation for the app ropriate value for this field.",
268 "location": "path",
269 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
270 "required": true,
271 "type": "string"
272 }
273 },
274 "path": "v1/{+resource}:setIamPolicy",
275 "request": {
276 "$ref": "SetIamPolicyRequest"
277 },
278 "response": {
279 "$ref": "Policy"
280 },
281 "scopes": [
282 "https://www.googleapis.com/auth/cloud-platform"
283 ]
284 },
285 "getIamPolicy": {
286 "description": "Returns the IAM access control polic y for a\nServiceAccount.",
287 "httpMethod": "POST",
288 "id": "iam.projects.serviceAccounts.getIamPolicy",
289 "parameterOrder": [
290 "resource"
291 ],
292 "parameters": {
293 "resource": {
294 "description": "REQUIRED: The resource for w hich the policy is being requested.\nSee the operation documentation for the app ropriate value for this field.",
295 "location": "path",
296 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
297 "required": true,
298 "type": "string"
299 }
300 },
301 "path": "v1/{+resource}:getIamPolicy",
302 "response": {
303 "$ref": "Policy"
304 },
305 "scopes": [
306 "https://www.googleapis.com/auth/cloud-platform"
307 ]
308 },
309 "get": {
310 "description": "Gets a ServiceAccount.",
311 "httpMethod": "GET",
312 "id": "iam.projects.serviceAccounts.get",
313 "parameterOrder": [
314 "name"
315 ],
316 "parameters": {
317 "name": {
318 "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.",
319 "location": "path",
320 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
321 "required": true,
322 "type": "string"
323 }
324 },
325 "path": "v1/{+name}",
326 "response": {
327 "$ref": "ServiceAccount"
328 },
329 "scopes": [
330 "https://www.googleapis.com/auth/cloud-platform"
331 ]
332 },
333 "update": {
334 "description": "Updates a ServiceAccount.\n\nCurrent ly, only the following fields are updatable:\n`display_name` .\nThe `etag` is ma ndatory.",
335 "httpMethod": "PUT",
336 "id": "iam.projects.serviceAccounts.update",
337 "parameterOrder": [
338 "name"
339 ],
340 "parameters": {
341 "name": {
342 "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}`.",
343 "location": "path",
344 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
345 "required": true,
346 "type": "string"
347 }
348 },
349 "path": "v1/{+name}",
350 "request": {
351 "$ref": "ServiceAccount"
352 },
353 "response": {
354 "$ref": "ServiceAccount"
355 },
356 "scopes": [
357 "https://www.googleapis.com/auth/cloud-platform"
358 ]
359 },
360 "testIamPermissions": { 196 "testIamPermissions": {
361 "description": "Tests the specified permissions agai nst the IAM access control policy\nfor a ServiceAccount.", 197 "description": "Tests the specified permissions agai nst the IAM access control policy\nfor a ServiceAccount.",
362 "httpMethod": "POST", 198 "httpMethod": "POST",
363 "id": "iam.projects.serviceAccounts.testIamPermissio ns", 199 "id": "iam.projects.serviceAccounts.testIamPermissio ns",
364 "parameterOrder": [ 200 "parameterOrder": [
365 "resource" 201 "resource"
366 ], 202 ],
367 "parameters": { 203 "parameters": {
368 "resource": { 204 "resource": {
369 "description": "REQUIRED: The resource for w hich the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", 205 "description": "REQUIRED: The resource for w hich the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.",
(...skipping 14 matching lines...) Expand all
384 "https://www.googleapis.com/auth/cloud-platform" 220 "https://www.googleapis.com/auth/cloud-platform"
385 ] 221 ]
386 }, 222 },
387 "delete": { 223 "delete": {
388 "description": "Deletes a ServiceAccount.", 224 "description": "Deletes a ServiceAccount.",
389 "httpMethod": "DELETE", 225 "httpMethod": "DELETE",
390 "id": "iam.projects.serviceAccounts.delete", 226 "id": "iam.projects.serviceAccounts.delete",
391 "parameterOrder": [ 227 "parameterOrder": [
392 "name" 228 "name"
393 ], 229 ],
230 "parameters": {
231 "name": {
232 "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.",
233 "location": "path",
234 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
235 "required": true,
236 "type": "string"
237 }
238 },
239 "path": "v1/{+name}",
240 "response": {
241 "$ref": "Empty"
242 },
243 "scopes": [
244 "https://www.googleapis.com/auth/cloud-platform"
245 ]
246 },
247 "signBlob": {
248 "description": "Signs a blob using a service account 's system-managed private key.",
249 "httpMethod": "POST",
250 "id": "iam.projects.serviceAccounts.signBlob",
251 "parameterOrder": [
252 "name"
253 ],
254 "parameters": {
255 "name": {
256 "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.",
257 "location": "path",
258 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
259 "required": true,
260 "type": "string"
261 }
262 },
263 "path": "v1/{+name}:signBlob",
264 "request": {
265 "$ref": "SignBlobRequest"
266 },
267 "response": {
268 "$ref": "SignBlobResponse"
269 },
270 "scopes": [
271 "https://www.googleapis.com/auth/cloud-platform"
272 ]
273 },
274 "list": {
275 "description": "Lists ServiceAccounts for a project. ",
276 "httpMethod": "GET",
277 "id": "iam.projects.serviceAccounts.list",
278 "parameterOrder": [
279 "name"
280 ],
281 "parameters": {
282 "name": {
283 "description": "Required. The resource name of the project associated with the service\naccounts, such as `projects/my-proje ct-123`.",
284 "location": "path",
285 "pattern": "^projects/[^/]+$",
286 "required": true,
287 "type": "string"
288 },
289 "pageToken": {
290 "description": "Optional pagination token re turned in an earlier\nListServiceAccountsResponse.next_page_token.",
291 "location": "query",
292 "type": "string"
293 },
294 "pageSize": {
295 "description": "Optional limit on the number of service accounts to include in the\nresponse. Further accounts can subsequen tly be obtained by including the\nListServiceAccountsResponse.next_page_token\ni n a subsequent request.",
296 "format": "int32",
297 "location": "query",
298 "type": "integer"
299 }
300 },
301 "path": "v1/{+name}/serviceAccounts",
302 "response": {
303 "$ref": "ListServiceAccountsResponse"
304 },
305 "scopes": [
306 "https://www.googleapis.com/auth/cloud-platform"
307 ]
308 },
309 "setIamPolicy": {
310 "description": "Sets the IAM access control policy f or a\nServiceAccount.",
311 "httpMethod": "POST",
312 "id": "iam.projects.serviceAccounts.setIamPolicy",
313 "parameterOrder": [
314 "resource"
315 ],
316 "parameters": {
317 "resource": {
318 "description": "REQUIRED: The resource for w hich the policy is being specified.\nSee the operation documentation for the app ropriate value for this field.",
319 "location": "path",
320 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
321 "required": true,
322 "type": "string"
323 }
324 },
325 "path": "v1/{+resource}:setIamPolicy",
326 "request": {
327 "$ref": "SetIamPolicyRequest"
328 },
329 "response": {
330 "$ref": "Policy"
331 },
332 "scopes": [
333 "https://www.googleapis.com/auth/cloud-platform"
334 ]
335 },
336 "create": {
337 "description": "Creates a ServiceAccount\nand return s it.",
338 "httpMethod": "POST",
339 "id": "iam.projects.serviceAccounts.create",
340 "parameterOrder": [
341 "name"
342 ],
343 "parameters": {
344 "name": {
345 "description": "Required. The resource name of the project associated with the service\naccounts, such as `projects/my-proje ct-123`.",
346 "location": "path",
347 "pattern": "^projects/[^/]+$",
348 "required": true,
349 "type": "string"
350 }
351 },
352 "path": "v1/{+name}/serviceAccounts",
353 "request": {
354 "$ref": "CreateServiceAccountRequest"
355 },
356 "response": {
357 "$ref": "ServiceAccount"
358 },
359 "scopes": [
360 "https://www.googleapis.com/auth/cloud-platform"
361 ]
362 },
363 "signJwt": {
364 "description": "Signs a JWT using a service account' s system-managed private key.\n\nIf no expiry time (`exp`) is provided in the `S ignJwtRequest`, IAM sets an\nan expiry time of one hour by default. If you reque st an expiry time of\nmore than one hour, the request will fail.",
365 "httpMethod": "POST",
366 "id": "iam.projects.serviceAccounts.signJwt",
367 "parameterOrder": [
368 "name"
369 ],
394 "parameters": { 370 "parameters": {
395 "name": { 371 "name": {
396 "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.", 372 "description": "The resource name of the ser vice account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{S ERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the \n`unique_id` of the service account.",
397 "location": "path", 373 "location": "path",
398 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$", 374 "pattern": "^projects/[^/]+/serviceAccounts/ [^/]+$",
399 "required": true, 375 "required": true,
400 "type": "string" 376 "type": "string"
401 } 377 }
402 }, 378 },
403 "path": "v1/{+name}", 379 "path": "v1/{+name}:signJwt",
380 "request": {
381 "$ref": "SignJwtRequest"
382 },
404 "response": { 383 "response": {
405 "$ref": "Empty" 384 "$ref": "SignJwtResponse"
406 }, 385 },
407 "scopes": [ 386 "scopes": [
408 "https://www.googleapis.com/auth/cloud-platform" 387 "https://www.googleapis.com/auth/cloud-platform"
409 ] 388 ]
410 } 389 }
411 }, 390 },
412 "resources": { 391 "resources": {
413 "keys": { 392 "keys": {
414 "methods": { 393 "methods": {
415 "list": { 394 "create": {
416 "description": "Lists ServiceAccountKeys.", 395 "description": "Creates a ServiceAccountKey\ nand returns it.",
417 "httpMethod": "GET", 396 "httpMethod": "POST",
418 "id": "iam.projects.serviceAccounts.keys.lis t", 397 "id": "iam.projects.serviceAccounts.keys.cre ate",
419 "parameterOrder": [ 398 "parameterOrder": [
420 "name" 399 "name"
421 ], 400 ],
422 "parameters": { 401 "parameters": {
423 "name": { 402 "name": {
424 "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.", 403 "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAcc ounts/{SERVICE_ACCOUNT_EMAIL}`.\nUsing `-` as a wildcard for the project will in fer the project from\nthe account. The `account` value can be the `email` addres s or the\n`unique_id` of the service account.",
425 "location": "path", 404 "location": "path",
426 "pattern": "^projects/[^/]+/serviceA ccounts/[^/]+$", 405 "pattern": "^projects/[^/]+/serviceA ccounts/[^/]+$",
427 "required": true, 406 "required": true,
428 "type": "string" 407 "type": "string"
429 },
430 "keyTypes": {
431 "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.",
432 "enum": [
433 "KEY_TYPE_UNSPECIFIED",
434 "USER_MANAGED",
435 "SYSTEM_MANAGED"
436 ],
437 "location": "query",
438 "repeated": true,
439 "type": "string"
440 } 408 }
441 }, 409 },
442 "path": "v1/{+name}/keys", 410 "path": "v1/{+name}/keys",
411 "request": {
412 "$ref": "CreateServiceAccountKeyRequest"
413 },
443 "response": { 414 "response": {
444 "$ref": "ListServiceAccountKeysResponse" 415 "$ref": "ServiceAccountKey"
445 }, 416 },
446 "scopes": [ 417 "scopes": [
447 "https://www.googleapis.com/auth/cloud-p latform" 418 "https://www.googleapis.com/auth/cloud-p latform"
448 ] 419 ]
449 }, 420 },
450 "get": { 421 "delete": {
451 "description": "Gets the ServiceAccountKey\n by key id.", 422 "description": "Deletes a ServiceAccountKey. ",
452 "httpMethod": "GET", 423 "httpMethod": "DELETE",
453 "id": "iam.projects.serviceAccounts.keys.get ", 424 "id": "iam.projects.serviceAccounts.keys.del ete",
454 "parameterOrder": [ 425 "parameterOrder": [
455 "name" 426 "name"
456 ], 427 ],
457 "parameters": { 428 "parameters": {
458 "publicKeyType": {
459 "description": "The output format of the public key requested.\nX509_PEM is the default output format.",
460 "enum": [
461 "TYPE_NONE",
462 "TYPE_X509_PEM_FILE",
463 "TYPE_RAW_PUBLIC_KEY"
464 ],
465 "location": "query",
466 "type": "string"
467 },
468 "name": { 429 "name": {
469 "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.", 430 "description": "The resource name of the service account key in the following format:\n`projects/{PROJECT_ID}/servic eAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of the service account.",
470 "location": "path", 431 "location": "path",
471 "pattern": "^projects/[^/]+/serviceA ccounts/[^/]+/keys/[^/]+$", 432 "pattern": "^projects/[^/]+/serviceA ccounts/[^/]+/keys/[^/]+$",
472 "required": true, 433 "required": true,
473 "type": "string" 434 "type": "string"
474 } 435 }
475 }, 436 },
476 "path": "v1/{+name}", 437 "path": "v1/{+name}",
477 "response": { 438 "response": {
478 "$ref": "ServiceAccountKey" 439 "$ref": "Empty"
479 }, 440 },
480 "scopes": [ 441 "scopes": [
481 "https://www.googleapis.com/auth/cloud-p latform" 442 "https://www.googleapis.com/auth/cloud-p latform"
482 ] 443 ]
483 }, 444 },
484 "create": { 445 "list": {
485 "description": "Creates a ServiceAccountKey\ nand returns it.", 446 "description": "Lists ServiceAccountKeys.",
486 "httpMethod": "POST", 447 "httpMethod": "GET",
487 "id": "iam.projects.serviceAccounts.keys.cre ate", 448 "id": "iam.projects.serviceAccounts.keys.lis t",
488 "parameterOrder": [ 449 "parameterOrder": [
489 "name" 450 "name"
490 ], 451 ],
491 "parameters": { 452 "parameters": {
492 "name": { 453 "name": {
493 "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.", 454 "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.",
494 "location": "path", 455 "location": "path",
495 "pattern": "^projects/[^/]+/serviceA ccounts/[^/]+$", 456 "pattern": "^projects/[^/]+/serviceA ccounts/[^/]+$",
496 "required": true, 457 "required": true,
497 "type": "string" 458 "type": "string"
459 },
460 "keyTypes": {
461 "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.",
462 "enum": [
463 "KEY_TYPE_UNSPECIFIED",
464 "USER_MANAGED",
465 "SYSTEM_MANAGED"
466 ],
467 "location": "query",
468 "repeated": true,
469 "type": "string"
498 } 470 }
499 }, 471 },
500 "path": "v1/{+name}/keys", 472 "path": "v1/{+name}/keys",
501 "request": {
502 "$ref": "CreateServiceAccountKeyRequest"
503 },
504 "response": { 473 "response": {
505 "$ref": "ServiceAccountKey" 474 "$ref": "ListServiceAccountKeysResponse"
506 }, 475 },
507 "scopes": [ 476 "scopes": [
508 "https://www.googleapis.com/auth/cloud-p latform" 477 "https://www.googleapis.com/auth/cloud-p latform"
509 ] 478 ]
510 }, 479 },
511 "delete": { 480 "get": {
512 "description": "Deletes a ServiceAccountKey. ", 481 "description": "Gets the ServiceAccountKey\n by key id.",
513 "httpMethod": "DELETE", 482 "httpMethod": "GET",
514 "id": "iam.projects.serviceAccounts.keys.del ete", 483 "id": "iam.projects.serviceAccounts.keys.get ",
515 "parameterOrder": [ 484 "parameterOrder": [
516 "name" 485 "name"
517 ], 486 ],
518 "parameters": { 487 "parameters": {
488 "publicKeyType": {
489 "description": "The output format of the public key requested.\nX509_PEM is the default output format.",
490 "enum": [
491 "TYPE_NONE",
492 "TYPE_X509_PEM_FILE",
493 "TYPE_RAW_PUBLIC_KEY"
494 ],
495 "location": "query",
496 "type": "string"
497 },
519 "name": { 498 "name": {
520 "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.", 499 "description": "The resource name of the service account key in the following format:\n`projects/{PROJECT_ID}/servic eAccounts/{SERVICE_ACCOUNT_EMAIL}/keys/{key}`.\n\nUsing `-` as a wildcard for th e project will infer the project from\nthe account. The `account` value can be t he `email` address or the\n`unique_id` of the service account.",
521 "location": "path", 500 "location": "path",
522 "pattern": "^projects/[^/]+/serviceA ccounts/[^/]+/keys/[^/]+$", 501 "pattern": "^projects/[^/]+/serviceA ccounts/[^/]+/keys/[^/]+$",
523 "required": true, 502 "required": true,
524 "type": "string" 503 "type": "string"
525 } 504 }
526 }, 505 },
527 "path": "v1/{+name}", 506 "path": "v1/{+name}",
528 "response": { 507 "response": {
529 "$ref": "Empty" 508 "$ref": "ServiceAccountKey"
530 }, 509 },
531 "scopes": [ 510 "scopes": [
532 "https://www.googleapis.com/auth/cloud-p latform" 511 "https://www.googleapis.com/auth/cloud-p latform"
533 ] 512 ]
534 } 513 }
535 } 514 }
536 } 515 }
537 } 516 }
538 } 517 }
539 } 518 }
519 },
520 "roles": {
521 "methods": {
522 "queryGrantableRoles": {
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.",
524 "httpMethod": "POST",
525 "id": "iam.roles.queryGrantableRoles",
526 "parameterOrder": [],
527 "parameters": {},
528 "path": "v1/roles:queryGrantableRoles",
529 "request": {
530 "$ref": "QueryGrantableRolesRequest"
531 },
532 "response": {
533 "$ref": "QueryGrantableRolesResponse"
534 },
535 "scopes": [
536 "https://www.googleapis.com/auth/cloud-platform"
537 ]
538 }
539 }
540 } 540 }
541 }, 541 },
542 "revision": "20170515", 542 "revision": "20170526",
543 "rootUrl": "https://iam.googleapis.com/", 543 "rootUrl": "https://iam.googleapis.com/",
544 "schemas": { 544 "schemas": {
545 "QueryGrantableRolesResponse": {
546 "description": "The grantable role query response.",
547 "id": "QueryGrantableRolesResponse",
548 "properties": {
549 "roles": {
550 "description": "The list of matching roles.",
551 "items": {
552 "$ref": "Role"
553 },
554 "type": "array"
555 },
556 "nextPageToken": {
557 "description": "To retrieve the next page of results, set\n` QueryGrantableRolesRequest.page_token` to this value.",
558 "type": "string"
559 }
560 },
561 "type": "object"
562 },
563 "SignBlobRequest": {
564 "description": "The service account sign blob request.",
565 "id": "SignBlobRequest",
566 "properties": {
567 "bytesToSign": {
568 "description": "The bytes to sign.",
569 "format": "byte",
570 "type": "string"
571 }
572 },
573 "type": "object"
574 },
575 "Role": {
576 "description": "A role in the Identity and Access Management API.",
577 "id": "Role",
578 "properties": {
579 "title": {
580 "description": "Optional. A human-readable title for the ro le. Typically this\nis limited to 100 UTF-8 bytes.",
581 "type": "string"
582 },
583 "name": {
584 "description": "The name of the role.\n\nWhen Role is used i n CreateRole, the role name must not be set.\n\nWhen Role is used in output and other input such as UpdateRole, the role\nname is the complete path, e.g., roles /logging.viewer for curated roles\nand organizations/{ORGANIZATION_ID}/roles/log ging.viewer for custom roles.",
585 "type": "string"
586 },
587 "description": {
588 "description": "Optional. A human-readable description for the role.",
589 "type": "string"
590 }
591 },
592 "type": "object"
593 },
594 "SetIamPolicyRequest": {
595 "description": "Request message for `SetIamPolicy` method.",
596 "id": "SetIamPolicyRequest",
597 "properties": {
598 "policy": {
599 "$ref": "Policy",
600 "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."
601 }
602 },
603 "type": "object"
604 },
545 "Binding": { 605 "Binding": {
546 "description": "Associates `members` with a `role`.", 606 "description": "Associates `members` with a `role`.",
547 "id": "Binding", 607 "id": "Binding",
548 "properties": { 608 "properties": {
549 "members": { 609 "members": {
550 "description": "Specifies the identities requesting access f or a Cloud Platform resource.\n`members` can have the following values:\n\n* `al lUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special ident ifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a spec ific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\ n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{e mailid}`: An email address that represents a Google group.\n For example, `adm ins@example.com`.\n\n\n* `domain:{domain}`: A Google Apps domain name that repre sents all the\n users of that domain. For example, `google.com` or `example.co m`.\n\n", 610 "description": "Specifies the identities requesting access f or a Cloud Platform resource.\n`members` can have the following values:\n\n* `al lUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special ident ifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a spec ific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\ n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{e mailid}`: An email address that represents a Google group.\n For example, `adm ins@example.com`.\n\n\n* `domain:{domain}`: A Google Apps domain name that repre sents all the\n users of that domain. For example, `google.com` or `example.co m`.\n\n",
551 "items": { 611 "items": {
552 "type": "string" 612 "type": "string"
553 }, 613 },
554 "type": "array" 614 "type": "array"
555 }, 615 },
556 "role": { 616 "role": {
557 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", 617 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
558 "type": "string" 618 "type": "string"
559 } 619 }
560 }, 620 },
561 "type": "object" 621 "type": "object"
562 }, 622 },
623 "QueryGrantableRolesRequest": {
624 "description": "The grantable role query request.",
625 "id": "QueryGrantableRolesRequest",
626 "properties": {
627 "fullResourceName": {
628 "description": "Required. The full resource name to query fr om the list of grantable roles.\n\nThe name follows the Google Cloud Platform re source format.\nFor example, a Cloud Platform project with id `my-project` will be named\n`//cloudresourcemanager.googleapis.com/projects/my-project`.",
629 "type": "string"
630 },
631 "pageToken": {
632 "description": "Optional pagination token returned in an ear lier\nQueryGrantableRolesResponse.",
633 "type": "string"
634 },
635 "pageSize": {
636 "description": "Optional limit on the number of roles to inc lude in the response.",
637 "format": "int32",
638 "type": "integer"
639 }
640 },
641 "type": "object"
642 },
643 "Empty": {
644 "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use i t as the request\nor the response type of an API method. For instance:\n\n se rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty );\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
645 "id": "Empty",
646 "properties": {},
647 "type": "object"
648 },
563 "ServiceAccount": { 649 "ServiceAccount": {
564 "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.", 650 "description": "A service account in the Identity and Access Managem ent API.\n\nTo create a service account, specify the `project_id` and the `accou nt_id`\nfor the account. The `account_id` is unique within the project, and is used\nto generate the service account email address and a stable\n`unique_id`.\n \nIf the account already exists, the account's resource name is returned\nin uti l::Status's ResourceInfo.resource_name in the format of\nprojects/{PROJECT_ID}/s erviceAccounts/{SERVICE_ACCOUNT_EMAIL}. The caller can\nuse the name in other me thods to access the account.\n\nAll other methods can identify the service accou nt using the format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EMA IL}`.\nUsing `-` as a wildcard for the project will infer the project from\nthe account. The `account` value can be the `email` address or the\n`unique_id` of t he service account.",
565 "id": "ServiceAccount", 651 "id": "ServiceAccount",
566 "properties": { 652 "properties": {
567 "uniqueId": {
568 "description": "@OutputOnly The unique and stable id of the service account.",
569 "type": "string"
570 },
571 "oauth2ClientId": {
572 "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.",
573 "type": "string"
574 },
575 "displayName": {
576 "description": "Optional. A user-specified description of th e service account. Must be\nfewer than 100 UTF-8 bytes.",
577 "type": "string"
578 },
579 "etag": { 653 "etag": {
580 "description": "Used to perform a consistent read-modify-wri te.", 654 "description": "Used to perform a consistent read-modify-wri te.",
581 "format": "byte", 655 "format": "byte",
582 "type": "string" 656 "type": "string"
583 }, 657 },
584 "name": { 658 "name": {
585 "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}`.", 659 "description": "The resource name of the service account in the following format:\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_E MAIL}`.\n\nRequests using `-` as a wildcard for the project will infer the proje ct\nfrom the `account` and the `account` value can be the `email` address or\nth e `unique_id` of the service account.\n\nIn responses the resource name will alw ays be in the format\n`projects/{PROJECT_ID}/serviceAccounts/{SERVICE_ACCOUNT_EM AIL}`.",
586 "type": "string" 660 "type": "string"
587 }, 661 },
588 "email": { 662 "email": {
589 "description": "@OutputOnly The email address of the service account.", 663 "description": "@OutputOnly The email address of the service account.",
590 "type": "string" 664 "type": "string"
591 }, 665 },
592 "projectId": { 666 "projectId": {
593 "description": "@OutputOnly The id of the project that owns the service account.", 667 "description": "@OutputOnly The id of the project that owns the service account.",
594 "type": "string" 668 "type": "string"
595 }
596 },
597 "type": "object"
598 },
599 "Empty": {
600 "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 `{}`.",
601 "id": "Empty",
602 "properties": {},
603 "type": "object"
604 },
605 "QueryGrantableRolesRequest": {
606 "description": "The grantable role query request.",
607 "id": "QueryGrantableRolesRequest",
608 "properties": {
609 "pageSize": {
610 "description": "Optional limit on the number of roles to inc lude in the response.",
611 "format": "int32",
612 "type": "integer"
613 }, 669 },
614 "fullResourceName": { 670 "oauth2ClientId": {
615 "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`.", 671 "description": "@OutputOnly. The OAuth2 client id for the se rvice account.\nThis is used in conjunction with the OAuth2 clientconfig API to make\nthree legged OAuth2 (3LO) flows to access the data of Google users.",
616 "type": "string" 672 "type": "string"
617 }, 673 },
618 "pageToken": { 674 "uniqueId": {
619 "description": "Optional pagination token returned in an ear lier\nQueryGrantableRolesResponse.", 675 "description": "@OutputOnly The unique and stable id of the service account.",
676 "type": "string"
677 },
678 "displayName": {
679 "description": "Optional. A user-specified description of th e service account. Must be\nfewer than 100 UTF-8 bytes.",
620 "type": "string" 680 "type": "string"
621 } 681 }
622 }, 682 },
623 "type": "object" 683 "type": "object"
624 }, 684 },
625 "TestIamPermissionsResponse": { 685 "TestIamPermissionsResponse": {
626 "description": "Response message for `TestIamPermissions` method.", 686 "description": "Response message for `TestIamPermissions` method.",
627 "id": "TestIamPermissionsResponse", 687 "id": "TestIamPermissionsResponse",
628 "properties": { 688 "properties": {
629 "permissions": { 689 "permissions": {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 "KEY_ALG_RSA_1024", 730 "KEY_ALG_RSA_1024",
671 "KEY_ALG_RSA_2048" 731 "KEY_ALG_RSA_2048"
672 ], 732 ],
673 "enumDescriptions": [ 733 "enumDescriptions": [
674 "An unspecified key algorithm.", 734 "An unspecified key algorithm.",
675 "1k RSA Key.", 735 "1k RSA Key.",
676 "2k RSA Key." 736 "2k RSA Key."
677 ], 737 ],
678 "type": "string" 738 "type": "string"
679 }, 739 },
680 "validAfterTime": {
681 "description": "The key can be used after this timestamp.",
682 "format": "google-datetime",
683 "type": "string"
684 },
685 "privateKeyType": { 740 "privateKeyType": {
686 "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.", 741 "description": "The output format for the private key.\nOnly provided in `CreateServiceAccountKey` responses, not\nin `GetServiceAccountKey` or `ListServiceAccountKey` responses.\n\nGoogle never exposes system-managed pr ivate keys, and never retains\nuser-managed private keys.",
687 "enum": [ 742 "enum": [
688 "TYPE_UNSPECIFIED", 743 "TYPE_UNSPECIFIED",
689 "TYPE_PKCS12_FILE", 744 "TYPE_PKCS12_FILE",
690 "TYPE_GOOGLE_CREDENTIALS_FILE" 745 "TYPE_GOOGLE_CREDENTIALS_FILE"
691 ], 746 ],
692 "enumDescriptions": [ 747 "enumDescriptions": [
693 "Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FIL E`.", 748 "Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FIL E`.",
694 "PKCS12 format.\nThe password for the PKCS12 file is `no tasecret`.\nFor more information, see https://tools.ietf.org/html/rfc7292.", 749 "PKCS12 format.\nThe password for the PKCS12 file is `no tasecret`.\nFor more information, see https://tools.ietf.org/html/rfc7292.",
695 "Google Credentials File format." 750 "Google Credentials File format."
696 ], 751 ],
697 "type": "string" 752 "type": "string"
698 }, 753 },
754 "validAfterTime": {
755 "description": "The key can be used after this timestamp.",
756 "format": "google-datetime",
757 "type": "string"
758 },
699 "privateKeyData": { 759 "privateKeyData": {
700 "description": "The private key data. Only provided in `Crea teServiceAccountKey`\nresponses.", 760 "description": "The private key data. Only provided in `Crea teServiceAccountKey`\nresponses.",
701 "format": "byte", 761 "format": "byte",
702 "type": "string" 762 "type": "string"
703 }, 763 },
704 "publicKeyData": { 764 "publicKeyData": {
705 "description": "The public key data. Only provided in `GetSe rviceAccountKey` responses.", 765 "description": "The public key data. Only provided in `GetSe rviceAccountKey` responses.",
706 "format": "byte", 766 "format": "byte",
707 "type": "string" 767 "type": "string"
708 } 768 }
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 "enumDescriptions": [ 800 "enumDescriptions": [
741 "Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FIL E`.", 801 "Unspecified. Equivalent to `TYPE_GOOGLE_CREDENTIALS_FIL E`.",
742 "PKCS12 format.\nThe password for the PKCS12 file is `no tasecret`.\nFor more information, see https://tools.ietf.org/html/rfc7292.", 802 "PKCS12 format.\nThe password for the PKCS12 file is `no tasecret`.\nFor more information, see https://tools.ietf.org/html/rfc7292.",
743 "Google Credentials File format." 803 "Google Credentials File format."
744 ], 804 ],
745 "type": "string" 805 "type": "string"
746 } 806 }
747 }, 807 },
748 "type": "object" 808 "type": "object"
749 }, 809 },
750 "TestIamPermissionsRequest": { 810 "SignJwtResponse": {
751 "description": "Request message for `TestIamPermissions` method.", 811 "description": "The service account sign JWT response.",
752 "id": "TestIamPermissionsRequest", 812 "id": "SignJwtResponse",
753 "properties": { 813 "properties": {
754 "permissions": { 814 "keyId": {
755 "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).", 815 "description": "The id of the key used to sign the JWT.",
756 "items": { 816 "type": "string"
757 "type": "string" 817 },
758 }, 818 "signedJwt": {
759 "type": "array" 819 "description": "The signed JWT.",
820 "type": "string"
760 } 821 }
761 }, 822 },
762 "type": "object" 823 "type": "object"
763 }, 824 },
764 "SignBlobResponse": { 825 "SignBlobResponse": {
765 "description": "The service account sign blob response.", 826 "description": "The service account sign blob response.",
766 "id": "SignBlobResponse", 827 "id": "SignBlobResponse",
767 "properties": { 828 "properties": {
768 "signature": { 829 "signature": {
769 "description": "The signed blob.", 830 "description": "The signed blob.",
770 "format": "byte", 831 "format": "byte",
771 "type": "string" 832 "type": "string"
772 }, 833 },
773 "keyId": { 834 "keyId": {
774 "description": "The id of the key used to sign the blob.", 835 "description": "The id of the key used to sign the blob.",
775 "type": "string" 836 "type": "string"
776 } 837 }
777 }, 838 },
778 "type": "object" 839 "type": "object"
779 }, 840 },
780 "SignJwtResponse": { 841 "TestIamPermissionsRequest": {
781 "description": "The service account sign JWT response.", 842 "description": "Request message for `TestIamPermissions` method.",
782 "id": "SignJwtResponse", 843 "id": "TestIamPermissionsRequest",
783 "properties": { 844 "properties": {
784 "keyId": { 845 "permissions": {
785 "description": "The id of the key used to sign the JWT.", 846 "description": "The set of permissions to check for the `res ource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed . For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/ov erview#permissions).",
786 "type": "string" 847 "items": {
787 }, 848 "type": "string"
788 "signedJwt": { 849 },
789 "description": "The signed JWT.", 850 "type": "array"
851 }
852 },
853 "type": "object"
854 },
855 "SignJwtRequest": {
856 "description": "The service account sign JWT request.",
857 "id": "SignJwtRequest",
858 "properties": {
859 "payload": {
860 "description": "The JWT payload to sign, a JSON JWT Claim se t.",
790 "type": "string" 861 "type": "string"
791 } 862 }
792 }, 863 },
793 "type": "object" 864 "type": "object"
794 }, 865 },
795 "Policy": { 866 "Policy": {
796 "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).", 867 "description": "Defines an Identity and Access Management (IAM) poli cy. It is used to\nspecify access control policies for Cloud Platform resources. \n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n `members` to a `role`, where the members can be user accounts, Google groups,\nG oogle domains, and service accounts. A `role` is a named list of permissions\nde fined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike @example.com\",\n \"group:admins@example.com\",\n \"domain :google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccoun t.com\",\n ]\n },\n {\n \"role\": \"roles/viewer \",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide ](https://cloud.google.com/iam).",
797 "id": "Policy", 868 "id": "Policy",
798 "properties": { 869 "properties": {
870 "bindings": {
871 "description": "Associates a list of `members` to a `role`.\ nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.",
872 "items": {
873 "$ref": "Binding"
874 },
875 "type": "array"
876 },
799 "etag": { 877 "etag": {
800 "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.", 878 "description": "`etag` is used for optimistic concurrency co ntrol as a way to help\nprevent simultaneous updates of a policy from overwritin g each other.\nIt is strongly suggested that systems make use of the `etag` in t he\nread-modify-write cycle to perform policy updates in order to avoid race\nco nditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that t heir change will be applied to the same version of the policy.\n\nIf no `etag` i s provided in the call to `setIamPolicy`, then the existing\npolicy is overwritt en blindly.",
801 "format": "byte", 879 "format": "byte",
802 "type": "string" 880 "type": "string"
803 }, 881 },
804 "version": { 882 "version": {
805 "description": "Version of the `Policy`. The default version is 0.", 883 "description": "Version of the `Policy`. The default version is 0.",
806 "format": "int32", 884 "format": "int32",
807 "type": "integer" 885 "type": "integer"
808 },
809 "bindings": {
810 "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.",
811 "items": {
812 "$ref": "Binding"
813 },
814 "type": "array"
815 } 886 }
816 }, 887 },
817 "type": "object" 888 "type": "object"
818 },
819 "SignJwtRequest": {
820 "description": "The service account sign JWT request.",
821 "id": "SignJwtRequest",
822 "properties": {
823 "payload": {
824 "description": "The JWT payload to sign, a JSON JWT Claim se t.",
825 "type": "string"
826 }
827 },
828 "type": "object"
829 }, 889 },
830 "AuditData": { 890 "AuditData": {
831 "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.", 891 "description": "Audit log information specific to Cloud IAM. This me ssage is serialized\nas an `Any` type in the `ServiceData` message of an\n`Audit Log` message.",
832 "id": "AuditData", 892 "id": "AuditData",
833 "properties": { 893 "properties": {
834 "policyDelta": { 894 "policyDelta": {
835 "$ref": "PolicyDelta", 895 "$ref": "PolicyDelta",
836 "description": "Policy delta between the original policy and the newly set policy." 896 "description": "Policy delta between the original policy and the newly set policy."
837 } 897 }
838 }, 898 },
839 "type": "object" 899 "type": "object"
840 }, 900 },
841 "BindingDelta": { 901 "BindingDelta": {
842 "description": "One delta entry for Binding. Each individual change (only one member in each\nentry) to a binding will be a separate entry.", 902 "description": "One delta entry for Binding. Each individual change (only one member in each\nentry) to a binding will be a separate entry.",
843 "id": "BindingDelta", 903 "id": "BindingDelta",
844 "properties": { 904 "properties": {
845 "member": {
846 "description": "A single identity requesting access for a Cl oud Platform resource.\nFollows the same format of Binding.members.\nRequired",
847 "type": "string"
848 },
849 "role": { 905 "role": {
850 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", 906 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
851 "type": "string" 907 "type": "string"
852 }, 908 },
853 "action": { 909 "action": {
854 "description": "The action that was performed on a Binding.\ nRequired", 910 "description": "The action that was performed on a Binding.\ nRequired",
855 "enum": [ 911 "enum": [
856 "ACTION_UNSPECIFIED", 912 "ACTION_UNSPECIFIED",
857 "ADD", 913 "ADD",
858 "REMOVE" 914 "REMOVE"
859 ], 915 ],
860 "enumDescriptions": [ 916 "enumDescriptions": [
861 "Unspecified.", 917 "Unspecified.",
862 "Addition of a Binding.", 918 "Addition of a Binding.",
863 "Removal of a Binding." 919 "Removal of a Binding."
864 ], 920 ],
865 "type": "string" 921 "type": "string"
922 },
923 "member": {
924 "description": "A single identity requesting access for a Cl oud Platform resource.\nFollows the same format of Binding.members.\nRequired",
925 "type": "string"
866 } 926 }
867 }, 927 },
868 "type": "object" 928 "type": "object"
869 }, 929 },
870 "PolicyDelta": { 930 "PolicyDelta": {
871 "description": "The difference delta between two policies.", 931 "description": "The difference delta between two policies.",
872 "id": "PolicyDelta", 932 "id": "PolicyDelta",
873 "properties": { 933 "properties": {
874 "bindingDeltas": { 934 "bindingDeltas": {
875 "description": "The delta for Bindings between two policies. ", 935 "description": "The delta for Bindings between two policies. ",
876 "items": { 936 "items": {
877 "$ref": "BindingDelta" 937 "$ref": "BindingDelta"
878 }, 938 },
879 "type": "array" 939 "type": "array"
880 } 940 }
881 }, 941 },
882 "type": "object" 942 "type": "object"
883 }, 943 },
884 "ListServiceAccountsResponse": {
885 "description": "The service account list response.",
886 "id": "ListServiceAccountsResponse",
887 "properties": {
888 "nextPageToken": {
889 "description": "To retrieve the next page of results, set\nL istServiceAccountsRequest.page_token\nto this value.",
890 "type": "string"
891 },
892 "accounts": {
893 "description": "The list of matching service accounts.",
894 "items": {
895 "$ref": "ServiceAccount"
896 },
897 "type": "array"
898 }
899 },
900 "type": "object"
901 },
902 "CreateServiceAccountRequest": { 944 "CreateServiceAccountRequest": {
903 "description": "The service account create request.", 945 "description": "The service account create request.",
904 "id": "CreateServiceAccountRequest", 946 "id": "CreateServiceAccountRequest",
905 "properties": { 947 "properties": {
906 "serviceAccount": { 948 "serviceAccount": {
907 "$ref": "ServiceAccount", 949 "$ref": "ServiceAccount",
908 "description": "The ServiceAccount resource to create.\nCurr ently, only the following values are user assignable:\n`display_name` ." 950 "description": "The ServiceAccount resource to create.\nCurr ently, only the following values are user assignable:\n`display_name` ."
909 }, 951 },
910 "accountId": { 952 "accountId": {
911 "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.", 953 "description": "Required. The account id that is used to gen erate the service account\nemail address and a stable unique id. It is unique wi thin a project,\nmust be 6-30 characters long, and match the regular expression\ n`[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035.",
912 "type": "string" 954 "type": "string"
913 } 955 }
914 }, 956 },
915 "type": "object" 957 "type": "object"
916 }, 958 },
917 "QueryGrantableRolesResponse": { 959 "ListServiceAccountsResponse": {
918 "description": "The grantable role query response.", 960 "description": "The service account list response.",
919 "id": "QueryGrantableRolesResponse", 961 "id": "ListServiceAccountsResponse",
920 "properties": { 962 "properties": {
921 "roles": { 963 "accounts": {
922 "description": "The list of matching roles.", 964 "description": "The list of matching service accounts.",
923 "items": { 965 "items": {
924 "$ref": "Role" 966 "$ref": "ServiceAccount"
925 }, 967 },
926 "type": "array" 968 "type": "array"
927 }, 969 },
928 "nextPageToken": { 970 "nextPageToken": {
929 "description": "To retrieve the next page of results, set\n` QueryGrantableRolesRequest.page_token` to this value.", 971 "description": "To retrieve the next page of results, set\nL istServiceAccountsRequest.page_token\nto this value.",
930 "type": "string" 972 "type": "string"
931 } 973 }
932 }, 974 },
933 "type": "object" 975 "type": "object"
934 },
935 "Role": {
936 "description": "A role in the Identity and Access Management API.",
937 "id": "Role",
938 "properties": {
939 "title": {
940 "description": "Optional. A human-readable title for the ro le. Typically this\nis limited to 100 UTF-8 bytes.",
941 "type": "string"
942 },
943 "name": {
944 "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.",
945 "type": "string"
946 },
947 "description": {
948 "description": "Optional. A human-readable description for the role.",
949 "type": "string"
950 }
951 },
952 "type": "object"
953 },
954 "SignBlobRequest": {
955 "description": "The service account sign blob request.",
956 "id": "SignBlobRequest",
957 "properties": {
958 "bytesToSign": {
959 "description": "The bytes to sign.",
960 "format": "byte",
961 "type": "string"
962 }
963 },
964 "type": "object"
965 },
966 "SetIamPolicyRequest": {
967 "description": "Request message for `SetIamPolicy` method.",
968 "id": "SetIamPolicyRequest",
969 "properties": {
970 "policy": {
971 "$ref": "Policy",
972 "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."
973 }
974 },
975 "type": "object"
976 } 976 }
977 }, 977 },
978 "servicePath": "", 978 "servicePath": "",
979 "title": "Google Identity and Access Management (IAM) API", 979 "title": "Google Identity and Access Management (IAM) API",
980 "version": "v1" 980 "version": "v1"
981 } 981 }
OLDNEW
« no previous file with comments | « discovery/googleapis/groupssettings__v1.json ('k') | discovery/googleapis/kgsearch__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698