tencentcloud-sdk-wedata 3.0.466 → 3.0.467

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20210820/models.rb +49 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab54c94ea4be6b9d71812c987c97a2e5a5e9157c
4
- data.tar.gz: 4d498df63b654cd0a0ebcfefc1966e8ea18c71d9
3
+ metadata.gz: edaf6cd7ac3eed05b59c6b6783c3cbf078cb0d9d
4
+ data.tar.gz: eb0c1e71f2f55a178c4bc9cf9ab7b1b098c785f9
5
5
  SHA512:
6
- metadata.gz: 0186d7a31217b3ef43c7b283e24c0e2b0decf5c052f9f05ed1c94f002d27257fbf3b7dd73d475a02232f539ec5837cdf856e46009c4074cf70f10a7bc6b3ec3e
7
- data.tar.gz: 3731fac1eedade86edcd2c1b38bb6ff3ad96f2838c87d40202fd688a17b45109149776f8ccf208dc006bd0e18e273dd9430d339bb386ad241d6f6da7d110419b
6
+ metadata.gz: d12d014b3bdbc352e8550299cdd4751f396892508264c564323e67669cf98c887285da862dcb4e9a7da8d38e0884485c817aa9ff85da0e3db4b3dcd74b6d2314
7
+ data.tar.gz: cf37ff4fc669afa8617598bac1b31eed9e450a137c44d40905d2c5b681f3a12f3abbf423b11de9bb9db80baaec7d11f52f9c3aa5249681f1f42d7243cfd35ae1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.466
1
+ 3.0.467
@@ -11710,10 +11710,12 @@ module TencentCloud
11710
11710
  # @type DatasourceId: String
11711
11711
  # @param TableId: 数据表Id
11712
11712
  # @type TableId: String
11713
+ # @param WebHooks: 群机器人webhook信息
11714
+ # @type WebHooks: Array
11713
11715
 
11714
- attr_accessor :RuleGroupId, :Receivers, :SubscribeType, :ProjectId, :DatabaseId, :DatasourceId, :TableId
11716
+ attr_accessor :RuleGroupId, :Receivers, :SubscribeType, :ProjectId, :DatabaseId, :DatasourceId, :TableId, :WebHooks
11715
11717
 
11716
- def initialize(rulegroupid=nil, receivers=nil, subscribetype=nil, projectid=nil, databaseid=nil, datasourceid=nil, tableid=nil)
11718
+ def initialize(rulegroupid=nil, receivers=nil, subscribetype=nil, projectid=nil, databaseid=nil, datasourceid=nil, tableid=nil, webhooks=nil)
11717
11719
  @RuleGroupId = rulegroupid
11718
11720
  @Receivers = receivers
11719
11721
  @SubscribeType = subscribetype
@@ -11721,6 +11723,7 @@ module TencentCloud
11721
11723
  @DatabaseId = databaseid
11722
11724
  @DatasourceId = datasourceid
11723
11725
  @TableId = tableid
11726
+ @WebHooks = webhooks
11724
11727
  end
11725
11728
 
11726
11729
  def deserialize(params)
@@ -11738,6 +11741,14 @@ module TencentCloud
11738
11741
  @DatabaseId = params['DatabaseId']
11739
11742
  @DatasourceId = params['DatasourceId']
11740
11743
  @TableId = params['TableId']
11744
+ unless params['WebHooks'].nil?
11745
+ @WebHooks = []
11746
+ params['WebHooks'].each do |i|
11747
+ subscribewebhook_tmp = SubscribeWebHook.new
11748
+ subscribewebhook_tmp.deserialize(i)
11749
+ @WebHooks << subscribewebhook_tmp
11750
+ end
11751
+ end
11741
11752
  end
11742
11753
  end
11743
11754
 
@@ -14672,13 +14683,17 @@ module TencentCloud
14672
14683
  # @param SubscribeType: 订阅方式 1.邮件email 2.短信sms
14673
14684
  # 注意:此字段可能返回 null,表示取不到有效值。
14674
14685
  # @type SubscribeType: Array
14686
+ # @param WebHooks: 群机器人配置的webhook信息
14687
+ # 注意:此字段可能返回 null,表示取不到有效值。
14688
+ # @type WebHooks: Array
14675
14689
 
14676
- attr_accessor :RuleGroupId, :Receivers, :SubscribeType
14690
+ attr_accessor :RuleGroupId, :Receivers, :SubscribeType, :WebHooks
14677
14691
 
14678
- def initialize(rulegroupid=nil, receivers=nil, subscribetype=nil)
14692
+ def initialize(rulegroupid=nil, receivers=nil, subscribetype=nil, webhooks=nil)
14679
14693
  @RuleGroupId = rulegroupid
14680
14694
  @Receivers = receivers
14681
14695
  @SubscribeType = subscribetype
14696
+ @WebHooks = webhooks
14682
14697
  end
14683
14698
 
14684
14699
  def deserialize(params)
@@ -14692,6 +14707,14 @@ module TencentCloud
14692
14707
  end
14693
14708
  end
14694
14709
  @SubscribeType = params['SubscribeType']
14710
+ unless params['WebHooks'].nil?
14711
+ @WebHooks = []
14712
+ params['WebHooks'].each do |i|
14713
+ subscribewebhook_tmp = SubscribeWebHook.new
14714
+ subscribewebhook_tmp.deserialize(i)
14715
+ @WebHooks << subscribewebhook_tmp
14716
+ end
14717
+ end
14695
14718
  end
14696
14719
  end
14697
14720
 
@@ -15825,6 +15848,28 @@ module TencentCloud
15825
15848
  end
15826
15849
  end
15827
15850
 
15851
+ # 群机器人订阅配置
15852
+ class SubscribeWebHook < TencentCloud::Common::AbstractModel
15853
+ # @param HookType: 群机器人类型,当前支持飞书
15854
+ # 注意:此字段可能返回 null,表示取不到有效值。
15855
+ # @type HookType: String
15856
+ # @param HookAddress: 群机器人webhook地址,配置方式参考https://cloud.tencent.com/document/product/1254/70736
15857
+ # 注意:此字段可能返回 null,表示取不到有效值。
15858
+ # @type HookAddress: String
15859
+
15860
+ attr_accessor :HookType, :HookAddress
15861
+
15862
+ def initialize(hooktype=nil, hookaddress=nil)
15863
+ @HookType = hooktype
15864
+ @HookAddress = hookaddress
15865
+ end
15866
+
15867
+ def deserialize(params)
15868
+ @HookType = params['HookType']
15869
+ @HookAddress = params['HookAddress']
15870
+ end
15871
+ end
15872
+
15828
15873
  # SuspendIntegrationTask请求参数结构体
15829
15874
  class SuspendIntegrationTaskRequest < TencentCloud::Common::AbstractModel
15830
15875
  # @param TaskId: 任务id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-wedata
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.466
4
+ version: 3.0.467
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-06 00:00:00.000000000 Z
11
+ date: 2022-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common