google-apis-iam_v1 0.84.0 → 0.86.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/iam_v1/classes.rb +0 -14
- data/lib/google/apis/iam_v1/gem_version.rb +2 -2
- data/lib/google/apis/iam_v1/representations.rb +0 -12
- data/lib/google/apis/iam_v1/service.rb +151 -36
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b8204fe83d36170b721eb049752722e7e7af7ac4d519b6c9163dad2ffd6752fa
|
|
4
|
+
data.tar.gz: cb38031856b4a805b0ceffe3af11c3859461e27f587f76698abfea9f6c2f62aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d84705993a8998e463655f7f01687494d1cbcf8454b2b9d8b96628c5c844ed8c0d180d020caf22e06e303ccd418ecc4fb8c489647a58f0a4adf97d490a4bb937
|
|
7
|
+
data.tar.gz: 736fe50308e338fd92e16f590a654ae9037e402c16491acc3dcda39c8174aebf5cf2ad9359c977a2714cfc6038a4ae14983acee82475c94dbb97aba08d5a71d4
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-iam_v1
|
|
2
2
|
|
|
3
|
+
### v0.86.0 (2026-04-19)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260320
|
|
6
|
+
|
|
7
|
+
### v0.85.0 (2026-03-22)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260313
|
|
10
|
+
|
|
3
11
|
### v0.84.0 (2026-03-15)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260306
|
|
@@ -3170,20 +3170,6 @@ module Google
|
|
|
3170
3170
|
end
|
|
3171
3171
|
end
|
|
3172
3172
|
|
|
3173
|
-
# Gemini Enterprise only. Request message for
|
|
3174
|
-
# UndeleteWorkforcePoolProviderScimToken.
|
|
3175
|
-
class UndeleteWorkforcePoolProviderScimTokenRequest
|
|
3176
|
-
include Google::Apis::Core::Hashable
|
|
3177
|
-
|
|
3178
|
-
def initialize(**args)
|
|
3179
|
-
update!(**args)
|
|
3180
|
-
end
|
|
3181
|
-
|
|
3182
|
-
# Update properties of this object
|
|
3183
|
-
def update!(**args)
|
|
3184
|
-
end
|
|
3185
|
-
end
|
|
3186
|
-
|
|
3187
3173
|
# Request message for UndeleteWorkforcePool.
|
|
3188
3174
|
class UndeleteWorkforcePoolRequest
|
|
3189
3175
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module IamV1
|
|
18
18
|
# Version of the google-apis-iam_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.86.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260320"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -592,12 +592,6 @@ module Google
|
|
|
592
592
|
include Google::Apis::Core::JsonObjectSupport
|
|
593
593
|
end
|
|
594
594
|
|
|
595
|
-
class UndeleteWorkforcePoolProviderScimTokenRequest
|
|
596
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
597
|
-
|
|
598
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
599
|
-
end
|
|
600
|
-
|
|
601
595
|
class UndeleteWorkforcePoolRequest
|
|
602
596
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
603
597
|
|
|
@@ -1555,12 +1549,6 @@ module Google
|
|
|
1555
1549
|
end
|
|
1556
1550
|
end
|
|
1557
1551
|
|
|
1558
|
-
class UndeleteWorkforcePoolProviderScimTokenRequest
|
|
1559
|
-
# @private
|
|
1560
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1561
|
-
end
|
|
1562
|
-
end
|
|
1563
|
-
|
|
1564
1552
|
class UndeleteWorkforcePoolRequest
|
|
1565
1553
|
# @private
|
|
1566
1554
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1367,42 +1367,6 @@ module Google
|
|
|
1367
1367
|
execute_or_queue_command(command, &block)
|
|
1368
1368
|
end
|
|
1369
1369
|
|
|
1370
|
-
# Gemini Enterprise only. Undeletes a WorkforcePoolProviderScimToken,that was
|
|
1371
|
-
# deleted fewer than 30 days ago.
|
|
1372
|
-
# @param [String] name
|
|
1373
|
-
# Required. Gemini Enterprise only. The name of the SCIM token to undelete.
|
|
1374
|
-
# Format: `locations/`location`/workforcePools/`workforce_pool`/providers/`
|
|
1375
|
-
# provider`/scimTenants/`scim_tenant`/tokens/`token``
|
|
1376
|
-
# @param [Google::Apis::IamV1::UndeleteWorkforcePoolProviderScimTokenRequest] undelete_workforce_pool_provider_scim_token_request_object
|
|
1377
|
-
# @param [String] fields
|
|
1378
|
-
# Selector specifying which fields to include in a partial response.
|
|
1379
|
-
# @param [String] quota_user
|
|
1380
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1381
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1382
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1383
|
-
# Request-specific options
|
|
1384
|
-
#
|
|
1385
|
-
# @yield [result, err] Result & error if block supplied
|
|
1386
|
-
# @yieldparam result [Google::Apis::IamV1::WorkforcePoolProviderScimToken] parsed result object
|
|
1387
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1388
|
-
#
|
|
1389
|
-
# @return [Google::Apis::IamV1::WorkforcePoolProviderScimToken]
|
|
1390
|
-
#
|
|
1391
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1392
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1393
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1394
|
-
def undelete_workforce_pool_provider_scim_token(name, undelete_workforce_pool_provider_scim_token_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1395
|
-
command = make_simple_command(:post, 'v1/{+name}:undelete', options)
|
|
1396
|
-
command.request_representation = Google::Apis::IamV1::UndeleteWorkforcePoolProviderScimTokenRequest::Representation
|
|
1397
|
-
command.request_object = undelete_workforce_pool_provider_scim_token_request_object
|
|
1398
|
-
command.response_representation = Google::Apis::IamV1::WorkforcePoolProviderScimToken::Representation
|
|
1399
|
-
command.response_class = Google::Apis::IamV1::WorkforcePoolProviderScimToken
|
|
1400
|
-
command.params['name'] = name unless name.nil?
|
|
1401
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1402
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1403
|
-
execute_or_queue_command(command, &block)
|
|
1404
|
-
end
|
|
1405
|
-
|
|
1406
1370
|
# Deletes a WorkforcePoolSubject. Subject must not already be in a deleted state.
|
|
1407
1371
|
# A WorkforcePoolSubject is automatically created the first time an external
|
|
1408
1372
|
# credential is exchanged for a Google Cloud credential using a mapped `google.
|
|
@@ -2271,6 +2235,41 @@ module Google
|
|
|
2271
2235
|
execute_or_queue_command(command, &block)
|
|
2272
2236
|
end
|
|
2273
2237
|
|
|
2238
|
+
# Add an AttestationRule on a WorkloadIdentityPoolManagedIdentity. The total
|
|
2239
|
+
# attestation rules after addition must not exceed 50.
|
|
2240
|
+
# @param [String] resource
|
|
2241
|
+
# Required. The resource name of the managed identity or namespace resource to
|
|
2242
|
+
# add an attestation rule to.
|
|
2243
|
+
# @param [Google::Apis::IamV1::AddAttestationRuleRequest] add_attestation_rule_request_object
|
|
2244
|
+
# @param [String] fields
|
|
2245
|
+
# Selector specifying which fields to include in a partial response.
|
|
2246
|
+
# @param [String] quota_user
|
|
2247
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2248
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2249
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2250
|
+
# Request-specific options
|
|
2251
|
+
#
|
|
2252
|
+
# @yield [result, err] Result & error if block supplied
|
|
2253
|
+
# @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
|
|
2254
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2255
|
+
#
|
|
2256
|
+
# @return [Google::Apis::IamV1::Operation]
|
|
2257
|
+
#
|
|
2258
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2259
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2260
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2261
|
+
def add_workload_identity_pool_attestation_rule(resource, add_attestation_rule_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2262
|
+
command = make_simple_command(:post, 'v1/{+resource}:addAttestationRule', options)
|
|
2263
|
+
command.request_representation = Google::Apis::IamV1::AddAttestationRuleRequest::Representation
|
|
2264
|
+
command.request_object = add_attestation_rule_request_object
|
|
2265
|
+
command.response_representation = Google::Apis::IamV1::Operation::Representation
|
|
2266
|
+
command.response_class = Google::Apis::IamV1::Operation
|
|
2267
|
+
command.params['resource'] = resource unless resource.nil?
|
|
2268
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2269
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2270
|
+
execute_or_queue_command(command, &block)
|
|
2271
|
+
end
|
|
2272
|
+
|
|
2274
2273
|
# Creates a new WorkloadIdentityPool. You cannot reuse the name of a deleted
|
|
2275
2274
|
# pool until 30 days after deletion.
|
|
2276
2275
|
# @param [String] parent
|
|
@@ -2455,6 +2454,53 @@ module Google
|
|
|
2455
2454
|
execute_or_queue_command(command, &block)
|
|
2456
2455
|
end
|
|
2457
2456
|
|
|
2457
|
+
# List all AttestationRule on a WorkloadIdentityPoolManagedIdentity.
|
|
2458
|
+
# @param [String] resource
|
|
2459
|
+
# Required. The resource name of the managed identity or namespace resource to
|
|
2460
|
+
# list attestation rules of.
|
|
2461
|
+
# @param [String] filter
|
|
2462
|
+
# Optional. A query filter. Supports the following function: * `container_ids()`:
|
|
2463
|
+
# Returns only the AttestationRules under the specific container ids. The
|
|
2464
|
+
# function expects a comma-delimited list with only project numbers and must use
|
|
2465
|
+
# the format `projects/`. For example: `container_ids(projects/, projects/,...)`.
|
|
2466
|
+
# @param [Fixnum] page_size
|
|
2467
|
+
# Optional. The maximum number of AttestationRules to return. If unspecified, at
|
|
2468
|
+
# most 50 AttestationRules are returned. The maximum value is 100; values above
|
|
2469
|
+
# 100 are truncated to 100.
|
|
2470
|
+
# @param [String] page_token
|
|
2471
|
+
# Optional. A page token, received from a previous `
|
|
2472
|
+
# ListWorkloadIdentityPoolProviderKeys` call. Provide this to retrieve the
|
|
2473
|
+
# subsequent page.
|
|
2474
|
+
# @param [String] fields
|
|
2475
|
+
# Selector specifying which fields to include in a partial response.
|
|
2476
|
+
# @param [String] quota_user
|
|
2477
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2478
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2479
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2480
|
+
# Request-specific options
|
|
2481
|
+
#
|
|
2482
|
+
# @yield [result, err] Result & error if block supplied
|
|
2483
|
+
# @yieldparam result [Google::Apis::IamV1::ListAttestationRulesResponse] parsed result object
|
|
2484
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2485
|
+
#
|
|
2486
|
+
# @return [Google::Apis::IamV1::ListAttestationRulesResponse]
|
|
2487
|
+
#
|
|
2488
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2489
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2490
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2491
|
+
def list_project_location_workload_identity_pool_attestation_rules(resource, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2492
|
+
command = make_simple_command(:get, 'v1/{+resource}:listAttestationRules', options)
|
|
2493
|
+
command.response_representation = Google::Apis::IamV1::ListAttestationRulesResponse::Representation
|
|
2494
|
+
command.response_class = Google::Apis::IamV1::ListAttestationRulesResponse
|
|
2495
|
+
command.params['resource'] = resource unless resource.nil?
|
|
2496
|
+
command.query['filter'] = filter unless filter.nil?
|
|
2497
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2498
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2499
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2500
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2501
|
+
execute_or_queue_command(command, &block)
|
|
2502
|
+
end
|
|
2503
|
+
|
|
2458
2504
|
# Updates an existing WorkloadIdentityPool.
|
|
2459
2505
|
# @param [String] name
|
|
2460
2506
|
# Identifier. The resource name of the pool.
|
|
@@ -2491,6 +2537,75 @@ module Google
|
|
|
2491
2537
|
execute_or_queue_command(command, &block)
|
|
2492
2538
|
end
|
|
2493
2539
|
|
|
2540
|
+
# Remove an AttestationRule on a WorkloadIdentityPoolManagedIdentity.
|
|
2541
|
+
# @param [String] resource
|
|
2542
|
+
# Required. The resource name of the managed identity or namespace resource to
|
|
2543
|
+
# remove an attestation rule from.
|
|
2544
|
+
# @param [Google::Apis::IamV1::RemoveAttestationRuleRequest] remove_attestation_rule_request_object
|
|
2545
|
+
# @param [String] fields
|
|
2546
|
+
# Selector specifying which fields to include in a partial response.
|
|
2547
|
+
# @param [String] quota_user
|
|
2548
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2549
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2550
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2551
|
+
# Request-specific options
|
|
2552
|
+
#
|
|
2553
|
+
# @yield [result, err] Result & error if block supplied
|
|
2554
|
+
# @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
|
|
2555
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2556
|
+
#
|
|
2557
|
+
# @return [Google::Apis::IamV1::Operation]
|
|
2558
|
+
#
|
|
2559
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2560
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2561
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2562
|
+
def remove_workload_identity_pool_attestation_rule(resource, remove_attestation_rule_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2563
|
+
command = make_simple_command(:post, 'v1/{+resource}:removeAttestationRule', options)
|
|
2564
|
+
command.request_representation = Google::Apis::IamV1::RemoveAttestationRuleRequest::Representation
|
|
2565
|
+
command.request_object = remove_attestation_rule_request_object
|
|
2566
|
+
command.response_representation = Google::Apis::IamV1::Operation::Representation
|
|
2567
|
+
command.response_class = Google::Apis::IamV1::Operation
|
|
2568
|
+
command.params['resource'] = resource unless resource.nil?
|
|
2569
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2570
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2571
|
+
execute_or_queue_command(command, &block)
|
|
2572
|
+
end
|
|
2573
|
+
|
|
2574
|
+
# Set all AttestationRule on a WorkloadIdentityPoolManagedIdentity. A maximum of
|
|
2575
|
+
# 50 AttestationRules can be set.
|
|
2576
|
+
# @param [String] resource
|
|
2577
|
+
# Required. The resource name of the managed identity or namespace resource to
|
|
2578
|
+
# add an attestation rule to.
|
|
2579
|
+
# @param [Google::Apis::IamV1::SetAttestationRulesRequest] set_attestation_rules_request_object
|
|
2580
|
+
# @param [String] fields
|
|
2581
|
+
# Selector specifying which fields to include in a partial response.
|
|
2582
|
+
# @param [String] quota_user
|
|
2583
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2584
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2585
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2586
|
+
# Request-specific options
|
|
2587
|
+
#
|
|
2588
|
+
# @yield [result, err] Result & error if block supplied
|
|
2589
|
+
# @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
|
|
2590
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2591
|
+
#
|
|
2592
|
+
# @return [Google::Apis::IamV1::Operation]
|
|
2593
|
+
#
|
|
2594
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2595
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2596
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2597
|
+
def set_workload_identity_pool_attestation_rules(resource, set_attestation_rules_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2598
|
+
command = make_simple_command(:post, 'v1/{+resource}:setAttestationRules', options)
|
|
2599
|
+
command.request_representation = Google::Apis::IamV1::SetAttestationRulesRequest::Representation
|
|
2600
|
+
command.request_object = set_attestation_rules_request_object
|
|
2601
|
+
command.response_representation = Google::Apis::IamV1::Operation::Representation
|
|
2602
|
+
command.response_class = Google::Apis::IamV1::Operation
|
|
2603
|
+
command.params['resource'] = resource unless resource.nil?
|
|
2604
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2605
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2606
|
+
execute_or_queue_command(command, &block)
|
|
2607
|
+
end
|
|
2608
|
+
|
|
2494
2609
|
# Sets the IAM policies on a WorkloadIdentityPool
|
|
2495
2610
|
# @param [String] resource
|
|
2496
2611
|
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-iam_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.86.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -58,7 +58,7 @@ licenses:
|
|
|
58
58
|
metadata:
|
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iam_v1/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v1/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v1/v0.86.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iam_v1
|
|
63
63
|
rdoc_options: []
|
|
64
64
|
require_paths:
|