tencentcloud-sdk-cam 3.0.633 → 3.0.635

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: d6fbde3c937ada77097f080b4851d14d92161a46
4
+ data.tar.gz: 9b723b369bfc6d386a284dd664f9a9b560b19f89
5
5
  SHA512:
6
- metadata.gz: f8407ee4af83b11d6325e3bb31f3bd943c1aed4e0408c1f47685b1e81d65a00f4818b4b5b1047aff230cf18897d98d567ffca2dedebcf27133f2cab95b276c48
7
- data.tar.gz: 012ffd4bdc4be00c291231058850123005992eb397c5ca7e078f298c1034e89251c84f52ca8779c3805d945de2625fbf79b2a58c4a515100231b80b398c4454e
6
+ metadata.gz: 2d12558e37ffd65f506726e3cc3a596cdbb704df097a34452fff8547dba7231edfc273d1fee0f5e12e424fde8c1a4f6b95bc58ed9cb318e79b836e5df0d355df
7
+ data.tar.gz: 3724b6aebd85847b980ae8402f8d1ecf612212a0918559b6cd2a108030ba6c74e9ce520fb40f4357d9b373f079c51bd154fd88ffffcbde2fe505436fa45c7e9a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.633
1
+ 3.0.635
@@ -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.635
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-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common