tencentcloud-sdk-teo 1.0.364 → 3.0.371

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/v20220106/models.rb +115 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c3075244acb2961277d1ebba7a5916c48886bad7
4
- data.tar.gz: d423e0d1cfab201366f725e04cdc278c651b4e59
3
+ metadata.gz: fe94e81eaa90a45e6717fd2341a79addec85761e
4
+ data.tar.gz: f2329eb45396715b9cea5b5bb3fde52a2585adac
5
5
  SHA512:
6
- metadata.gz: 24531c3209daa6f5b9c849c51cf0c2721df8325ba22009b99fbff4a0698154727ca2f922f790771fe2f253786528f9d1843c669eff4da7f6bcea5b1c873edf97
7
- data.tar.gz: a32df4b740ab4b49bbb450b221102ea9328f2eecf09dfde5ae7d72cf88aa58e75920508d4f85fea85c8d74948d3b4a248ede3cde72b75f289ce333676840b76e
6
+ metadata.gz: 4b1848d10c35e960e4d71e5d0c8fdf0e0a93cc186fec564a0c52fc699bc92deb9090d573d902513a26a06c569a2d730990facbd64ed765ff166551fa0cbfa2c4
7
+ data.tar.gz: 1b122e116f3db3fa5a64f9d023f48d9310c7ee5db3e0310ff25c285e8994b3ee1b9b98cddd13962a9991a2f6197c1651a78115fd67e398839402f4f5bc706be1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.364
1
+ 3.0.371
@@ -6321,12 +6321,15 @@ module TencentCloud
6321
6321
  # @param Tags: 资源标签
6322
6322
  # 注意:此字段可能返回 null,表示取不到有效值。
6323
6323
  # @type Tags: Array
6324
+ # @param Resources: 计费资源
6325
+ # 注意:此字段可能返回 null,表示取不到有效值。
6326
+ # @type Resources: Array
6324
6327
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6325
6328
  # @type RequestId: String
6326
6329
 
6327
- attr_accessor :Id, :Name, :OriginalNameServers, :NameServers, :Status, :Type, :Paused, :CreatedOn, :ModifiedOn, :VanityNameServers, :VanityNameServersIps, :CnameSpeedUp, :CnameStatus, :Tags, :RequestId
6330
+ attr_accessor :Id, :Name, :OriginalNameServers, :NameServers, :Status, :Type, :Paused, :CreatedOn, :ModifiedOn, :VanityNameServers, :VanityNameServersIps, :CnameSpeedUp, :CnameStatus, :Tags, :Resources, :RequestId
6328
6331
 
6329
- def initialize(id=nil, name=nil, originalnameservers=nil, nameservers=nil, status=nil, type=nil, paused=nil, createdon=nil, modifiedon=nil, vanitynameservers=nil, vanitynameserversips=nil, cnamespeedup=nil, cnamestatus=nil, tags=nil, requestid=nil)
6332
+ def initialize(id=nil, name=nil, originalnameservers=nil, nameservers=nil, status=nil, type=nil, paused=nil, createdon=nil, modifiedon=nil, vanitynameservers=nil, vanitynameserversips=nil, cnamespeedup=nil, cnamestatus=nil, tags=nil, resources=nil, requestid=nil)
6330
6333
  @Id = id
6331
6334
  @Name = name
6332
6335
  @OriginalNameServers = originalnameservers
@@ -6341,6 +6344,7 @@ module TencentCloud
6341
6344
  @CnameSpeedUp = cnamespeedup
6342
6345
  @CnameStatus = cnamestatus
6343
6346
  @Tags = tags
6347
+ @Resources = resources
6344
6348
  @RequestId = requestid
6345
6349
  end
6346
6350
 
@@ -6376,6 +6380,14 @@ module TencentCloud
6376
6380
  @Tags << tag_tmp
6377
6381
  end
6378
6382
  end
6383
+ unless params['Resources'].nil?
6384
+ @Resources = []
6385
+ params['Resources'].each do |i|
6386
+ resource_tmp = Resource.new
6387
+ resource_tmp.deserialize(i)
6388
+ @Resources << resource_tmp
6389
+ end
6390
+ end
6379
6391
  @RequestId = params['RequestId']
6380
6392
  end
6381
6393
  end
@@ -9295,6 +9307,66 @@ module TencentCloud
9295
9307
  end
9296
9308
  end
9297
9309
 
