tencentcloud-sdk-emr 3.0.822 → 3.0.824

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: 77d53e885282927913a837bab2b5c84a51c8d002
4
- data.tar.gz: 0ff9fa8c2dbb341aaf3a2f2508e407d6e8f86207
3
+ metadata.gz: b88e64f68b1ccc1db88b765041dd6acb6609e544
4
+ data.tar.gz: a60a6230ee0087c98cb7966513024ac18cbfe221
5
5
  SHA512:
6
- metadata.gz: 67775dd0784a8bbe86ecaf67513dbd63e0884b4b4d0bf1d56646c4b47d4a85cdea0b176fc6746eaf6858223de0b404192467f547dca52f56e49dcbc08ad2ad36
7
- data.tar.gz: 8c23df627fa2e7330f34f3b3a6e1dde030c53ea556f01dd8f759580964fcfb654277d307323e92ee606a61b6a7587f18538d17b1a1918eee5788b6769a84d0e7
6
+ metadata.gz: 03cc507ed64acc0ae6d742e7a1c1ccd43950f2bba5b15d084a0d58d091798e8ae188ec342eab893724db7b921b91937cdccb0461c4c0c6963ff2a825a4e98dd3
7
+ data.tar.gz: 9ff4da7d0aa415b4206b9b8f6a27a4f37b954fffb177ae9982dcd19589fc2a9255f1af1d2ed91c58e69732cbb843d8ee38e6d1a85cbaabc00029e8dd8efbfa37
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.822
1
+ 3.0.824
@@ -318,6 +318,54 @@ module TencentCloud
318
318
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
319
319
  end
320
320
 
321
+ # 查询监控概览页指标数据
322
+
323
+ # @param request: Request instance for DescribeEmrOverviewMetrics.
324
+ # @type request: :class:`Tencentcloud::emr::V20190103::DescribeEmrOverviewMetricsRequest`
325
+ # @rtype: :class:`Tencentcloud::emr::V20190103::DescribeEmrOverviewMetricsResponse`
326
+ def DescribeEmrOverviewMetrics(request)
327
+ body = send_request('DescribeEmrOverviewMetrics', request.serialize)
328
+ response = JSON.parse(body)
329
+ if response['Response'].key?('Error') == false
330
+ model = DescribeEmrOverviewMetricsResponse.new
331
+ model.deserialize(response['Response'])
332
+ model
333
+ else
334
+ code = response['Response']['Error']['Code']
335
+ message = response['Response']['Error']['Message']
336
+ reqid = response['Response']['RequestId']
337
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
338
+ end
339
+ rescue TencentCloud::Common::TencentCloudSDKException => e
340
+ raise e
341
+ rescue StandardError => e
342
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
343
+ end
344
+
345
+ # 获取Hbase表级监控数据概览接口
346
+
347
+ # @param request: Request instance for DescribeHBaseTableOverview.
348
+ # @type request: :class:`Tencentcloud::emr::V20190103::DescribeHBaseTableOverviewRequest`
349
+ # @rtype: :class:`Tencentcloud::emr::V20190103::DescribeHBaseTableOverviewResponse`
350
+ def DescribeHBaseTableOverview(request)
351
+ body = send_request('DescribeHBaseTableOverview', request.serialize)
352
+ response = JSON.parse(body)
353
+ if response['Response'].key?('Error') == false
354
+ model = DescribeHBaseTableOverviewResponse.new
355
+ model.deserialize(response['Response'])
356
+ model
357
+ else
358
+ code = response['Response']['Error']['Code']
359
+ message = response['Response']['Error']['Message']
360
+ reqid = response['Response']['RequestId']
361
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
362
+ end
363
+ rescue TencentCloud::Common::TencentCloudSDKException => e
364
+ raise e
365
+ rescue StandardError => e
366
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
367
+ end
368
+
321
369
  # 获取hive查询信息
322
370
 
