tencentcloud-sdk-cynosdb 3.0.502 → 3.0.503

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: 255904cc29793c4e8ab6182cc02a088ac9465300
4
- data.tar.gz: 20316b79b305d44f769b8c42a5dee5c67a014f7b
3
+ metadata.gz: 7d936143b050626769e4774d573b8f1f254aa50b
4
+ data.tar.gz: 814aebe348d5572113065c178b19e9b40ced50d3
5
5
  SHA512:
6
- metadata.gz: 4b8a7f3936f91857898587c79c92072477f9e5e5aaf213daba1f47289d8a04514dbc9108d00712d1b30e26d34db564b41b8cd5bc859179a4ecf30c5f8a3cf1e6
7
- data.tar.gz: e42a719ffdff401d24da7a9fa911e60e29d111cb8cd7614215008307ae4876819a4082e6045be70d3962c5e1a0cc634cd43790e1e9411e65be9fe7736f0b1ac7
6
+ metadata.gz: 159bd8c7367572f75128f9488baedd893f5f2550219ebb59d4a2ff7a0f55535b09c6180201063054b2795dee692ba86e2b6499b9ad2d23fde53a737629fa07db
7
+ data.tar.gz: 68b937eaea7a9c89dd0b741394eddfc788c9f9580402cd75c3f4ffc3993679da10dd9845002f685801eb80807a91bb8cfe4696fb216e6319f56033b33f48af71
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.502
1
+ 3.0.503
@@ -773,6 +773,30 @@ module TencentCloud
773
773
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
774
774
  end
775
775
 
776
+ # 本接口(DescribeFlow)用于查询任务流信息
777
+
778
+ # @param request: Request instance for DescribeFlow.
779
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeFlowRequest`
780
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeFlowResponse`
781
+ def DescribeFlow(request)
782
+ body = send_request('DescribeFlow', request.serialize)
783
+ response = JSON.parse(body)
784
+ if response['Response'].key?('Error') == false
785
+ model = DescribeFlowResponse.new
786
+ model.deserialize(response['Response'])
787
+ model
788
+ else
789
+ code = response['Response']['Error']['Code']
790
+ message = response['Response']['Error']['Message']
791
+ reqid = response['Response']['RequestId']
792
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
793
+ end
794
+ rescue TencentCloud::Common::TencentCloudSDKException => e
795
+ raise e
796
+ rescue StandardError => e
797
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
798
+ end
799
+
776
800
  # 本接口(DescribeInstanceDetail)用于查询实例详情。
777
801
 
778
802
  # @param request: Request instance for DescribeInstanceDetail.
@@ -3522,6 +3522,42 @@ module TencentCloud
3522
3522
  end
3523
3523
  end
3524
3524
 
3525
+ # DescribeFlow请求参数结构体
3526
+ class DescribeFlowRequest < TencentCloud::Common::AbstractModel
3527
+ # @param FlowId: 任务流ID
3528
+ # @type FlowId: Integer
3529
+
3530
+ attr_accessor :FlowId
3531
+
3532
+ def initialize(flowid=nil)
3533
+ @FlowId = flowid
3534
+ end
3535
+
3536
+ def deserialize(params)
3537
+ @FlowId = params['FlowId']
3538
+ end
3539
+ end
3540
+
3541
+ # DescribeFlow返回参数结构体
3542
+ class DescribeFlowResponse < TencentCloud::Common::AbstractModel
3543
+ # @param Status: 任务流状态。0-成功,1-失败,2-处理中
3544
+ # @type Status: Integer
3545
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3546
+ # @type RequestId: String
3547
+
3548
+ attr_accessor :Status, :RequestId
3549
+
3550
+ def initialize(status=nil, requestid=nil)
3551
+ @Status = status
3552
+ @RequestId = requestid
3553
+ end
3554
+
3555
+ def deserialize(params)
3556
+ @Status = params['Status']
3557
+ @RequestId = params['RequestId']
3558
+ end
3559
+ end
3560
+
3525
3561
  # DescribeInstanceDetail请求参数结构体
3526
3562
  class DescribeInstanceDetailRequest < TencentCloud::Common::AbstractModel
3527
3563
  # @param InstanceId: 实例ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cynosdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.502
4
+ version: 3.0.503
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-06 00:00:00.000000000 Z
11
+ date: 2023-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common