tencentcloud-sdk-tcbr 1.0.342 → 1.0.343

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/v20220217/models.rb +41 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e82794283d0050028c83b2e71c8a1d03996d6042
4
- data.tar.gz: f42e42d6c34c2a9d612f60b3b1946bf2bd2ac752
3
+ metadata.gz: 66c139db9b33dd8c02f2e993244f33181af671df
4
+ data.tar.gz: 11428c50ada0504979091435b62fd28a5b8aff4d
5
5
  SHA512:
6
- metadata.gz: c105db0b23333c2c70bc294a11a4b547abb6fc189c9f816b95c19f8d0d41f4088059000c0f33bf81f24e9c352224f5b85aa82a372fc2b5c3b9ff2fda3c521091
7
- data.tar.gz: f0b1d9c428cb7cc519e582c5d1edc84c2fec0ab306f44a29c7ece88471c737ed9267b26726c7f331621308012d4d75d4676d0c55f9e83d0e08fc9888ee06b450
6
+ metadata.gz: 4ac2dab4e8e43a10d032158c405515e6cc2674b9196860ed02d95096e6cd88a0676865b0163ca3073fd8531e296075412b3510591ae854dcf36e93fe2f92fc2f
7
+ data.tar.gz: 6df918c2acaeefdd0061bc1723bc2a56c5223de6ada094a800c7c0ea97516d5cbd65f31969f349f9ea17132f81ba6354e4cde5c25a79930fa90f82805ee7bb79
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.342
1
+ 1.0.343
@@ -360,14 +360,18 @@ module TencentCloud
360
360
  # @param ServerConfig: 服务配置信息
361
361
  # 注意:此字段可能返回 null,表示取不到有效值。
362
362
  # @type ServerConfig: :class:`Tencentcloud::Tcbr.v20220217.models.ServerBaseConfig`
363
+ # @param OnlineVersionInfos: 在线版本信息
364
+ # 注意:此字段可能返回 null,表示取不到有效值。
365
+ # @type OnlineVersionInfos: Array
363
366
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
364
367
  # @type RequestId: String
365
368
 
366
- attr_accessor :BaseInfo, :ServerConfig, :RequestId
369
+ attr_accessor :BaseInfo, :ServerConfig, :OnlineVersionInfos, :RequestId
367
370
 
368
- def initialize(baseinfo=nil, serverconfig=nil, requestid=nil)
371
+ def initialize(baseinfo=nil, serverconfig=nil, onlineversioninfos=nil, requestid=nil)
369
372
  @BaseInfo = baseinfo
370
373
  @ServerConfig = serverconfig
374
+ @OnlineVersionInfos = onlineversioninfos
371
375
  @RequestId = requestid
372
376
  end
373
377
 
@@ -380,6 +384,14 @@ module TencentCloud
380
384
  @ServerConfig = ServerBaseConfig.new
381
385
  @ServerConfig.deserialize(params['ServerConfig'])
382
386
  end
387
+ unless params['OnlineVersionInfos'].nil?
388
+ @OnlineVersionInfos = []
389
+ params['OnlineVersionInfos'].each do |i|
390
+ onlineversioninfo_tmp = OnlineVersionInfo.new
391
+ onlineversioninfo_tmp.deserialize(i)
392
+ @OnlineVersionInfos << onlineversioninfo_tmp
393
+ end
394
+ end
383
395
  @RequestId = params['RequestId']
384
396
  end
385
397
  end
@@ -821,6 +833,33 @@ module TencentCloud
821
833
  end
822
834
  end
823
835
 
836
+ # 在线版本信息
837
+ class OnlineVersionInfo < TencentCloud::Common::AbstractModel
838
+ # @param VersionName: 版本名
839
+ # 注意:此字段可能返回 null,表示取不到有效值。
840
+ # @type VersionName: String
841
+ # @param ImageUrl: 镜像url
842
+ # 注意:此字段可能返回 null,表示取不到有效值。
843
+ # @type ImageUrl: String
844
+ # @param FlowRatio: 流量
845
+ # 注意:此字段可能返回 null,表示取不到有效值。
846
+ # @type FlowRatio: String
847
+
848
+ attr_accessor :VersionName, :ImageUrl, :FlowRatio
849
+
850
+ def initialize(versionname=nil, imageurl=nil, flowratio=nil)
851
+ @VersionName = versionname
852
+ @ImageUrl = imageurl
853
+ @FlowRatio = flowratio
854
+ end
855
+
856
+ def deserialize(params)
857
+ @VersionName = params['VersionName']
858
+ @ImageUrl = params['ImageUrl']
859
+ @FlowRatio = params['FlowRatio']
860
+ end
861
+ end
862
+
824
863
  # OperateServerManage请求参数结构体
825
864
  class OperateServerManageRequest < TencentCloud::Common::AbstractModel
826
865
  # @param EnvId: 环境Id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tcbr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.342
4
+ version: 1.0.343
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-06-26 00:00:00.000000000 Z
11
+ date: 2022-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common