323
371
  # @param request: Request instance for DescribeHiveQueries.
@@ -2047,6 +2047,151 @@ module TencentCloud
2047
2047
  end
2048
2048
  end
2049
2049
 
2050
+ # DescribeEmrOverviewMetrics请求参数结构体
2051
+ class DescribeEmrOverviewMetricsRequest < TencentCloud::Common::AbstractModel
2052
+ # @param End: 结束时间
2053
+ # @type End: Integer
2054
+ # @param Metric: 指标名
2055
+ # @type Metric: String
2056
+ # @param InstanceId: 集群id
2057
+ # @type InstanceId: String
2058
+ # @param Downsample: 粒度 30s-max 1m-max 1h-max等
2059
+ # @type Downsample: String
2060
+ # @param Start: 起始时间,画饼状图时不传
2061
+ # @type Start: Integer
2062
+ # @param Aggregator: 聚合方法,扩展用,这里目前不用传
2063
+ # @type Aggregator: String
2064
+ # @param Tags: 指标要查询的具体type 如:"{"type":"CapacityTotal|CapacityRemaining"}"
2065
+ # @type Tags: String
2066
+
2067
+ attr_accessor :End, :Metric, :InstanceId, :Downsample, :Start, :Aggregator, :Tags
2068
+
2069
+ def initialize(_end=nil, metric=nil, instanceid=nil, downsample=nil, start=nil, aggregator=nil, tags=nil)
2070
+ @End = _end
2071
+ @Metric = metric
2072
+ @InstanceId = instanceid
2073
+ @Downsample = downsample
2074
+ @Start = start
2075
+ @Aggregator = aggregator
2076
+ @Tags = tags
2077
+ end
2078
+
2079
+ def deserialize(params)
2080
+ @End = params['End']
2081
+ @Metric = params['Metric']
2082
+ @InstanceId = params['InstanceId']
2083
+ @Downsample = params['Downsample']
2084
+ @Start = params['Start']
2085
+ @Aggregator = params['Aggregator']
2086
+ @Tags = params['Tags']
2087
+ end
2088
+ end
2089
+
2090
+ # DescribeEmrOverviewMetrics返回参数结构体
2091
+ class DescribeEmrOverviewMetricsResponse < TencentCloud::Common::AbstractModel
2092
+ # @param Result: 指标数据明细
2093
+ # @type Result: Array
2094
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2095
+ # @type RequestId: String
2096
+
2097
+ attr_accessor :Result, :RequestId
2098
+
2099
+ def initialize(result=nil, requestid=nil)
2100
+ @Result = result
2101
+ @RequestId = requestid
2102
+ end
2103
+
2104
+ def deserialize(params)
2105
+ unless params['Result'].nil?
2106
+ @Result = []
2107
+ params['Result'].each do |i|
2108
+ overviewmetricdata_tmp = OverviewMetricData.new
2109
+ overviewmetricdata_tmp.deserialize(i)
2110
+ @Result << overviewmetricdata_tmp
2111
+ end
2112
+ end
2113
+ @RequestId = params['RequestId']
2114
+ end
2115
+ end
2116
+
2117
+ # DescribeHBaseTableOverview请求参数结构体
2118
+ class DescribeHBaseTableOverviewRequest < TencentCloud::Common::AbstractModel
2119
+ # @param InstanceId: 实例ID
2120
+ # @type InstanceId: String
2121
+ # @param Offset: 分页查询编号偏移量,从0开始
2122
+ # @type Offset: Integer
2123
+ # @param Limit: 分页查询时的分页大小,最小1,最大100
2124
+ # @type Limit: Integer
2125
+ # @param Table: 表名称,模糊匹配
2126
+ # @type Table: String
2127
+ # @param OrderField: 排序的字段,有默认值
2128
+ # @type OrderField: String
2129
+ # @param OrderType: 默认为降序,asc代表升序,desc代表降序
2130
+ # @type OrderType: String
2131
+
2132
+ attr_accessor :InstanceId, :Offset, :Limit, :Table, :OrderField, :OrderType
2133
+
2134
+ def initialize(instanceid=nil, offset=nil, limit=nil, table=nil, orderfield=nil, ordertype=nil)
2135
+ @InstanceId = instanceid
2136
+ @Offset = offset
2137
+ @Limit = limit
2138
+ @Table = table
2139
+ @OrderField = orderfield
2140
+ @OrderType = ordertype
2141
+ end
2142
+
2143
+ def deserialize(params)
2144
+ @InstanceId = params['InstanceId']
2145
+ @Offset = params['Offset']
2146
+ @Limit = params['Limit']
2147
+ @Table = params['Table']
2148
+ @OrderField = params['OrderField']
2149
+ @OrderType = params['OrderType']
2150
+ end
2151
+ end
2152
+
2153
+ # DescribeHBaseTableOverview返回参数结构体
2154
+ class DescribeHBaseTableOverviewResponse < TencentCloud::Common::AbstractModel
2155
+ # @param TableMonitorList: 概览数据数组
2156
+ # @type TableMonitorList: Array
2157
+ # @param TotalCount: 概览数据数组长度
2158
+ # @type TotalCount: Integer
2159
+ # @param SchemaList: 表schema信息
2160
+ # @type SchemaList: Array
2161
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2162
+ # @type RequestId: String
2163
+
2164
+ attr_accessor :TableMonitorList, :TotalCount, :SchemaList, :RequestId
2165
+
2166
+ def initialize(tablemonitorlist=nil, totalcount=nil, schemalist=nil, requestid=nil)
2167
+ @TableMonitorList = tablemonitorlist
2168
+ @TotalCount = totalcount
2169
+ @SchemaList = schemalist
2170
+ @RequestId = requestid
2171
+ end
2172
+
2173
+ def deserialize(params)
2174
+ unless params['TableMonitorList'].nil?
2175
+ @TableMonitorList = []
2176
+ params['TableMonitorList'].each do |i|
2177
+ overviewrow_tmp = OverviewRow.new
2178
+ overviewrow_tmp.deserialize(i)
2179
+ @TableMonitorList << overviewrow_tmp
2180
+ end
2181
+ end
2182
+ @TotalCount = params['TotalCount']
2183
+ unless params['SchemaList'].nil?
2184
+ @SchemaList = []
2185
+ params['SchemaList'].each do |i|
2186
+ tableschemaitem_tmp = TableSchemaItem.new
2187
+ tableschemaitem_tmp.deserialize(i)
2188
+ @SchemaList << tableschemaitem_tmp
2189
+ end
2190
+ end
2191
+ @RequestId = params['RequestId']
2192
+ end
2193
+ end
2194
+
2050
2195
  # DescribeHiveQueries请求参数结构体
