Skip to content

Commit a4d0aa3

Browse files
feat(iam): update the api
#### iam:v1 The following keys were deleted: - schemas.WorkforcePool.properties.name.readOnly (Total Keys: 1) - schemas.WorkforcePoolProvider.properties.name.readOnly (Total Keys: 1) - schemas.WorkforcePoolProviderKey.properties.name.readOnly (Total Keys: 1)
1 parent 58f7115 commit a4d0aa3

File tree

4 files changed

+19
-22
lines changed

4 files changed

+19
-22
lines changed

docs/dyn/iam_v1.locations.workforcePools.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ <h3>Method Details</h3>
150150
&quot;disabled&quot;: True or False, # Optional. Disables the workforce pool. You cannot use a disabled pool to exchange tokens, or use existing tokens to access resources. If the pool is re-enabled, existing tokens grant access again.
151151
&quot;displayName&quot;: &quot;A String&quot;, # Optional. A user-specified display name of the pool in Google Cloud Console. Cannot exceed 32 characters.
152152
&quot;expireTime&quot;: &quot;A String&quot;, # Output only. Time after which the workforce pool will be permanently purged and cannot be recovered.
153-
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the pool. Format: `locations/{location}/workforcePools/{workforce_pool_id}`
153+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the pool. Format: `locations/{location}/workforcePools/{workforce_pool_id}`
154154
&quot;parent&quot;: &quot;A String&quot;, # Immutable. The resource name of the parent. Format: `organizations/{org-id}`.
155155
&quot;sessionDuration&quot;: &quot;A String&quot;, # Optional. Duration that the Google Cloud access tokens, console sign-in sessions, and `gcloud` sign-in sessions from this pool are valid. Must be greater than 15 minutes (900s) and less than 12 hours (43200s). If `session_duration` is not configured, minted credentials have a default duration of one hour (3600s). For SAML providers, the lifetime of the token is the minimum of the `session_duration` and the `SessionNotOnOrAfter` claim in the SAML assertion.
156156
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the pool.
@@ -248,7 +248,7 @@ <h3>Method Details</h3>
248248
&quot;disabled&quot;: True or False, # Optional. Disables the workforce pool. You cannot use a disabled pool to exchange tokens, or use existing tokens to access resources. If the pool is re-enabled, existing tokens grant access again.
249249
&quot;displayName&quot;: &quot;A String&quot;, # Optional. A user-specified display name of the pool in Google Cloud Console. Cannot exceed 32 characters.
250250
&quot;expireTime&quot;: &quot;A String&quot;, # Output only. Time after which the workforce pool will be permanently purged and cannot be recovered.
251-
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the pool. Format: `locations/{location}/workforcePools/{workforce_pool_id}`
251+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the pool. Format: `locations/{location}/workforcePools/{workforce_pool_id}`
252252
&quot;parent&quot;: &quot;A String&quot;, # Immutable. The resource name of the parent. Format: `organizations/{org-id}`.
253253
&quot;sessionDuration&quot;: &quot;A String&quot;, # Optional. Duration that the Google Cloud access tokens, console sign-in sessions, and `gcloud` sign-in sessions from this pool are valid. Must be greater than 15 minutes (900s) and less than 12 hours (43200s). If `session_duration` is not configured, minted credentials have a default duration of one hour (3600s). For SAML providers, the lifetime of the token is the minimum of the `session_duration` and the `SessionNotOnOrAfter` claim in the SAML assertion.
254254
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the pool.
@@ -345,7 +345,7 @@ <h3>Method Details</h3>
345345
&quot;disabled&quot;: True or False, # Optional. Disables the workforce pool. You cannot use a disabled pool to exchange tokens, or use existing tokens to access resources. If the pool is re-enabled, existing tokens grant access again.
346346
&quot;displayName&quot;: &quot;A String&quot;, # Optional. A user-specified display name of the pool in Google Cloud Console. Cannot exceed 32 characters.
347347
&quot;expireTime&quot;: &quot;A String&quot;, # Output only. Time after which the workforce pool will be permanently purged and cannot be recovered.
348-
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the pool. Format: `locations/{location}/workforcePools/{workforce_pool_id}`
348+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the pool. Format: `locations/{location}/workforcePools/{workforce_pool_id}`
349349
&quot;parent&quot;: &quot;A String&quot;, # Immutable. The resource name of the parent. Format: `organizations/{org-id}`.
350350
&quot;sessionDuration&quot;: &quot;A String&quot;, # Optional. Duration that the Google Cloud access tokens, console sign-in sessions, and `gcloud` sign-in sessions from this pool are valid. Must be greater than 15 minutes (900s) and less than 12 hours (43200s). If `session_duration` is not configured, minted credentials have a default duration of one hour (3600s). For SAML providers, the lifetime of the token is the minimum of the `session_duration` and the `SessionNotOnOrAfter` claim in the SAML assertion.
351351
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the pool.
@@ -373,7 +373,7 @@ <h3>Method Details</h3>
373373
<pre>Updates an existing WorkforcePool.
374374

