tencentcloud-sdk-oceanus 3.0.1143 → 3.0.1154

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20696e0c345cdbd6de17b8e6f5a48491bf746956
4
- data.tar.gz: e61b85f5eae90101c00b86f25b00117057b2db25
3
+ metadata.gz: d68b97fea405e7b72a9d464a84ba5a24f5672c19
4
+ data.tar.gz: 696b0b905735f0988f87153b613e8f737e3fbf16
5
5
  SHA512:
6
- metadata.gz: 2f5cfbab418a29486361759b2badbd36b0dcc186268139431d90b003218d748c63f2bd1292acb1e90c306c3b71bd34de3170c0b585d60d6327fae729bb4d2b82
7
- data.tar.gz: c0a634497fe078e913d60762c5208a0f0a294a9bcc70c199047d4d6f68f2a18fe58ff5dcf4da04478d65088c2e924b92b619fdd68d931255d183ccbf4253bc52
6
+ metadata.gz: e74acad10749fb56bb629bcc9f2de86f1585def03eed054846922b38d9c6281665a0c00d0c7097f0a20c8dc6d5b75afe3b6b8ee488bfa86ff167d49d0a1a2806
7
+ data.tar.gz: 29038387bcac1a67d0143cb0f4d008245bf68ce5027bb1b637fdaac70011a0ab6855cb21d5e2e1e36ec2d2948bb0e0cb054082313a98a9a442d3cb5b9b9f4def
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1143
1
+ 3.0.1154
@@ -245,6 +245,30 @@ module TencentCloud
245
245
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
246
  end
247
247
 
