|
15 | 15 | "description": "Creates short-lived credentials for impersonating IAM service accounts. Disabling this API also disables the IAM API (iam.googleapis.com). However, enabling this API doesn't enable the IAM API. ",
|
16 | 16 | "discoveryVersion": "v1",
|
17 | 17 | "documentationLink": "https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials",
|
| 18 | + "endpoints": [ |
| 19 | + { |
| 20 | + "description": "Regional Endpoint", |
| 21 | + "endpointUrl": "https://iamcredentials.us-east7.rep.googleapis.com/", |
| 22 | + "location": "us-east7" |
| 23 | + } |
| 24 | + ], |
18 | 25 | "fullyEncodeReservedExpansion": true,
|
19 | 26 | "icons": {
|
20 | 27 | "x16": "http://www.google.com/images/icons/product/search-16.gif",
|
|
105 | 112 | },
|
106 | 113 | "protocol": "rest",
|
107 | 114 | "resources": {
|
| 115 | + "locations": { |
| 116 | + "resources": { |
| 117 | + "workforcePools": { |
| 118 | + "methods": { |
| 119 | + "getAllowedLocations": { |
| 120 | + "description": "Returns the trust boundary info for a given workforce pool.", |
| 121 | + "flatPath": "v1/locations/{locationsId}/workforcePools/{workforcePoolsId}/allowedLocations", |
| 122 | + "httpMethod": "GET", |
| 123 | + "id": "iamcredentials.locations.workforcePools.getAllowedLocations", |
| 124 | + "parameterOrder": [ |
| 125 | + "name" |
| 126 | + ], |
| 127 | + "parameters": { |
| 128 | + "name": { |
| 129 | + "description": "Required. Resource name of workforce pool.", |
| 130 | + "location": "path", |
| 131 | + "pattern": "^locations/[^/]+/workforcePools/[^/]+$", |
| 132 | + "required": true, |
| 133 | + "type": "string" |
| 134 | + } |
| 135 | + }, |
| 136 | + "path": "v1/{+name}/allowedLocations", |
| 137 | + "response": { |
| 138 | + "$ref": "WorkforcePoolAllowedLocations" |
| 139 | + } |
| 140 | + } |
| 141 | + } |
| 142 | + } |
| 143 | + } |
| 144 | + }, |
108 | 145 | "projects": {
|
109 | 146 | "resources": {
|
| 147 | + "locations": { |
| 148 | + "resources": { |
| 149 | + "workloadIdentityPools": { |
| 150 | + "methods": { |
| 151 | + "getAllowedLocations": { |
| 152 | + "description": "Returns the trust boundary info for a given workload identity pool.", |
| 153 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workloadIdentityPools/{workloadIdentityPoolsId}/allowedLocations", |
| 154 | + "httpMethod": "GET", |
| 155 | + "id": "iamcredentials.projects.locations.workloadIdentityPools.getAllowedLocations", |
| 156 | + "parameterOrder": [ |
| 157 | + "name" |
| 158 | + ], |
| 159 | + "parameters": { |
| 160 | + "name": { |
| 161 | + "description": "Required. Resource name of workload identity pool.", |
| 162 | + "location": "path", |
| 163 | + "pattern": "^projects/[^/]+/locations/[^/]+/workloadIdentityPools/[^/]+$", |
| 164 | + "required": true, |
| 165 | + "type": "string" |
| 166 | + } |
| 167 | + }, |
| 168 | + "path": "v1/{+name}/allowedLocations", |
| 169 | + "response": { |
| 170 | + "$ref": "WorkloadIdentityPoolAllowedLocations" |
| 171 | + } |
| 172 | + } |
| 173 | + } |
| 174 | + } |
| 175 | + } |
| 176 | + }, |
110 | 177 | "serviceAccounts": {
|
111 | 178 | "methods": {
|
112 | 179 | "generateAccessToken": {
|
|
248 | 315 | }
|
249 | 316 | }
|
250 | 317 | },
|
251 |
| - "revision": "20241024", |
| 318 | + "revision": "20250417", |
252 | 319 | "rootUrl": "https://iamcredentials.googleapis.com/",
|
253 | 320 | "schemas": {
|
254 | 321 | "GenerateAccessTokenRequest": {
|
|
308 | 375 | "includeEmail": {
|
309 | 376 | "description": "Include the service account email in the token. If set to `true`, the token will contain `email` and `email_verified` claims.",
|
310 | 377 | "type": "boolean"
|
| 378 | + }, |
| 379 | + "organizationNumberIncluded": { |
| 380 | + "description": "Include the organization number of the service account in the token. If set to `true`, the token will contain a `google.organization_number` claim. The value of the claim will be `null` if the service account isn't associated with an organization.", |
| 381 | + "type": "boolean" |
311 | 382 | }
|
312 | 383 | },
|
313 | 384 | "type": "object"
|
|
316 | 387 | "id": "GenerateIdTokenResponse",
|
317 | 388 | "properties": {
|
318 | 389 | "token": {
|
319 |
| - "description": "The OpenId Connect ID token.", |
| 390 | + "description": "The OpenId Connect ID token. The token is a JSON Web Token (JWT) that contains a payload with claims. See the [JSON Web Token spec](https://tools.ietf.org/html/rfc7519) for more information. Here is an example of a decoded JWT payload: ``` { \"iss\": \"https://accounts.google.com\", \"iat\": 1496953245, \"exp\": 1496953245, \"aud\": \"https://www.example.com\", \"sub\": \"107517467455664443765\", \"azp\": \"107517467455664443765\", \"email\": \"my-iam-account@my-project.iam.gserviceaccount.com\", \"email_verified\": true, \"google\": { \"organization_number\": 123456 } } ```", |
320 | 391 | "type": "string"
|
321 | 392 | }
|
322 | 393 | },
|
|
405 | 476 | }
|
406 | 477 | },
|
407 | 478 | "type": "object"
|
| 479 | + }, |
| 480 | + "WorkforcePoolAllowedLocations": { |
| 481 | + "description": "Represents a list of allowed locations for given workforce pool.", |
| 482 | + "id": "WorkforcePoolAllowedLocations", |
| 483 | + "properties": { |
| 484 | + "encodedLocations": { |
| 485 | + "description": "Output only. The hex encoded bitmap of the trust boundary locations", |
| 486 | + "readOnly": true, |
| 487 | + "type": "string" |
| 488 | + }, |
| 489 | + "locations": { |
| 490 | + "description": "Output only. The human readable trust boundary locations. For example, [\"us-central1\", \"europe-west1\"]", |
| 491 | + "items": { |
| 492 | + "type": "string" |
| 493 | + }, |
| 494 | + "readOnly": true, |
| 495 | + "type": "array" |
| 496 | + } |
| 497 | + }, |
| 498 | + "type": "object" |
| 499 | + }, |
| 500 | + "WorkloadIdentityPoolAllowedLocations": { |
| 501 | + "description": "Represents a list of allowed locations for given workload identity pool.", |
| 502 | + "id": "WorkloadIdentityPoolAllowedLocations", |
| 503 | + "properties": { |
| 504 | + "encodedLocations": { |
| 505 | + "description": "Output only. The hex encoded bitmap of the trust boundary locations", |
| 506 | + "readOnly": true, |
| 507 | + "type": "string" |
| 508 | + }, |
| 509 | + "locations": { |
| 510 | + "description": "Output only. The human readable trust boundary locations. For example, [\"us-central1\", \"europe-west1\"]", |
| 511 | + "items": { |
| 512 | + "type": "string" |
| 513 | + }, |
| 514 | + "readOnly": true, |
| 515 | + "type": "array" |
| 516 | + } |
| 517 | + }, |
| 518 | + "type": "object" |
408 | 519 | }
|
409 | 520 | },
|
410 | 521 | "servicePath": "",
|
|
0 commit comments