375375
Args:
376-
name: string, Output only. The resource name of the pool. Format: `locations/{location}/workforcePools/{workforce_pool_id}` (required)
376+
name: string, Identifier. The resource name of the pool. Format: `locations/{location}/workforcePools/{workforce_pool_id}` (required)
377377
body: object, The request body.
378378
The object takes the form of:
379379

@@ -390,7 +390,7 @@ <h3>Method Details</h3>
390390
&quot;disabled&quot;: True or False, # Optional. Disables the workforce pool. You cannot use a disabled pool to exchange tokens, or use existing tokens to access resources. If the pool is re-enabled, existing tokens grant access again.
391391
&quot;displayName&quot;: &quot;A String&quot;, # Optional. A user-specified display name of the pool in Google Cloud Console. Cannot exceed 32 characters.
392392
&quot;expireTime&quot;: &quot;A String&quot;, # Output only. Time after which the workforce pool will be permanently purged and cannot be recovered.
393-
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the pool. Format: `locations/{location}/workforcePools/{workforce_pool_id}`
393+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the pool. Format: `locations/{location}/workforcePools/{workforce_pool_id}`
394394
&quot;parent&quot;: &quot;A String&quot;, # Immutable. The resource name of the parent. Format: `organizations/{org-id}`.
395395
&quot;sessionDuration&quot;: &quot;A String&quot;, # Optional. Duration that the Google Cloud access tokens, console sign-in sessions, and `gcloud` sign-in sessions from this pool are valid. Must be greater than 15 minutes (900s) and less than 12 hours (43200s). If `session_duration` is not configured, minted credentials have a default duration of one hour (3600s). For SAML providers, the lifetime of the token is the minimum of the `session_duration` and the `SessionNotOnOrAfter` claim in the SAML assertion.
396396
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the pool.

