tencentcloud-sdk-wedata 1.0.346 → 1.0.347
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210820/client.rb +24 -0
- data/lib/v20210820/models.rb +56 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92edca1a7b9cf480b8a0ea263852e4166164c69c
|
4
|
+
data.tar.gz: 7e64d3f2a0fff8c08e5cdfb7282c4fc0f70bf12f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc06afecdf8d4f051065ce483d2a0e383520b16389cc62be92bbf116f3ff326fd1b80b8d1b27292d004ed49620e1268d4cdaa276c123c89d923efda04f98ec3c
|
7
|
+
data.tar.gz: 7d080b9ba0c111376fce5b765143fea3dd86364281ab4a72dcc4a5d44ae7d89a9f814bf5326073dd6be1ee09ae1e9ebb2c6a5ec98987621bae50a0f5df8c76d1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.347
|
data/lib/v20210820/client.rb
CHANGED
@@ -29,6 +29,30 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
+
# 获取项目信息
|
33
|
+
|
34
|
+
# @param request: Request instance for DescribeProject.
|
35
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeProjectRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeProjectResponse`
|
37
|
+
def DescribeProject(request)
|
38
|
+
body = send_request('DescribeProject', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = DescribeProjectResponse.new
|
42
|
+
model.deserialize(response['Response'])
|
43
|
+
model
|
44
|
+
else
|
45
|
+
code = response['Response']['Error']['Code']
|
46
|
+
message = response['Response']['Error']['Message']
|
47
|
+
reqid = response['Response']['RequestId']
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
49
|
+
end
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
51
|
+
raise e
|
52
|
+
rescue StandardError => e
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
|
+
end
|
55
|
+
|
32
56
|
# 查询任务实例的关联实例列表
|
33
57
|
|
34
58
|
# @param request: Request instance for DescribeRelatedInstances.
|
data/lib/v20210820/models.rb
CHANGED
@@ -17,6 +17,62 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Wedata
|
19
19
|
module V20210820
|
20
|
+
# DescribeProject请求参数结构体
|
21
|
+
class DescribeProjectRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param ProjectId: 项目id。一般使用项目Id来查询,与projectName必须存在一个。
|
23
|
+
# @type ProjectId: String
|
24
|
+
# @param DescribeClusters: 是否展示关联集群信息
|
25
|
+
# @type DescribeClusters: Boolean
|
26
|
+
# @param DescribeExecutors: 是否展示关联执行组的信息,仅部分信息。
|
27
|
+
# @type DescribeExecutors: Boolean
|
28
|
+
# @param DescribeAdminUsers: 默认不展示项目管理员信息
|
29
|
+
# @type DescribeAdminUsers: Boolean
|
30
|
+
# @param DescribeMemberCount: 默认不统计项目人员数量
|
31
|
+
# @type DescribeMemberCount: Boolean
|
32
|
+
# @param DescribeCreator: 默认不查询创建者的信息
|
33
|
+
# @type DescribeCreator: Boolean
|
34
|
+
# @param ProjectName: 项目名只在租户内唯一,一般用来转化为项目ID。
|
35
|
+
# @type ProjectName: String
|
36
|
+
|
37
|
+
attr_accessor :ProjectId, :DescribeClusters, :DescribeExecutors, :DescribeAdminUsers, :DescribeMemberCount, :DescribeCreator, :ProjectName
|
38
|
+
|
39
|
+
def initialize(projectid=nil, describeclusters=nil, describeexecutors=nil, describeadminusers=nil, describemembercount=nil, describecreator=nil, projectname=nil)
|
40
|
+
@ProjectId = projectid
|
41
|
+
@DescribeClusters = describeclusters
|
42
|
+
@DescribeExecutors = describeexecutors
|
43
|
+
@DescribeAdminUsers = describeadminusers
|
44
|
+
@DescribeMemberCount = describemembercount
|
45
|
+
@DescribeCreator = describecreator
|
46
|
+
@ProjectName = projectname
|
47
|
+
end
|
48
|
+
|
49
|
+
def deserialize(params)
|
50
|
+
@ProjectId = params['ProjectId']
|
51
|
+
@DescribeClusters = params['DescribeClusters']
|
52
|
+
@DescribeExecutors = params['DescribeExecutors']
|
53
|
+
@DescribeAdminUsers = params['DescribeAdminUsers']
|
54
|
+
@DescribeMemberCount = params['DescribeMemberCount']
|
55
|
+
@DescribeCreator = params['DescribeCreator']
|
56
|
+
@ProjectName = params['ProjectName']
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
# DescribeProject返回参数结构体
|
61
|
+
class DescribeProjectResponse < TencentCloud::Common::AbstractModel
|
62
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
63
|
+
# @type RequestId: String
|
64
|
+
|
65
|
+
attr_accessor :RequestId
|
66
|
+
|
67
|
+
def initialize(requestid=nil)
|
68
|
+
@RequestId = requestid
|
69
|
+
end
|
70
|
+
|
71
|
+
def deserialize(params)
|
72
|
+
@RequestId = params['RequestId']
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
20
76
|
# DescribeRelatedInstances请求参数结构体
|
21
77
|
class DescribeRelatedInstancesRequest < TencentCloud::Common::AbstractModel
|
22
78
|
# @param ProjectId: 项目id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-wedata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.347
|
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-07-
|
11
|
+
date: 2022-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|