9310
+ # 计费资源
9311
+ class Resource < TencentCloud::Common::AbstractModel
9312
+ # @param Id: 资源 ID
9313
+ # @type Id: String
9314
+ # @param PayMode: 付费模式
9315
+ # 0 为后付费
9316
+ # 1 为预付费
9317
+ # @type PayMode: Integer
9318
+ # @param CreateTime: 创建时间
9319
+ # @type CreateTime: String
9320
+ # @param EnableTime: 生效时间
9321
+ # @type EnableTime: String
9322
+ # @param ExpireTime: 失效时间
9323
+ # @type ExpireTime: String
9324
+ # @param Status: 套餐状态
9325
+ # @type Status: String
9326
+ # @param Sv: 询价参数
9327
+ # @type Sv: Array
9328
+ # @param AutoRenewFlag: 是否自动续费
9329
+ # 0 表示默认状态
9330
+ # 1 表示自动续费
9331
+ # 2 表示不自动续费
9332
+ # @type AutoRenewFlag: Integer
9333
+ # @param PlanId: 套餐关联资源ID
9334
+ # @type PlanId: String
9335
+
9336
+ attr_accessor :Id, :PayMode, :CreateTime, :EnableTime, :ExpireTime, :Status, :Sv, :AutoRenewFlag, :PlanId
9337
+
9338
+ def initialize(id=nil, paymode=nil, createtime=nil, enabletime=nil, expiretime=nil, status=nil, sv=nil, autorenewflag=nil, planid=nil)
9339
+ @Id = id
9340
+ @PayMode = paymode
9341
+ @CreateTime = createtime
9342
+ @EnableTime = enabletime
9343
+ @ExpireTime = expiretime
9344
+ @Status = status
9345
+ @Sv = sv
9346
+ @AutoRenewFlag = autorenewflag
9347
+ @PlanId = planid
9348
+ end
9349
+
9350
+ def deserialize(params)
9351
+ @Id = params['Id']
9352
+ @PayMode = params['PayMode']
9353
+ @CreateTime = params['CreateTime']
9354
+ @EnableTime = params['EnableTime']
9355
+ @ExpireTime = params['ExpireTime']
9356
+ @Status = params['Status']
9357
+ unless params['Sv'].nil?
9358
+ @Sv = []
9359
+ params['Sv'].each do |i|
9360
+ sv_tmp = Sv.new
9361
+ sv_tmp.deserialize(i)
9362
+ @Sv << sv_tmp
9363
+ end
9364
+ end
9365
+ @AutoRenewFlag = params['AutoRenewFlag']
9366
+ @PlanId = params['PlanId']
9367
+ end
9368
+ end
9369
+
9298
9370
  # ScanDnsRecords请求参数结构体
9299
9371
  class ScanDnsRecordsRequest < TencentCloud::Common::AbstractModel
9300
9372
  # @param ZoneId: 站点 ID
@@ -9632,6 +9704,26 @@ module TencentCloud
9632
9704
  end
9633
9705
  end
9634
9706
 
9707
+ # 询价参数
9708
+ class Sv < TencentCloud::Common::AbstractModel
9709
+ # @param Key: 询价参数 key
9710
+ # @type Key: String
9711
+ # @param Value: 询价参数 value
9712
+ # @type Value: String
9713
+
9714
+ attr_accessor :Key, :Value
9715
+
9716
+ def initialize(key=nil, value=nil)
9717
+ @Key = key
9718
+ @Value = value
9719
+ end
9720
+
9721
+ def deserialize(params)
9722
+ @Key = params['Key']
9723
+ @Value = params['Value']
9724
+ end
9725
+ end
9726
+
9635
9727
  # 功能总开关
9636
9728
  class SwitchConfig < TencentCloud::Common::AbstractModel
9637
9729
  # @param WebSwitch: Web类型的安全总开关:Web基础防护,自定义规则,速率限制
@@ -10279,10 +10371,18 @@ module TencentCloud
10279
10371
  # @param Tags: 资源标签
10280
10372
  # 注意:此字段可能返回 null,表示取不到有效值。
10281
10373
  # @type Tags: Array
10374
+ # @param Resources: 计费资源
10375
+ # 注意:此字段可能返回 null,表示取不到有效值。
10376
+ # @type Resources: Array
10377
+ # @param CnameSpeedUp: 是否开启cname加速
10378
+ # - enabled 开启
10379
+ # - disabled 关闭
10380
+ # 注意:此字段可能返回 null,表示取不到有效值。
10381
+ # @type CnameSpeedUp: String
10282
10382
 
10283
- attr_accessor :Id, :Name, :OriginalNameServers, :NameServers, :Status, :Type, :Paused, :CreatedOn, :ModifiedOn, :CnameStatus, :Tags
10383
+ attr_accessor :Id, :Name, :OriginalNameServers, :NameServers, :Status, :Type, :Paused, :CreatedOn, :ModifiedOn, :CnameStatus, :Tags, :Resources, :CnameSpeedUp
10284
10384
 
10285
- def initialize(id=nil, name=nil, originalnameservers=nil, nameservers=nil, status=nil, type=nil, paused=nil, createdon=nil, modifiedon=nil, cnamestatus=nil, tags=nil)
10385
+ def initialize(id=nil, name=nil, originalnameservers=nil, nameservers=nil, status=nil, type=nil, paused=nil, createdon=nil, modifiedon=nil, cnamestatus=nil, tags=nil, resources=nil, cnamespeedup=nil)
10286
10386
  @Id = id
10287
10387
  @Name = name
10288
10388
  @OriginalNameServers = originalnameservers
@@ -10294,6 +10394,8 @@ module TencentCloud
10294
10394
  @ModifiedOn = modifiedon
10295
10395
  @CnameStatus = cnamestatus
10296
10396
  @Tags = tags
10397
+ @Resources = resources
10398
+ @CnameSpeedUp = cnamespeedup
10297
10399
  end
10298
10400
 
10299
10401
  def deserialize(params)
@@ -10315,6 +10417,15 @@ module TencentCloud
10315
10417
  @Tags << tag_tmp
10316
10418
  end
10317
10419
  end
10420
+ unless params['Resources'].nil?
10421
+ @Resources = []
10422
+ params['Resources'].each do |i|
10423
+ resource_tmp = Resource.new
10424
+ resource_tmp.deserialize(i)
10425
+ @Resources << resource_tmp
10426
+ end
10427
+ end
10428
+ @CnameSpeedUp = params['CnameSpeedUp']
10318
10429
  end
10319
10430
  end
10320
10431
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-teo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.364
4
+ version: 3.0.371
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-07-26 00:00:00.000000000 Z
11
+ date: 2022-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common