Skip to content

Commit 00402db

Browse files
feat(iamcredentials): update the API
#### iamcredentials:v1 The following keys were added: - resources.locations.resources.workforcePools.methods.getAllowedLocations.description - resources.locations.resources.workforcePools.methods.getAllowedLocations.flatPath - resources.locations.resources.workforcePools.methods.getAllowedLocations.httpMethod - resources.locations.resources.workforcePools.methods.getAllowedLocations.id - resources.locations.resources.workforcePools.methods.getAllowedLocations.parameterOrder - resources.locations.resources.workforcePools.methods.getAllowedLocations.parameters.name.description - resources.locations.resources.workforcePools.methods.getAllowedLocations.parameters.name.location - resources.locations.resources.workforcePools.methods.getAllowedLocations.parameters.name.pattern - resources.locations.resources.workforcePools.methods.getAllowedLocations.parameters.name.required - resources.locations.resources.workforcePools.methods.getAllowedLocations.parameters.name.type - resources.locations.resources.workforcePools.methods.getAllowedLocations.path - resources.locations.resources.workforcePools.methods.getAllowedLocations.response.$ref - resources.projects.resources.locations.resources.workloadIdentityPools.methods.getAllowedLocations.description - resources.projects.resources.locations.resources.workloadIdentityPools.methods.getAllowedLocations.flatPath - resources.projects.resources.locations.resources.workloadIdentityPools.methods.getAllowedLocations.httpMethod - resources.projects.resources.locations.resources.workloadIdentityPools.methods.getAllowedLocations.id - resources.projects.resources.locations.resources.workloadIdentityPools.methods.getAllowedLocations.parameterOrder - resources.projects.resources.locations.resources.workloadIdentityPools.methods.getAllowedLocations.parameters.name.description - resources.projects.resources.locations.resources.workloadIdentityPools.methods.getAllowedLocations.parameters.name.location - resources.projects.resources.locations.resources.workloadIdentityPools.methods.getAllowedLocations.parameters.name.pattern - resources.projects.resources.locations.resources.workloadIdentityPools.methods.getAllowedLocations.parameters.name.required - resources.projects.resources.locations.resources.workloadIdentityPools.methods.getAllowedLocations.parameters.name.type - resources.projects.resources.locations.resources.workloadIdentityPools.methods.getAllowedLocations.path - resources.projects.resources.locations.resources.workloadIdentityPools.methods.getAllowedLocations.response.$ref - resources.projects.resources.serviceAccounts.methods.getAllowedLocations.description - resources.projects.resources.serviceAccounts.methods.getAllowedLocations.flatPath - resources.projects.resources.serviceAccounts.methods.getAllowedLocations.httpMethod - resources.projects.resources.serviceAccounts.methods.getAllowedLocations.id - resources.projects.resources.serviceAccounts.methods.getAllowedLocations.parameterOrder - resources.projects.resources.serviceAccounts.methods.getAllowedLocations.parameters.name.description - resources.projects.resources.serviceAccounts.methods.getAllowedLocations.parameters.name.location - resources.projects.resources.serviceAccounts.methods.getAllowedLocations.parameters.name.pattern - resources.projects.resources.serviceAccounts.methods.getAllowedLocations.parameters.name.required - resources.projects.resources.serviceAccounts.methods.getAllowedLocations.parameters.name.type - resources.projects.resources.serviceAccounts.methods.getAllowedLocations.path - resources.projects.resources.serviceAccounts.methods.getAllowedLocations.response.$ref - schemas.ServiceAccountAllowedLocations.description - schemas.ServiceAccountAllowedLocations.id - schemas.ServiceAccountAllowedLocations.properties.encodedLocations.description - schemas.ServiceAccountAllowedLocations.properties.encodedLocations.readOnly - schemas.ServiceAccountAllowedLocations.properties.encodedLocations.type - schemas.ServiceAccountAllowedLocations.properties.locations.description - schemas.ServiceAccountAllowedLocations.properties.locations.items.type - schemas.ServiceAccountAllowedLocations.properties.locations.readOnly - schemas.ServiceAccountAllowedLocations.properties.locations.type - schemas.ServiceAccountAllowedLocations.type - schemas.WorkforcePoolAllowedLocations.description - schemas.WorkforcePoolAllowedLocations.id - schemas.WorkforcePoolAllowedLocations.properties.encodedLocations.description - schemas.WorkforcePoolAllowedLocations.properties.encodedLocations.readOnly - schemas.WorkforcePoolAllowedLocations.properties.encodedLocations.type - schemas.WorkforcePoolAllowedLocations.properties.locations.description - schemas.WorkforcePoolAllowedLocations.properties.locations.items.type - schemas.WorkforcePoolAllowedLocations.properties.locations.readOnly - schemas.WorkforcePoolAllowedLocations.properties.locations.type - schemas.WorkforcePoolAllowedLocations.type - schemas.WorkloadIdentityPoolAllowedLocations.description - schemas.WorkloadIdentityPoolAllowedLocations.id - schemas.WorkloadIdentityPoolAllowedLocations.properties.encodedLocations.description - schemas.WorkloadIdentityPoolAllowedLocations.properties.encodedLocations.readOnly - schemas.WorkloadIdentityPoolAllowedLocations.properties.encodedLocations.type - schemas.WorkloadIdentityPoolAllowedLocations.properties.locations.description - schemas.WorkloadIdentityPoolAllowedLocations.properties.locations.items.type - schemas.WorkloadIdentityPoolAllowedLocations.properties.locations.readOnly - schemas.WorkloadIdentityPoolAllowedLocations.properties.locations.type - schemas.WorkloadIdentityPoolAllowedLocations.type
1 parent c16baa9 commit 00402db

