tencentcloud-sdk-cam 3.0.903 → 3.0.905
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190116/client.rb +48 -0
- data/lib/v20190116/models.rb +140 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83a996dbf9281e720e54d637dd8623d429b1303f
|
4
|
+
data.tar.gz: 3dcaead9424f89e4f73b26f353244f766d00b031
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82d5caa6c09ae19b7be34a2851dd9db5ef63e8d1884062f5cd56749b27a086ad4e68c60f591aa25231d9948fb5441591e9942fe8f5a0a680325ef8528244e2e3
|
7
|
+
data.tar.gz: 5b5caf91ac4bdd855927246cee294126d6b1c6a9f8af7db20acdfc9a73d814238de300c3e40ac58628a6f0ff42d5079e93c4ad3611a9d68fedf4af18463bfb93
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.905
|
data/lib/v20190116/client.rb
CHANGED
@@ -510,6 +510,30 @@ module TencentCloud
|
|
510
510
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
511
511
|
end
|
512
512
|
|
513
|
+
# 删除消息接收人
|
514
|
+
|
515
|
+
# @param request: Request instance for DeleteMessageReceiver.
|
516
|
+
# @type request: :class:`Tencentcloud::cam::V20190116::DeleteMessageReceiverRequest`
|
517
|
+
# @rtype: :class:`Tencentcloud::cam::V20190116::DeleteMessageReceiverResponse`
|
518
|
+
def DeleteMessageReceiver(request)
|
519
|
+
body = send_request('DeleteMessageReceiver', request.serialize)
|
520
|
+
response = JSON.parse(body)
|
521
|
+
if response['Response'].key?('Error') == false
|
522
|
+
model = DeleteMessageReceiverResponse.new
|
523
|
+
model.deserialize(response['Response'])
|
524
|
+
model
|
525
|
+
else
|
526
|
+
code = response['Response']['Error']['Code']
|
527
|
+
message = response['Response']['Error']['Message']
|
528
|
+
reqid = response['Response']['RequestId']
|
529
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
530
|
+
end
|
531
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
532
|
+
raise e
|
533
|
+
rescue StandardError => e
|
534
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
535
|
+
end
|
536
|
+
|
513
537
|
# 删除OIDC身份提供商
|
514
538
|
|
515
539
|
# @param request: Request instance for DeleteOIDCConfig.
|
@@ -1614,6 +1638,30 @@ module TencentCloud
|
|
1614
1638
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1615
1639
|
end
|
1616
1640
|
|
1641
|
+
# 获取消息接收人列表
|
1642
|
+
|
1643
|
+
# @param request: Request instance for ListReceiver.
|
1644
|
+
# @type request: :class:`Tencentcloud::cam::V20190116::ListReceiverRequest`
|
1645
|
+
# @rtype: :class:`Tencentcloud::cam::V20190116::ListReceiverResponse`
|
1646
|
+
def ListReceiver(request)
|
1647
|
+
body = send_request('ListReceiver', request.serialize)
|
1648
|
+
response = JSON.parse(body)
|
1649
|
+
if response['Response'].key?('Error') == false
|
1650
|
+
model = ListReceiverResponse.new
|
1651
|
+
model.deserialize(response['Response'])
|
1652
|
+
model
|
1653
|
+
else
|
1654
|
+
code = response['Response']['Error']['Code']
|
1655
|
+
message = response['Response']['Error']['Message']
|
1656
|
+
reqid = response['Response']['RequestId']
|
1657
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1658
|
+
end
|
1659
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1660
|
+
raise e
|
1661
|
+
rescue StandardError => e
|
1662
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1663
|
+
end
|
1664
|
+
|
1617
1665
|
# 查询SAML身份提供商列表
|
1618
1666
|
|
1619
1667
|
# @param request: Request instance for ListSAMLProviders.
|
data/lib/v20190116/models.rb
CHANGED
@@ -1274,6 +1274,38 @@ module TencentCloud
|
|
1274
1274
|
end
|
1275
1275
|
end
|
1276
1276
|
|
1277
|
+
# DeleteMessageReceiver请求参数结构体
|
1278
|
+
class DeleteMessageReceiverRequest < TencentCloud::Common::AbstractModel
|
1279
|
+
# @param Name: 消息接受者的名称
|
1280
|
+
# @type Name: String
|
1281
|
+
|
1282
|
+
attr_accessor :Name
|
1283
|
+
|
1284
|
+
def initialize(name=nil)
|
1285
|
+
@Name = name
|
1286
|
+
end
|
1287
|
+
|
1288
|
+
def deserialize(params)
|
1289
|
+
@Name = params['Name']
|
1290
|
+
end
|
1291
|
+
end
|
1292
|
+
|
1293
|
+
# DeleteMessageReceiver返回参数结构体
|
1294
|
+
class DeleteMessageReceiverResponse < TencentCloud::Common::AbstractModel
|
1295
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1296
|
+
# @type RequestId: String
|
1297
|
+
|
1298
|
+
attr_accessor :RequestId
|
1299
|
+
|
1300
|
+
def initialize(requestid=nil)
|
1301
|
+
@RequestId = requestid
|
1302
|
+
end
|
1303
|
+
|
1304
|
+
def deserialize(params)
|
1305
|
+
@RequestId = params['RequestId']
|
1306
|
+
end
|
1307
|
+
end
|
1308
|
+
|
1277
1309
|
# DeleteOIDCConfig请求参数结构体
|
1278
1310
|
class DeleteOIDCConfigRequest < TencentCloud::Common::AbstractModel
|
1279
1311
|
# @param Name: OIDC身份提供商名称
|
@@ -2191,8 +2223,8 @@ module TencentCloud
|
|
2191
2223
|
|
2192
2224
|
attr_accessor :Policies, :Roles, :Idps, :User, :Group, :Member, :IdentityProviders, :RequestId
|
2193
2225
|
extend Gem::Deprecate
|
2194
|
-
deprecate :Idps, :none, 2024,
|
2195
|
-
deprecate :Idps=, :none, 2024,
|
2226
|
+
deprecate :Idps, :none, 2024, 9
|
2227
|
+
deprecate :Idps=, :none, 2024, 9
|
2196
2228
|
|
2197
2229
|
def initialize(policies=nil, roles=nil, idps=nil, user=nil, group=nil, member=nil, identityproviders=nil, requestid=nil)
|
2198
2230
|
@Policies = policies
|
@@ -3755,6 +3787,57 @@ module TencentCloud
|
|
3755
3787
|
end
|
3756
3788
|
end
|
3757
3789
|
|
3790
|
+
# ListReceiver请求参数结构体
|
3791
|
+
class ListReceiverRequest < TencentCloud::Common::AbstractModel
|
3792
|
+
# @param Offset: 分页偏移量
|
3793
|
+
# @type Offset: Integer
|
3794
|
+
# @param Limit: 分页限制数目
|
3795
|
+
# @type Limit: Integer
|
3796
|
+
|
3797
|
+
attr_accessor :Offset, :Limit
|
3798
|
+
|
3799
|
+
def initialize(offset=nil, limit=nil)
|
3800
|
+
@Offset = offset
|
3801
|
+
@Limit = limit
|
3802
|
+
end
|
3803
|
+
|
3804
|
+
def deserialize(params)
|
3805
|
+
@Offset = params['Offset']
|
3806
|
+
@Limit = params['Limit']
|
3807
|
+
end
|
3808
|
+
end
|
3809
|
+
|
3810
|
+
# ListReceiver返回参数结构体
|
3811
|
+
class ListReceiverResponse < TencentCloud::Common::AbstractModel
|
3812
|
+
# @param TotalCount: 总数目
|
3813
|
+
# @type TotalCount: Integer
|
3814
|
+
# @param Receivers: 联系人列表
|
3815
|
+
# @type Receivers: Array
|
3816
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3817
|
+
# @type RequestId: String
|
3818
|
+
|
3819
|
+
attr_accessor :TotalCount, :Receivers, :RequestId
|
3820
|
+
|
3821
|
+
def initialize(totalcount=nil, receivers=nil, requestid=nil)
|
3822
|
+
@TotalCount = totalcount
|
3823
|
+
@Receivers = receivers
|
3824
|
+
@RequestId = requestid
|
3825
|
+
end
|
3826
|
+
|
3827
|
+
def deserialize(params)
|
3828
|
+
@TotalCount = params['TotalCount']
|
3829
|
+
unless params['Receivers'].nil?
|
3830
|
+
@Receivers = []
|
3831
|
+
params['Receivers'].each do |i|
|
3832
|
+
receiver_tmp = Receiver.new
|
3833
|
+
receiver_tmp.deserialize(i)
|
3834
|
+
@Receivers << receiver_tmp
|
3835
|
+
end
|
3836
|
+
end
|
3837
|
+
@RequestId = params['RequestId']
|
3838
|
+
end
|
3839
|
+
end
|
3840
|
+
|
3758
3841
|
# ListSAMLProviders请求参数结构体
|
3759
3842
|
class ListSAMLProvidersRequest < TencentCloud::Common::AbstractModel
|
3760
3843
|
|
@@ -4214,6 +4297,61 @@ module TencentCloud
|
|
4214
4297
|
end
|
4215
4298
|
end
|
4216
4299
|
|
4300
|
+
# 消息接收人信息
|
4301
|
+
class Receiver < TencentCloud::Common::AbstractModel
|
4302
|
+
# @param Uid: id
|
4303
|
+
# @type Uid: Integer
|
4304
|
+
# @param Name: 名字
|
4305
|
+
# @type Name: String
|
4306
|
+
# @param Remark: 备注
|
4307
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4308
|
+
# @type Remark: String
|
4309
|
+
# @param PhoneNumber: 手机号码
|
4310
|
+
# @type PhoneNumber: String
|
4311
|
+
# @param PhoneFlag: 手机号码是否验证
|
4312
|
+
# @type PhoneFlag: Integer
|
4313
|
+
# @param Email: 邮箱
|
4314
|
+
# @type Email: String
|
4315
|
+
# @param EmailFlag: 邮箱是否验证
|
4316
|
+
# @type EmailFlag: Integer
|
4317
|
+
# @param IsReceiverOwner: 是否主联系人
|
4318
|
+
# @type IsReceiverOwner: Integer
|
4319
|
+
# @param WechatFlag: 是否允许微信接收通知
|
4320
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4321
|
+
# @type WechatFlag: Integer
|
4322
|
+
# @param Uin: 账号uin
|
4323
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4324
|
+
# @type Uin: Integer
|
4325
|
+
|
4326
|
+
attr_accessor :Uid, :Name, :Remark, :PhoneNumber, :PhoneFlag, :Email, :EmailFlag, :IsReceiverOwner, :WechatFlag, :Uin
|
4327
|
+
|
4328
|
+
def initialize(uid=nil, name=nil, remark=nil, phonenumber=nil, phoneflag=nil, email=nil, emailflag=nil, isreceiverowner=nil, wechatflag=nil, uin=nil)
|
4329
|
+
@Uid = uid
|
4330
|
+
@Name = name
|
4331
|
+
@Remark = remark
|
4332
|
+
@PhoneNumber = phonenumber
|
4333
|
+
@PhoneFlag = phoneflag
|
4334
|
+
@Email = email
|
4335
|
+
@EmailFlag = emailflag
|
4336
|
+
@IsReceiverOwner = isreceiverowner
|
4337
|
+
@WechatFlag = wechatflag
|
4338
|
+
@Uin = uin
|
4339
|
+
end
|
4340
|
+
|
4341
|
+
def deserialize(params)
|
4342
|
+
@Uid = params['Uid']
|
4343
|
+
@Name = params['Name']
|
4344
|
+
@Remark = params['Remark']
|
4345
|
+
@PhoneNumber = params['PhoneNumber']
|
4346
|
+
@PhoneFlag = params['PhoneFlag']
|
4347
|
+
@Email = params['Email']
|
4348
|
+
@EmailFlag = params['EmailFlag']
|
4349
|
+
@IsReceiverOwner = params['IsReceiverOwner']
|
4350
|
+
@WechatFlag = params['WechatFlag']
|
4351
|
+
@Uin = params['Uin']
|
4352
|
+
end
|
4353
|
+
end
|
4354
|
+
|
4217
4355
|
# RemoveUserFromGroup请求参数结构体
|
4218
4356
|
class RemoveUserFromGroupRequest < TencentCloud::Common::AbstractModel
|
4219
4357
|
# @param Info: 要删除的用户 UIN/UID和用户组 ID对应数组
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.905
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|