tencentcloud-sdk-cls 3.0.813 → 3.0.814

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/v20201016/models.rb +140 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d4a570711bf7e4db0d25ef685881d871c82b6fb7
4
- data.tar.gz: 6ee1b15aa5b7319f554b741e2ef1c19c81caf23c
3
+ metadata.gz: b812e9c169a9f595fd41f63b0e2c42a23b5eadf7
4
+ data.tar.gz: 8755146daa243894c85947ffa10b0d8b0831104b
5
5
  SHA512:
6
- metadata.gz: 170b0e620c9e86e70869fbda1838170057fe702499b0e01706b068cd9947c257a7d476c07a217dcf62600f151f66990b3ba952cab690d997cba8fc1f6897b7be
7
- data.tar.gz: 6ebab2ce7675859f442bce11603816e1e8ae1de4b7c679fdaa96d068d842ff9bab4d88efe0b7c84d1e9394bda64cd116ddeb97d58d509ba7b15fa76b3198e7d5
6
+ metadata.gz: c2b9eab72298370741829d078c09b776edba1091eb478d7750bba3bf325b637b34009ab588e2f07149c1e6e8a91db65a65ef936523e29ff2121cd570350b4629
7
+ data.tar.gz: 3385873dbf586e492d815b528c9fd2c11b330be3e3b7bb1e9d7bac0d4777aa7a1c865f24efef8b29ea6e5a6130cf74a9df0aec0bdde68ffb3087160c61f1b660
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.813
1
+ 3.0.814
@@ -3153,6 +3153,125 @@ module TencentCloud
3153
3153
  end
3154
3154
  end
3155
3155
 
3156
+ # 仪表盘订阅通知方式
3157
+ class DashboardNoticeMode < TencentCloud::Common::AbstractModel
3158
+ # @param ReceiverType: 仪表盘通知方式。<br>
3159
+ # <li/>Uin:腾讯云用户<br>
3160
+ # <li/>Group:腾讯云用户组<br>
3161
+ # <li/>Email:自定义Email<br>
3162
+ # <li/>WeCom: 企业微信回调
3163
+ # @type ReceiverType: String
3164
+ # @param Values: 知方式对应的值。
3165
+ # <br> <li/> 当ReceiverType不是 Wecom 时,Values必填。
3166
+ # @type Values: Array
3167
+ # @param ReceiverChannels: 仪表盘通知渠道。
3168
+ # <br><li/> 支持:["Email","Sms","WeChat","Phone"]。
3169
+ # <br><li/> 当ReceiverType是 Email 或 Wecom 时,ReceiverChannels不能赋值。
3170
+ # 注意:此字段可能返回 null,表示取不到有效值。
3171
+ # @type ReceiverChannels: Array
3172
+ # @param Url: 回调Url。
3173
+ # <br><li/> 当ReceiverType是 Wecom 时,Url必填。
3174
+ # <br><li/> 当ReceiverType不是 Wecom 时,Url不能填写。
3175
+ # 注意:此字段可能返回 null,表示取不到有效值。
3176
+ # @type Url: String
3177
+
3178
+ attr_accessor :ReceiverType, :Values, :ReceiverChannels, :Url
3179
+
3180
+ def initialize(receivertype=nil, values=nil, receiverchannels=nil, url=nil)
3181
+ @ReceiverType = receivertype
3182
+ @Values = values
3183
+ @ReceiverChannels = receiverchannels
3184
+ @Url = url
3185
+ end
3186
+
3187
+ def deserialize(params)
3188
+ @ReceiverType = params['ReceiverType']
3189
+ @Values = params['Values']
3190
+ @ReceiverChannels = params['ReceiverChannels']
3191
+ @Url = params['Url']
3192
+ end
3193
+ end
3194
+
3195
+ # 仪表盘订阅相关数据
3196
+ class DashboardSubscribeData < TencentCloud::Common::AbstractModel
3197
+ # @param NoticeModes: 仪表盘订阅通知方式。
3198
+ # @type NoticeModes: Array
3199
+ # @param DashboardTime: 仪表盘订阅时间,为空标识取仪表盘默认的时间。
3200
+ # 注意:此字段可能返回 null,表示取不到有效值。
3201
+ # @type DashboardTime: Array
3202
+ # @param TemplateVariables: 仪表盘订阅模板变量。
3203
+ # 注意:此字段可能返回 null,表示取不到有效值。
3204
+ # @type TemplateVariables: Array
3205
+ # @param Timezone: 时区。参考:https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#SHANGHAI
3206
+ # 注意:此字段可能返回 null,表示取不到有效值。
3207
+ # @type Timezone: String
3208
+ # @param SubscribeLanguage: 语言。 zh 中文、en`英文。
3209
+ # 注意:此字段可能返回 null,表示取不到有效值。
3210
+ # @type SubscribeLanguage: String
3211
+ # @param JumpDomain: 调用链接域名。http:// 或者 https:// 开头,不能/结尾
3212
+ # 注意:此字段可能返回 null,表示取不到有效值。
3213
+ # @type JumpDomain: String
3214
+ # @param JumpUrl: 自定义跳转链接。
3215
+ # 注意:此字段可能返回 null,表示取不到有效值。
3216
+ # @type JumpUrl: String
3217
+
3218
+ attr_accessor :NoticeModes, :DashboardTime, :TemplateVariables, :Timezone, :SubscribeLanguage, :JumpDomain, :JumpUrl
3219
+
3220
+ def initialize(noticemodes=nil, dashboardtime=nil, templatevariables=nil, timezone=nil, subscribelanguage=nil, jumpdomain=nil, jumpurl=nil)
3221
+ @NoticeModes = noticemodes
3222
+ @DashboardTime = dashboardtime
3223
+ @TemplateVariables = templatevariables
3224
+ @Timezone = timezone
3225
+ @SubscribeLanguage = subscribelanguage
3226
+ @JumpDomain = jumpdomain
3227
+ @JumpUrl = jumpurl
3228
+ end
3229
+
3230
+ def deserialize(params)
3231
+ unless params['NoticeModes'].nil?
3232
+ @NoticeModes = []
3233
+ params['NoticeModes'].each do |i|
3234
+ dashboardnoticemode_tmp = DashboardNoticeMode.new
3235
+ dashboardnoticemode_tmp.deserialize(i)
3236
+ @NoticeModes << dashboardnoticemode_tmp
3237
+ end
3238
+ end
3239
+ @DashboardTime = params['DashboardTime']
3240
+ unless params['TemplateVariables'].nil?
3241
+ @TemplateVariables = []
3242
+ params['TemplateVariables'].each do |i|
3243
+ dashboardtemplatevariable_tmp = DashboardTemplateVariable.new
3244
+ dashboardtemplatevariable_tmp.deserialize(i)
3245
+ @TemplateVariables << dashboardtemplatevariable_tmp
3246
+ end
3247
+ end
3248
+ @Timezone = params['Timezone']
3249
+ @SubscribeLanguage = params['SubscribeLanguage']
3250
+ @JumpDomain = params['JumpDomain']
3251
+ @JumpUrl = params['JumpUrl']
3252
+ end
3253
+ end
3254
+
3255
+ # 仪表盘订阅模板变量
3256
+ class DashboardTemplateVariable < TencentCloud::Common::AbstractModel
3257
+ # @param Key: key的值
3258
+ # @type Key: String
3259
+ # @param Values: key对应的values取值values
3260
+ # @type Values: Array
3261
+
3262
+ attr_accessor :Key, :Values
3263
+
3264
+ def initialize(key=nil, values=nil)
3265
+ @Key = key
3266
+ @Values = values
3267
+ end
3268
+
3269
+ def deserialize(params)
3270
+ @Key = params['Key']
3271
+ @Values = params['Values']
3272
+ end
3273
+ end
3274
+
3156
3275
  # 仪表盘关联的topic信息