docs/dyn/iam_v1.locations.workforcePools.providers.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ <h3>Method Details</h3>
146146
&quot;filter&quot;: &quot;A String&quot;, # Optional. The filter used to request specific records from IdP. In case of attributes type as AZURE_AD_GROUPS_MAIL, it represents the filter used to request specific groups for users from IdP. By default, all of the groups associated with the user are fetched. The groups should be mail enabled and security enabled. See https://learn.microsoft.com/en-us/graph/search-query-parameter for more details.
147147
},
148148
},
149-
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the provider. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}`
149+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the provider. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}`
150150
&quot;oidc&quot;: { # Represents an OpenId Connect 1.0 identity provider. # An OpenId Connect 1.0 identity provider configuration.
151151
&quot;clientId&quot;: &quot;A String&quot;, # Required. The client ID. Must match the audience claim of the JWT issued by the identity provider.
152152
&quot;clientSecret&quot;: { # Representation of a client secret configured for the OIDC provider. # Optional. The optional client secret. Required to enable Authorization Code flow for web sign-in.
@@ -273,7 +273,7 @@ <h3>Method Details</h3>
273273
&quot;filter&quot;: &quot;A String&quot;, # Optional. The filter used to request specific records from IdP. In case of attributes type as AZURE_AD_GROUPS_MAIL, it represents the filter used to request specific groups for users from IdP. By default, all of the groups associated with the user are fetched. The groups should be mail enabled and security enabled. See https://learn.microsoft.com/en-us/graph/search-query-parameter for more details.
274274
},
275275
},
276-
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the provider. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}`
276+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the provider. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}`
277277
&quot;oidc&quot;: { # Represents an OpenId Connect 1.0 identity provider. # An OpenId Connect 1.0 identity provider configuration.
278278
&quot;clientId&quot;: &quot;A String&quot;, # Required. The client ID. Must match the audience claim of the JWT issued by the identity provider.
279279
&quot;clientSecret&quot;: { # Representation of a client secret configured for the OIDC provider. # Optional. The optional client secret. Required to enable Authorization Code flow for web sign-in.
@@ -342,7 +342,7 @@ <h3>Method Details</h3>
342342
&quot;filter&quot;: &quot;A String&quot;, # Optional. The filter used to request specific records from IdP. In case of attributes type as AZURE_AD_GROUPS_MAIL, it represents the filter used to request specific groups for users from IdP. By default, all of the groups associated with the user are fetched. The groups should be mail enabled and security enabled. See https://learn.microsoft.com/en-us/graph/search-query-parameter for more details.
343343
},
344344
},
345-
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the provider. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}`
345+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the provider. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}`
346346
&quot;oidc&quot;: { # Represents an OpenId Connect 1.0 identity provider. # An OpenId Connect 1.0 identity provider configuration.
347347
&quot;clientId&quot;: &quot;A String&quot;, # Required. The client ID. Must match the audience claim of the JWT issued by the identity provider.
348348
&quot;clientSecret&quot;: { # Representation of a client secret configured for the OIDC provider. # Optional. The optional client secret. Required to enable Authorization Code flow for web sign-in.
@@ -389,7 +389,7 @@ <h3>Method Details</h3>
389389
<pre>Updates an existing WorkforcePoolProvider.
390390

391391
Args:
392-
name: string, Output only. The resource name of the provider. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}` (required)
392+
name: string, Identifier. The resource name of the provider. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}` (required)
393393
body: object, The request body.
394394
The object takes the form of:
395395

@@ -416,7 +416,7 @@ <h3>Method Details</h3>
416416
&quot;filter&quot;: &quot;A String&quot;, # Optional. The filter used to request specific records from IdP. In case of attributes type as AZURE_AD_GROUPS_MAIL, it represents the filter used to request specific groups for users from IdP. By default, all of the groups associated with the user are fetched. The groups should be mail enabled and security enabled. See https://learn.microsoft.com/en-us/graph/search-query-parameter for more details.
417417
},
418418
},
419-
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the provider. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}`
419+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the provider. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}`
420420
&quot;oidc&quot;: { # Represents an OpenId Connect 1.0 identity provider. # An OpenId Connect 1.0 identity provider configuration.
421421
&quot;clientId&quot;: &quot;A String&quot;, # Required. The client ID. Must match the audience claim of the JWT issued by the identity provider.
422422
&quot;clientSecret&quot;: { # Representation of a client secret configured for the OIDC provider. # Optional. The optional client secret. Required to enable Authorization Code flow for web sign-in.

docs/dyn/iam_v1.locations.workforcePools.providers.keys.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ <h3>Method Details</h3>
124124
&quot;notAfterTime&quot;: &quot;A String&quot;, # Output only. Latest timestamp when this key is valid. Attempts to use this key after this time will fail. Only present if the key data represents a X.509 certificate.
125125
&quot;notBeforeTime&quot;: &quot;A String&quot;, # Output only. Earliest timestamp when this key is valid. Attempts to use this key before this time will fail. Only present if the key data represents a X.509 certificate.
126126
},
127-
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the key.
127+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the key. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}/keys/{key_id}`
128128
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the key.
129129
&quot;use&quot;: &quot;A String&quot;, # Required. The purpose of the key.
130130
}
@@ -217,7 +217,7 @@ <h3>Method Details</h3>
217217
&quot;notAfterTime&quot;: &quot;A String&quot;, # Output only. Latest timestamp when this key is valid. Attempts to use this key after this time will fail. Only present if the key data represents a X.509 certificate.
218218
&quot;notBeforeTime&quot;: &quot;A String&quot;, # Output only. Earliest timestamp when this key is valid. Attempts to use this key before this time will fail. Only present if the key data represents a X.509 certificate.
219219
},
220-
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the key.
220+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the key. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}/keys/{key_id}`
221221
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the key.
222222
&quot;use&quot;: &quot;A String&quot;, # Required. The purpose of the key.
223223
}</pre>
@@ -252,7 +252,7 @@ <h3>Method Details</h3>
252252
&quot;notAfterTime&quot;: &quot;A String&quot;, # Output only. Latest timestamp when this key is valid. Attempts to use this key after this time will fail. Only present if the key data represents a X.509 certificate.
253253
&quot;notBeforeTime&quot;: &quot;A String&quot;, # Output only. Earliest timestamp when this key is valid. Attempts to use this key before this time will fail. Only present if the key data represents a X.509 certificate.
254254
},
255-
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the key.
255+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the key. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}/keys/{key_id}`
256256
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the key.
257257
&quot;use&quot;: &quot;A String&quot;, # Required. The purpose of the key.
258258
},

googleapiclient/discovery_cache/documents/iam.v1.json

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@
316316
],
317317
"parameters": {
318318
"name": {
319-
"description": "Output only. The resource name of the pool. Format: `locations/{location}/workforcePools/{workforce_pool_id}`",
319+
"description": "Identifier. The resource name of the pool. Format: `locations/{location}/workforcePools/{workforce_pool_id}`",
320320
"location": "path",
321321
"pattern": "^locations/[^/]+/workforcePools/[^/]+$",
322322
"required": true,
@@ -591,7 +591,7 @@
591591
],
592592
"parameters": {
593593
"name": {
594-
"description": "Output only. The resource name of the provider. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}`",
594+
"description": "Identifier. The resource name of the provider. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}`",
595595
"location": "path",
596596
"pattern": "^locations/[^/]+/workforcePools/[^/]+/providers/[^/]+$",
597597
"required": true,
@@ -3188,7 +3188,7 @@
31883188
}
31893189
}
31903190
},
3191-
"revision": "20241114",
3191+
"revision": "20250102",
31923192
"rootUrl": "https://iam.googleapis.com/",
31933193
"schemas": {
31943194
"AccessRestrictions": {
@@ -5016,8 +5016,7 @@ false
50165016
"type": "string"
50175017
},
50185018
"name": {
5019-
"description": "Output only. The resource name of the pool. Format: `locations/{location}/workforcePools/{workforce_pool_id}`",
5020-
"readOnly": true,
5019+
"description": "Identifier. The resource name of the pool. Format: `locations/{location}/workforcePools/{workforce_pool_id}`",
50215020
"type": "string"
50225021
},
50235022
"parent": {
@@ -5085,8 +5084,7 @@ false
50855084
"description": "Optional. The configuration for OAuth 2.0 client used to get the additional user attributes. This should be used when users can't get the desired claims in authentication credentials. Currently this configuration is only supported with OIDC protocol."
50865085
},
50875086
"name": {
5088-
"description": "Output only. The resource name of the provider. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}`",
5089-
"readOnly": true,
5087+
"description": "Identifier. The resource name of the provider. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}`",
50905088
"type": "string"
50915089
},
50925090
"oidc": {
@@ -5130,8 +5128,7 @@ false
51305128
"description": "Immutable. Public half of the asymmetric key."
51315129
},
51325130
"name": {
5133-
"description": "Output only. The resource name of the key.",
5134-
"readOnly": true,
5131+
"description": "Identifier. The resource name of the key. Format: `locations/{location}/workforcePools/{workforce_pool_id}/providers/{provider_id}/keys/{key_id}`",
51355132
"type": "string"
51365133
},
51375134
"state": {

0 commit comments

Comments
 (0)