google-apis-iam_v1 0.85.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 +4 -0
- data/lib/google/apis/iam_v1/gem_version.rb +2 -2
- data/lib/google/apis/iam_v1/service.rb +151 -0
- 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
|
@@ -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
|
|
@@ -2235,6 +2235,41 @@ module Google
|
|
|
2235
2235
|
execute_or_queue_command(command, &block)
|
|
2236
2236
|
end
|
|
2237
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
|
+
|
|
2238
2273
|
# Creates a new WorkloadIdentityPool. You cannot reuse the name of a deleted
|
|
2239
2274
|
# pool until 30 days after deletion.
|
|
2240
2275
|
# @param [String] parent
|
|
@@ -2419,6 +2454,53 @@ module Google
|
|
|
2419
2454
|
execute_or_queue_command(command, &block)
|
|
2420
2455
|
end
|
|
2421
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
|
+
|
|
2422
2504
|
# Updates an existing WorkloadIdentityPool.
|
|
2423
2505
|
# @param [String] name
|
|
2424
2506
|
# Identifier. The resource name of the pool.
|
|
@@ -2455,6 +2537,75 @@ module Google
|
|
|
2455
2537
|
execute_or_queue_command(command, &block)
|
|
2456
2538
|
end
|
|
2457
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
|
+
|
|
2458
2609
|
# Sets the IAM policies on a WorkloadIdentityPool
|
|
2459
2610
|
# @param [String] resource
|
|
2460
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:
|