2051
2196
  class DescribeHiveQueriesRequest < TencentCloud::Common::AbstractModel
2052
2197
  # @param InstanceId: 集群ID
@@ -3980,10 +4125,14 @@ module TencentCloud
3980
4125
  # @type RouterCount: Integer
3981
4126
  # @param MasterCount: 扩容的Master节点数量。
3982
4127
  # @type MasterCount: Integer
4128
+ # @param ResourceBaseType: 类型为ComputeResource和EMR以及默认,默认为EMR
4129
+ # @type ResourceBaseType: String
4130
+ # @param ComputeResourceId: 计算资源id
4131
+ # @type ComputeResourceId: String
3983
4132
 
3984
- attr_accessor :TimeUnit, :TimeSpan, :ZoneId, :PayMode, :InstanceId, :CoreCount, :TaskCount, :Currency, :RouterCount, :MasterCount
4133
+ attr_accessor :TimeUnit, :TimeSpan, :ZoneId, :PayMode, :InstanceId, :CoreCount, :TaskCount, :Currency, :RouterCount, :MasterCount, :ResourceBaseType, :ComputeResourceId
3985
4134
 
3986
- def initialize(timeunit=nil, timespan=nil, zoneid=nil, paymode=nil, instanceid=nil, corecount=nil, taskcount=nil, currency=nil, routercount=nil, mastercount=nil)
4135
+ def initialize(timeunit=nil, timespan=nil, zoneid=nil, paymode=nil, instanceid=nil, corecount=nil, taskcount=nil, currency=nil, routercount=nil, mastercount=nil, resourcebasetype=nil, computeresourceid=nil)
3987
4136
  @TimeUnit = timeunit
