Skip to content

Commit d29235d

Browse files
feat(iamcredentials): update the api
#### iamcredentials:v1 The following keys were added: - resources.projects.resources.serviceAccounts.methods.getAllowedLocations (Total Keys: 10) - schemas.ServiceAccountAllowedLocations (Total Keys: 7)
1 parent 832401d commit d29235d

File tree

2 files changed

+68
-1
lines changed

2 files changed

+68
-1
lines changed

docs/dyn/iamcredentials_v1.projects.serviceAccounts.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ <h2>Instance Methods</h2>
8383
<p class="toc_element">
8484
<code><a href="#generateIdToken">generateIdToken(name, body=None, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Generates an OpenID Connect ID token for a service account.</p>
86+
<p class="toc_element">
87+
<code><a href="#getAllowedLocations">getAllowedLocations(name, x__xgafv=None)</a></code></p>
88+
<p class="firstline">Returns the trust boundary info for a given service account.</p>
8689
<p class="toc_element">
8790
<code><a href="#signBlob">signBlob(name, body=None, x__xgafv=None)</a></code></p>
8891
<p class="firstline">Signs a blob using a service account's system-managed private key.</p>
@@ -158,6 +161,28 @@ <h3>Method Details</h3>
158161
}</pre>
159162
</div>
160163

164+
<div class="method">
165+
<code class="details" id="getAllowedLocations">getAllowedLocations(name, x__xgafv=None)</code>
166+
<pre>Returns the trust boundary info for a given service account.
167+
168+
Args:
169+
name: string, Required. Resource name of service account. (required)
170+
x__xgafv: string, V1 error format.
171+
Allowed values
172+
1 - v1 error format
173+
2 - v2 error format
174+
175+
Returns:
176+
An object of the form:
177+
178+
{ # Represents a list of allowed locations for given service account.
179+
&quot;encodedLocations&quot;: &quot;A String&quot;, # Output only. The hex encoded bitmap of the trust boundary locations
180+
&quot;locations&quot;: [ # Output only. The human readable trust boundary locations. For example, [&quot;us-central1&quot;, &quot;europe-west1&quot;]
181+
&quot;A String&quot;,
182+
],
183+
}</pre>
184+
</div>
185+
161186
<div class="method">
162187
<code class="details" id="signBlob">signBlob(name, body=None, x__xgafv=None)</code>
163188
<pre>Signs a blob using a service account&#x27;s system-managed private key.

googleapiclient/discovery_cache/documents/iamcredentials.v1.json

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,28 @@
165165
"https://www.googleapis.com/auth/cloud-platform"
166166
]
167167
},
168+
"getAllowedLocations": {
169+
"description": "Returns the trust boundary info for a given service account.",
170+
"flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}/allowedLocations",
171+
"httpMethod": "GET",
172+
"id": "iamcredentials.projects.serviceAccounts.getAllowedLocations",
173+
"parameterOrder": [
174+
"name"
175+
],
176+
"parameters": {
177+
"name": {
178+
"description": "Required. Resource name of service account.",
179+
"location": "path",
180+
"pattern": "^projects/[^/]+/serviceAccounts/[^/]+$",
181+
"required": true,
182+
"type": "string"
183+
}
184+
},
185+
"path": "v1/{+name}/allowedLocations",
186+
"response": {
187+
"$ref": "ServiceAccountAllowedLocations"
188+
}
189+
},
168190
"signBlob": {
169191
"description": "Signs a blob using a service account's system-managed private key.",
170192
"flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}:signBlob",
@@ -226,7 +248,7 @@
226248
}
227249
}
228250
},
229-
"revision": "20240624",
251+
"revision": "20241024",
230252
"rootUrl": "https://iamcredentials.googleapis.com/",
231253
"schemas": {
232254
"GenerateAccessTokenRequest": {
@@ -300,6 +322,26 @@
300322
},
301323
"type": "object"
302324
},
325+
"ServiceAccountAllowedLocations": {
326+
"description": "Represents a list of allowed locations for given service account.",
327+
"id": "ServiceAccountAllowedLocations",
328+
"properties": {
329+
"encodedLocations": {
330+
"description": "Output only. The hex encoded bitmap of the trust boundary locations",
331+
"readOnly": true,
332+
"type": "string"
333+
},
334+
"locations": {
335+
"description": "Output only. The human readable trust boundary locations. For example, [\"us-central1\", \"europe-west1\"]",
336+
"items": {
337+
"type": "string"
338+
},
339+
"readOnly": true,
340+
"type": "array"
341+
}
342+
},
343+
"type": "object"
344+
},
303345
"SignBlobRequest": {
304346
"id": "SignBlobRequest",
305347
"properties": {

0 commit comments

Comments
 (0)