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

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

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