tencentcloud-sdk-oceanus 1.0.325 → 1.0.328

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: ed41a8461d603384f77da3f35d9c4cbc30648c7c
4
- data.tar.gz: 1d13e8154dc2f2878958dbfbaa342fb206ebe698
3
+ metadata.gz: cd9ba665e2190d8123605ab5518658a4a87757e1
4
+ data.tar.gz: 786e8ca937cc2a2f225646e38225452b538a09ac
5
5
  SHA512:
6
- metadata.gz: fa6508911d6c0637f70f41374c9903cbd834ccc4982511c03351fede05add6f6987461279c1d0b3d2246fbdf560b7ec3b92589e3b700f57c646fe16b86dbb78d
7
- data.tar.gz: a0890b15747fa7ad37d349107fb982dfefc9cb28f261eb41e42f16ef812adb7e335a8846282323cd688085fced9ccc899f0623a6a9b1e06148f6160a4800fe2c
6
+ metadata.gz: 18580797284e112b507f179d4b57e412512c35a4bbd2e9bca85186497e8ce1ad7c2189ff4d78ce16717df1a81e81b08051eb328149d65142c5bdad6da3f3243c
7
+ data.tar.gz: 0ba12588263f1a78c72ba4a2b1323253fe133ce629a1dfdbb4d61d0d4ca301c5633bccd592e2c4a196272b623a4b7d76542d4bdb05c5a334ad153d80e65aa81d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.325
1
+ 1.0.328
@@ -437,6 +437,30 @@ module TencentCloud
437
437
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
438
438
  end
439
439
 
440
+ # 触发Savepoint
441
+
442
+ # @param request: Request instance for TriggerJobSavepoint.
443
+ # @type request: :class:`Tencentcloud::oceanus::V20190422::TriggerJobSavepointRequest`
444
+ # @rtype: :class:`Tencentcloud::oceanus::V20190422::TriggerJobSavepointResponse`
445
+ def TriggerJobSavepoint(request)
446
+ body = send_request('TriggerJobSavepoint', request.serialize)
447
+ response = JSON.parse(body)
448
+ if response['Response'].key?('Error') == false
449
+ model = TriggerJobSavepointResponse.new
450
+ model.deserialize(response['Response'])
451
+ model
452
+ else
453
+ code = response['Response']['Error']['Code']
454
+ message = response['Response']['Error']['Message']
455
+ reqid = response['Response']['RequestId']
456
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
457
+ end
458
+ rescue TencentCloud::Common::TencentCloudSDKException => e
459
+ raise e
460
+ rescue StandardError => e
461
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
462
+ end
463
+
440
464
 
441
465
  end
442
466
  end
@@ -1848,6 +1848,65 @@ module TencentCloud
1848
1848
  end
1849
1849
  end
1850
1850
 
1851
+ # TriggerJobSavepoint请求参数结构体
1852
+ class TriggerJobSavepointRequest < TencentCloud::Common::AbstractModel
1853
+ # @param JobId: 作业 SerialId
1854
+ # @type JobId: String
1855
+ # @param Description: 描述
1856
+ # @type Description: String
1857
+ # @param WorkSpaceId: 工作空间 SerialId
1858
+ # @type WorkSpaceId: String
1859
+
1860
+ attr_accessor :JobId, :Description, :WorkSpaceId
1861
+
1862
+ def initialize(jobid=nil, description=nil, workspaceid=nil)
1863
+ @JobId = jobid
1864
+ @Description = description
1865
+ @WorkSpaceId = workspaceid
1866
+ end
1867
+
1868
+ def deserialize(params)
1869
+ @JobId = params['JobId']
1870
+ @Description = params['Description']
1871
+ @WorkSpaceId = params['WorkSpaceId']
1872
+ end
1873
+ end
1874
+
1875
+ # TriggerJobSavepoint返回参数结构体
1876
+ class TriggerJobSavepointResponse < TencentCloud::Common::AbstractModel
1877
+ # @param SavepointTrigger: 是否成功
1878
+ # @type SavepointTrigger: Boolean
1879
+ # @param ErrorMsg: 错误消息
1880
+ # 注意:此字段可能返回 null,表示取不到有效值。
1881
+ # @type ErrorMsg: String
1882
+ # @param FinalSavepointPath: 快照路径
1883
+ # 注意:此字段可能返回 null,表示取不到有效值。
1884
+ # @type FinalSavepointPath: String
1885
+ # @param SavepointId: 快照 ID
1886
+ # 注意:此字段可能返回 null,表示取不到有效值。
1887
+ # @type SavepointId: String
1888
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1889
+ # @type RequestId: String
1890
+
1891
+ attr_accessor :SavepointTrigger, :ErrorMsg, :FinalSavepointPath, :SavepointId, :RequestId
1892
+
1893
+ def initialize(savepointtrigger=nil, errormsg=nil, finalsavepointpath=nil, savepointid=nil, requestid=nil)
1894
+ @SavepointTrigger = savepointtrigger
1895
+ @ErrorMsg = errormsg
1896
+ @FinalSavepointPath = finalsavepointpath
1897
+ @SavepointId = savepointid
1898
+ @RequestId = requestid
1899
+ end
1900
+
1901
+ def deserialize(params)
1902
+ @SavepointTrigger = params['SavepointTrigger']
1903
+ @ErrorMsg = params['ErrorMsg']
1904
+ @FinalSavepointPath = params['FinalSavepointPath']
1905
+ @SavepointId = params['SavepointId']
1906
+ @RequestId = params['RequestId']
1907
+ end
1908
+ end
1909
+
1851
1910
  end
1852
1911
  end
1853
1912
  end
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: 1.0.325
4
+ version: 1.0.328
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-01 00:00:00.000000000 Z
11
+ date: 2022-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common