tencentcloud-sdk-oceanus 3.0.736 → 3.0.738

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 719954d745be863f45329297d1da4d8af5fc7a2c
4
- data.tar.gz: 294a76ec6d74ff2e354ffda443b616780b7ec385
3
+ metadata.gz: 66596abf96d71f3cdf674a08480d63bbd9b9e351
4
+ data.tar.gz: 6407850f8cc15a9bbd36b9364a055502b98561f7
5
5
  SHA512:
6
- metadata.gz: a1aa6ef4fe906bc2d45b69811680a7385786d9d039a4f5a4f8d8389454342624db33e97b9227c5c6516f337c39841cf4013f110fc4f0a497a157cacac3663e1c
7
- data.tar.gz: d6517b31ddbd261215d35f223c42c89f84634173aec6e6dab17670485e56350c45b863e99d092e80f29147cad56a757472a218e3a6c9e04b699991a9ff8d1187
6
+ metadata.gz: cc64f676522606abff1fd510fe86658900fba414a7c78ca13f82e219f7530a6e9f0727a63dad460d5041859d57e5d64bc20f4cce500284c0afcbb6d91e2f1bad
7
+ data.tar.gz: 1d7bf4bc8ed3e456dce467de835c55f5ba27647e2f1c259a6ad1c2afb47d9f4de7dcfa13424e68a45c77c0efa4bf2df49dbb00157a3322ce60fa249d25c0ea3b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.736
1
+ 3.0.738
@@ -749,6 +749,30 @@ module TencentCloud
749
749
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
750
750
  end
751
751
 
752
+ # 查询元数据表
753
+
754
+ # @param request: Request instance for GetMetaTable.
755
+ # @type request: :class:`Tencentcloud::oceanus::V20190422::GetMetaTableRequest`
756
+ # @rtype: :class:`Tencentcloud::oceanus::V20190422::GetMetaTableResponse`
757
+ def GetMetaTable(request)
758
+ body = send_request('GetMetaTable', request.serialize)
759
+ response = JSON.parse(body)
760
+ if response['Response'].key?('Error') == false
761
+ model = GetMetaTableResponse.new
762
+ model.deserialize(response['Response'])
763
+ model
764
+ else
765
+ code = response['Response']['Error']['Code']
766
+ message = response['Response']['Error']['Message']
767
+ reqid = response['Response']['RequestId']
768
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
769
+ end
770
+ rescue TencentCloud::Common::TencentCloudSDKException => e
771
+ raise e
772
+ rescue StandardError => e
773
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
774
+ end
775
+
752
776
  # 自定义树状结构页面拖拽文件夹
753
777
 
754
778
  # @param request: Request instance for ModifyFolder.
@@ -2818,6 +2818,76 @@ module TencentCloud
2818
2818
  end
2819
2819
  end
2820
2820
 
2821
+ # GetMetaTable请求参数结构体
2822
+ class GetMetaTableRequest < TencentCloud::Common::AbstractModel
2823
+ # @param Catalog: Catalog名
2824
+ # @type Catalog: String
2825
+ # @param Database: Database名
2826
+ # @type Database: String
2827
+ # @param Table: Table名
2828
+ # @type Table: String
2829
+ # @param WorkSpaceId: 空间唯一标识
2830
+ # @type WorkSpaceId: String
2831
+
2832
+ attr_accessor :Catalog, :Database, :Table, :WorkSpaceId
2833
+
2834
+ def initialize(catalog=nil, database=nil, table=nil, workspaceid=nil)
2835
+ @Catalog = catalog
2836
+ @Database = database
2837
+ @Table = table
2838
+ @WorkSpaceId = workspaceid
2839
+ end
2840
+
2841
+ def deserialize(params)
2842
+ @Catalog = params['Catalog']
2843
+ @Database = params['Database']
2844
+ @Table = params['Table']
2845
+ @WorkSpaceId = params['WorkSpaceId']
2846
+ end
2847
+ end
2848
+
2849
+ # GetMetaTable返回参数结构体
2850
+ class GetMetaTableResponse < TencentCloud::Common::AbstractModel
2851
+ # @param SerialId: 元数据表唯一标识
2852
+ # @type SerialId: String
2853
+ # @param Catalog: Catalog名
2854
+ # @type Catalog: String
2855
+ # @param Database: Database名
2856
+ # @type Database: String
2857
+ # @param Table: Table名
2858
+ # @type Table: String
2859
+ # @param DDL: 建表语句,使用 Base64 编码。
2860
+ # 例如
2861
+ # Q1JFQVRFIFRBQkxFIGRhdGFnZW5fc291cmNlX3RhYmxlICggCiAgICBpZCBJTlQsIAogICAgbmFtZSBTVFJJTkcgCikgV0lUSCAoCidjb25uZWN0b3InPSdkYXRhZ2VuJywKJ3Jvd3MtcGVyLXNlY29uZCcgPSAnMScKKTs=
2862
+ # @type DDL: String
2863
+ # @param CreateTime: 场景时间
2864
+ # @type CreateTime: String
2865
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2866
+ # @type RequestId: String
2867
+
2868
+ attr_accessor :SerialId, :Catalog, :Database, :Table, :DDL, :CreateTime, :RequestId
2869
+
2870
+ def initialize(serialid=nil, catalog=nil, database=nil, table=nil, ddl=nil, createtime=nil, requestid=nil)
2871
+ @SerialId = serialid
2872
+ @Catalog = catalog
2873
+ @Database = database
2874
+ @Table = table
2875
+ @DDL = ddl
2876
+ @CreateTime = createtime
2877
+ @RequestId = requestid
2878
+ end
2879
+
2880
+ def deserialize(params)
2881
+ @SerialId = params['SerialId']
2882
+ @Catalog = params['Catalog']
2883
+ @Database = params['Database']
2884
+ @Table = params['Table']
2885
+ @DDL = params['DDL']
2886
+ @CreateTime = params['CreateTime']
2887
+ @RequestId = params['RequestId']
2888
+ end
2889
+ end
2890
+
2821
2891
  # 作业配置详情
2822
2892
  class JobConfig < TencentCloud::Common::AbstractModel
2823
2893
  # @param JobId: 作业Id
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.736
4
+ version: 3.0.738
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-12-26 00:00:00.000000000 Z
11
+ date: 2023-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common