File tree

2 files changed

+691
-1
lines changed

2 files changed

+691
-1
lines changed

discovery/iamcredentials-v1.json

Lines changed: 143 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,68 @@
137137
},
138138
"protocol": "rest",
139139
"resources": {
140+
"locations": {
141+
"resources": {
142+
"workforcePools": {
143+
"methods": {
144+
"getAllowedLocations": {
145+
"description": "Returns the trust boundary info for a given workforce pool.",
146+
"flatPath": "v1/locations/{locationsId}/workforcePools/{workforcePoolsId}/allowedLocations",
147+
"httpMethod": "GET",
148+
"id": "iamcredentials.locations.workforcePools.getAllowedLocations",
149+
"parameterOrder": [
150+
"name"
151+
],
152+
"parameters": {
153+
"name": {
154+
"description": "Required. Resource name of workforce pool.",
155+
"location": "path",
156+
"pattern": "^locations/[^/]+/workforcePools/[^/]+$",
157+
"required": true,
158+
"type": "string"
159+
}
160+
},
161+
"path": "v1/{+name}/allowedLocations",
162+
"response": {
163+
"$ref": "WorkforcePoolAllowedLocations"
164+
}
165+
}
166+
}
167+
}
168+
}
169+
},
140170
"projects": {
141171
"resources": {
172+
"locations": {
173+
"resources": {
174+
"workloadIdentityPools": {
175+
"methods": {
176+
"getAllowedLocations": {
177+
"description": "Returns the trust boundary info for a given workload identity pool.",
178+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/workloadIdentityPools/{workloadIdentityPoolsId}/allowedLocations",
179+
"httpMethod": "GET",
180+
"id": "iamcredentials.projects.locations.workloadIdentityPools.getAllowedLocations",
181+
"parameterOrder": [
182+
"name"
183+
],
184+
"parameters": {
185+
"name": {
186+
"description": "Required. Resource name of workload identity pool.",
187+
"location": "path",
188+
"pattern": "^projects/[^/]+/locations/[^/]+/workloadIdentityPools/[^/]+$",
189+
"required": true,
190+
"type": "string"
191+
}
192+
},
193+
"path": "v1/{+name}/allowedLocations",
194+
"response": {
195+
"$ref": "WorkloadIdentityPoolAllowedLocations"
196+
}
197+
}
198+
}
199+
}
200+
}
201+
},
142202
"serviceAccounts": {
143203
"methods": {
144204
"generateAccessToken": {
@@ -197,6 +257,28 @@
197257
"https://www.googleapis.com/auth/cloud-platform"
198258
]
199259
},
260+
"getAllowedLocations": {
261+
"description": "Returns the trust boundary info for a given service account.",
262+
"flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}/allowedLocations",
263+
"httpMethod": "GET",
264+
"id": "iamcredentials.projects.serviceAccounts.getAllowedLocations",
265+
"parameterOrder": [
266+
"name"
267+
],
268+
"parameters": {
269+
"name": {
270+
"description": "Required. Resource name of service account.",
271+
"location": "path",
272+
"pattern": "^projects/[^/]+/serviceAccounts/[^/]+$",
273+
"required": true,
274+
"type": "string"
275+
}
276+
},
277+
"path": "v1/{+name}/allowedLocations",
278+
"response": {
279+
"$ref": "ServiceAccountAllowedLocations"
280+
}
281+
},
200282
"signBlob": {
201283
"description": "Signs a blob using a service account's system-managed private key.",
202284
"flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}:signBlob",
@@ -258,7 +340,7 @@
258340
}
259341
}
260342
},
261-
"revision": "20251009",
343+
"revision": "20251022",
262344
"rootUrl": "https://iamcredentials.googleapis.com/",
263345
"schemas": {
264346
"GenerateAccessTokenRequest": {
@@ -336,6 +418,26 @@
336418
},
337419
"type": "object"
338420
},
421+
"ServiceAccountAllowedLocations": {
422+
"description": "Represents a list of allowed locations for given service account.",
423+
"id": "ServiceAccountAllowedLocations",
424+
"properties": {
425+
"encodedLocations": {
426+
"description": "Output only. The hex encoded bitmap of the trust boundary locations",
427+
"readOnly": true,
428+
"type": "string"
429+
},
430+
"locations": {
431+
"description": "Output only. The human readable trust boundary locations. For example, [\"us-central1\", \"europe-west1\"]",
432+
"items": {
433+
"type": "string"
434+
},
435+
"readOnly": true,
436+
"type": "array"
437+
}
438+
},
439+
"type": "object"
440+
},
339441
"SignBlobRequest": {
340442
"id": "SignBlobRequest",
341443
"properties": {
@@ -399,6 +501,46 @@
399501
}
400502
},
401503
"type": "object"
504+
},
505+
"WorkforcePoolAllowedLocations": {
506+
"description": "Represents a list of allowed locations for given workforce pool.",
507+
"id": "WorkforcePoolAllowedLocations",
508+
"properties": {
509+
"encodedLocations": {
510+
"description": "Output only. The hex encoded bitmap of the trust boundary locations",
511+
"readOnly": true,
512+
"type": "string"
513+
},
514+
"locations": {
515+
"description": "Output only. The human readable trust boundary locations. For example, [\"us-central1\", \"europe-west1\"]",
516+
"items": {
517+
"type": "string"
518+
},
519+
"readOnly": true,
520+
"type": "array"
521+
}
522+
},
523+
"type": "object"
524+
},
525+
"WorkloadIdentityPoolAllowedLocations": {
526+
"description": "Represents a list of allowed locations for given workload identity pool.",
527+
"id": "WorkloadIdentityPoolAllowedLocations",
528+
"properties": {
529+
"encodedLocations": {
530+
"description": "Output only. The hex encoded bitmap of the trust boundary locations",
531+
"readOnly": true,
532+
"type": "string"
533+
},
534+
"locations": {
535+
"description": "Output only. The human readable trust boundary locations. For example, [\"us-central1\", \"europe-west1\"]",
536+
"items": {
537+
"type": "string"
538+
},
539+
"readOnly": true,
540+
"type": "array"
541+
}
542+
},
543+
"type": "object"
402544
}
403545
},
404546
"servicePath": "",

0 commit comments

Comments
 (0)