3988
4137
  @TimeSpan = timespan
3989
4138
  @ZoneId = zoneid
@@ -3994,6 +4143,8 @@ module TencentCloud
3994
4143
  @Currency = currency
3995
4144
  @RouterCount = routercount
3996
4145
  @MasterCount = mastercount
4146
+ @ResourceBaseType = resourcebasetype
4147
+ @ComputeResourceId = computeresourceid
3997
4148
  end
3998
4149
 
3999
4150
  def deserialize(params)
@@ -4007,6 +4158,8 @@ module TencentCloud
4007
4158
  @Currency = params['Currency']
4008
4159
  @RouterCount = params['RouterCount']
4009
4160
  @MasterCount = params['MasterCount']
4161
+ @ResourceBaseType = params['ResourceBaseType']
4162
+ @ComputeResourceId = params['ComputeResourceId']
4010
4163
  end
4011
4164
  end
4012
4165
 
@@ -4495,6 +4648,28 @@ module TencentCloud
4495
4648
  end
4496
4649
  end
4497
4650
 
4651
+ # 指标tag
4652
+ class MetricTags < TencentCloud::Common::AbstractModel
4653
+ # @param Unit: 指标单位
4654
+ # 注意:此字段可能返回 null,表示取不到有效值。
4655
+ # @type Unit: String
4656
+ # @param Type: 指标Type
4657
+ # 注意:此字段可能返回 null,表示取不到有效值。
4658
+ # @type Type: String
4659
+
4660
+ attr_accessor :Unit, :Type
4661
+
4662
+ def initialize(unit=nil, type=nil)
4663
+ @Unit = unit
4664
+ @Type = type
4665
+ end
4666
+
4667
+ def deserialize(params)
4668
+ @Unit = params['Unit']
4669
+ @Type = params['Type']
4670
+ end
4671
+ end
4672
+
4498
4673
  # ModifyAutoScaleStrategy请求参数结构体
4499
4674
  class ModifyAutoScaleStrategyRequest < TencentCloud::Common::AbstractModel
4500
4675
  # @param InstanceId: 实例ID。
@@ -5514,6 +5689,87 @@ module TencentCloud
5514
5689
  end
5515
5690
  end
5516
5691
 
