tencentcloud-sdk-tds 3.0.878 → 3.0.880

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20220801/models.rb +55 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 90e8127fe9e09fe831d1a8baa10e9f76b34d26ac
4
- data.tar.gz: ea523a0ec5bd3b868dcf159a9d3bb14477d8b1c3
3
+ metadata.gz: e1753e059207df12617f2c6242f83fe89ba6d1d2
4
+ data.tar.gz: 54075885722e0242dacd7b36f9a758f8a8de6ae4
5
5
  SHA512:
6
- metadata.gz: d54a96de53c59a5dbd1e24ce5c60b3d3d522010b99dfb5fbf02aed228f7635268e2f6f691f7f27d6a246fbb5a782ac6f511aaee60405b54ac1810f45c46ecc80
7
- data.tar.gz: 00e676b412046baeba4d6cb255a0c8bc3c3d9178b9cd0d4108c020de01ea3e28ec4a93eebca4d4615df073f9bc3e89baaf55a2767b1a551126dee8954d5b25fc
6
+ metadata.gz: 5abe78e961451c48773d2b4036be027be3bcbd7efaaa04665857cb759ec88318a16629bb28053ddcd422182b2c88e5e78629cf0f8b840132bb3582c28fffdf58
7
+ data.tar.gz: 1bf1428bc44ca84a89f85f899ed378e364523580501c38f398f466426c4d68fb010a4077fb075d4a37c687fb5dd2c9afd52055983766dfa306a0c5da94de90b7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.878
1
+ 3.0.880
@@ -17,6 +17,52 @@
17
17
  module TencentCloud
18
18
  module Tds
19
19
  module V20220801
20
+ # 数据授权信息
21
+ class DataAuthorizationInfo < TencentCloud::Common::AbstractModel
22
+ # @param DataProviderName: 数据委托方、需求方:客户主体名称。
23
+ # @type DataProviderName: String
24
+ # @param DataRecipientName: 数据受托方、提供方:腾讯云主体名称。
25
+
26
+ # 固定填:腾讯云计算(北京)有限责任公司
27
+ # @type DataRecipientName: String
28
+ # @param UserDataType: 客户请求所涉及的用户个人信息类型,支持多选。实际以接口请求传参为准。
29
+ # 1-手机号;
30
+ # 2-微信开放账号;
31
+ # 3-QQ开放账号;
32
+ # 4-IP地址;
33
+ # @type UserDataType: Array
34
+ # @param IsAuthorize: 客户是否已按合规指南要求获取用户授权,同意客户委托腾讯云处理入参信息,结合已合法收集的用户数据进行必要处理得出服务结果,并返回给客户。
35
+
36
+ # 1-已授权;其它值为未授权。
37
+ # @type IsAuthorize: Integer
38
+ # @param AuthorizationTerm: 客户获得的用户授权期限时间戳(单位秒)。
39
+
40
+ # 不填或0默认无固定期限。
41
+ # @type AuthorizationTerm: Integer
42
+ # @param PrivacyPolicyLink: 客户获得用户授权所依赖的协议地址。
43
+ # @type PrivacyPolicyLink: String
44
+
45
+ attr_accessor :DataProviderName, :DataRecipientName, :UserDataType, :IsAuthorize, :AuthorizationTerm, :PrivacyPolicyLink
46
+
47
+ def initialize(dataprovidername=nil, datarecipientname=nil, userdatatype=nil, isauthorize=nil, authorizationterm=nil, privacypolicylink=nil)
48
+ @DataProviderName = dataprovidername
49
+ @DataRecipientName = datarecipientname
50
+ @UserDataType = userdatatype
51
+ @IsAuthorize = isauthorize
52
+ @AuthorizationTerm = authorizationterm
53
+ @PrivacyPolicyLink = privacypolicylink
54
+ end
55
+
56
+ def deserialize(params)
57
+ @DataProviderName = params['DataProviderName']
58
+ @DataRecipientName = params['DataRecipientName']
59
+ @UserDataType = params['UserDataType']
60
+ @IsAuthorize = params['IsAuthorize']
61
+ @AuthorizationTerm = params['AuthorizationTerm']
62
+ @PrivacyPolicyLink = params['PrivacyPolicyLink']
63
+ end
64
+ end
65
+
20
66
  # DescribeFraudBase请求参数结构体
21
67
  class DescribeFraudBaseRequest < TencentCloud::Common::AbstractModel
22
68
  # @param DeviceToken: 客户端通过SDK获取的设备Token
@@ -221,10 +267,12 @@ module TencentCloud
221
267
  # @type ClientIP: String
222
268
  # @param QQOpenId: QQ的OpenId
223
269
  # @type QQOpenId: String
270
+ # @param DataAuthorization: 数据授权信息
271
+ # @type DataAuthorization: :class:`Tencentcloud::Tds.v20220801.models.DataAuthorizationInfo`
224
272
 
225
- attr_accessor :DeviceToken, :SceneCode, :UserId, :EventTime, :ElapsedTime, :WeChatOpenId, :PhoneNumber, :ClientIP, :QQOpenId
273
+ attr_accessor :DeviceToken, :SceneCode, :UserId, :EventTime, :ElapsedTime, :WeChatOpenId, :PhoneNumber, :ClientIP, :QQOpenId, :DataAuthorization
226
274
 
227
- def initialize(devicetoken=nil, scenecode=nil, userid=nil, eventtime=nil, elapsedtime=nil, wechatopenid=nil, phonenumber=nil, clientip=nil, qqopenid=nil)
275
+ def initialize(devicetoken=nil, scenecode=nil, userid=nil, eventtime=nil, elapsedtime=nil, wechatopenid=nil, phonenumber=nil, clientip=nil, qqopenid=nil, dataauthorization=nil)
228
276
  @DeviceToken = devicetoken
229
277
  @SceneCode = scenecode
230
278
  @UserId = userid
@@ -234,6 +282,7 @@ module TencentCloud
234
282
  @PhoneNumber = phonenumber
235
283
  @ClientIP = clientip
236
284
  @QQOpenId = qqopenid
285
+ @DataAuthorization = dataauthorization
237
286
  end
238
287
 
239
288
  def deserialize(params)
@@ -246,6 +295,10 @@ module TencentCloud
246
295
  @PhoneNumber = params['PhoneNumber']
247
296
  @ClientIP = params['ClientIP']
248
297
  @QQOpenId = params['QQOpenId']
298
+ unless params['DataAuthorization'].nil?
299
+ @DataAuthorization = DataAuthorizationInfo.new
300
+ @DataAuthorization.deserialize(params['DataAuthorization'])
301
+ end
249
302
  end
250
303
  end
251
304
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tds
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.878
4
+ version: 3.0.880
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-08-04 00:00:00.000000000 Z
11
+ date: 2024-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common