google-apis-iam_v1 0.90.0 → 0.91.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 +107 -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: 5c6d2e535e94d5951c512d03093b72b6710a038da31d6f6fb8fb6fd0dfb032b4
|
|
4
|
+
data.tar.gz: 6d159509b7671aeb2cde1acc5aa795c1385d13048c3b598c0ae03253d9e5bb8d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 033ffbd07f743d4df9d40aab48a9e2afe677eba259f2cfecd7489588a6040ca019755878ef027a8b4720a312beee2559c39622270ca84409e57057613c41cb6c
|
|
7
|
+
data.tar.gz: acba50c442041660e795dd991bc7fb2d4815a49c8539f53dce80298f67cb9edd1d5ea427d8095266a0d0ea1a64bef8a70428d9d3445c9d864ddd8284182fd020
|
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.91.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260828"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -1055,6 +1055,41 @@ module Google
|
|
|
1055
1055
|
execute_or_queue_command(command, &block)
|
|
1056
1056
|
end
|
|
1057
1057
|
|
|
1058
|
+
# Gets IAM policies on a WorkforcePool.
|
|
1059
|
+
# @param [String] resource
|
|
1060
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
|
1061
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
1062
|
+
# appropriate value for this field.
|
|
1063
|
+
# @param [Google::Apis::IamV1::GetIamPolicyRequest] get_iam_policy_request_object
|
|
1064
|
+
# @param [String] fields
|
|
1065
|
+
# Selector specifying which fields to include in a partial response.
|
|
1066
|
+
# @param [String] quota_user
|
|
1067
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1068
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1069
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1070
|
+
# Request-specific options
|
|
1071
|
+
#
|
|
1072
|
+
# @yield [result, err] Result & error if block supplied
|
|
1073
|
+
# @yieldparam result [Google::Apis::IamV1::Policy] parsed result object
|
|
1074
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1075
|
+
#
|
|
1076
|
+
# @return [Google::Apis::IamV1::Policy]
|
|
1077
|
+
#
|
|
1078
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1079
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1080
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1081
|
+
def get_scim_tenant_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1082
|
+
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
|
1083
|
+
command.request_representation = Google::Apis::IamV1::GetIamPolicyRequest::Representation
|
|
1084
|
+
command.request_object = get_iam_policy_request_object
|
|
1085
|
+
command.response_representation = Google::Apis::IamV1::Policy::Representation
|
|
1086
|
+
command.response_class = Google::Apis::IamV1::Policy
|
|
1087
|
+
command.params['resource'] = resource unless resource.nil?
|
|
1088
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1089
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1090
|
+
execute_or_queue_command(command, &block)
|
|
1091
|
+
end
|
|
1092
|
+
|
|
1058
1093
|
# Gemini Enterprise only. Lists all non-deleted WorkforcePoolProviderScimTenants
|
|
1059
1094
|
# in a WorkforcePoolProvider. If `show_deleted` is set to `true`, then deleted
|
|
1060
1095
|
# SCIM tenants are also listed.
|
|
@@ -1138,6 +1173,78 @@ module Google
|
|
|
1138
1173
|
execute_or_queue_command(command, &block)
|
|
1139
1174
|
end
|
|
1140
1175
|
|
|
1176
|
+
# Sets IAM policies on a WorkforcePool.
|
|
1177
|
+
# @param [String] resource
|
|
1178
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
|
1179
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
1180
|
+
# appropriate value for this field.
|
|
1181
|
+
# @param [Google::Apis::IamV1::SetIamPolicyRequest] set_iam_policy_request_object
|
|
1182
|
+
# @param [String] fields
|
|
1183
|
+
# Selector specifying which fields to include in a partial response.
|
|
1184
|
+
# @param [String] quota_user
|
|
1185
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1186
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1187
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1188
|
+
# Request-specific options
|
|
1189
|
+
#
|
|
1190
|
+
# @yield [result, err] Result & error if block supplied
|
|
1191
|
+
# @yieldparam result [Google::Apis::IamV1::Policy] parsed result object
|
|
1192
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1193
|
+
#
|
|
1194
|
+
# @return [Google::Apis::IamV1::Policy]
|
|
1195
|
+
#
|
|
1196
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1197
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1198
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1199
|
+
def set_scim_tenant_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1200
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
|
1201
|
+
command.request_representation = Google::Apis::IamV1::SetIamPolicyRequest::Representation
|
|
1202
|
+
command.request_object = set_iam_policy_request_object
|
|
1203
|
+
command.response_representation = Google::Apis::IamV1::Policy::Representation
|
|
1204
|
+
command.response_class = Google::Apis::IamV1::Policy
|
|
1205
|
+
command.params['resource'] = resource unless resource.nil?
|
|
1206
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1207
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1208
|
+
execute_or_queue_command(command, &block)
|
|
1209
|
+
end
|
|
1210
|
+
|
|
1211
|
+
# Returns the caller's permissions on the WorkforcePool. If the pool doesn't
|
|
1212
|
+
# exist, this call returns an empty set of permissions. It doesn't return a `
|
|
1213
|
+
# NOT_FOUND` error.
|
|
1214
|
+
# @param [String] resource
|
|
1215
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
|
1216
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
|
1217
|
+
# appropriate value for this field.
|
|
1218
|
+
# @param [Google::Apis::IamV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
1219
|
+
# @param [String] fields
|
|
1220
|
+
# Selector specifying which fields to include in a partial response.
|
|
1221
|
+
# @param [String] quota_user
|
|
1222
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1223
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1224
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1225
|
+
# Request-specific options
|
|
1226
|
+
#
|
|
1227
|
+
# @yield [result, err] Result & error if block supplied
|
|
1228
|
+
# @yieldparam result [Google::Apis::IamV1::TestIamPermissionsResponse] parsed result object
|
|
1229
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1230
|
+
#
|
|
1231
|
+
# @return [Google::Apis::IamV1::TestIamPermissionsResponse]
|
|
1232
|
+
#
|
|
1233
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1234
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1235
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1236
|
+
def test_scim_tenant_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1237
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
|
1238
|
+
command.request_representation = Google::Apis::IamV1::TestIamPermissionsRequest::Representation
|
|
1239
|
+
command.request_object = test_iam_permissions_request_object
|
|
1240
|
+
command.response_representation = Google::Apis::IamV1::TestIamPermissionsResponse::Representation
|
|
1241
|
+
command.response_class = Google::Apis::IamV1::TestIamPermissionsResponse
|
|
1242
|
+
command.params['resource'] = resource unless resource.nil?
|
|
1243
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1244
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1245
|
+
execute_or_queue_command(command, &block)
|
|
1246
|
+
end
|
|
1247
|
+
|
|
1141
1248
|
# Gemini Enterprise only. Undeletes a WorkforcePoolProviderScimTenant, that was
|
|
1142
1249
|
# deleted fewer than 30 days ago.
|
|
1143
1250
|
# @param [String] name
|
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.91.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.91.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:
|