google-apis-iam_v1 0.70.0 → 0.71.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: 5837cfd82a0f2e9e5e4b0c1d9d8331a1c3fcd0aa99360d4b88918775a797f345
|
4
|
+
data.tar.gz: 010b17050026a728c73765d4c99b47c283e506ffc136ffe9e1209c20c46faf28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94cfee9806d0a96bea2a6b67f6b74c890302a012ea006cb9a7c08ed5e257cc14b1aa368ded7ae1230871a3c2d055109a5ceefc4622f0f8c6dc56443a1d78f70a
|
7
|
+
data.tar.gz: dfe0a203d21f864d3b8b6a72192458feda26f7c3fb0ebbb178d582a460780a69d15e971794f916c702b1191e352c96f122d79347b9f20272d41b7760d018c2f4
|
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.71.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 = "20250619"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1814,6 +1814,41 @@ module Google
|
|
1814
1814
|
execute_or_queue_command(command, &block)
|
1815
1815
|
end
|
1816
1816
|
|
1817
|
+
# Add an AttestationRule on a WorkloadIdentityPoolManagedIdentity. The total
|
1818
|
+
# attestation rules after addition must not exceed 50.
|
1819
|
+
# @param [String] resource
|
1820
|
+
# Required. The resource name of the managed identity or namespace resource to
|
1821
|
+
# add an attestation rule to.
|
1822
|
+
# @param [Google::Apis::IamV1::AddAttestationRuleRequest] add_attestation_rule_request_object
|
1823
|
+
# @param [String] fields
|
1824
|
+
# Selector specifying which fields to include in a partial response.
|
1825
|
+
# @param [String] quota_user
|
1826
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1827
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1828
|
+
# @param [Google::Apis::RequestOptions] options
|
1829
|
+
# Request-specific options
|
1830
|
+
#
|
1831
|
+
# @yield [result, err] Result & error if block supplied
|
1832
|
+
# @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
|
1833
|
+
# @yieldparam err [StandardError] error object if request failed
|
1834
|
+
#
|
1835
|
+
# @return [Google::Apis::IamV1::Operation]
|
1836
|
+
#
|
1837
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1838
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1839
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1840
|
+
def add_workload_identity_pool_attestation_rule(resource, add_attestation_rule_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1841
|
+
command = make_simple_command(:post, 'v1/{+resource}:addAttestationRule', options)
|
1842
|
+
command.request_representation = Google::Apis::IamV1::AddAttestationRuleRequest::Representation
|
1843
|
+
command.request_object = add_attestation_rule_request_object
|
1844
|
+
command.response_representation = Google::Apis::IamV1::Operation::Representation
|
1845
|
+
command.response_class = Google::Apis::IamV1::Operation
|
1846
|
+
command.params['resource'] = resource unless resource.nil?
|
1847
|
+
command.query['fields'] = fields unless fields.nil?
|
1848
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1849
|
+
execute_or_queue_command(command, &block)
|
1850
|
+
end
|
1851
|
+
|
1817
1852
|
# Creates a new WorkloadIdentityPool. You cannot reuse the name of a deleted
|
1818
1853
|
# pool until 30 days after deletion.
|
1819
1854
|
# @param [String] parent
|
@@ -1998,6 +2033,53 @@ module Google
|
|
1998
2033
|
execute_or_queue_command(command, &block)
|
1999
2034
|
end
|
2000
2035
|
|
2036
|
+
# List all AttestationRule on a WorkloadIdentityPoolManagedIdentity.
|
2037
|
+
# @param [String] resource
|
2038
|
+
# Required. The resource name of the managed identity or namespace resource to
|
2039
|
+
# list attestation rules of.
|
2040
|
+
# @param [String] filter
|
2041
|
+
# Optional. A query filter. Supports the following function: * `container_ids()`:
|
2042
|
+
# Returns only the AttestationRules under the specific container ids. The
|
2043
|
+
# function expects a comma-delimited list with only project numbers and must use
|
2044
|
+
# the format `projects/`. For example: `container_ids(projects/, projects/,...)`.
|
2045
|
+
# @param [Fixnum] page_size
|
2046
|
+
# Optional. The maximum number of AttestationRules to return. If unspecified, at
|
2047
|
+
# most 50 AttestationRules are returned. The maximum value is 100; values above
|
2048
|
+
# 100 are truncated to 100.
|
2049
|
+
# @param [String] page_token
|
2050
|
+
# Optional. A page token, received from a previous `
|
2051
|
+
# ListWorkloadIdentityPoolProviderKeys` call. Provide this to retrieve the
|
2052
|
+
# subsequent page.
|
2053
|
+
# @param [String] fields
|
2054
|
+
# Selector specifying which fields to include in a partial response.
|
2055
|
+
# @param [String] quota_user
|
2056
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2057
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2058
|
+
# @param [Google::Apis::RequestOptions] options
|
2059
|
+
# Request-specific options
|
2060
|
+
#
|
2061
|
+
# @yield [result, err] Result & error if block supplied
|
2062
|
+
# @yieldparam result [Google::Apis::IamV1::ListAttestationRulesResponse] parsed result object
|
2063
|
+
# @yieldparam err [StandardError] error object if request failed
|
2064
|
+
#
|
2065
|
+
# @return [Google::Apis::IamV1::ListAttestationRulesResponse]
|
2066
|
+
#
|
2067
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2068
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2069
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2070
|
+
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)
|
2071
|
+
command = make_simple_command(:get, 'v1/{+resource}:listAttestationRules', options)
|
2072
|
+
command.response_representation = Google::Apis::IamV1::ListAttestationRulesResponse::Representation
|
2073
|
+
command.response_class = Google::Apis::IamV1::ListAttestationRulesResponse
|
2074
|
+
command.params['resource'] = resource unless resource.nil?
|
2075
|
+
command.query['filter'] = filter unless filter.nil?
|
2076
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2077
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2078
|
+
command.query['fields'] = fields unless fields.nil?
|
2079
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2080
|
+
execute_or_queue_command(command, &block)
|
2081
|
+
end
|
2082
|
+
|
2001
2083
|
# Updates an existing WorkloadIdentityPool.
|
2002
2084
|
# @param [String] name
|
2003
2085
|
# Output only. The resource name of the pool.
|
@@ -2034,6 +2116,75 @@ module Google
|
|
2034
2116
|
execute_or_queue_command(command, &block)
|
2035
2117
|
end
|
2036
2118
|
|
2119
|
+
# Remove an AttestationRule on a WorkloadIdentityPoolManagedIdentity.
|
2120
|
+
# @param [String] resource
|
2121
|
+
# Required. The resource name of the managed identity or namespace resource to
|
2122
|
+
# remove an attestation rule from.
|
2123
|
+
# @param [Google::Apis::IamV1::RemoveAttestationRuleRequest] remove_attestation_rule_request_object
|
2124
|
+
# @param [String] fields
|
2125
|
+
# Selector specifying which fields to include in a partial response.
|
2126
|
+
# @param [String] quota_user
|
2127
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2128
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2129
|
+
# @param [Google::Apis::RequestOptions] options
|
2130
|
+
# Request-specific options
|
2131
|
+
#
|
2132
|
+
# @yield [result, err] Result & error if block supplied
|
2133
|
+
# @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
|
2134
|
+
# @yieldparam err [StandardError] error object if request failed
|
2135
|
+
#
|
2136
|
+
# @return [Google::Apis::IamV1::Operation]
|
2137
|
+
#
|
2138
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2139
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2140
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2141
|
+
def remove_workload_identity_pool_attestation_rule(resource, remove_attestation_rule_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2142
|
+
command = make_simple_command(:post, 'v1/{+resource}:removeAttestationRule', options)
|
2143
|
+
command.request_representation = Google::Apis::IamV1::RemoveAttestationRuleRequest::Representation
|
2144
|
+
command.request_object = remove_attestation_rule_request_object
|
2145
|
+
command.response_representation = Google::Apis::IamV1::Operation::Representation
|
2146
|
+
command.response_class = Google::Apis::IamV1::Operation
|
2147
|
+
command.params['resource'] = resource unless resource.nil?
|
2148
|
+
command.query['fields'] = fields unless fields.nil?
|
2149
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2150
|
+
execute_or_queue_command(command, &block)
|
2151
|
+
end
|
2152
|
+
|
2153
|
+
# Set all AttestationRule on a WorkloadIdentityPoolManagedIdentity. A maximum of
|
2154
|
+
# 50 AttestationRules can be set.
|
2155
|
+
# @param [String] resource
|
2156
|
+
# Required. The resource name of the managed identity or namespace resource to
|
2157
|
+
# add an attestation rule to.
|
2158
|
+
# @param [Google::Apis::IamV1::SetAttestationRulesRequest] set_attestation_rules_request_object
|
2159
|
+
# @param [String] fields
|
2160
|
+
# Selector specifying which fields to include in a partial response.
|
2161
|
+
# @param [String] quota_user
|
2162
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2163
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2164
|
+
# @param [Google::Apis::RequestOptions] options
|
2165
|
+
# Request-specific options
|
2166
|
+
#
|
2167
|
+
# @yield [result, err] Result & error if block supplied
|
2168
|
+
# @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
|
2169
|
+
# @yieldparam err [StandardError] error object if request failed
|
2170
|
+
#
|
2171
|
+
# @return [Google::Apis::IamV1::Operation]
|
2172
|
+
#
|
2173
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2174
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2175
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2176
|
+
def set_workload_identity_pool_attestation_rules(resource, set_attestation_rules_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2177
|
+
command = make_simple_command(:post, 'v1/{+resource}:setAttestationRules', options)
|
2178
|
+
command.request_representation = Google::Apis::IamV1::SetAttestationRulesRequest::Representation
|
2179
|
+
command.request_object = set_attestation_rules_request_object
|
2180
|
+
command.response_representation = Google::Apis::IamV1::Operation::Representation
|
2181
|
+
command.response_class = Google::Apis::IamV1::Operation
|
2182
|
+
command.params['resource'] = resource unless resource.nil?
|
2183
|
+
command.query['fields'] = fields unless fields.nil?
|
2184
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2185
|
+
execute_or_queue_command(command, &block)
|
2186
|
+
end
|
2187
|
+
|
2037
2188
|
# Sets the IAM policies on a WorkloadIdentityPool
|
2038
2189
|
# @param [String] resource
|
2039
2190
|
# 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.71.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.71.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:
|