3157
3276
  class DashboardTopicInfo < TencentCloud::Common::AbstractModel
3158
3277
  # @param TopicId: 主题id
@@ -9204,12 +9323,32 @@ module TencentCloud
9204
9323
 
9205
9324
  # SearchDashboardSubscribe请求参数结构体
9206
9325
  class SearchDashboardSubscribeRequest < TencentCloud::Common::AbstractModel
9326
+ # @param DashboardId: 仪表盘id。
9327
+ # @type DashboardId: String
9328
+ # @param SubscribeData: 仪表盘订阅数据。
9329
+ # @type SubscribeData: :class:`Tencentcloud::Cls.v20201016.models.DashboardSubscribeData`
9330
+ # @param Id: 仪表盘订阅Id。
9331
+ # @type Id: Integer
9332
+ # @param Name: 仪表盘订阅名称。
9333
+ # @type Name: String
9207
9334
 
9335
+ attr_accessor :DashboardId, :SubscribeData, :Id, :Name
9208
9336
 
9209
- def initialize()
9337
+ def initialize(dashboardid=nil, subscribedata=nil, id=nil, name=nil)
9338
+ @DashboardId = dashboardid
9339
+ @SubscribeData = subscribedata
9340
+ @Id = id
9341
+ @Name = name
9210
9342
  end
9211
9343
 
9212
9344
  def deserialize(params)
9345
+ @DashboardId = params['DashboardId']
9346
+ unless params['SubscribeData'].nil?
9347
+ @SubscribeData = DashboardSubscribeData.new
9348
+ @SubscribeData.deserialize(params['SubscribeData'])
9349
+ end
9350
+ @Id = params['Id']
9351
+ @Name = params['Name']
9213
9352
  end
9214
9353
  end
9215
9354
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cls
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.813
4
+ version: 3.0.814
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-04-30 00:00:00.000000000 Z
11
+ date: 2024-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common