tencentcloud-sdk-cam 3.0.633 → 3.0.634

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 54838797708acb86c7bd9a8ad8b0cd7dc8e9403b
4
- data.tar.gz: f35b310b53921d603ccf65428aaf8fda172dc574
3
+ metadata.gz: 0abf3f68c6dbf39e149d06aa8ddc2402ff154d3d
4
+ data.tar.gz: 3b3d03affdb723c873a80b5a0d080e7d71ca44ab
5
5
  SHA512:
6
- metadata.gz: f8407ee4af83b11d6325e3bb31f3bd943c1aed4e0408c1f47685b1e81d65a00f4818b4b5b1047aff230cf18897d98d567ffca2dedebcf27133f2cab95b276c48
7
- data.tar.gz: 012ffd4bdc4be00c291231058850123005992eb397c5ca7e078f298c1034e89251c84f52ca8779c3805d945de2625fbf79b2a58c4a515100231b80b398c4454e
6
+ metadata.gz: d2a6fc9aeb8d0a8c4ea6a91762f5ce2990c228e6e4543ec6b617f111c8d2fffe5c959b82d8c036ebf30dc39fbe15bfdd9167695754f72610c97889573e5f7d5a
7
+ data.tar.gz: 6eaacd204e5e3a3ab714cf35a21f90459c2cb9019e1425f107ae27f89dc1147451747337ceed09063b5895a9ddd0581358fbf3054dd44953e3b7871728212847
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.633
1
+ 3.0.634
@@ -221,6 +221,30 @@ module TencentCloud
221
221
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
222
  end
223
223
 
224
+ # 创建消息接收人接口:仅允许已完成实名认证的用户访问消息接收人接口,并对每个用户限制每天最多请求10次。
225
+
226
+ # @param request: Request instance for CreateMessageReceiver.
227
+ # @type request: :class:`Tencentcloud::cam::V20190116::CreateMessageReceiverRequest`
228
+ # @rtype: :class:`Tencentcloud::cam::V20190116::CreateMessageReceiverResponse`
229
+ def CreateMessageReceiver(request)
230
+ body = send_request('CreateMessageReceiver', request.serialize)
231
+ response = JSON.parse(body)
232
+ if response['Response'].key?('Error') == false
233
+ model = CreateMessageReceiverResponse.new
234
+ model.deserialize(response['Response'])
235
+ model
236
+ else
237
+ code = response['Response']['Error']['Code']
238
+ message = response['Response']['Error']['Message']
239
+ reqid = response['Response']['RequestId']
240
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
241
+ end
242
+ rescue TencentCloud::Common::TencentCloudSDKException => e
243
+ raise e
244
+ rescue StandardError => e
245
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
+ end
247
+
224
248
  # 创建角色OIDC配置
225
249
 
226
250
  # @param request: Request instance for CreateOIDCConfig.
@@ -651,6 +651,54 @@ module TencentCloud
651
651
  end
652
652
  end
653
653
 
654
+ # CreateMessageReceiver请求参数结构体
655
+ class CreateMessageReceiverRequest < TencentCloud::Common::AbstractModel
656
+ # @param Name: 消息接收人的用户名
657
+ # @type Name: String
658
+ # @param CountryCode: 手机号国际区号,国内为86
659
+ # @type CountryCode: String
660
+ # @param PhoneNumber: 手机号码, 例如:132****2492
661
+ # @type PhoneNumber: String
662
+ # @param Email: 邮箱,例如:57*****@qq.com
663
+ # @type Email: String
664
+ # @param Remark: 消息接收人的备注,选填
665
+ # @type Remark: String
666
+
667
+ attr_accessor :Name, :CountryCode, :PhoneNumber, :Email, :Remark
668
+
669
+ def initialize(name=nil, countrycode=nil, phonenumber=nil, email=nil, remark=nil)
670
+ @Name = name
671
+ @CountryCode = countrycode
672
+ @PhoneNumber = phonenumber
673
+ @Email = email
674
+ @Remark = remark
675
+ end
676
+
677
+ def deserialize(params)
678
+ @Name = params['Name']
679
+ @CountryCode = params['CountryCode']
680
+ @PhoneNumber = params['PhoneNumber']
681
+ @Email = params['Email']
682
+ @Remark = params['Remark']
683
+ end
684
+ end
685
+
686
+ # CreateMessageReceiver返回参数结构体
687
+ class CreateMessageReceiverResponse < TencentCloud::Common::AbstractModel
688
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
689
+ # @type RequestId: String
690
+
691
+ attr_accessor :RequestId
692
+
693
+ def initialize(requestid=nil)
694
+ @RequestId = requestid
695
+ end
696
+
697
+ def deserialize(params)
698
+ @RequestId = params['RequestId']
699
+ end
700
+ end
701
+
654
702
  # CreateOIDCConfig请求参数结构体
655
703
  class CreateOIDCConfigRequest < TencentCloud::Common::AbstractModel
656
704
  # @param IdentityUrl: 身份提供商URL
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.633
4
+ version: 3.0.634
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-10 00:00:00.000000000 Z
11
+ date: 2023-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common