tencentcloud-sdk-iap 3.0.946

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 935e485657bdcb188bf4287db743fcfd80304453
4
+ data.tar.gz: c111d87325f28a57900c83db369acf50db40e10c
5
+ SHA512:
6
+ metadata.gz: 42a84c9155b0194fb808f6246296698cf2f5b6b324b389e82977ca550a5fab90cb948dff4e821266ecb439098bd52665d314cdcb73eefdb1c20e191f01539253
7
+ data.tar.gz: 3863caa141a96c2bccabd62e87d16bc78511a179659f9c7b97b009c6625251d775abf6fa3c64ec1060bd36cf32772153d0ea1c2f83347decea200c5098a3857c
data/lib/VERSION ADDED
@@ -0,0 +1 @@
1
+ 3.0.946
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'tencentcloud-sdk-common'
4
+
5
+ require_relative 'v20240713/client'
6
+ require_relative 'v20240713/models'
7
+
8
+ module TencentCloud
9
+ module Iap
10
+ end
11
+ end
@@ -0,0 +1,180 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ require 'json'
18
+
19
+ module TencentCloud
20
+ module Iap
21
+ module V20240713
22
+ class Client < TencentCloud::Common::AbstractClient
23
+
24
+ def initialize(credential, region, profile = nil)
25
+ api_version = '2024-07-13'
26
+ api_endpoint = 'iap.tencentcloudapi.com'
27
+ sdk_version = 'IAP_' + File.read(File.expand_path('../VERSION', __dir__)).strip
28
+ super(credential, region, api_version, api_endpoint, sdk_version, profile)
29
+ end
30
+
31
+
32
+ # 创建用户OIDC配置。只能创建一个用户OIDC身份提供商,并且创建用户OIDC配置之后会自动关闭用户SAML SSO身份提供商。
33
+
34
+ # @param request: Request instance for CreateIAPUserOIDCConfig.
35
+ # @type request: :class:`Tencentcloud::iap::V20240713::CreateIAPUserOIDCConfigRequest`
36
+ # @rtype: :class:`Tencentcloud::iap::V20240713::CreateIAPUserOIDCConfigResponse`
37
+ def CreateIAPUserOIDCConfig(request)
38
+ body = send_request('CreateIAPUserOIDCConfig', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = CreateIAPUserOIDCConfigResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
56
+ # 查询登录会话时长
57
+
58
+ # @param request: Request instance for DescribeIAPLoginSessionDuration.
59
+ # @type request: :class:`Tencentcloud::iap::V20240713::DescribeIAPLoginSessionDurationRequest`
60
+ # @rtype: :class:`Tencentcloud::iap::V20240713::DescribeIAPLoginSessionDurationResponse`
61
+ def DescribeIAPLoginSessionDuration(request)
62
+ body = send_request('DescribeIAPLoginSessionDuration', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = DescribeIAPLoginSessionDurationResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
80
+ # 查询用户OIDC配置
81
+
82
+ # @param request: Request instance for DescribeIAPUserOIDCConfig.
83
+ # @type request: :class:`Tencentcloud::iap::V20240713::DescribeIAPUserOIDCConfigRequest`
84
+ # @rtype: :class:`Tencentcloud::iap::V20240713::DescribeIAPUserOIDCConfigResponse`
85
+ def DescribeIAPUserOIDCConfig(request)
86
+ body = send_request('DescribeIAPUserOIDCConfig', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = DescribeIAPUserOIDCConfigResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
104
+ # 禁用用户SSO
105
+
106
+ # @param request: Request instance for DisableIAPUserSSO.
107
+ # @type request: :class:`Tencentcloud::iap::V20240713::DisableIAPUserSSORequest`
108
+ # @rtype: :class:`Tencentcloud::iap::V20240713::DisableIAPUserSSOResponse`
109
+ def DisableIAPUserSSO(request)
110
+ body = send_request('DisableIAPUserSSO', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = DisableIAPUserSSOResponse.new
114
+ model.deserialize(response['Response'])
115
+ model
116
+ else
117
+ code = response['Response']['Error']['Code']
118
+ message = response['Response']['Error']['Message']
119
+ reqid = response['Response']['RequestId']
120
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
121
+ end
122
+ rescue TencentCloud::Common::TencentCloudSDKException => e
123
+ raise e
124
+ rescue StandardError => e
125
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
+ end
127
+
128
+ # 修改登录会话时长
129
+
130
+ # @param request: Request instance for ModifyIAPLoginSessionDuration.
131
+ # @type request: :class:`Tencentcloud::iap::V20240713::ModifyIAPLoginSessionDurationRequest`
132
+ # @rtype: :class:`Tencentcloud::iap::V20240713::ModifyIAPLoginSessionDurationResponse`
133
+ def ModifyIAPLoginSessionDuration(request)
134
+ body = send_request('ModifyIAPLoginSessionDuration', request.serialize)
135
+ response = JSON.parse(body)
136
+ if response['Response'].key?('Error') == false
137
+ model = ModifyIAPLoginSessionDurationResponse.new
138
+ model.deserialize(response['Response'])
139
+ model
140
+ else
141
+ code = response['Response']['Error']['Code']
142
+ message = response['Response']['Error']['Message']
143
+ reqid = response['Response']['RequestId']
144
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
145
+ end
146
+ rescue TencentCloud::Common::TencentCloudSDKException => e
147
+ raise e
148
+ rescue StandardError => e
149
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
+ end
151
+
152
+ # 修改用户OIDC配置
153
+
154
+ # @param request: Request instance for UpdateIAPUserOIDCConfig.
155
+ # @type request: :class:`Tencentcloud::iap::V20240713::UpdateIAPUserOIDCConfigRequest`
156
+ # @rtype: :class:`Tencentcloud::iap::V20240713::UpdateIAPUserOIDCConfigResponse`
157
+ def UpdateIAPUserOIDCConfig(request)
158
+ body = send_request('UpdateIAPUserOIDCConfig', request.serialize)
159
+ response = JSON.parse(body)
160
+ if response['Response'].key?('Error') == false
161
+ model = UpdateIAPUserOIDCConfigResponse.new
162
+ model.deserialize(response['Response'])
163
+ model
164
+ else
165
+ code = response['Response']['Error']['Code']
166
+ message = response['Response']['Error']['Message']
167
+ reqid = response['Response']['RequestId']
168
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
169
+ end
170
+ rescue TencentCloud::Common::TencentCloudSDKException => e
171
+ raise e
172
+ rescue StandardError => e
173
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
+ end
175
+
176
+
177
+ end
178
+ end
179
+ end
180
+ end
@@ -0,0 +1,320 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ module TencentCloud
18
+ module Iap
19
+ module V20240713
20
+ # CreateIAPUserOIDCConfig请求参数结构体
21
+ class CreateIAPUserOIDCConfigRequest < TencentCloud::Common::AbstractModel
22
+ # @param IdentityUrl: 身份提供商URL。OpenID Connect身份提供商标识。对应企业IdP提供的Openid-configuration中"issuer"字段的值。
23
+ # @type IdentityUrl: String
24
+ # @param ClientId: 客户端ID,在OpenID Connect身份提供商注册的客户端ID。
25
+ # @type ClientId: String
26
+ # @param AuthorizationEndpoint: 授权请求Endpoint,OpenID Connect身份提供商授权地址。对应企业IdP提供的Openid-configuration中"authorization_endpoint"字段的值。
27
+ # @type AuthorizationEndpoint: String
28
+ # @param ResponseType: 授权请求Response type,固定值id_token
29
+ # @type ResponseType: String
30
+ # @param ResponseMode: 授权请求Response mode。授权请求返回模式,form_post和fragment两种可选模式,推荐选择form_post模式。
31
+ # @type ResponseMode: String
32
+ # @param MappingFiled: 映射字段名称。IdP的id_token中哪一个字段映射到子用户的用户名,通常是sub或者name字段
33
+ # @type MappingFiled: String
34
+ # @param IdentityKey: 签名公钥,需要base64_encode。验证OpenID Connect身份提供商ID Token签名的公钥。为了您的账号安全,建议您定期轮换签名公钥。
35
+ # @type IdentityKey: String
36
+ # @param Scope: 授权请求Scope。openid; email;profile。授权请求信息范围。默认必选openid。
37
+ # @type Scope: Array
38
+ # @param Description: 描述
39
+ # @type Description: String
40
+
41
+ attr_accessor :IdentityUrl, :ClientId, :AuthorizationEndpoint, :ResponseType, :ResponseMode, :MappingFiled, :IdentityKey, :Scope, :Description
42
+
43
+ def initialize(identityurl=nil, clientid=nil, authorizationendpoint=nil, responsetype=nil, responsemode=nil, mappingfiled=nil, identitykey=nil, scope=nil, description=nil)
44
+ @IdentityUrl = identityurl
45
+ @ClientId = clientid
46
+ @AuthorizationEndpoint = authorizationendpoint
47
+ @ResponseType = responsetype
48
+ @ResponseMode = responsemode
49
+ @MappingFiled = mappingfiled
50
+ @IdentityKey = identitykey
51
+ @Scope = scope
52
+ @Description = description
53
+ end
54
+
55
+ def deserialize(params)
56
+ @IdentityUrl = params['IdentityUrl']
57
+ @ClientId = params['ClientId']
58
+ @AuthorizationEndpoint = params['AuthorizationEndpoint']
59
+ @ResponseType = params['ResponseType']
60
+ @ResponseMode = params['ResponseMode']
61
+ @MappingFiled = params['MappingFiled']
62
+ @IdentityKey = params['IdentityKey']
63
+ @Scope = params['Scope']
64
+ @Description = params['Description']
65
+ end
66
+ end
67
+
68
+ # CreateIAPUserOIDCConfig返回参数结构体
69
+ class CreateIAPUserOIDCConfigResponse < TencentCloud::Common::AbstractModel
70
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
71
+ # @type RequestId: String
72
+
73
+ attr_accessor :RequestId
74
+
75
+ def initialize(requestid=nil)
76
+ @RequestId = requestid
77
+ end
78
+
79
+ def deserialize(params)
80
+ @RequestId = params['RequestId']
81
+ end
82
+ end
83
+
84
+ # DescribeIAPLoginSessionDuration请求参数结构体
85
+ class DescribeIAPLoginSessionDurationRequest < TencentCloud::Common::AbstractModel
86
+
87
+
88
+ def initialize()
89
+ end
90
+
91
+ def deserialize(params)
92
+ end
93
+ end
94
+
95
+ # DescribeIAPLoginSessionDuration返回参数结构体
96
+ class DescribeIAPLoginSessionDurationResponse < TencentCloud::Common::AbstractModel
97
+ # @param Duration: 登录会话时长
98
+ # @type Duration: Integer
99
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
100
+ # @type RequestId: String
101
+
102
+ attr_accessor :Duration, :RequestId
103
+
104
+ def initialize(duration=nil, requestid=nil)
105
+ @Duration = duration
106
+ @RequestId = requestid
107
+ end
108
+
109
+ def deserialize(params)
110
+ @Duration = params['Duration']
111
+ @RequestId = params['RequestId']
112
+ end
113
+ end
114
+
115
+ # DescribeIAPUserOIDCConfig请求参数结构体
116
+ class DescribeIAPUserOIDCConfigRequest < TencentCloud::Common::AbstractModel
117
+
118
+
119
+ def initialize()
120
+ end
121
+
122
+ def deserialize(params)
123
+ end
124
+ end
125
+
126
+ # DescribeIAPUserOIDCConfig返回参数结构体
127
+ class DescribeIAPUserOIDCConfigResponse < TencentCloud::Common::AbstractModel
128
+ # @param ProviderType: 身份提供商类型。 13:IAP用户OIDC身份提供商
129
+ # @type ProviderType: Integer
130
+ # @param IdentityUrl: 身份提供商URL
131
+ # @type IdentityUrl: String
132
+ # @param IdentityKey: 签名公钥
133
+ # @type IdentityKey: String
134
+ # @param ClientId: 客户端id
135
+ # @type ClientId: String
136
+ # @param Status: 状态:0:未设置,11:已开启,2:已禁用
137
+ # @type Status: Integer
138
+ # @param Fingerprints: HTTPS CA证书的验证指纹,允许英文字母和数字,每个指纹长度为40个字符,最多5个指纹。
139
+ # @type Fingerprints: Array
140
+ # @param EnableAutoPublicKey: 是否需要开启自动使用OIDC签名公钥,1:需要,2:不需要,默认不需要
141
+ # @type EnableAutoPublicKey: Integer
142
+ # @param AuthorizationEndpoint: 授权请求Endpoint
143
+ # @type AuthorizationEndpoint: String
144
+ # @param Scope: 授权请求Scope
145
+ # @type Scope: Array
146
+ # @param ResponseType: 授权请求Response type
147
+ # @type ResponseType: String
148
+ # @param ResponseMode: 授权请求Response mode
149
+ # @type ResponseMode: String
150
+ # @param MappingFiled: 映射字段名称
151
+ # @type MappingFiled: String
152
+ # @param Description: 描述
153
+ # @type Description: String
154
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
155
+ # @type RequestId: String
156
+
157
+ attr_accessor :ProviderType, :IdentityUrl, :IdentityKey, :ClientId, :Status, :Fingerprints, :EnableAutoPublicKey, :AuthorizationEndpoint, :Scope, :ResponseType, :ResponseMode, :MappingFiled, :Description, :RequestId
158
+
159
+ def initialize(providertype=nil, identityurl=nil, identitykey=nil, clientid=nil, status=nil, fingerprints=nil, enableautopublickey=nil, authorizationendpoint=nil, scope=nil, responsetype=nil, responsemode=nil, mappingfiled=nil, description=nil, requestid=nil)
160
+ @ProviderType = providertype
161
+ @IdentityUrl = identityurl
162
+ @IdentityKey = identitykey
163
+ @ClientId = clientid
164
+ @Status = status
165
+ @Fingerprints = fingerprints
166
+ @EnableAutoPublicKey = enableautopublickey
167
+ @AuthorizationEndpoint = authorizationendpoint
168
+ @Scope = scope
169
+ @ResponseType = responsetype
170
+ @ResponseMode = responsemode
171
+ @MappingFiled = mappingfiled
172
+ @Description = description
173
+ @RequestId = requestid
174
+ end
175
+
176
+ def deserialize(params)
177
+ @ProviderType = params['ProviderType']
178
+ @IdentityUrl = params['IdentityUrl']
179
+ @IdentityKey = params['IdentityKey']
180
+ @ClientId = params['ClientId']
181
+ @Status = params['Status']
182
+ @Fingerprints = params['Fingerprints']
183
+ @EnableAutoPublicKey = params['EnableAutoPublicKey']
184
+ @AuthorizationEndpoint = params['AuthorizationEndpoint']
185
+ @Scope = params['Scope']
186
+ @ResponseType = params['ResponseType']
187
+ @ResponseMode = params['ResponseMode']
188
+ @MappingFiled = params['MappingFiled']
189
+ @Description = params['Description']
190
+ @RequestId = params['RequestId']
191
+ end
192
+ end
193
+
194
+ # DisableIAPUserSSO请求参数结构体
195
+ class DisableIAPUserSSORequest < TencentCloud::Common::AbstractModel
196
+
197
+
198
+ def initialize()
199
+ end
200
+
201
+ def deserialize(params)
202
+ end
203
+ end
204
+
205
+ # DisableIAPUserSSO返回参数结构体
206
+ class DisableIAPUserSSOResponse < TencentCloud::Common::AbstractModel
207
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
208
+ # @type RequestId: String
209
+
210
+ attr_accessor :RequestId
211
+
212
+ def initialize(requestid=nil)
213
+ @RequestId = requestid
214
+ end
215
+
216
+ def deserialize(params)
217
+ @RequestId = params['RequestId']
218
+ end
219
+ end
220
+
221
+ # ModifyIAPLoginSessionDuration请求参数结构体
222
+ class ModifyIAPLoginSessionDurationRequest < TencentCloud::Common::AbstractModel
223
+ # @param Duration: 登录会话时长
224
+ # @type Duration: Integer
225
+
226
+ attr_accessor :Duration
227
+
228
+ def initialize(duration=nil)
229
+ @Duration = duration
230
+ end
231
+
232
+ def deserialize(params)
233
+ @Duration = params['Duration']
234
+ end
235
+ end
236
+
237
+ # ModifyIAPLoginSessionDuration返回参数结构体
238
+ class ModifyIAPLoginSessionDurationResponse < TencentCloud::Common::AbstractModel
239
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
240
+ # @type RequestId: String
241
+
242
+ attr_accessor :RequestId
243
+
244
+ def initialize(requestid=nil)
245
+ @RequestId = requestid
246
+ end
247
+
248
+ def deserialize(params)
249
+ @RequestId = params['RequestId']
250
+ end
251
+ end
252
+
253
+ # UpdateIAPUserOIDCConfig请求参数结构体
254
+ class UpdateIAPUserOIDCConfigRequest < TencentCloud::Common::AbstractModel
255
+ # @param IdentityUrl: 身份提供商URL。OpenID Connect身份提供商标识。对应企业IdP提供的Openid-configuration中"issuer"字段的值。
256
+ # @type IdentityUrl: String
257
+ # @param ClientId: 客户端ID,在OpenID Connect身份提供商注册的客户端ID。
258
+ # @type ClientId: String
259
+ # @param AuthorizationEndpoint: 授权请求Endpoint,OpenID Connect身份提供商授权地址。对应企业IdP提供的Openid-configuration中"authorization_endpoint"字段的值。
260
+ # @type AuthorizationEndpoint: String
261
+ # @param ResponseType: 授权请求Response type,固定值id_token
262
+ # @type ResponseType: String
263
+ # @param ResponseMode: 授权请求Response mode。授权请求返回模式,form_post和fragment两种可选模式,推荐选择form_post模式。
264
+ # @type ResponseMode: String
265
+ # @param MappingFiled: 映射字段名称。IdP的id_token中哪一个字段映射到子用户的用户名,通常是sub或者name字段
266
+ # @type MappingFiled: String
267
+ # @param IdentityKey: RSA签名公钥,JWKS格式,需要进行base64_encode。验证OpenID Connect身份提供商ID Token签名的公钥。为了您的账号安全,建议您定期轮换签名公钥。
268
+ # @type IdentityKey: String
269
+ # @param Scope: 授权请求Scope。openid; email;profile。授权请求信息范围。默认必选openid。
270
+ # @type Scope: Array
271
+ # @param Description: 描述,长度为1~255个英文或中文字符,默认值为空。
272
+ # @type Description: String
273
+
274
+ attr_accessor :IdentityUrl, :ClientId, :AuthorizationEndpoint, :ResponseType, :ResponseMode, :MappingFiled, :IdentityKey, :Scope, :Description
275
+
276
+ def initialize(identityurl=nil, clientid=nil, authorizationendpoint=nil, responsetype=nil, responsemode=nil, mappingfiled=nil, identitykey=nil, scope=nil, description=nil)
277
+ @IdentityUrl = identityurl
278
+ @ClientId = clientid
279
+ @AuthorizationEndpoint = authorizationendpoint
280
+ @ResponseType = responsetype
281
+ @ResponseMode = responsemode
282
+ @MappingFiled = mappingfiled
283
+ @IdentityKey = identitykey
284
+ @Scope = scope
285
+ @Description = description
286
+ end
287
+
288
+ def deserialize(params)
289
+ @IdentityUrl = params['IdentityUrl']
290
+ @ClientId = params['ClientId']
291
+ @AuthorizationEndpoint = params['AuthorizationEndpoint']
292
+ @ResponseType = params['ResponseType']
293
+ @ResponseMode = params['ResponseMode']
294
+ @MappingFiled = params['MappingFiled']
295
+ @IdentityKey = params['IdentityKey']
296
+ @Scope = params['Scope']
297
+ @Description = params['Description']
298
+ end
299
+ end
300
+
301
+ # UpdateIAPUserOIDCConfig返回参数结构体
302
+ class UpdateIAPUserOIDCConfigResponse < TencentCloud::Common::AbstractModel
303
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
304
+ # @type RequestId: String
305
+
306
+ attr_accessor :RequestId
307
+
308
+ def initialize(requestid=nil)
309
+ @RequestId = requestid
310
+ end
311
+
312
+ def deserialize(params)
313
+ @RequestId = params['RequestId']
314
+ end
315
+ end
316
+
317
+ end
318
+ end
319
+ end
320
+
metadata ADDED
@@ -0,0 +1,66 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tencentcloud-sdk-iap
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.0.946
5
+ platform: ruby
6
+ authors:
7
+ - Tencent Cloud
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-11-22 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: tencentcloud-sdk-common
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '3.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '3.0'
27
+ description: Tencent Cloud Ruby SDK is the official software development kit, which
28
+ allows Ruby developers to write software that makes use of Tencent Cloud service
29
+ IAP.
30
+ email:
31
+ - tencentcloudapi@tencent.com
32
+ executables: []
33
+ extensions: []
34
+ extra_rdoc_files: []
35
+ files:
36
+ - lib/tencentcloud-sdk-iap.rb
37
+ - lib/v20240713/models.rb
38
+ - lib/v20240713/client.rb
39
+ - lib/VERSION
40
+ homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
+ licenses:
42
+ - Apache-2.0
43
+ metadata:
44
+ source_code_uri: https://github.com/TencentCloud/tencentcloud-sdk-ruby/tencentcloud-sdk-iap
45
+ changelog_uri: https://github.com/TencentCloud/tencentcloud-sdk-ruby/blob/master/CHANGELOG.md
46
+ post_install_message:
47
+ rdoc_options: []
48
+ require_paths:
49
+ - lib
50
+ required_ruby_version: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ required_rubygems_version: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - '>='
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ requirements: []
61
+ rubyforge_project:
62
+ rubygems_version: 2.0.14
63
+ signing_key:
64
+ specification_version: 4
65
+ summary: Tencent Cloud SDK for Ruby - IAP
66
+ test_files: []