5692
+ # 概览数据
5693
+ class OverviewMetricData < TencentCloud::Common::AbstractModel
5694
+ # @param Metric: 指标名
5695
+ # 注意:此字段可能返回 null,表示取不到有效值。
5696
+ # @type Metric: String
5697
+ # @param First: 第一个数据时间戳
5698
+ # 注意:此字段可能返回 null,表示取不到有效值。
5699
+ # @type First: Integer
5700
+ # @param Last: 最后一个数据时间戳
5701
+ # 注意:此字段可能返回 null,表示取不到有效值。
5702
+ # @type Last: Integer
5703
+ # @param Interval: 采样点时间间隔
5704
+ # 注意:此字段可能返回 null,表示取不到有效值。
5705
+ # @type Interval: Integer
5706
+ # @param DataPoints: 采样点数据
5707
+ # 注意:此字段可能返回 null,表示取不到有效值。
5708
+ # @type DataPoints: Array
5709
+ # @param Tags: 指标tags
5710
+ # 注意:此字段可能返回 null,表示取不到有效值。
5711
+ # @type Tags: :class:`Tencentcloud::Emr.v20190103.models.MetricTags`
5712
+
5713
+ attr_accessor :Metric, :First, :Last, :Interval, :DataPoints, :Tags
5714
+
5715
+ def initialize(metric=nil, first=nil, last=nil, interval=nil, datapoints=nil, tags=nil)
5716
+ @Metric = metric
5717
+ @First = first
5718
+ @Last = last
5719
+ @Interval = interval
5720
+ @DataPoints = datapoints
5721
+ @Tags = tags
5722
+ end
5723
+
5724
+ def deserialize(params)
5725
+ @Metric = params['Metric']
5726
+ @First = params['First']
5727
+ @Last = params['Last']
5728
+ @Interval = params['Interval']
5729
+ @DataPoints = params['DataPoints']
5730
+ unless params['Tags'].nil?
5731
+ @Tags = MetricTags.new
5732
+ @Tags.deserialize(params['Tags'])
5733
+ end
5734
+ end
5735
+ end
5736
+
5737
+ # Hbase的TableMetric Overview返回
5738
+ class OverviewRow < TencentCloud::Common::AbstractModel
5739
+ # @param Table: 表名字
5740
+ # @type Table: String
5741
+ # @param ReadRequestCount: 读请求次数
5742
+ # @type ReadRequestCount: Float
5743
+ # @param WriteRequestCount: 写请求次数
5744
+ # @type WriteRequestCount: Float
5745
+ # @param MemstoreSize: 当前memstore的size
5746
+ # @type MemstoreSize: Float
5747
+ # @param StoreFileSize: 当前region中StroreFile的size
5748
+ # @type StoreFileSize: Float
5749
+ # @param Operation: regions,点击可跳转
5750
+ # @type Operation: String
5751
+
5752
+ attr_accessor :Table, :ReadRequestCount, :WriteRequestCount, :MemstoreSize, :StoreFileSize, :Operation
5753
+
5754
+ def initialize(table=nil, readrequestcount=nil, writerequestcount=nil, memstoresize=nil, storefilesize=nil, operation=nil)
5755
+ @Table = table
5756
+ @ReadRequestCount = readrequestcount
5757
+ @WriteRequestCount = writerequestcount
5758
+ @MemstoreSize = memstoresize
5759
+ @StoreFileSize = storefilesize
5760
+ @Operation = operation
5761
+ end
5762
+
5763
+ def deserialize(params)
5764
+ @Table = params['Table']
5765
+ @ReadRequestCount = params['ReadRequestCount']
5766
+ @WriteRequestCount = params['WriteRequestCount']
5767
+ @MemstoreSize = params['MemstoreSize']
5768
+ @StoreFileSize = params['StoreFileSize']
5769
+ @Operation = params['Operation']
5770
+ end
5771
+ end
5772
+
5517
5773
  # 用于创建集群价格清单-节点组成部分价格
5518
5774
  class PartDetailPriceItem < TencentCloud::Common::AbstractModel
5519
5775
  # @param InstanceType: 类型包括:节点->node、系统盘->rootDisk、云数据盘->dataDisk、metaDB
@@ -6958,10 +7214,14 @@ module TencentCloud
6958
7214
  # @type ScaleOutServiceConfAssign: String
6959
7215
  # @param AutoRenew: 0表示关闭自动续费,1表示开启自动续费
6960
7216
  # @type AutoRenew: Integer
7217
+ # @param ResourceBaseType: 类型为ComputeResource和EMR以及默认,默认为EMR,类型为EMR时,InstanceId生效,类型为ComputeResource时,使用ComputeResourceId标识
7218
+ # @type ResourceBaseType: String
7219
+ # @param ComputeResourceId: 计算资源id
7220
+ # @type ComputeResourceId: String
6961
7221
 
6962
- attr_accessor :TimeUnit, :TimeSpan, :InstanceId, :PayMode, :ClientToken, :PreExecutedFileSettings, :TaskCount, :CoreCount, :UnNecessaryNodeList, :RouterCount, :SoftDeployInfo, :ServiceNodeInfo, :DisasterRecoverGroupIds, :Tags, :HardwareResourceType, :PodSpec, :ClickHouseClusterName, :ClickHouseClusterType, :YarnNodeLabel, :PodParameter, :MasterCount, :StartServiceAfterScaleOut, :ZoneId, :SubnetId, :ScaleOutServiceConfAssign, :AutoRenew
7222
+ attr_accessor :TimeUnit, :TimeSpan, :InstanceId, :PayMode, :ClientToken, :PreExecutedFileSettings, :TaskCount, :CoreCount, :UnNecessaryNodeList, :RouterCount, :SoftDeployInfo, :ServiceNodeInfo, :DisasterRecoverGroupIds, :Tags, :HardwareResourceType, :PodSpec, :ClickHouseClusterName, :ClickHouseClusterType, :YarnNodeLabel, :PodParameter, :MasterCount, :StartServiceAfterScaleOut, :ZoneId, :SubnetId, :ScaleOutServiceConfAssign, :AutoRenew, :ResourceBaseType, :ComputeResourceId
6963
7223
 
6964
- def initialize(timeunit=nil, timespan=nil, instanceid=nil, paymode=nil, clienttoken=nil, preexecutedfilesettings=nil, taskcount=nil, corecount=nil, unnecessarynodelist=nil, routercount=nil, softdeployinfo=nil, servicenodeinfo=nil, disasterrecovergroupids=nil, tags=nil, hardwareresourcetype=nil, podspec=nil, clickhouseclustername=nil, clickhouseclustertype=nil, yarnnodelabel=nil, podparameter=nil, mastercount=nil, startserviceafterscaleout=nil, zoneid=nil, subnetid=nil, scaleoutserviceconfassign=nil, autorenew=nil)
7224
+ def initialize(timeunit=nil, timespan=nil, instanceid=nil, paymode=nil, clienttoken=nil, preexecutedfilesettings=nil, taskcount=nil, corecount=nil, unnecessarynodelist=nil, routercount=nil, softdeployinfo=nil, servicenodeinfo=nil, disasterrecovergroupids=nil, tags=nil, hardwareresourcetype=nil, podspec=nil, clickhouseclustername=nil, clickhouseclustertype=nil, yarnnodelabel=nil, podparameter=nil, mastercount=nil, startserviceafterscaleout=nil, zoneid=nil, subnetid=nil, scaleoutserviceconfassign=nil, autorenew=nil, resourcebasetype=nil, computeresourceid=nil)
6965
7225
  @TimeUnit = timeunit
6966
7226
  @TimeSpan = timespan
6967
7227
  @InstanceId = instanceid
@@ -6988,6 +7248,8 @@ module TencentCloud
6988
7248
  @SubnetId = subnetid
6989
7249
  @ScaleOutServiceConfAssign = scaleoutserviceconfassign
6990
7250
  @AutoRenew = autorenew
7251
+ @ResourceBaseType = resourcebasetype
7252
+ @ComputeResourceId = computeresourceid
6991
7253
  end
6992
7254
 
6993
7255
  def deserialize(params)
@@ -7037,6 +7299,8 @@ module TencentCloud
7037
7299
  @SubnetId = params['SubnetId']
7038
7300
  @ScaleOutServiceConfAssign = params['ScaleOutServiceConfAssign']
7039
7301
  @AutoRenew = params['AutoRenew']
7302
+ @ResourceBaseType = params['ResourceBaseType']
7303
+ @ComputeResourceId = params['ComputeResourceId']
7040
7304
  end
7041
7305
  end
7042
7306
 
@@ -7495,6 +7759,45 @@ module TencentCloud
7495
7759
  end
7496
7760
  end
7497
7761
 