248
+ # 创建变量
249
+
250
+ # @param request: Request instance for CreateVariable.
251
+ # @type request: :class:`Tencentcloud::oceanus::V20190422::CreateVariableRequest`
252
+ # @rtype: :class:`Tencentcloud::oceanus::V20190422::CreateVariableResponse`
253
+ def CreateVariable(request)
254
+ body = send_request('CreateVariable', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = CreateVariableResponse.new
258
+ model.deserialize(response['Response'])
259
+ model
260
+ else
261
+ code = response['Response']['Error']['Code']
262
+ message = response['Response']['Error']['Message']
263
+ reqid = response['Response']['RequestId']
264
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
265
+ end
266
+ rescue TencentCloud::Common::TencentCloudSDKException => e
267
+ raise e
268
+ rescue StandardError => e
269
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
+ end
271
+
248
272
  # 创建工作空间
249
273
 
250
274
  # @param request: Request instance for CreateWorkSpace.
@@ -773,6 +797,30 @@ module TencentCloud
773
797
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
774
798
  end
775
799
 
800
+ # 变量列表展示
801
+
802
+ # @param request: Request instance for DescribeVariables.
803
+ # @type request: :class:`Tencentcloud::oceanus::V20190422::DescribeVariablesRequest`
804
+ # @rtype: :class:`Tencentcloud::oceanus::V20190422::DescribeVariablesResponse`
805
+ def DescribeVariables(request)
806
+ body = send_request('DescribeVariables', request.serialize)
807
+ response = JSON.parse(body)
808
+ if response['Response'].key?('Error') == false
809
+ model = DescribeVariablesResponse.new
810
+ model.deserialize(response['Response'])
811
+ model
812
+ else
813
+ code = response['Response']['Error']['Code']
814
+ message = response['Response']['Error']['Message']
815
+ reqid = response['Response']['RequestId']
816
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
817
+ end
818
+ rescue TencentCloud::Common::TencentCloudSDKException => e
819
+ raise e
820
+ rescue StandardError => e
821
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
822
+ end
823
+
776
824
  # 授权工作空间列表
777
825
 
778
826
  # @param request: Request instance for DescribeWorkSpaces.
@@ -1449,6 +1449,58 @@ module TencentCloud
1449
1449
  end
1450
1450
  end
1451
1451
 
1452
+ # CreateVariable请求参数结构体
1453
+ class CreateVariableRequest < TencentCloud::Common::AbstractModel
1454
+ # @param Name: 变量名
1455
+ # @type Name: String
1456
+ # @param Value: 变量值
1457
+ # @type Value: String
1458
+ # @param Type: 变量类型 1:显式 2:隐藏
1459
+ # @type Type: Integer
1460
+ # @param Remark: 描述信息
1461
+ # @type Remark: String
1462
+ # @param WorkSpaceId: 工作空间 SerialId
1463
+ # @type WorkSpaceId: String
1464
+
1465
+ attr_accessor :Name, :Value, :Type, :Remark, :WorkSpaceId
1466
+
1467
+ def initialize(name=nil, value=nil, type=nil, remark=nil, workspaceid=nil)
1468
+ @Name = name
1469
+ @Value = value
1470
+ @Type = type
1471
+ @Remark = remark
1472
+ @WorkSpaceId = workspaceid
1473
+ end
1474
+
1475
+ def deserialize(params)
1476
+ @Name = params['Name']
1477
+ @Value = params['Value']
1478
+ @Type = params['Type']
1479
+ @Remark = params['Remark']
1480
+ @WorkSpaceId = params['WorkSpaceId']
1481
+ end
1482
+ end
1483
+
1484
+ # CreateVariable返回参数结构体
1485
+ class CreateVariableResponse < TencentCloud::Common::AbstractModel
1486
+ # @param VariableId: 变量Id
1487
+ # @type VariableId: String
1488
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1489
+ # @type RequestId: String
1490
+
1491
+ attr_accessor :VariableId, :RequestId
1492
+
1493
+ def initialize(variableid=nil, requestid=nil)
1494
+ @VariableId = variableid
1495
+ @RequestId = requestid
1496
+ end
1497
+
1498
+ def deserialize(params)
1499
+ @VariableId = params['VariableId']
1500
+ @RequestId = params['RequestId']
1501
+ end
1502
+ end
1503
+
1452
1504
  # CreateWorkSpace请求参数结构体
1453
1505
  class CreateWorkSpaceRequest < TencentCloud::Common::AbstractModel
1454
1506
  # @param WorkSpaceName: 工作空间名称
@@ -2977,6 +3029,38 @@ module TencentCloud
2977
3029
  end
2978
3030
  end
2979
3031
 
3032
+ # DescribeVariables请求参数结构体
3033
+ class DescribeVariablesRequest < TencentCloud::Common::AbstractModel
3034
+ # @param WorkSpaceId: 工作空间 SerialId
3035
+ # @type WorkSpaceId: String
3036
+
3037
+ attr_accessor :WorkSpaceId
3038
+
3039
+ def initialize(workspaceid=nil)
3040
+ @WorkSpaceId = workspaceid
3041
+ end
3042
+
3043
+ def deserialize(params)
3044
+ @WorkSpaceId = params['WorkSpaceId']
3045
+ end
3046
+ end
3047
+
3048
+ # DescribeVariables返回参数结构体
3049
+ class DescribeVariablesResponse < TencentCloud::Common::AbstractModel
3050
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3051
+ # @type RequestId: String
3052
+
3053
+ attr_accessor :RequestId
3054
+
3055
+ def initialize(requestid=nil)
3056
+ @RequestId = requestid
3057
+ end
3058
+
3059
+ def deserialize(params)
3060
+ @RequestId = params['RequestId']
3061
+ end
3062
+ end
3063
+
2980
3064
  # DescribeWorkSpaces请求参数结构体
2981
3065
  class DescribeWorkSpacesRequest < TencentCloud::Common::AbstractModel
2982
3066
  # @param Offset: 偏移量,默认 0
@@ -3818,9 +3902,11 @@ module TencentCloud
3818
3902
  # @param ClusterName: 集群名字
3819
3903
  # 注意:此字段可能返回 null,表示取不到有效值。
3820
3904
  # @type ClusterName: String
3821
- # @param LatestJobConfigVersion: 最新配置版本号
3905
+ # @param LatestJobConfigVersion: 最新配置版本号,包括已经删除的版本
3822
3906
  # 注意:此字段可能返回 null,表示取不到有效值。
3823
3907
  # @type LatestJobConfigVersion: Integer
3908
+ # @param LatestValidJobConfigVersion: 最新的版本号,不包括已经删除的版本号
3909
+ # @type LatestValidJobConfigVersion: Integer
3824
3910
  # @param PublishedJobConfigVersion: 已发布的配置版本
3825
3911
  # 注意:此字段可能返回 null,表示取不到有效值。
3826
3912
  # @type PublishedJobConfigVersion: Integer
@@ -3887,10 +3973,12 @@ module TencentCloud
3887
3973
  # @type ProgressDesc: String
3888
3974
  # @param ContinueAlarm: 停止持续告警
3889
3975
  # @type ContinueAlarm: Integer
3976
+ # @param RestartCount: 作业重启次数
3977
+ # @type RestartCount: Integer
3890
3978
 
3891
- attr_accessor :JobId, :Region, :Zone, :AppId, :OwnerUin, :CreatorUin, :Name, :JobType, :Status, :CreateTime, :StartTime, :StopTime, :UpdateTime, :TotalRunMillis, :Remark, :LastOpResult, :ClusterName, :LatestJobConfigVersion, :PublishedJobConfigVersion, :RunningCuNum, :CuMem, :StatusDesc, :CurrentRunMillis, :ClusterId, :WebUIUrl, :SchedulerType, :ClusterStatus, :RunningCu, :FlinkVersion, :WorkSpaceId, :WorkSpaceName, :Tags, :EventInfo, :Description, :ScalingType, :RunningCpu, :RunningMem, :OpenJobDefaultAlarm, :ProgressDesc, :ContinueAlarm
3979
+ attr_accessor :JobId, :Region, :Zone, :AppId, :OwnerUin, :CreatorUin, :Name, :JobType, :Status, :CreateTime, :StartTime, :StopTime, :UpdateTime, :TotalRunMillis, :Remark, :LastOpResult, :ClusterName, :LatestJobConfigVersion, :LatestValidJobConfigVersion, :PublishedJobConfigVersion, :RunningCuNum, :CuMem, :StatusDesc, :CurrentRunMillis, :ClusterId, :WebUIUrl, :SchedulerType, :ClusterStatus, :RunningCu, :FlinkVersion, :WorkSpaceId, :WorkSpaceName, :Tags, :EventInfo, :Description, :ScalingType, :RunningCpu, :RunningMem, :OpenJobDefaultAlarm, :ProgressDesc, :ContinueAlarm, :RestartCount
3892
3980
 
3893
- def initialize(jobid=nil, region=nil, zone=nil, appid=nil, owneruin=nil, creatoruin=nil, name=nil, jobtype=nil, status=nil, createtime=nil, starttime=nil, stoptime=nil, updatetime=nil, totalrunmillis=nil, remark=nil, lastopresult=nil, clustername=nil, latestjobconfigversion=nil, publishedjobconfigversion=nil, runningcunum=nil, cumem=nil, statusdesc=nil, currentrunmillis=nil, clusterid=nil, webuiurl=nil, schedulertype=nil, clusterstatus=nil, runningcu=nil, flinkversion=nil, workspaceid=nil, workspacename=nil, tags=nil, eventinfo=nil, description=nil, scalingtype=nil, runningcpu=nil, runningmem=nil, openjobdefaultalarm=nil, progressdesc=nil, continuealarm=nil)
3981
+ def initialize(jobid=nil, region=nil, zone=nil, appid=nil, owneruin=nil, creatoruin=nil, name=nil, jobtype=nil, status=nil, createtime=nil, starttime=nil, stoptime=nil, updatetime=nil, totalrunmillis=nil, remark=nil, lastopresult=nil, clustername=nil, latestjobconfigversion=nil, latestvalidjobconfigversion=nil, publishedjobconfigversion=nil, runningcunum=nil, cumem=nil, statusdesc=nil, currentrunmillis=nil, clusterid=nil, webuiurl=nil, schedulertype=nil, clusterstatus=nil, runningcu=nil, flinkversion=nil, workspaceid=nil, workspacename=nil, tags=nil, eventinfo=nil, description=nil, scalingtype=nil, runningcpu=nil, runningmem=nil, openjobdefaultalarm=nil, progressdesc=nil, continuealarm=nil, restartcount=nil)
3894
3982
  @JobId = jobid
3895
3983
  @Region = region
3896
3984
  @Zone = zone
@@ -3909,6 +3997,7 @@ module TencentCloud
3909
3997
  @LastOpResult = lastopresult
3910
3998
  @ClusterName = clustername
3911
3999
  @LatestJobConfigVersion = latestjobconfigversion
4000
+ @LatestValidJobConfigVersion = latestvalidjobconfigversion
3912
4001
  @PublishedJobConfigVersion = publishedjobconfigversion
3913
4002
  @RunningCuNum = runningcunum
3914
4003
  @CuMem = cumem
@@ -3931,6 +4020,7 @@ module TencentCloud
3931
4020
  @OpenJobDefaultAlarm = openjobdefaultalarm
3932
4021
  @ProgressDesc = progressdesc
3933
4022
  @ContinueAlarm = continuealarm
4023
+ @RestartCount = restartcount
3934
4024
  end
3935
4025
 
3936
4026
  def deserialize(params)
@@ -3952,6 +4042,7 @@ module TencentCloud
3952
4042
  @LastOpResult = params['LastOpResult']
3953
4043
  @ClusterName = params['ClusterName']
3954
4044
  @LatestJobConfigVersion = params['LatestJobConfigVersion']
4045
+ @LatestValidJobConfigVersion = params['LatestValidJobConfigVersion']
3955
4046
  @PublishedJobConfigVersion = params['PublishedJobConfigVersion']
3956
4047
  @RunningCuNum = params['RunningCuNum']
3957
4048
  @CuMem = params['CuMem']
@@ -3984,6 +4075,7 @@ module TencentCloud
3984
4075
  @OpenJobDefaultAlarm = params['OpenJobDefaultAlarm']
3985
4076
  @ProgressDesc = params['ProgressDesc']
3986
4077
  @ContinueAlarm = params['ContinueAlarm']
4078
+ @RestartCount = params['RestartCount']
3987
4079
  end
3988
4080
  end
3989
4081
 
@@ -5810,10 +5902,12 @@ module TencentCloud
5810
5902
  # @param DecodeSqlCode: sql
5811
5903
  # 注意:此字段可能返回 null,表示取不到有效值。
5812
5904
  # @type DecodeSqlCode: String
5905
+ # @param PublishedJobConfigId: 发布版本配置id
5906
+ # @type PublishedJobConfigId: Integer
5813
5907
 
5814
- attr_accessor :JobId, :Name, :JobType, :RunningCu, :Status, :ScalingType, :RunningCpu, :RunningMem, :DecodeSqlCode
5908
+ attr_accessor :JobId, :Name, :JobType, :RunningCu, :Status, :ScalingType, :RunningCpu, :RunningMem, :DecodeSqlCode, :PublishedJobConfigId
5815
5909
 
5816
- def initialize(jobid=nil, name=nil, jobtype=nil, runningcu=nil, status=nil, scalingtype=nil, runningcpu=nil, runningmem=nil, decodesqlcode=nil)
5910
+ def initialize(jobid=nil, name=nil, jobtype=nil, runningcu=nil, status=nil, scalingtype=nil, runningcpu=nil, runningmem=nil, decodesqlcode=nil, publishedjobconfigid=nil)
5817
5911
  @JobId = jobid
5818
5912
  @Name = name
5819
5913
  @JobType = jobtype
@@ -5823,6 +5917,7 @@ module TencentCloud
5823
5917
  @RunningCpu = runningcpu
5824
5918
  @RunningMem = runningmem
5825
5919
  @DecodeSqlCode = decodesqlcode
5920
+ @PublishedJobConfigId = publishedjobconfigid
5826
5921
  end
5827
5922
 
5828
5923
  def deserialize(params)
@@ -5835,6 +5930,7 @@ module TencentCloud
5835
5930
  @RunningCpu = params['RunningCpu']
5836
5931
  @RunningMem = params['RunningMem']
5837
5932
  @DecodeSqlCode = params['DecodeSqlCode']
5933
+ @PublishedJobConfigId = params['PublishedJobConfigId']
5838
5934
  end
5839
5935
  end
5840
5936
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-oceanus
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1143
4
+ version: 3.0.1154
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-09-18 00:00:00.000000000 Z
11
+ date: 2025-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-oceanus.rb
37
- - lib/v20190422/client.rb
38
36
  - lib/v20190422/models.rb
37
+ - lib/v20190422/client.rb
38
+ - lib/tencentcloud-sdk-oceanus.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: