tencentcloud-sdk-tsf 1.0.306 → 1.0.307
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/v20180326/client.rb +24 -0
- data/lib/v20180326/models.rb +270 -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: 8e6243fb21f024800a89ce7a471db99778403367
|
4
|
+
data.tar.gz: 2e1a21697540c6819788a74e4edc1e34502583ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ae36502136f095f0b7562ef60d86e677cca09303e6b71d50ef07dfb3f72e830fe122dc7c2662f3cb1dd72414b55e8f6c02764ff852b8c93445821eef27b26f9
|
7
|
+
data.tar.gz: 2640e3c0e4a37b32a23e2b9f9d73d455d09e58d87fb6477c5f061fa4bc2bb254125ad3ed500f5b8ed7a799758ede6128f227b5dd0ddfcc17177bfdf9ec62c9b9
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.307
|
data/lib/v20180326/client.rb
CHANGED
@@ -2503,6 +2503,30 @@ module TencentCloud
|
|
2503
2503
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2504
2504
|
end
|
2505
2505
|
|
2506
|
+
# 查询数据集列表
|
2507
|
+
|
2508
|
+
# @param request: Request instance for DescribePrograms.
|
2509
|
+
# @type request: :class:`Tencentcloud::tsf::V20180326::DescribeProgramsRequest`
|
2510
|
+
# @rtype: :class:`Tencentcloud::tsf::V20180326::DescribeProgramsResponse`
|
2511
|
+
def DescribePrograms(request)
|
2512
|
+
body = send_request('DescribePrograms', request.serialize)
|
2513
|
+
response = JSON.parse(body)
|
2514
|
+
if response['Response'].key?('Error') == false
|
2515
|
+
model = DescribeProgramsResponse.new
|
2516
|
+
model.deserialize(response['Response'])
|
2517
|
+
model
|
2518
|
+
else
|
2519
|
+
code = response['Response']['Error']['Code']
|
2520
|
+
message = response['Response']['Error']['Message']
|
2521
|
+
reqid = response['Response']['RequestId']
|
2522
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2523
|
+
end
|
2524
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2525
|
+
raise e
|
2526
|
+
rescue StandardError => e
|
2527
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2528
|
+
end
|
2529
|
+
|
2506
2530
|
# 查询公共配置(单条)
|
2507
2531
|
|
2508
2532
|
# @param request: Request instance for DescribePublicConfig.
|
data/lib/v20180326/models.rb
CHANGED
@@ -7718,6 +7718,53 @@ module TencentCloud
|
|
7718
7718
|
end
|
7719
7719
|
end
|
7720
7720
|
|
7721
|
+
# DescribePrograms请求参数结构体
|
7722
|
+
class DescribeProgramsRequest < TencentCloud::Common::AbstractModel
|
7723
|
+
# @param SearchWord: 模糊查询数据集ID,数据集名称,不传入时查询全量
|
7724
|
+
# @type SearchWord: String
|
7725
|
+
# @param Limit: 每页数量
|
7726
|
+
# @type Limit: Integer
|
7727
|
+
# @param Offset: 起始偏移量
|
7728
|
+
# @type Offset: Integer
|
7729
|
+
|
7730
|
+
attr_accessor :SearchWord, :Limit, :Offset
|
7731
|
+
|
7732
|
+
def initialize(searchword=nil, limit=nil, offset=nil)
|
7733
|
+
@SearchWord = searchword
|
7734
|
+
@Limit = limit
|
7735
|
+
@Offset = offset
|
7736
|
+
end
|
7737
|
+
|
7738
|
+
def deserialize(params)
|
7739
|
+
@SearchWord = params['SearchWord']
|
7740
|
+
@Limit = params['Limit']
|
7741
|
+
@Offset = params['Offset']
|
7742
|
+
end
|
7743
|
+
end
|
7744
|
+
|
7745
|
+
# DescribePrograms返回参数结构体
|
7746
|
+
class DescribeProgramsResponse < TencentCloud::Common::AbstractModel
|
7747
|
+
# @param Result: 数据集列表
|
7748
|
+
# @type Result: :class:`Tencentcloud::Tsf.v20180326.models.PagedProgram`
|
7749
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7750
|
+
# @type RequestId: String
|
7751
|
+
|
7752
|
+
attr_accessor :Result, :RequestId
|
7753
|
+
|
7754
|
+
def initialize(result=nil, requestid=nil)
|
7755
|
+
@Result = result
|
7756
|
+
@RequestId = requestid
|
7757
|
+
end
|
7758
|
+
|
7759
|
+
def deserialize(params)
|
7760
|
+
unless params['Result'].nil?
|
7761
|
+
@Result = PagedProgram.new
|
7762
|
+
@Result.deserialize(params['Result'])
|
7763
|
+
end
|
7764
|
+
@RequestId = params['RequestId']
|
7765
|
+
end
|
7766
|
+
end
|
7767
|
+
|
7721
7768
|
# DescribePublicConfigReleaseLogs请求参数结构体
|
7722
7769
|
class DescribePublicConfigReleaseLogsRequest < TencentCloud::Common::AbstractModel
|
7723
7770
|
# @param NamespaceId: 命名空间ID,不传入时查询全量
|
@@ -12864,6 +12911,33 @@ module TencentCloud
|
|
12864
12911
|
end
|
12865
12912
|
end
|
12866
12913
|
|
12914
|
+
# tsf-privilege模块,分页数据集列表
|
12915
|
+
class PagedProgram < TencentCloud::Common::AbstractModel
|
12916
|
+
# @param TotalCount: 总条数
|
12917
|
+
# @type TotalCount: Integer
|
12918
|
+
# @param Content: 数据集列表
|
12919
|
+
# @type Content: Array
|
12920
|
+
|
12921
|
+
attr_accessor :TotalCount, :Content
|
12922
|
+
|
12923
|
+
def initialize(totalcount=nil, content=nil)
|
12924
|
+
@TotalCount = totalcount
|
12925
|
+
@Content = content
|
12926
|
+
end
|
12927
|
+
|
12928
|
+
def deserialize(params)
|
12929
|
+
@TotalCount = params['TotalCount']
|
12930
|
+
unless params['Content'].nil?
|
12931
|
+
@Content = []
|
12932
|
+
params['Content'].each do |i|
|
12933
|
+
program_tmp = Program.new
|
12934
|
+
program_tmp.deserialize(i)
|
12935
|
+
@Content << program_tmp
|
12936
|
+
end
|
12937
|
+
end
|
12938
|
+
end
|
12939
|
+
end
|
12940
|
+
|
12867
12941
|
# 路径重写
|
12868
12942
|
class PathRewrite < TencentCloud::Common::AbstractModel
|
12869
12943
|
# @param PathRewriteId: 路径重写规则ID
|
@@ -13108,6 +13182,115 @@ module TencentCloud
|
|
13108
13182
|
end
|
13109
13183
|
end
|
13110
13184
|
|
13185
|
+
# tsf-privilege模块 Program数据集
|
13186
|
+
class Program < TencentCloud::Common::AbstractModel
|
13187
|
+
# @param ProgramId: 数据集ID
|
13188
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13189
|
+
# @type ProgramId: String
|
13190
|
+
# @param ProgramName: 数据集名称
|
13191
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13192
|
+
# @type ProgramName: String
|
13193
|
+
# @param ProgramDesc: 数据集描述
|
13194
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13195
|
+
# @type ProgramDesc: String
|
13196
|
+
# @param DeleteFlag: 删除标识,true: 可以删除; false: 不可删除
|
13197
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13198
|
+
# @type DeleteFlag: Boolean
|
13199
|
+
# @param CreationTime: 创建时间
|
13200
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13201
|
+
# @type CreationTime: Integer
|
13202
|
+
# @param LastUpdateTime: 最后更新时间
|
13203
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13204
|
+
# @type LastUpdateTime: Integer
|
13205
|
+
# @param ProgramItemList: 数据项列表,无值时返回空数组
|
13206
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13207
|
+
# @type ProgramItemList: Array
|
13208
|
+
|
13209
|
+
attr_accessor :ProgramId, :ProgramName, :ProgramDesc, :DeleteFlag, :CreationTime, :LastUpdateTime, :ProgramItemList
|
13210
|
+
|
13211
|
+
def initialize(programid=nil, programname=nil, programdesc=nil, deleteflag=nil, creationtime=nil, lastupdatetime=nil, programitemlist=nil)
|
13212
|
+
@ProgramId = programid
|
13213
|
+
@ProgramName = programname
|
13214
|
+
@ProgramDesc = programdesc
|
13215
|
+
@DeleteFlag = deleteflag
|
13216
|
+
@CreationTime = creationtime
|
13217
|
+
@LastUpdateTime = lastupdatetime
|
13218
|
+
@ProgramItemList = programitemlist
|
13219
|
+
end
|
13220
|
+
|
13221
|
+
def deserialize(params)
|
13222
|
+
@ProgramId = params['ProgramId']
|
13223
|
+
@ProgramName = params['ProgramName']
|
13224
|
+
@ProgramDesc = params['ProgramDesc']
|
13225
|
+
@DeleteFlag = params['DeleteFlag']
|
13226
|
+
@CreationTime = params['CreationTime']
|
13227
|
+
@LastUpdateTime = params['LastUpdateTime']
|
13228
|
+
unless params['ProgramItemList'].nil?
|
13229
|
+
@ProgramItemList = []
|
13230
|
+
params['ProgramItemList'].each do |i|
|
13231
|
+
programitem_tmp = ProgramItem.new
|
13232
|
+
programitem_tmp.deserialize(i)
|
13233
|
+
@ProgramItemList << programitem_tmp
|
13234
|
+
end
|
13235
|
+
end
|
13236
|
+
end
|
13237
|
+
end
|
13238
|
+
|
13239
|
+
# tsf-privilege模块,数据项
|
13240
|
+
class ProgramItem < TencentCloud::Common::AbstractModel
|
13241
|
+
# @param ProgramItemId: 数据项ID
|
13242
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13243
|
+
# @type ProgramItemId: String
|
13244
|
+
# @param Resource: 资源
|
13245
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13246
|
+
# @type Resource: :class:`Tencentcloud::Tsf.v20180326.models.Resource`
|
13247
|
+
# @param ValueList: 数据值列表
|
13248
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13249
|
+
# @type ValueList: Array
|
13250
|
+
# @param IsAll: 全选标识,true: 全选;false: 非全选
|
13251
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13252
|
+
# @type IsAll: Boolean
|
13253
|
+
# @param CreationTime: 创建时间
|
13254
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13255
|
+
# @type CreationTime: Integer
|
13256
|
+
# @param LastUpdateTime: 最后更新时间
|
13257
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13258
|
+
# @type LastUpdateTime: Integer
|
13259
|
+
# @param DeleteFlag: 删除标识,true: 可删除;false: 不可删除
|
13260
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13261
|
+
# @type DeleteFlag: Boolean
|
13262
|
+
# @param ProgramId: 数据集ID
|
13263
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13264
|
+
# @type ProgramId: String
|
13265
|
+
|
13266
|
+
attr_accessor :ProgramItemId, :Resource, :ValueList, :IsAll, :CreationTime, :LastUpdateTime, :DeleteFlag, :ProgramId
|
13267
|
+
|
13268
|
+
def initialize(programitemid=nil, resource=nil, valuelist=nil, isall=nil, creationtime=nil, lastupdatetime=nil, deleteflag=nil, programid=nil)
|
13269
|
+
@ProgramItemId = programitemid
|
13270
|
+
@Resource = resource
|
13271
|
+
@ValueList = valuelist
|
13272
|
+
@IsAll = isall
|
13273
|
+
@CreationTime = creationtime
|
13274
|
+
@LastUpdateTime = lastupdatetime
|
13275
|
+
@DeleteFlag = deleteflag
|
13276
|
+
@ProgramId = programid
|
13277
|
+
end
|
13278
|
+
|
13279
|
+
def deserialize(params)
|
13280
|
+
@ProgramItemId = params['ProgramItemId']
|
13281
|
+
unless params['Resource'].nil?
|
13282
|
+
@Resource = Resource.new
|
13283
|
+
@Resource.deserialize(params['Resource'])
|
13284
|
+
end
|
13285
|
+
@ValueList = params['ValueList']
|
13286
|
+
@IsAll = params['IsAll']
|
13287
|
+
@CreationTime = params['CreationTime']
|
13288
|
+
@LastUpdateTime = params['LastUpdateTime']
|
13289
|
+
@DeleteFlag = params['DeleteFlag']
|
13290
|
+
@ProgramId = params['ProgramId']
|
13291
|
+
end
|
13292
|
+
end
|
13293
|
+
|
13111
13294
|
# 属性字段
|
13112
13295
|
class PropertyField < TencentCloud::Common::AbstractModel
|
13113
13296
|
# @param Name: 属性名称
|
@@ -13645,6 +13828,93 @@ module TencentCloud
|
|
13645
13828
|
end
|
13646
13829
|
end
|
13647
13830
|
|
13831
|
+
# tsf-privilege 模块,资源
|
13832
|
+
class Resource < TencentCloud::Common::AbstractModel
|
13833
|
+
# @param ResourceId: 资源ID
|
13834
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13835
|
+
# @type ResourceId: String
|
13836
|
+
# @param ResourceCode: 资源编码
|
13837
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13838
|
+
# @type ResourceCode: String
|
13839
|
+
# @param ResourceName: 资源名称
|
13840
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13841
|
+
# @type ResourceName: String
|
13842
|
+
# @param ServiceCode: 资源所属产品编码
|
13843
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13844
|
+
# @type ServiceCode: String
|
13845
|
+
# @param ResourceAction: 选取资源使用的Action
|
13846
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13847
|
+
# @type ResourceAction: String
|
13848
|
+
# @param IdField: 资源数据查询的ID字段名
|
13849
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13850
|
+
# @type IdField: String
|
13851
|
+
# @param NameField: 资源数据查询的名称字段名
|
13852
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13853
|
+
# @type NameField: String
|
13854
|
+
# @param SelectIdsField: 资源数据查询的ID过滤字段名
|
13855
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13856
|
+
# @type SelectIdsField: String
|
13857
|
+
# @param CreationTime: 创建时间
|
13858
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13859
|
+
# @type CreationTime: Integer
|
13860
|
+
# @param LastUpdateTime: 最后更新时间
|
13861
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13862
|
+
# @type LastUpdateTime: Integer
|
13863
|
+
# @param DeleteFlag: 删除标识
|
13864
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13865
|
+
# @type DeleteFlag: Boolean
|
13866
|
+
# @param ResourceDesc: 资源描述
|
13867
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13868
|
+
# @type ResourceDesc: String
|
13869
|
+
# @param CanSelectAll: 是否可以选择全部
|
13870
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13871
|
+
# @type CanSelectAll: Boolean
|
13872
|
+
# @param SearchWordField: 资源数据查询的模糊查询字段名
|
13873
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13874
|
+
# @type SearchWordField: String
|
13875
|
+
# @param Index: 排序
|
13876
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13877
|
+
# @type Index: Integer
|
13878
|
+
|
13879
|
+
attr_accessor :ResourceId, :ResourceCode, :ResourceName, :ServiceCode, :ResourceAction, :IdField, :NameField, :SelectIdsField, :CreationTime, :LastUpdateTime, :DeleteFlag, :ResourceDesc, :CanSelectAll, :SearchWordField, :Index
|
13880
|
+
|
13881
|
+
def initialize(resourceid=nil, resourcecode=nil, resourcename=nil, servicecode=nil, resourceaction=nil, idfield=nil, namefield=nil, selectidsfield=nil, creationtime=nil, lastupdatetime=nil, deleteflag=nil, resourcedesc=nil, canselectall=nil, searchwordfield=nil, index=nil)
|
13882
|
+
@ResourceId = resourceid
|
13883
|
+
@ResourceCode = resourcecode
|
13884
|
+
@ResourceName = resourcename
|
13885
|
+
@ServiceCode = servicecode
|
13886
|
+
@ResourceAction = resourceaction
|
13887
|
+
@IdField = idfield
|
13888
|
+
@NameField = namefield
|
13889
|
+
@SelectIdsField = selectidsfield
|
13890
|
+
@CreationTime = creationtime
|
13891
|
+
@LastUpdateTime = lastupdatetime
|
13892
|
+
@DeleteFlag = deleteflag
|
13893
|
+
@ResourceDesc = resourcedesc
|
13894
|
+
@CanSelectAll = canselectall
|
13895
|
+
@SearchWordField = searchwordfield
|
13896
|
+
@Index = index
|
13897
|
+
end
|
13898
|
+
|
13899
|
+
def deserialize(params)
|
13900
|
+
@ResourceId = params['ResourceId']
|
13901
|
+
@ResourceCode = params['ResourceCode']
|
13902
|
+
@ResourceName = params['ResourceName']
|
13903
|
+
@ServiceCode = params['ServiceCode']
|
13904
|
+
@ResourceAction = params['ResourceAction']
|
13905
|
+
@IdField = params['IdField']
|
13906
|
+
@NameField = params['NameField']
|
13907
|
+
@SelectIdsField = params['SelectIdsField']
|
13908
|
+
@CreationTime = params['CreationTime']
|
13909
|
+
@LastUpdateTime = params['LastUpdateTime']
|
13910
|
+
@DeleteFlag = params['DeleteFlag']
|
13911
|
+
@ResourceDesc = params['ResourceDesc']
|
13912
|
+
@CanSelectAll = params['CanSelectAll']
|
13913
|
+
@SearchWordField = params['SearchWordField']
|
13914
|
+
@Index = params['Index']
|
13915
|
+
end
|
13916
|
+
end
|
13917
|
+
|
13648
13918
|
# k8s env 的 ResourceFieldRef
|
13649
13919
|
class ResourceFieldRef < TencentCloud::Common::AbstractModel
|
13650
13920
|
# @param Resource: k8s 的 Resource
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tsf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.307
|
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-05-
|
11
|
+
date: 2022-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|