7762
+ # 表格schema信息
7763
+ class TableSchemaItem < TencentCloud::Common::AbstractModel
7764
+ # @param Name: 列标识
7765
+ # @type Name: String
7766
+ # @param Sortable: 是否可按该列排序
7767
+ # @type Sortable: Boolean
7768
+ # @param WithFilter: 是否可筛选
7769
+ # @type WithFilter: Boolean
7770
+ # @param Candidates: 筛选的候选集
7771
+ # 注意:此字段可能返回 null,表示取不到有效值。
7772
+ # @type Candidates: Array
7773
+ # @param Clickable: 是否可点击
7774
+ # 注意:此字段可能返回 null,表示取不到有效值。
7775
+ # @type Clickable: Boolean
7776
+ # @param Title: 展示的名字
7777
+ # 注意:此字段可能返回 null,表示取不到有效值。
7778
+ # @type Title: String
7779
+
7780
+ attr_accessor :Name, :Sortable, :WithFilter, :Candidates, :Clickable, :Title
7781
+
7782
+ def initialize(name=nil, sortable=nil, withfilter=nil, candidates=nil, clickable=nil, title=nil)
7783
+ @Name = name
7784
+ @Sortable = sortable
7785
+ @WithFilter = withfilter
7786
+ @Candidates = candidates
7787
+ @Clickable = clickable
7788
+ @Title = title
7789
+ end
7790
+
7791
+ def deserialize(params)
7792
+ @Name = params['Name']
7793
+ @Sortable = params['Sortable']
7794
+ @WithFilter = params['WithFilter']
7795
+ @Candidates = params['Candidates']
7796
+ @Clickable = params['Clickable']
7797
+ @Title = params['Title']
7798
+ end
7799
+ end
7800
+
7498
7801
  # 标签
7499
7802
  class Tag < TencentCloud::Common::AbstractModel
7500
7803
  # @param TagKey: 标签键
@@ -7579,17 +7882,25 @@ module TencentCloud
7579
7882
  # @type InstanceId: String
7580
7883
  # @param ResourceIds: 销毁节点ID。该参数为预留参数,用户无需配置。
7581
7884
  # @type ResourceIds: Array
7885
+ # @param ResourceBaseType: 类型为ComputeResource和EMR以及默认,默认为EMR,类型为EMR时,InstanceId生效,类型为ComputeResource时,使用ComputeResourceId标识
7886
+ # @type ResourceBaseType: String
7887
+ # @param ComputeResourceId: 计算资源ID
7888
+ # @type ComputeResourceId: String
7582
7889
 
7583
- attr_accessor :InstanceId, :ResourceIds
7890
+ attr_accessor :InstanceId, :ResourceIds, :ResourceBaseType, :ComputeResourceId
7584
7891
 
7585
- def initialize(instanceid=nil, resourceids=nil)
7892
+ def initialize(instanceid=nil, resourceids=nil, resourcebasetype=nil, computeresourceid=nil)
7586
7893
  @InstanceId = instanceid
7587
7894
  @ResourceIds = resourceids
7895
+ @ResourceBaseType = resourcebasetype
7896
+ @ComputeResourceId = computeresourceid
7588
7897
  end
7589
7898
 
7590
7899
  def deserialize(params)
7591
7900
  @InstanceId = params['InstanceId']
7592
7901
  @ResourceIds = params['ResourceIds']
7902
+ @ResourceBaseType = params['ResourceBaseType']
7903
+ @ComputeResourceId = params['ComputeResourceId']
7593
7904
  end
7594
7905
  end
7595
7906
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-emr
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.822
4
+ version: 3.0.824
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-15 00:00:00.000000000 Z
11
+ date: 2024-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -34,8 +34,8 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - lib/tencentcloud-sdk-emr.rb
37
- - lib/v20190103/client.rb
38
37
  - lib/v20190103/models.rb
38
+ - lib/v20190103/client.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: