tencentcloud-sdk-tag 1.0.200
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/VERSION +1 -0
- data/lib/tencentcloud-sdk-tag.rb +11 -0
- data/lib/v20180813/client.rb +516 -0
- data/lib/v20180813/models.rb +1453 -0
- metadata +66 -0
@@ -0,0 +1,1453 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
module TencentCloud
|
18
|
+
module Tag
|
19
|
+
module V20180813
|
20
|
+
# AddResourceTag请求参数结构体
|
21
|
+
class AddResourceTagRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param TagKey: 标签键
|
23
|
+
# @type TagKey: String
|
24
|
+
# @param TagValue: 标签值
|
25
|
+
# @type TagValue: String
|
26
|
+
# @param Resource: [ 资源六段式描述 ](https://cloud.tencent.com/document/product/598/10606)
|
27
|
+
# @type Resource: String
|
28
|
+
|
29
|
+
attr_accessor :TagKey, :TagValue, :Resource
|
30
|
+
|
31
|
+
def initialize(tagkey=nil, tagvalue=nil, resource=nil)
|
32
|
+
@TagKey = tagkey
|
33
|
+
@TagValue = tagvalue
|
34
|
+
@Resource = resource
|
35
|
+
end
|
36
|
+
|
37
|
+
def deserialize(params)
|
38
|
+
@TagKey = params['TagKey']
|
39
|
+
@TagValue = params['TagValue']
|
40
|
+
@Resource = params['Resource']
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# AddResourceTag返回参数结构体
|
45
|
+
class AddResourceTagResponse < TencentCloud::Common::AbstractModel
|
46
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
47
|
+
# @type RequestId: String
|
48
|
+
|
49
|
+
attr_accessor :RequestId
|
50
|
+
|
51
|
+
def initialize(requestid=nil)
|
52
|
+
@RequestId = requestid
|
53
|
+
end
|
54
|
+
|
55
|
+
def deserialize(params)
|
56
|
+
@RequestId = params['RequestId']
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
# AttachResourcesTag请求参数结构体
|
61
|
+
class AttachResourcesTagRequest < TencentCloud::Common::AbstractModel
|
62
|
+
# @param ServiceType: 资源所属业务名称(资源六段式中的第三段)
|
63
|
+
# @type ServiceType: String
|
64
|
+
# @param ResourceIds: 资源ID数组,资源个数最多为50
|
65
|
+
# @type ResourceIds: Array
|
66
|
+
# @param TagKey: 标签键
|
67
|
+
# @type TagKey: String
|
68
|
+
# @param TagValue: 标签值
|
69
|
+
# @type TagValue: String
|
70
|
+
# @param ResourceRegion: 资源所在地域,不区分地域的资源不需要传入该字段,区分地域的资源必填
|
71
|
+
# @type ResourceRegion: String
|
72
|
+
# @param ResourcePrefix: 资源前缀(资源六段式中最后一段"/"前面的部分),cos存储桶不需要传入该字段,其他云资源必填
|
73
|
+
# @type ResourcePrefix: String
|
74
|
+
|
75
|
+
attr_accessor :ServiceType, :ResourceIds, :TagKey, :TagValue, :ResourceRegion, :ResourcePrefix
|
76
|
+
|
77
|
+
def initialize(servicetype=nil, resourceids=nil, tagkey=nil, tagvalue=nil, resourceregion=nil, resourceprefix=nil)
|
78
|
+
@ServiceType = servicetype
|
79
|
+
@ResourceIds = resourceids
|
80
|
+
@TagKey = tagkey
|
81
|
+
@TagValue = tagvalue
|
82
|
+
@ResourceRegion = resourceregion
|
83
|
+
@ResourcePrefix = resourceprefix
|
84
|
+
end
|
85
|
+
|
86
|
+
def deserialize(params)
|
87
|
+
@ServiceType = params['ServiceType']
|
88
|
+
@ResourceIds = params['ResourceIds']
|
89
|
+
@TagKey = params['TagKey']
|
90
|
+
@TagValue = params['TagValue']
|
91
|
+
@ResourceRegion = params['ResourceRegion']
|
92
|
+
@ResourcePrefix = params['ResourcePrefix']
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
# AttachResourcesTag返回参数结构体
|
97
|
+
class AttachResourcesTagResponse < TencentCloud::Common::AbstractModel
|
98
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
99
|
+
# @type RequestId: String
|
100
|
+
|
101
|
+
attr_accessor :RequestId
|
102
|
+
|
103
|
+
def initialize(requestid=nil)
|
104
|
+
@RequestId = requestid
|
105
|
+
end
|
106
|
+
|
107
|
+
def deserialize(params)
|
108
|
+
@RequestId = params['RequestId']
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
# CreateTag请求参数结构体
|
113
|
+
class CreateTagRequest < TencentCloud::Common::AbstractModel
|
114
|
+
# @param TagKey: 标签键
|
115
|
+
# @type TagKey: String
|
116
|
+
# @param TagValue: 标签值
|
117
|
+
# @type TagValue: String
|
118
|
+
|
119
|
+
attr_accessor :TagKey, :TagValue
|
120
|
+
|
121
|
+
def initialize(tagkey=nil, tagvalue=nil)
|
122
|
+
@TagKey = tagkey
|
123
|
+
@TagValue = tagvalue
|
124
|
+
end
|
125
|
+
|
126
|
+
def deserialize(params)
|
127
|
+
@TagKey = params['TagKey']
|
128
|
+
@TagValue = params['TagValue']
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
# CreateTag返回参数结构体
|
133
|
+
class CreateTagResponse < TencentCloud::Common::AbstractModel
|
134
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
135
|
+
# @type RequestId: String
|
136
|
+
|
137
|
+
attr_accessor :RequestId
|
138
|
+
|
139
|
+
def initialize(requestid=nil)
|
140
|
+
@RequestId = requestid
|
141
|
+
end
|
142
|
+
|
143
|
+
def deserialize(params)
|
144
|
+
@RequestId = params['RequestId']
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
# DeleteResourceTag请求参数结构体
|
149
|
+
class DeleteResourceTagRequest < TencentCloud::Common::AbstractModel
|
150
|
+
# @param TagKey: 标签键
|
151
|
+
# @type TagKey: String
|
152
|
+
# @param Resource: [ 资源六段式描述 ](https://cloud.tencent.com/document/product/598/10606)
|
153
|
+
# @type Resource: String
|
154
|
+
|
155
|
+
attr_accessor :TagKey, :Resource
|
156
|
+
|
157
|
+
def initialize(tagkey=nil, resource=nil)
|
158
|
+
@TagKey = tagkey
|
159
|
+
@Resource = resource
|
160
|
+
end
|
161
|
+
|
162
|
+
def deserialize(params)
|
163
|
+
@TagKey = params['TagKey']
|
164
|
+
@Resource = params['Resource']
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
# DeleteResourceTag返回参数结构体
|
169
|
+
class DeleteResourceTagResponse < TencentCloud::Common::AbstractModel
|
170
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
171
|
+
# @type RequestId: String
|
172
|
+
|
173
|
+
attr_accessor :RequestId
|
174
|
+
|
175
|
+
def initialize(requestid=nil)
|
176
|
+
@RequestId = requestid
|
177
|
+
end
|
178
|
+
|
179
|
+
def deserialize(params)
|
180
|
+
@RequestId = params['RequestId']
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
# DeleteTag请求参数结构体
|
185
|
+
class DeleteTagRequest < TencentCloud::Common::AbstractModel
|
186
|
+
# @param TagKey: 需要删除的标签键
|
187
|
+
# @type TagKey: String
|
188
|
+
# @param TagValue: 需要删除的标签值
|
189
|
+
# @type TagValue: String
|
190
|
+
|
191
|
+
attr_accessor :TagKey, :TagValue
|
192
|
+
|
193
|
+
def initialize(tagkey=nil, tagvalue=nil)
|
194
|
+
@TagKey = tagkey
|
195
|
+
@TagValue = tagvalue
|
196
|
+
end
|
197
|
+
|
198
|
+
def deserialize(params)
|
199
|
+
@TagKey = params['TagKey']
|
200
|
+
@TagValue = params['TagValue']
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
# DeleteTag返回参数结构体
|
205
|
+
class DeleteTagResponse < TencentCloud::Common::AbstractModel
|
206
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
207
|
+
# @type RequestId: String
|
208
|
+
|
209
|
+
attr_accessor :RequestId
|
210
|
+
|
211
|
+
def initialize(requestid=nil)
|
212
|
+
@RequestId = requestid
|
213
|
+
end
|
214
|
+
|
215
|
+
def deserialize(params)
|
216
|
+
@RequestId = params['RequestId']
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
# DescribeResourceTagsByResourceIds请求参数结构体
|
221
|
+
class DescribeResourceTagsByResourceIdsRequest < TencentCloud::Common::AbstractModel
|
222
|
+
# @param ServiceType: 业务类型
|
223
|
+
# @type ServiceType: String
|
224
|
+
# @param ResourcePrefix: 资源前缀
|
225
|
+
# @type ResourcePrefix: String
|
226
|
+
# @param ResourceIds: 资源ID数组,大小不超过50
|
227
|
+
# @type ResourceIds: Array
|
228
|
+
# @param ResourceRegion: 资源所在地域
|
229
|
+
# @type ResourceRegion: String
|
230
|
+
# @param Offset: 数据偏移量,默认为 0, 必须为Limit参数的整数倍
|
231
|
+
# @type Offset: Integer
|
232
|
+
# @param Limit: 每页大小,默认为 15
|
233
|
+
# @type Limit: Integer
|
234
|
+
|
235
|
+
attr_accessor :ServiceType, :ResourcePrefix, :ResourceIds, :ResourceRegion, :Offset, :Limit
|
236
|
+
|
237
|
+
def initialize(servicetype=nil, resourceprefix=nil, resourceids=nil, resourceregion=nil, offset=nil, limit=nil)
|
238
|
+
@ServiceType = servicetype
|
239
|
+
@ResourcePrefix = resourceprefix
|
240
|
+
@ResourceIds = resourceids
|
241
|
+
@ResourceRegion = resourceregion
|
242
|
+
@Offset = offset
|
243
|
+
@Limit = limit
|
244
|
+
end
|
245
|
+
|
246
|
+
def deserialize(params)
|
247
|
+
@ServiceType = params['ServiceType']
|
248
|
+
@ResourcePrefix = params['ResourcePrefix']
|
249
|
+
@ResourceIds = params['ResourceIds']
|
250
|
+
@ResourceRegion = params['ResourceRegion']
|
251
|
+
@Offset = params['Offset']
|
252
|
+
@Limit = params['Limit']
|
253
|
+
end
|
254
|
+
end
|
255
|
+
|
256
|
+
# DescribeResourceTagsByResourceIds返回参数结构体
|
257
|
+
class DescribeResourceTagsByResourceIdsResponse < TencentCloud::Common::AbstractModel
|
258
|
+
# @param TotalCount: 结果总数
|
259
|
+
# @type TotalCount: Integer
|
260
|
+
# @param Offset: 数据位移偏量
|
261
|
+
# @type Offset: Integer
|
262
|
+
# @param Limit: 每页大小
|
263
|
+
# @type Limit: Integer
|
264
|
+
# @param Tags: 标签列表
|
265
|
+
# @type Tags: Array
|
266
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
267
|
+
# @type RequestId: String
|
268
|
+
|
269
|
+
attr_accessor :TotalCount, :Offset, :Limit, :Tags, :RequestId
|
270
|
+
|
271
|
+
def initialize(totalcount=nil, offset=nil, limit=nil, tags=nil, requestid=nil)
|
272
|
+
@TotalCount = totalcount
|
273
|
+
@Offset = offset
|
274
|
+
@Limit = limit
|
275
|
+
@Tags = tags
|
276
|
+
@RequestId = requestid
|
277
|
+
end
|
278
|
+
|
279
|
+
def deserialize(params)
|
280
|
+
@TotalCount = params['TotalCount']
|
281
|
+
@Offset = params['Offset']
|
282
|
+
@Limit = params['Limit']
|
283
|
+
unless params['Tags'].nil?
|
284
|
+
@Tags = []
|
285
|
+
params['Tags'].each do |i|
|
286
|
+
tagresource_tmp = TagResource.new
|
287
|
+
tagresource_tmp.deserialize(i)
|
288
|
+
@Tags << tagresource_tmp
|
289
|
+
end
|
290
|
+
end
|
291
|
+
@RequestId = params['RequestId']
|
292
|
+
end
|
293
|
+
end
|
294
|
+
|
295
|
+
# DescribeResourceTagsByResourceIdsSeq请求参数结构体
|
296
|
+
class DescribeResourceTagsByResourceIdsSeqRequest < TencentCloud::Common::AbstractModel
|
297
|
+
# @param ServiceType: 业务类型
|
298
|
+
# @type ServiceType: String
|
299
|
+
# @param ResourcePrefix: 资源前缀
|
300
|
+
# @type ResourcePrefix: String
|
301
|
+
# @param ResourceIds: 资源唯一标记
|
302
|
+
# @type ResourceIds: Array
|
303
|
+
# @param ResourceRegion: 资源所在地域
|
304
|
+
# @type ResourceRegion: String
|
305
|
+
# @param Offset: 数据偏移量,默认为 0, 必须为Limit参数的整数倍
|
306
|
+
# @type Offset: Integer
|
307
|
+
# @param Limit: 每页大小,默认为 15
|
308
|
+
# @type Limit: Integer
|
309
|
+
|
310
|
+
attr_accessor :ServiceType, :ResourcePrefix, :ResourceIds, :ResourceRegion, :Offset, :Limit
|
311
|
+
|
312
|
+
def initialize(servicetype=nil, resourceprefix=nil, resourceids=nil, resourceregion=nil, offset=nil, limit=nil)
|
313
|
+
@ServiceType = servicetype
|
314
|
+
@ResourcePrefix = resourceprefix
|
315
|
+
@ResourceIds = resourceids
|
316
|
+
@ResourceRegion = resourceregion
|
317
|
+
@Offset = offset
|
318
|
+
@Limit = limit
|
319
|
+
end
|
320
|
+
|
321
|
+
def deserialize(params)
|
322
|
+
@ServiceType = params['ServiceType']
|
323
|
+
@ResourcePrefix = params['ResourcePrefix']
|
324
|
+
@ResourceIds = params['ResourceIds']
|
325
|
+
@ResourceRegion = params['ResourceRegion']
|
326
|
+
@Offset = params['Offset']
|
327
|
+
@Limit = params['Limit']
|
328
|
+
end
|
329
|
+
end
|
330
|
+
|
331
|
+
# DescribeResourceTagsByResourceIdsSeq返回参数结构体
|
332
|
+
class DescribeResourceTagsByResourceIdsSeqResponse < TencentCloud::Common::AbstractModel
|
333
|
+
# @param TotalCount: 结果总数
|
334
|
+
# @type TotalCount: Integer
|
335
|
+
# @param Offset: 数据位移偏量
|
336
|
+
# @type Offset: Integer
|
337
|
+
# @param Limit: 每页大小
|
338
|
+
# @type Limit: Integer
|
339
|
+
# @param Tags: 标签列表
|
340
|
+
# @type Tags: Array
|
341
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
342
|
+
# @type RequestId: String
|
343
|
+
|
344
|
+
attr_accessor :TotalCount, :Offset, :Limit, :Tags, :RequestId
|
345
|
+
|
346
|
+
def initialize(totalcount=nil, offset=nil, limit=nil, tags=nil, requestid=nil)
|
347
|
+
@TotalCount = totalcount
|
348
|
+
@Offset = offset
|
349
|
+
@Limit = limit
|
350
|
+
@Tags = tags
|
351
|
+
@RequestId = requestid
|
352
|
+
end
|
353
|
+
|
354
|
+
def deserialize(params)
|
355
|
+
@TotalCount = params['TotalCount']
|
356
|
+
@Offset = params['Offset']
|
357
|
+
@Limit = params['Limit']
|
358
|
+
unless params['Tags'].nil?
|
359
|
+
@Tags = []
|
360
|
+
params['Tags'].each do |i|
|
361
|
+
tagresource_tmp = TagResource.new
|
362
|
+
tagresource_tmp.deserialize(i)
|
363
|
+
@Tags << tagresource_tmp
|
364
|
+
end
|
365
|
+
end
|
366
|
+
@RequestId = params['RequestId']
|
367
|
+
end
|
368
|
+
end
|
369
|
+
|
370
|
+
# DescribeResourceTagsByTagKeys请求参数结构体
|
371
|
+
class DescribeResourceTagsByTagKeysRequest < TencentCloud::Common::AbstractModel
|
372
|
+
# @param ServiceType: 业务类型
|
373
|
+
# @type ServiceType: String
|
374
|
+
# @param ResourcePrefix: 资源前缀
|
375
|
+
# @type ResourcePrefix: String
|
376
|
+
# @param ResourceRegion: 资源地域
|
377
|
+
# @type ResourceRegion: String
|
378
|
+
# @param ResourceIds: 资源唯一标识
|
379
|
+
# @type ResourceIds: Array
|
380
|
+
# @param TagKeys: 资源标签键
|
381
|
+
# @type TagKeys: Array
|
382
|
+
# @param Limit: 每页大小,默认为 400
|
383
|
+
# @type Limit: Integer
|
384
|
+
# @param Offset: 数据偏移量,默认为 0, 必须为Limit参数的整数倍
|
385
|
+
# @type Offset: Integer
|
386
|
+
|
387
|
+
attr_accessor :ServiceType, :ResourcePrefix, :ResourceRegion, :ResourceIds, :TagKeys, :Limit, :Offset
|
388
|
+
|
389
|
+
def initialize(servicetype=nil, resourceprefix=nil, resourceregion=nil, resourceids=nil, tagkeys=nil, limit=nil, offset=nil)
|
390
|
+
@ServiceType = servicetype
|
391
|
+
@ResourcePrefix = resourceprefix
|
392
|
+
@ResourceRegion = resourceregion
|
393
|
+
@ResourceIds = resourceids
|
394
|
+
@TagKeys = tagkeys
|
395
|
+
@Limit = limit
|
396
|
+
@Offset = offset
|
397
|
+
end
|
398
|
+
|
399
|
+
def deserialize(params)
|
400
|
+
@ServiceType = params['ServiceType']
|
401
|
+
@ResourcePrefix = params['ResourcePrefix']
|
402
|
+
@ResourceRegion = params['ResourceRegion']
|
403
|
+
@ResourceIds = params['ResourceIds']
|
404
|
+
@TagKeys = params['TagKeys']
|
405
|
+
@Limit = params['Limit']
|
406
|
+
@Offset = params['Offset']
|
407
|
+
end
|
408
|
+
end
|
409
|
+
|
410
|
+
# DescribeResourceTagsByTagKeys返回参数结构体
|
411
|
+
class DescribeResourceTagsByTagKeysResponse < TencentCloud::Common::AbstractModel
|
412
|
+
# @param TotalCount: 结果总数
|
413
|
+
# @type TotalCount: Integer
|
414
|
+
# @param Offset: 数据位移偏量
|
415
|
+
# @type Offset: Integer
|
416
|
+
# @param Limit: 每页大小
|
417
|
+
# @type Limit: Integer
|
418
|
+
# @param Rows: 资源标签
|
419
|
+
# @type Rows: Array
|
420
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
421
|
+
# @type RequestId: String
|
422
|
+
|
423
|
+
attr_accessor :TotalCount, :Offset, :Limit, :Rows, :RequestId
|
424
|
+
|
425
|
+
def initialize(totalcount=nil, offset=nil, limit=nil, rows=nil, requestid=nil)
|
426
|
+
@TotalCount = totalcount
|
427
|
+
@Offset = offset
|
428
|
+
@Limit = limit
|
429
|
+
@Rows = rows
|
430
|
+
@RequestId = requestid
|
431
|
+
end
|
432
|
+
|
433
|
+
def deserialize(params)
|
434
|
+
@TotalCount = params['TotalCount']
|
435
|
+
@Offset = params['Offset']
|
436
|
+
@Limit = params['Limit']
|
437
|
+
unless params['Rows'].nil?
|
438
|
+
@Rows = []
|
439
|
+
params['Rows'].each do |i|
|
440
|
+
resourceidtag_tmp = ResourceIdTag.new
|
441
|
+
resourceidtag_tmp.deserialize(i)
|
442
|
+
@Rows << resourceidtag_tmp
|
443
|
+
end
|
444
|
+
end
|
445
|
+
@RequestId = params['RequestId']
|
446
|
+
end
|
447
|
+
end
|
448
|
+
|
449
|
+
# DescribeResourceTags请求参数结构体
|
450
|
+
class DescribeResourceTagsRequest < TencentCloud::Common::AbstractModel
|
451
|
+
# @param CreateUin: 创建者uin
|
452
|
+
# @type CreateUin: Integer
|
453
|
+
# @param ResourceRegion: 资源所在地域
|
454
|
+
# @type ResourceRegion: String
|
455
|
+
# @param ServiceType: 业务类型
|
456
|
+
# @type ServiceType: String
|
457
|
+
# @param ResourcePrefix: 资源前缀
|
458
|
+
# @type ResourcePrefix: String
|
459
|
+
# @param ResourceId: 资源唯一标识。只输入ResourceId进行查询可能会查询较慢,或者无法匹配到结果,建议在输入ResourceId的同时也输入ServiceType、ResourcePrefix和ResourceRegion(不区分地域的资源可忽略该参数)
|
460
|
+
# @type ResourceId: String
|
461
|
+
# @param Offset: 数据偏移量,默认为 0, 必须为Limit参数的整数倍
|
462
|
+
# @type Offset: Integer
|
463
|
+
# @param Limit: 每页大小,默认为 15
|
464
|
+
# @type Limit: Integer
|
465
|
+
# @param CosResourceId: 是否是cos的资源(0或者1),输入的ResourceId为cos资源时必填
|
466
|
+
# @type CosResourceId: Integer
|
467
|
+
|
468
|
+
attr_accessor :CreateUin, :ResourceRegion, :ServiceType, :ResourcePrefix, :ResourceId, :Offset, :Limit, :CosResourceId
|
469
|
+
|
470
|
+
def initialize(createuin=nil, resourceregion=nil, servicetype=nil, resourceprefix=nil, resourceid=nil, offset=nil, limit=nil, cosresourceid=nil)
|
471
|
+
@CreateUin = createuin
|
472
|
+
@ResourceRegion = resourceregion
|
473
|
+
@ServiceType = servicetype
|
474
|
+
@ResourcePrefix = resourceprefix
|
475
|
+
@ResourceId = resourceid
|
476
|
+
@Offset = offset
|
477
|
+
@Limit = limit
|
478
|
+
@CosResourceId = cosresourceid
|
479
|
+
end
|
480
|
+
|
481
|
+
def deserialize(params)
|
482
|
+
@CreateUin = params['CreateUin']
|
483
|
+
@ResourceRegion = params['ResourceRegion']
|
484
|
+
@ServiceType = params['ServiceType']
|
485
|
+
@ResourcePrefix = params['ResourcePrefix']
|
486
|
+
@ResourceId = params['ResourceId']
|
487
|
+
@Offset = params['Offset']
|
488
|
+
@Limit = params['Limit']
|
489
|
+
@CosResourceId = params['CosResourceId']
|
490
|
+
end
|
491
|
+
end
|
492
|
+
|
493
|
+
# DescribeResourceTags返回参数结构体
|
494
|
+
class DescribeResourceTagsResponse < TencentCloud::Common::AbstractModel
|
495
|
+
# @param TotalCount: 结果总数
|
496
|
+
# @type TotalCount: Integer
|
497
|
+
# @param Offset: 数据位移偏量
|
498
|
+
# @type Offset: Integer
|
499
|
+
# @param Limit: 每页大小
|
500
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
501
|
+
# @type Limit: Integer
|
502
|
+
# @param Rows: 资源标签
|
503
|
+
# @type Rows: Array
|
504
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
505
|
+
# @type RequestId: String
|
506
|
+
|
507
|
+
attr_accessor :TotalCount, :Offset, :Limit, :Rows, :RequestId
|
508
|
+
|
509
|
+
def initialize(totalcount=nil, offset=nil, limit=nil, rows=nil, requestid=nil)
|
510
|
+
@TotalCount = totalcount
|
511
|
+
@Offset = offset
|
512
|
+
@Limit = limit
|
513
|
+
@Rows = rows
|
514
|
+
@RequestId = requestid
|
515
|
+
end
|
516
|
+
|
517
|
+
def deserialize(params)
|
518
|
+
@TotalCount = params['TotalCount']
|
519
|
+
@Offset = params['Offset']
|
520
|
+
@Limit = params['Limit']
|
521
|
+
unless params['Rows'].nil?
|
522
|
+
@Rows = []
|
523
|
+
params['Rows'].each do |i|
|
524
|
+
tagresource_tmp = TagResource.new
|
525
|
+
tagresource_tmp.deserialize(i)
|
526
|
+
@Rows << tagresource_tmp
|
527
|
+
end
|
528
|
+
end
|
529
|
+
@RequestId = params['RequestId']
|
530
|
+
end
|
531
|
+
end
|
532
|
+
|
533
|
+
# DescribeResourcesByTags请求参数结构体
|
534
|
+
class DescribeResourcesByTagsRequest < TencentCloud::Common::AbstractModel
|
535
|
+
# @param TagFilters: 标签过滤数组
|
536
|
+
# @type TagFilters: Array
|
537
|
+
# @param CreateUin: 创建标签者uin
|
538
|
+
# @type CreateUin: Integer
|
539
|
+
# @param Offset: 数据偏移量,默认为 0, 必须为Limit参数的整数倍
|
540
|
+
# @type Offset: Integer
|
541
|
+
# @param Limit: 每页大小,默认为 15
|
542
|
+
# @type Limit: Integer
|
543
|
+
# @param ResourcePrefix: 资源前缀
|
544
|
+
# @type ResourcePrefix: String
|
545
|
+
# @param ResourceId: 资源唯一标记
|
546
|
+
# @type ResourceId: String
|
547
|
+
# @param ResourceRegion: 资源所在地域
|
548
|
+
# @type ResourceRegion: String
|
549
|
+
# @param ServiceType: 业务类型
|
550
|
+
# @type ServiceType: String
|
551
|
+
|
552
|
+
attr_accessor :TagFilters, :CreateUin, :Offset, :Limit, :ResourcePrefix, :ResourceId, :ResourceRegion, :ServiceType
|
553
|
+
|
554
|
+
def initialize(tagfilters=nil, createuin=nil, offset=nil, limit=nil, resourceprefix=nil, resourceid=nil, resourceregion=nil, servicetype=nil)
|
555
|
+
@TagFilters = tagfilters
|
556
|
+
@CreateUin = createuin
|
557
|
+
@Offset = offset
|
558
|
+
@Limit = limit
|
559
|
+
@ResourcePrefix = resourceprefix
|
560
|
+
@ResourceId = resourceid
|
561
|
+
@ResourceRegion = resourceregion
|
562
|
+
@ServiceType = servicetype
|
563
|
+
end
|
564
|
+
|
565
|
+
def deserialize(params)
|
566
|
+
unless params['TagFilters'].nil?
|
567
|
+
@TagFilters = []
|
568
|
+
params['TagFilters'].each do |i|
|
569
|
+
tagfilter_tmp = TagFilter.new
|
570
|
+
tagfilter_tmp.deserialize(i)
|
571
|
+
@TagFilters << tagfilter_tmp
|
572
|
+
end
|
573
|
+
end
|
574
|
+
@CreateUin = params['CreateUin']
|
575
|
+
@Offset = params['Offset']
|
576
|
+
@Limit = params['Limit']
|
577
|
+
@ResourcePrefix = params['ResourcePrefix']
|
578
|
+
@ResourceId = params['ResourceId']
|
579
|
+
@ResourceRegion = params['ResourceRegion']
|
580
|
+
@ServiceType = params['ServiceType']
|
581
|
+
end
|
582
|
+
end
|
583
|
+
|
584
|
+
# DescribeResourcesByTags返回参数结构体
|
585
|
+
class DescribeResourcesByTagsResponse < TencentCloud::Common::AbstractModel
|
586
|
+
# @param TotalCount: 结果总数
|
587
|
+
# @type TotalCount: Integer
|
588
|
+
# @param Offset: 数据位移偏量
|
589
|
+
# @type Offset: Integer
|
590
|
+
# @param Limit: 每页大小
|
591
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
592
|
+
# @type Limit: Integer
|
593
|
+
# @param Rows: 资源标签
|
594
|
+
# @type Rows: Array
|
595
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
596
|
+
# @type RequestId: String
|
597
|
+
|
598
|
+
attr_accessor :TotalCount, :Offset, :Limit, :Rows, :RequestId
|
599
|
+
|
600
|
+
def initialize(totalcount=nil, offset=nil, limit=nil, rows=nil, requestid=nil)
|
601
|
+
@TotalCount = totalcount
|
602
|
+
@Offset = offset
|
603
|
+
@Limit = limit
|
604
|
+
@Rows = rows
|
605
|
+
@RequestId = requestid
|
606
|
+
end
|
607
|
+
|
608
|
+
def deserialize(params)
|
609
|
+
@TotalCount = params['TotalCount']
|
610
|
+
@Offset = params['Offset']
|
611
|
+
@Limit = params['Limit']
|
612
|
+
unless params['Rows'].nil?
|
613
|
+
@Rows = []
|
614
|
+
params['Rows'].each do |i|
|
615
|
+
resourcetag_tmp = ResourceTag.new
|
616
|
+
resourcetag_tmp.deserialize(i)
|
617
|
+
@Rows << resourcetag_tmp
|
618
|
+
end
|
619
|
+
end
|
620
|
+
@RequestId = params['RequestId']
|
621
|
+
end
|
622
|
+
end
|
623
|
+
|
624
|
+
# DescribeResourcesByTagsUnion请求参数结构体
|
625
|
+
class DescribeResourcesByTagsUnionRequest < TencentCloud::Common::AbstractModel
|
626
|
+
# @param TagFilters: 标签过滤数组
|
627
|
+
# @type TagFilters: Array
|
628
|
+
# @param CreateUin: 创建标签者uin
|
629
|
+
# @type CreateUin: Integer
|
630
|
+
# @param Offset: 数据偏移量,默认为 0, 必须为Limit参数的整数倍
|
631
|
+
# @type Offset: Integer
|
632
|
+
# @param Limit: 每页大小,默认为 15
|
633
|
+
# @type Limit: Integer
|
634
|
+
# @param ResourcePrefix: 资源前缀
|
635
|
+
# @type ResourcePrefix: String
|
636
|
+
# @param ResourceId: 资源唯一标记
|
637
|
+
# @type ResourceId: String
|
638
|
+
# @param ResourceRegion: 资源所在地域
|
639
|
+
# @type ResourceRegion: String
|
640
|
+
# @param ServiceType: 业务类型
|
641
|
+
# @type ServiceType: String
|
642
|
+
|
643
|
+
attr_accessor :TagFilters, :CreateUin, :Offset, :Limit, :ResourcePrefix, :ResourceId, :ResourceRegion, :ServiceType
|
644
|
+
|
645
|
+
def initialize(tagfilters=nil, createuin=nil, offset=nil, limit=nil, resourceprefix=nil, resourceid=nil, resourceregion=nil, servicetype=nil)
|
646
|
+
@TagFilters = tagfilters
|
647
|
+
@CreateUin = createuin
|
648
|
+
@Offset = offset
|
649
|
+
@Limit = limit
|
650
|
+
@ResourcePrefix = resourceprefix
|
651
|
+
@ResourceId = resourceid
|
652
|
+
@ResourceRegion = resourceregion
|
653
|
+
@ServiceType = servicetype
|
654
|
+
end
|
655
|
+
|
656
|
+
def deserialize(params)
|
657
|
+
unless params['TagFilters'].nil?
|
658
|
+
@TagFilters = []
|
659
|
+
params['TagFilters'].each do |i|
|
660
|
+
tagfilter_tmp = TagFilter.new
|
661
|
+
tagfilter_tmp.deserialize(i)
|
662
|
+
@TagFilters << tagfilter_tmp
|
663
|
+
end
|
664
|
+
end
|
665
|
+
@CreateUin = params['CreateUin']
|
666
|
+
@Offset = params['Offset']
|
667
|
+
@Limit = params['Limit']
|
668
|
+
@ResourcePrefix = params['ResourcePrefix']
|
669
|
+
@ResourceId = params['ResourceId']
|
670
|
+
@ResourceRegion = params['ResourceRegion']
|
671
|
+
@ServiceType = params['ServiceType']
|
672
|
+
end
|
673
|
+
end
|
674
|
+
|
675
|
+
# DescribeResourcesByTagsUnion返回参数结构体
|
676
|
+
class DescribeResourcesByTagsUnionResponse < TencentCloud::Common::AbstractModel
|
677
|
+
# @param TotalCount: 结果总数
|
678
|
+
# @type TotalCount: Integer
|
679
|
+
# @param Offset: 数据位移偏量
|
680
|
+
# @type Offset: Integer
|
681
|
+
# @param Limit: 每页大小
|
682
|
+
# @type Limit: Integer
|
683
|
+
# @param Rows: 资源标签
|
684
|
+
# @type Rows: Array
|
685
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
686
|
+
# @type RequestId: String
|
687
|
+
|
688
|
+
attr_accessor :TotalCount, :Offset, :Limit, :Rows, :RequestId
|
689
|
+
|
690
|
+
def initialize(totalcount=nil, offset=nil, limit=nil, rows=nil, requestid=nil)
|
691
|
+
@TotalCount = totalcount
|
692
|
+
@Offset = offset
|
693
|
+
@Limit = limit
|
694
|
+
@Rows = rows
|
695
|
+
@RequestId = requestid
|
696
|
+
end
|
697
|
+
|
698
|
+
def deserialize(params)
|
699
|
+
@TotalCount = params['TotalCount']
|
700
|
+
@Offset = params['Offset']
|
701
|
+
@Limit = params['Limit']
|
702
|
+
unless params['Rows'].nil?
|
703
|
+
@Rows = []
|
704
|
+
params['Rows'].each do |i|
|
705
|
+
resourcetag_tmp = ResourceTag.new
|
706
|
+
resourcetag_tmp.deserialize(i)
|
707
|
+
@Rows << resourcetag_tmp
|
708
|
+
end
|
709
|
+
end
|
710
|
+
@RequestId = params['RequestId']
|
711
|
+
end
|
712
|
+
end
|
713
|
+
|
714
|
+
# DescribeTagKeys请求参数结构体
|
715
|
+
class DescribeTagKeysRequest < TencentCloud::Common::AbstractModel
|
716
|
+
# @param CreateUin: 创建者用户 Uin,不传或为空只将 Uin 作为条件查询
|
717
|
+
# @type CreateUin: Integer
|
718
|
+
# @param Offset: 数据偏移量,默认为 0, 必须为Limit参数的整数倍
|
719
|
+
# @type Offset: Integer
|
720
|
+
# @param Limit: 每页大小,默认为 15
|
721
|
+
# @type Limit: Integer
|
722
|
+
# @param ShowProject: 是否展现项目
|
723
|
+
# @type ShowProject: Integer
|
724
|
+
|
725
|
+
attr_accessor :CreateUin, :Offset, :Limit, :ShowProject
|
726
|
+
|
727
|
+
def initialize(createuin=nil, offset=nil, limit=nil, showproject=nil)
|
728
|
+
@CreateUin = createuin
|
729
|
+
@Offset = offset
|
730
|
+
@Limit = limit
|
731
|
+
@ShowProject = showproject
|
732
|
+
end
|
733
|
+
|
734
|
+
def deserialize(params)
|
735
|
+
@CreateUin = params['CreateUin']
|
736
|
+
@Offset = params['Offset']
|
737
|
+
@Limit = params['Limit']
|
738
|
+
@ShowProject = params['ShowProject']
|
739
|
+
end
|
740
|
+
end
|
741
|
+
|
742
|
+
# DescribeTagKeys返回参数结构体
|
743
|
+
class DescribeTagKeysResponse < TencentCloud::Common::AbstractModel
|
744
|
+
# @param TotalCount: 结果总数
|
745
|
+
# @type TotalCount: Integer
|
746
|
+
# @param Offset: 数据位移偏量
|
747
|
+
# @type Offset: Integer
|
748
|
+
# @param Limit: 每页大小
|
749
|
+
# @type Limit: Integer
|
750
|
+
# @param Tags: 标签列表
|
751
|
+
# @type Tags: Array
|
752
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
753
|
+
# @type RequestId: String
|
754
|
+
|
755
|
+
attr_accessor :TotalCount, :Offset, :Limit, :Tags, :RequestId
|
756
|
+
|
757
|
+
def initialize(totalcount=nil, offset=nil, limit=nil, tags=nil, requestid=nil)
|
758
|
+
@TotalCount = totalcount
|
759
|
+
@Offset = offset
|
760
|
+
@Limit = limit
|
761
|
+
@Tags = tags
|
762
|
+
@RequestId = requestid
|
763
|
+
end
|
764
|
+
|
765
|
+
def deserialize(params)
|
766
|
+
@TotalCount = params['TotalCount']
|
767
|
+
@Offset = params['Offset']
|
768
|
+
@Limit = params['Limit']
|
769
|
+
@Tags = params['Tags']
|
770
|
+
@RequestId = params['RequestId']
|
771
|
+
end
|
772
|
+
end
|
773
|
+
|
774
|
+
# DescribeTagValues请求参数结构体
|
775
|
+
class DescribeTagValuesRequest < TencentCloud::Common::AbstractModel
|
776
|
+
# @param TagKeys: 标签键列表
|
777
|
+
# @type TagKeys: Array
|
778
|
+
# @param CreateUin: 创建者用户 Uin,不传或为空只将 Uin 作为条件查询
|
779
|
+
# @type CreateUin: Integer
|
780
|
+
# @param Offset: 数据偏移量,默认为 0, 必须为Limit参数的整数倍
|
781
|
+
# @type Offset: Integer
|
782
|
+
# @param Limit: 每页大小,默认为 15
|
783
|
+
# @type Limit: Integer
|
784
|
+
|
785
|
+
attr_accessor :TagKeys, :CreateUin, :Offset, :Limit
|
786
|
+
|
787
|
+
def initialize(tagkeys=nil, createuin=nil, offset=nil, limit=nil)
|
788
|
+
@TagKeys = tagkeys
|
789
|
+
@CreateUin = createuin
|
790
|
+
@Offset = offset
|
791
|
+
@Limit = limit
|
792
|
+
end
|
793
|
+
|
794
|
+
def deserialize(params)
|
795
|
+
@TagKeys = params['TagKeys']
|
796
|
+
@CreateUin = params['CreateUin']
|
797
|
+
@Offset = params['Offset']
|
798
|
+
@Limit = params['Limit']
|
799
|
+
end
|
800
|
+
end
|
801
|
+
|
802
|
+
# DescribeTagValues返回参数结构体
|
803
|
+
class DescribeTagValuesResponse < TencentCloud::Common::AbstractModel
|
804
|
+
# @param TotalCount: 结果总数
|
805
|
+
# @type TotalCount: Integer
|
806
|
+
# @param Offset: 数据位移偏量
|
807
|
+
# @type Offset: Integer
|
808
|
+
# @param Limit: 每页大小
|
809
|
+
# @type Limit: Integer
|
810
|
+
# @param Tags: 标签列表
|
811
|
+
# @type Tags: Array
|
812
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
813
|
+
# @type RequestId: String
|
814
|
+
|
815
|
+
attr_accessor :TotalCount, :Offset, :Limit, :Tags, :RequestId
|
816
|
+
|
817
|
+
def initialize(totalcount=nil, offset=nil, limit=nil, tags=nil, requestid=nil)
|
818
|
+
@TotalCount = totalcount
|
819
|
+
@Offset = offset
|
820
|
+
@Limit = limit
|
821
|
+
@Tags = tags
|
822
|
+
@RequestId = requestid
|
823
|
+
end
|
824
|
+
|
825
|
+
def deserialize(params)
|
826
|
+
@TotalCount = params['TotalCount']
|
827
|
+
@Offset = params['Offset']
|
828
|
+
@Limit = params['Limit']
|
829
|
+
unless params['Tags'].nil?
|
830
|
+
@Tags = []
|
831
|
+
params['Tags'].each do |i|
|
832
|
+
tag_tmp = Tag.new
|
833
|
+
tag_tmp.deserialize(i)
|
834
|
+
@Tags << tag_tmp
|
835
|
+
end
|
836
|
+
end
|
837
|
+
@RequestId = params['RequestId']
|
838
|
+
end
|
839
|
+
end
|
840
|
+
|
841
|
+
# DescribeTagValuesSeq请求参数结构体
|
842
|
+
class DescribeTagValuesSeqRequest < TencentCloud::Common::AbstractModel
|
843
|
+
# @param TagKeys: 标签键列表
|
844
|
+
# @type TagKeys: Array
|
845
|
+
# @param CreateUin: 创建者用户 Uin,不传或为空只将 Uin 作为条件查询
|
846
|
+
# @type CreateUin: Integer
|
847
|
+
# @param Offset: 数据偏移量,默认为 0, 必须为Limit参数的整数倍
|
848
|
+
# @type Offset: Integer
|
849
|
+
# @param Limit: 每页大小,默认为 15
|
850
|
+
# @type Limit: Integer
|
851
|
+
|
852
|
+
attr_accessor :TagKeys, :CreateUin, :Offset, :Limit
|
853
|
+
|
854
|
+
def initialize(tagkeys=nil, createuin=nil, offset=nil, limit=nil)
|
855
|
+
@TagKeys = tagkeys
|
856
|
+
@CreateUin = createuin
|
857
|
+
@Offset = offset
|
858
|
+
@Limit = limit
|
859
|
+
end
|
860
|
+
|
861
|
+
def deserialize(params)
|
862
|
+
@TagKeys = params['TagKeys']
|
863
|
+
@CreateUin = params['CreateUin']
|
864
|
+
@Offset = params['Offset']
|
865
|
+
@Limit = params['Limit']
|
866
|
+
end
|
867
|
+
end
|
868
|
+
|
869
|
+
# DescribeTagValuesSeq返回参数结构体
|
870
|
+
class DescribeTagValuesSeqResponse < TencentCloud::Common::AbstractModel
|
871
|
+
# @param TotalCount: 结果总数
|
872
|
+
# @type TotalCount: Integer
|
873
|
+
# @param Offset: 数据位移偏量
|
874
|
+
# @type Offset: Integer
|
875
|
+
# @param Limit: 每页大小
|
876
|
+
# @type Limit: Integer
|
877
|
+
# @param Tags: 标签列表
|
878
|
+
# @type Tags: Array
|
879
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
880
|
+
# @type RequestId: String
|
881
|
+
|
882
|
+
attr_accessor :TotalCount, :Offset, :Limit, :Tags, :RequestId
|
883
|
+
|
884
|
+
def initialize(totalcount=nil, offset=nil, limit=nil, tags=nil, requestid=nil)
|
885
|
+
@TotalCount = totalcount
|
886
|
+
@Offset = offset
|
887
|
+
@Limit = limit
|
888
|
+
@Tags = tags
|
889
|
+
@RequestId = requestid
|
890
|
+
end
|
891
|
+
|
892
|
+
def deserialize(params)
|
893
|
+
@TotalCount = params['TotalCount']
|
894
|
+
@Offset = params['Offset']
|
895
|
+
@Limit = params['Limit']
|
896
|
+
unless params['Tags'].nil?
|
897
|
+
@Tags = []
|
898
|
+
params['Tags'].each do |i|
|
899
|
+
tag_tmp = Tag.new
|
900
|
+
tag_tmp.deserialize(i)
|
901
|
+
@Tags << tag_tmp
|
902
|
+
end
|
903
|
+
end
|
904
|
+
@RequestId = params['RequestId']
|
905
|
+
end
|
906
|
+
end
|
907
|
+
|
908
|
+
# DescribeTags请求参数结构体
|
909
|
+
class DescribeTagsRequest < TencentCloud::Common::AbstractModel
|
910
|
+
# @param TagKey: 标签键,与标签值同时存在或同时不存在,不存在时表示查询该用户所有标签
|
911
|
+
# @type TagKey: String
|
912
|
+
# @param TagValue: 标签值,与标签键同时存在或同时不存在,不存在时表示查询该用户所有标签
|
913
|
+
# @type TagValue: String
|
914
|
+
# @param Offset: 数据偏移量,默认为 0, 必须为Limit参数的整数倍
|
915
|
+
# @type Offset: Integer
|
916
|
+
# @param Limit: 每页大小,默认为 15
|
917
|
+
# @type Limit: Integer
|
918
|
+
# @param CreateUin: 创建者用户 Uin,不传或为空只将 Uin 作为条件查询
|
919
|
+
# @type CreateUin: Integer
|
920
|
+
# @param TagKeys: 标签键数组,与标签值同时存在或同时不存在,不存在时表示查询该用户所有标签,当与TagKey同时传递时只取本值
|
921
|
+
# @type TagKeys: Array
|
922
|
+
# @param ShowProject: 是否展现项目标签
|
923
|
+
# @type ShowProject: Integer
|
924
|
+
|
925
|
+
attr_accessor :TagKey, :TagValue, :Offset, :Limit, :CreateUin, :TagKeys, :ShowProject
|
926
|
+
|
927
|
+
def initialize(tagkey=nil, tagvalue=nil, offset=nil, limit=nil, createuin=nil, tagkeys=nil, showproject=nil)
|
928
|
+
@TagKey = tagkey
|
929
|
+
@TagValue = tagvalue
|
930
|
+
@Offset = offset
|
931
|
+
@Limit = limit
|
932
|
+
@CreateUin = createuin
|
933
|
+
@TagKeys = tagkeys
|
934
|
+
@ShowProject = showproject
|
935
|
+
end
|
936
|
+
|
937
|
+
def deserialize(params)
|
938
|
+
@TagKey = params['TagKey']
|
939
|
+
@TagValue = params['TagValue']
|
940
|
+
@Offset = params['Offset']
|
941
|
+
@Limit = params['Limit']
|
942
|
+
@CreateUin = params['CreateUin']
|
943
|
+
@TagKeys = params['TagKeys']
|
944
|
+
@ShowProject = params['ShowProject']
|
945
|
+
end
|
946
|
+
end
|
947
|
+
|
948
|
+
# DescribeTags返回参数结构体
|
949
|
+
class DescribeTagsResponse < TencentCloud::Common::AbstractModel
|
950
|
+
# @param TotalCount: 结果总数
|
951
|
+
# @type TotalCount: Integer
|
952
|
+
# @param Offset: 数据位移偏量
|
953
|
+
# @type Offset: Integer
|
954
|
+
# @param Limit: 每页大小
|
955
|
+
# @type Limit: Integer
|
956
|
+
# @param Tags: 标签列表
|
957
|
+
# @type Tags: Array
|
958
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
959
|
+
# @type RequestId: String
|
960
|
+
|
961
|
+
attr_accessor :TotalCount, :Offset, :Limit, :Tags, :RequestId
|
962
|
+
|
963
|
+
def initialize(totalcount=nil, offset=nil, limit=nil, tags=nil, requestid=nil)
|
964
|
+
@TotalCount = totalcount
|
965
|
+
@Offset = offset
|
966
|
+
@Limit = limit
|
967
|
+
@Tags = tags
|
968
|
+
@RequestId = requestid
|
969
|
+
end
|
970
|
+
|
971
|
+
def deserialize(params)
|
972
|
+
@TotalCount = params['TotalCount']
|
973
|
+
@Offset = params['Offset']
|
974
|
+
@Limit = params['Limit']
|
975
|
+
unless params['Tags'].nil?
|
976
|
+
@Tags = []
|
977
|
+
params['Tags'].each do |i|
|
978
|
+
tagwithdelete_tmp = TagWithDelete.new
|
979
|
+
tagwithdelete_tmp.deserialize(i)
|
980
|
+
@Tags << tagwithdelete_tmp
|
981
|
+
end
|
982
|
+
end
|
983
|
+
@RequestId = params['RequestId']
|
984
|
+
end
|
985
|
+
end
|
986
|
+
|
987
|
+
# DescribeTagsSeq请求参数结构体
|
988
|
+
class DescribeTagsSeqRequest < TencentCloud::Common::AbstractModel
|
989
|
+
# @param TagKey: 标签键,与标签值同时存在或同时不存在,不存在时表示查询该用户所有标签
|
990
|
+
# @type TagKey: String
|
991
|
+
# @param TagValue: 标签值,与标签键同时存在或同时不存在,不存在时表示查询该用户所有标签
|
992
|
+
# @type TagValue: String
|
993
|
+
# @param Offset: 数据偏移量,默认为 0, 必须为Limit参数的整数倍
|
994
|
+
# @type Offset: Integer
|
995
|
+
# @param Limit: 每页大小,默认为 15
|
996
|
+
# @type Limit: Integer
|
997
|
+
# @param CreateUin: 创建者用户 Uin,不传或为空只将 Uin 作为条件查询
|
998
|
+
# @type CreateUin: Integer
|
999
|
+
# @param TagKeys: 标签键数组,与标签值同时存在或同时不存在,不存在时表示查询该用户所有标签,当与TagKey同时传递时只取本值
|
1000
|
+
# @type TagKeys: Array
|
1001
|
+
# @param ShowProject: 是否展现项目标签
|
1002
|
+
# @type ShowProject: Integer
|
1003
|
+
|
1004
|
+
attr_accessor :TagKey, :TagValue, :Offset, :Limit, :CreateUin, :TagKeys, :ShowProject
|
1005
|
+
|
1006
|
+
def initialize(tagkey=nil, tagvalue=nil, offset=nil, limit=nil, createuin=nil, tagkeys=nil, showproject=nil)
|
1007
|
+
@TagKey = tagkey
|
1008
|
+
@TagValue = tagvalue
|
1009
|
+
@Offset = offset
|
1010
|
+
@Limit = limit
|
1011
|
+
@CreateUin = createuin
|
1012
|
+
@TagKeys = tagkeys
|
1013
|
+
@ShowProject = showproject
|
1014
|
+
end
|
1015
|
+
|
1016
|
+
def deserialize(params)
|
1017
|
+
@TagKey = params['TagKey']
|
1018
|
+
@TagValue = params['TagValue']
|
1019
|
+
@Offset = params['Offset']
|
1020
|
+
@Limit = params['Limit']
|
1021
|
+
@CreateUin = params['CreateUin']
|
1022
|
+
@TagKeys = params['TagKeys']
|
1023
|
+
@ShowProject = params['ShowProject']
|
1024
|
+
end
|
1025
|
+
end
|
1026
|
+
|
1027
|
+
# DescribeTagsSeq返回参数结构体
|
1028
|
+
class DescribeTagsSeqResponse < TencentCloud::Common::AbstractModel
|
1029
|
+
# @param TotalCount: 结果总数
|
1030
|
+
# @type TotalCount: Integer
|
1031
|
+
# @param Offset: 数据位移偏量
|
1032
|
+
# @type Offset: Integer
|
1033
|
+
# @param Limit: 每页大小
|
1034
|
+
# @type Limit: Integer
|
1035
|
+
# @param Tags: 标签列表
|
1036
|
+
# @type Tags: Array
|
1037
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1038
|
+
# @type RequestId: String
|
1039
|
+
|
1040
|
+
attr_accessor :TotalCount, :Offset, :Limit, :Tags, :RequestId
|
1041
|
+
|
1042
|
+
def initialize(totalcount=nil, offset=nil, limit=nil, tags=nil, requestid=nil)
|
1043
|
+
@TotalCount = totalcount
|
1044
|
+
@Offset = offset
|
1045
|
+
@Limit = limit
|
1046
|
+
@Tags = tags
|
1047
|
+
@RequestId = requestid
|
1048
|
+
end
|
1049
|
+
|
1050
|
+
def deserialize(params)
|
1051
|
+
@TotalCount = params['TotalCount']
|
1052
|
+
@Offset = params['Offset']
|
1053
|
+
@Limit = params['Limit']
|
1054
|
+
unless params['Tags'].nil?
|
1055
|
+
@Tags = []
|
1056
|
+
params['Tags'].each do |i|
|
1057
|
+
tagwithdelete_tmp = TagWithDelete.new
|
1058
|
+
tagwithdelete_tmp.deserialize(i)
|
1059
|
+
@Tags << tagwithdelete_tmp
|
1060
|
+
end
|
1061
|
+
end
|
1062
|
+
@RequestId = params['RequestId']
|
1063
|
+
end
|
1064
|
+
end
|
1065
|
+
|
1066
|
+
# DetachResourcesTag请求参数结构体
|
1067
|
+
class DetachResourcesTagRequest < TencentCloud::Common::AbstractModel
|
1068
|
+
# @param ServiceType: 资源所属业务名称(资源六段式中的第三段)
|
1069
|
+
# @type ServiceType: String
|
1070
|
+
# @param ResourceIds: 资源ID数组,资源个数最多为50
|
1071
|
+
# @type ResourceIds: Array
|
1072
|
+
# @param TagKey: 需要解绑的标签键
|
1073
|
+
# @type TagKey: String
|
1074
|
+
# @param ResourceRegion: 资源所在地域,不区分地域的资源不需要传入该字段,区分地域的资源必填
|
1075
|
+
# @type ResourceRegion: String
|
1076
|
+
# @param ResourcePrefix: 资源前缀(资源六段式中最后一段"/"前面的部分),cos存储桶不需要传入该字段,其他云资源必填
|
1077
|
+
# @type ResourcePrefix: String
|
1078
|
+
|
1079
|
+
attr_accessor :ServiceType, :ResourceIds, :TagKey, :ResourceRegion, :ResourcePrefix
|
1080
|
+
|
1081
|
+
def initialize(servicetype=nil, resourceids=nil, tagkey=nil, resourceregion=nil, resourceprefix=nil)
|
1082
|
+
@ServiceType = servicetype
|
1083
|
+
@ResourceIds = resourceids
|
1084
|
+
@TagKey = tagkey
|
1085
|
+
@ResourceRegion = resourceregion
|
1086
|
+
@ResourcePrefix = resourceprefix
|
1087
|
+
end
|
1088
|
+
|
1089
|
+
def deserialize(params)
|
1090
|
+
@ServiceType = params['ServiceType']
|
1091
|
+
@ResourceIds = params['ResourceIds']
|
1092
|
+
@TagKey = params['TagKey']
|
1093
|
+
@ResourceRegion = params['ResourceRegion']
|
1094
|
+
@ResourcePrefix = params['ResourcePrefix']
|
1095
|
+
end
|
1096
|
+
end
|
1097
|
+
|
1098
|
+
# DetachResourcesTag返回参数结构体
|
1099
|
+
class DetachResourcesTagResponse < TencentCloud::Common::AbstractModel
|
1100
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1101
|
+
# @type RequestId: String
|
1102
|
+
|
1103
|
+
attr_accessor :RequestId
|
1104
|
+
|
1105
|
+
def initialize(requestid=nil)
|
1106
|
+
@RequestId = requestid
|
1107
|
+
end
|
1108
|
+
|
1109
|
+
def deserialize(params)
|
1110
|
+
@RequestId = params['RequestId']
|
1111
|
+
end
|
1112
|
+
end
|
1113
|
+
|
1114
|
+
# ModifyResourceTags请求参数结构体
|
1115
|
+
class ModifyResourceTagsRequest < TencentCloud::Common::AbstractModel
|
1116
|
+
# @param Resource: [ 资源六段式描述 ](https://cloud.tencent.com/document/product/598/10606)
|
1117
|
+
# @type Resource: String
|
1118
|
+
# @param ReplaceTags: 需要增加或修改的标签集合。如果Resource描述的资源未关联输入的标签键,则增加关联;若已关联,则将该资源关联的键对应的标签值修改为输入值。本接口中ReplaceTags和DeleteTags二者必须存在其一,且二者不能包含相同的标签键。可以不传该参数,但不能是空数组。
|
1119
|
+
# @type ReplaceTags: Array
|
1120
|
+
# @param DeleteTags: 需要解关联的标签集合。本接口中ReplaceTags和DeleteTags二者必须存在其一,且二者不能包含相同的标签键。可以不传该参数,但不能是空数组。
|
1121
|
+
# @type DeleteTags: Array
|
1122
|
+
|
1123
|
+
attr_accessor :Resource, :ReplaceTags, :DeleteTags
|
1124
|
+
|
1125
|
+
def initialize(resource=nil, replacetags=nil, deletetags=nil)
|
1126
|
+
@Resource = resource
|
1127
|
+
@ReplaceTags = replacetags
|
1128
|
+
@DeleteTags = deletetags
|
1129
|
+
end
|
1130
|
+
|
1131
|
+
def deserialize(params)
|
1132
|
+
@Resource = params['Resource']
|
1133
|
+
unless params['ReplaceTags'].nil?
|
1134
|
+
@ReplaceTags = []
|
1135
|
+
params['ReplaceTags'].each do |i|
|
1136
|
+
tag_tmp = Tag.new
|
1137
|
+
tag_tmp.deserialize(i)
|
1138
|
+
@ReplaceTags << tag_tmp
|
1139
|
+
end
|
1140
|
+
end
|
1141
|
+
unless params['DeleteTags'].nil?
|
1142
|
+
@DeleteTags = []
|
1143
|
+
params['DeleteTags'].each do |i|
|
1144
|
+
tagkeyobject_tmp = TagKeyObject.new
|
1145
|
+
tagkeyobject_tmp.deserialize(i)
|
1146
|
+
@DeleteTags << tagkeyobject_tmp
|
1147
|
+
end
|
1148
|
+
end
|
1149
|
+
end
|
1150
|
+
end
|
1151
|
+
|
1152
|
+
# ModifyResourceTags返回参数结构体
|
1153
|
+
class ModifyResourceTagsResponse < TencentCloud::Common::AbstractModel
|
1154
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1155
|
+
# @type RequestId: String
|
1156
|
+
|
1157
|
+
attr_accessor :RequestId
|
1158
|
+
|
1159
|
+
def initialize(requestid=nil)
|
1160
|
+
@RequestId = requestid
|
1161
|
+
end
|
1162
|
+
|
1163
|
+
def deserialize(params)
|
1164
|
+
@RequestId = params['RequestId']
|
1165
|
+
end
|
1166
|
+
end
|
1167
|
+
|
1168
|
+
# ModifyResourcesTagValue请求参数结构体
|
1169
|
+
class ModifyResourcesTagValueRequest < TencentCloud::Common::AbstractModel
|
1170
|
+
# @param ServiceType: 资源所属业务名称(资源六段式中的第三段)
|
1171
|
+
# @type ServiceType: String
|
1172
|
+
# @param ResourceIds: 资源ID数组,资源个数最多为50
|
1173
|
+
# @type ResourceIds: Array
|
1174
|
+
# @param TagKey: 标签键
|
1175
|
+
# @type TagKey: String
|
1176
|
+
# @param TagValue: 标签值
|
1177
|
+
# @type TagValue: String
|
1178
|
+
# @param ResourceRegion: 资源所在地域,不区分地域的资源不需要传入该字段,区分地域的资源必填
|
1179
|
+
# @type ResourceRegion: String
|
1180
|
+
# @param ResourcePrefix: 资源前缀(资源六段式中最后一段"/"前面的部分),cos存储桶不需要传入该字段,其他云资源必填
|
1181
|
+
# @type ResourcePrefix: String
|
1182
|
+
|
1183
|
+
attr_accessor :ServiceType, :ResourceIds, :TagKey, :TagValue, :ResourceRegion, :ResourcePrefix
|
1184
|
+
|
1185
|
+
def initialize(servicetype=nil, resourceids=nil, tagkey=nil, tagvalue=nil, resourceregion=nil, resourceprefix=nil)
|
1186
|
+
@ServiceType = servicetype
|
1187
|
+
@ResourceIds = resourceids
|
1188
|
+
@TagKey = tagkey
|
1189
|
+
@TagValue = tagvalue
|
1190
|
+
@ResourceRegion = resourceregion
|
1191
|
+
@ResourcePrefix = resourceprefix
|
1192
|
+
end
|
1193
|
+
|
1194
|
+
def deserialize(params)
|
1195
|
+
@ServiceType = params['ServiceType']
|
1196
|
+
@ResourceIds = params['ResourceIds']
|
1197
|
+
@TagKey = params['TagKey']
|
1198
|
+
@TagValue = params['TagValue']
|
1199
|
+
@ResourceRegion = params['ResourceRegion']
|
1200
|
+
@ResourcePrefix = params['ResourcePrefix']
|
1201
|
+
end
|
1202
|
+
end
|
1203
|
+
|
1204
|
+
# ModifyResourcesTagValue返回参数结构体
|
1205
|
+
class ModifyResourcesTagValueResponse < TencentCloud::Common::AbstractModel
|
1206
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1207
|
+
# @type RequestId: String
|
1208
|
+
|
1209
|
+
attr_accessor :RequestId
|
1210
|
+
|
1211
|
+
def initialize(requestid=nil)
|
1212
|
+
@RequestId = requestid
|
1213
|
+
end
|
1214
|
+
|
1215
|
+
def deserialize(params)
|
1216
|
+
@RequestId = params['RequestId']
|
1217
|
+
end
|
1218
|
+
end
|
1219
|
+
|
1220
|
+
# 资源标签键值
|
1221
|
+
class ResourceIdTag < TencentCloud::Common::AbstractModel
|
1222
|
+
# @param ResourceId: 资源唯一标识
|
1223
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1224
|
+
# @type ResourceId: String
|
1225
|
+
# @param TagKeyValues: 标签键值对
|
1226
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1227
|
+
# @type TagKeyValues: Array
|
1228
|
+
|
1229
|
+
attr_accessor :ResourceId, :TagKeyValues
|
1230
|
+
|
1231
|
+
def initialize(resourceid=nil, tagkeyvalues=nil)
|
1232
|
+
@ResourceId = resourceid
|
1233
|
+
@TagKeyValues = tagkeyvalues
|
1234
|
+
end
|
1235
|
+
|
1236
|
+
def deserialize(params)
|
1237
|
+
@ResourceId = params['ResourceId']
|
1238
|
+
unless params['TagKeyValues'].nil?
|
1239
|
+
@TagKeyValues = []
|
1240
|
+
params['TagKeyValues'].each do |i|
|
1241
|
+
tag_tmp = Tag.new
|
1242
|
+
tag_tmp.deserialize(i)
|
1243
|
+
@TagKeyValues << tag_tmp
|
1244
|
+
end
|
1245
|
+
end
|
1246
|
+
end
|
1247
|
+
end
|
1248
|
+
|
1249
|
+
# 资源标签
|
1250
|
+
class ResourceTag < TencentCloud::Common::AbstractModel
|
1251
|
+
# @param ResourceRegion: 资源所在地域
|
1252
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1253
|
+
# @type ResourceRegion: String
|
1254
|
+
# @param ServiceType: 业务类型
|
1255
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1256
|
+
# @type ServiceType: String
|
1257
|
+
# @param ResourcePrefix: 资源前缀
|
1258
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1259
|
+
# @type ResourcePrefix: String
|
1260
|
+
# @param ResourceId: 资源唯一标记
|
1261
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1262
|
+
# @type ResourceId: String
|
1263
|
+
# @param Tags: 资源标签
|
1264
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1265
|
+
# @type Tags: Array
|
1266
|
+
|
1267
|
+
attr_accessor :ResourceRegion, :ServiceType, :ResourcePrefix, :ResourceId, :Tags
|
1268
|
+
|
1269
|
+
def initialize(resourceregion=nil, servicetype=nil, resourceprefix=nil, resourceid=nil, tags=nil)
|
1270
|
+
@ResourceRegion = resourceregion
|
1271
|
+
@ServiceType = servicetype
|
1272
|
+
@ResourcePrefix = resourceprefix
|
1273
|
+
@ResourceId = resourceid
|
1274
|
+
@Tags = tags
|
1275
|
+
end
|
1276
|
+
|
1277
|
+
def deserialize(params)
|
1278
|
+
@ResourceRegion = params['ResourceRegion']
|
1279
|
+
@ServiceType = params['ServiceType']
|
1280
|
+
@ResourcePrefix = params['ResourcePrefix']
|
1281
|
+
@ResourceId = params['ResourceId']
|
1282
|
+
unless params['Tags'].nil?
|
1283
|
+
@Tags = []
|
1284
|
+
params['Tags'].each do |i|
|
1285
|
+
tag_tmp = Tag.new
|
1286
|
+
tag_tmp.deserialize(i)
|
1287
|
+
@Tags << tag_tmp
|
1288
|
+
end
|
1289
|
+
end
|
1290
|
+
end
|
1291
|
+
end
|
1292
|
+
|
1293
|
+
# 表示一个标签键值对
|
1294
|
+
class Tag < TencentCloud::Common::AbstractModel
|
1295
|
+
# @param TagKey: 标签键
|
1296
|
+
# @type TagKey: String
|
1297
|
+
# @param TagValue: 标签值
|
1298
|
+
# @type TagValue: String
|
1299
|
+
|
1300
|
+
attr_accessor :TagKey, :TagValue
|
1301
|
+
|
1302
|
+
def initialize(tagkey=nil, tagvalue=nil)
|
1303
|
+
@TagKey = tagkey
|
1304
|
+
@TagValue = tagvalue
|
1305
|
+
end
|
1306
|
+
|
1307
|
+
def deserialize(params)
|
1308
|
+
@TagKey = params['TagKey']
|
1309
|
+
@TagValue = params['TagValue']
|
1310
|
+
end
|
1311
|
+
end
|
1312
|
+
|
1313
|
+
# tag过滤数组多个是与的关系
|
1314
|
+
class TagFilter < TencentCloud::Common::AbstractModel
|
1315
|
+
# @param TagKey: 标签键
|
1316
|
+
# @type TagKey: String
|
1317
|
+
# @param TagValue: 标签值数组 多个值的话是或的关系
|
1318
|
+
# @type TagValue: Array
|
1319
|
+
|
1320
|
+
attr_accessor :TagKey, :TagValue
|
1321
|
+
|
1322
|
+
def initialize(tagkey=nil, tagvalue=nil)
|
1323
|
+
@TagKey = tagkey
|
1324
|
+
@TagValue = tagvalue
|
1325
|
+
end
|
1326
|
+
|
1327
|
+
def deserialize(params)
|
1328
|
+
@TagKey = params['TagKey']
|
1329
|
+
@TagValue = params['TagValue']
|
1330
|
+
end
|
1331
|
+
end
|
1332
|
+
|
1333
|
+
# 标签键对象
|
1334
|
+
class TagKeyObject < TencentCloud::Common::AbstractModel
|
1335
|
+
# @param TagKey: 标签键
|
1336
|
+
# @type TagKey: String
|
1337
|
+
|
1338
|
+
attr_accessor :TagKey
|
1339
|
+
|
1340
|
+
def initialize(tagkey=nil)
|
1341
|
+
@TagKey = tagkey
|
1342
|
+
end
|
1343
|
+
|
1344
|
+
def deserialize(params)
|
1345
|
+
@TagKey = params['TagKey']
|
1346
|
+
end
|
1347
|
+
end
|
1348
|
+
|
1349
|
+
# 标签键值对以及资源ID
|
1350
|
+
class TagResource < TencentCloud::Common::AbstractModel
|
1351
|
+
# @param TagKey: 标签键
|
1352
|
+
# @type TagKey: String
|
1353
|
+
# @param TagValue: 标签值
|
1354
|
+
# @type TagValue: String
|
1355
|
+
# @param ResourceId: 资源ID
|
1356
|
+
# @type ResourceId: String
|
1357
|
+
# @param TagKeyMd5: 标签键MD5值
|
1358
|
+
# @type TagKeyMd5: String
|
1359
|
+
# @param TagValueMd5: 标签值MD5值
|
1360
|
+
# @type TagValueMd5: String
|
1361
|
+
# @param ServiceType: 资源类型
|
1362
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1363
|
+
# @type ServiceType: String
|
1364
|
+
|
1365
|
+
attr_accessor :TagKey, :TagValue, :ResourceId, :TagKeyMd5, :TagValueMd5, :ServiceType
|
1366
|
+
|
1367
|
+
def initialize(tagkey=nil, tagvalue=nil, resourceid=nil, tagkeymd5=nil, tagvaluemd5=nil, servicetype=nil)
|
1368
|
+
@TagKey = tagkey
|
1369
|
+
@TagValue = tagvalue
|
1370
|
+
@ResourceId = resourceid
|
1371
|
+
@TagKeyMd5 = tagkeymd5
|
1372
|
+
@TagValueMd5 = tagvaluemd5
|
1373
|
+
@ServiceType = servicetype
|
1374
|
+
end
|
1375
|
+
|
1376
|
+
def deserialize(params)
|
1377
|
+
@TagKey = params['TagKey']
|
1378
|
+
@TagValue = params['TagValue']
|
1379
|
+
@ResourceId = params['ResourceId']
|
1380
|
+
@TagKeyMd5 = params['TagKeyMd5']
|
1381
|
+
@TagValueMd5 = params['TagValueMd5']
|
1382
|
+
@ServiceType = params['ServiceType']
|
1383
|
+
end
|
1384
|
+
end
|
1385
|
+
|
1386
|
+
# 表示一个标签键值对以及是否允许删除
|
1387
|
+
class TagWithDelete < TencentCloud::Common::AbstractModel
|
1388
|
+
# @param TagKey: 标签键
|
1389
|
+
# @type TagKey: String
|
1390
|
+
# @param TagValue: 标签值
|
1391
|
+
# @type TagValue: String
|
1392
|
+
# @param CanDelete: 是否可以删除
|
1393
|
+
# @type CanDelete: Integer
|
1394
|
+
|
1395
|
+
attr_accessor :TagKey, :TagValue, :CanDelete
|
1396
|
+
|
1397
|
+
def initialize(tagkey=nil, tagvalue=nil, candelete=nil)
|
1398
|
+
@TagKey = tagkey
|
1399
|
+
@TagValue = tagvalue
|
1400
|
+
@CanDelete = candelete
|
1401
|
+
end
|
1402
|
+
|
1403
|
+
def deserialize(params)
|
1404
|
+
@TagKey = params['TagKey']
|
1405
|
+
@TagValue = params['TagValue']
|
1406
|
+
@CanDelete = params['CanDelete']
|
1407
|
+
end
|
1408
|
+
end
|
1409
|
+
|
1410
|
+
# UpdateResourceTagValue请求参数结构体
|
1411
|
+
class UpdateResourceTagValueRequest < TencentCloud::Common::AbstractModel
|
1412
|
+
# @param TagKey: 资源关联的标签键
|
1413
|
+
# @type TagKey: String
|
1414
|
+
# @param TagValue: 修改后的标签值
|
1415
|
+
# @type TagValue: String
|
1416
|
+
# @param Resource: [ 资源六段式描述 ](https://cloud.tencent.com/document/product/598/10606)
|
1417
|
+
# @type Resource: String
|
1418
|
+
|
1419
|
+
attr_accessor :TagKey, :TagValue, :Resource
|
1420
|
+
|
1421
|
+
def initialize(tagkey=nil, tagvalue=nil, resource=nil)
|
1422
|
+
@TagKey = tagkey
|
1423
|
+
@TagValue = tagvalue
|
1424
|
+
@Resource = resource
|
1425
|
+
end
|
1426
|
+
|
1427
|
+
def deserialize(params)
|
1428
|
+
@TagKey = params['TagKey']
|
1429
|
+
@TagValue = params['TagValue']
|
1430
|
+
@Resource = params['Resource']
|
1431
|
+
end
|
1432
|
+
end
|
1433
|
+
|
1434
|
+
# UpdateResourceTagValue返回参数结构体
|
1435
|
+
class UpdateResourceTagValueResponse < TencentCloud::Common::AbstractModel
|
1436
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1437
|
+
# @type RequestId: String
|
1438
|
+
|
1439
|
+
attr_accessor :RequestId
|
1440
|
+
|
1441
|
+
def initialize(requestid=nil)
|
1442
|
+
@RequestId = requestid
|
1443
|
+
end
|
1444
|
+
|
1445
|
+
def deserialize(params)
|
1446
|
+
@RequestId = params['RequestId']
|
1447
|
+
end
|
1448
|
+
end
|
1449
|
+
|
1450
|
+
end
|
1451
|
+
end
|
1452
|
+
end
|
1453
|
+
|