tencentcloud-sdk-nodejs-intl-en 3.0.1470 → 3.0.1472

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.1470",
3
+ "version": "3.0.1472",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -2800,7 +2800,7 @@ Import the generated cls.pb.h header file into the code and call the interface t
2800
2800
  }
2801
2801
 
2802
2802
  /**
2803
- * This API is used to access Kafka protocol consumption information.
2803
+ * Accesses Kafka protocol consumption information
2804
2804
  * @param {DescribeKafkaConsumerRequest} req
2805
2805
  * @param {function(string, DescribeKafkaConsumerResponse):void} cb
2806
2806
  * @public
@@ -9656,7 +9656,7 @@ class OpenKafkaConsumerResponse extends AbstractModel {
9656
9656
  super();
9657
9657
 
9658
9658
  /**
9659
- * <p>Topic parameter used by KafkaConsumer during consumption</p>
9659
+ * <p>Topic parameter used by KafkaConsumer for consumption</p>
9660
9660
  * @type {string || null}
9661
9661
  */
9662
9662
  this.TopicID = null;
@@ -12217,31 +12217,43 @@ class OpenKafkaConsumerRequest extends AbstractModel {
12217
12217
  super();
12218
12218
 
12219
12219
  /**
12220
- * <p>Log topic Id.</p><ul><li>Get log topic Id by <a href="https://www.tencentcloud.com/document/product/614/56454?from_cn_redirect=1">get log topic list</a>.</li><li>Get log topic Id by <a href="https://www.tencentcloud.com/document/product/614/56456?from_cn_redirect=1">create log topic</a>.</li></ul>
12220
+ * <p>Log topic Id.</p><ul><li>Obtain the log topic Id through <a href="https://www.tencentcloud.com/document/product/614/56454?from_cn_redirect=1">obtaining the log topic list</a>.</li><li>Obtain the log topic Id through <a href="https://www.tencentcloud.com/document/product/614/56456?from_cn_redirect=1">creating a log topic</a>.</li></ul>
12221
12221
  * @type {string || null}
12222
12222
  */
12223
12223
  this.FromTopicId = null;
12224
12224
 
12225
12225
  /**
12226
- * <p>Compression mode [0:NONE; 2:SNAPPY; 3:LZ4], default: 0</p>
12226
+ * <p>Compression type [0: NONE; 2: SNAPPY; 3: LZ4]. Default value: 0</p>
12227
12227
  * @type {number || null}
12228
12228
  */
12229
12229
  this.Compression = null;
12230
12230
 
12231
12231
  /**
12232
- * <p>kafka protocol consumption data format</p>
12232
+ * <p>kafka consumption data format</p>
12233
12233
  * @type {KafkaConsumerContent || null}
12234
12234
  */
12235
12235
  this.ConsumerContent = null;
12236
12236
 
12237
12237
  /**
12238
- * <p>Whether to enable service log shipping. Valid values: 1: disable; 2: enable. Default value: 2</p>
12238
+ * <p>Whether to enable the delivery service log. 1: Disabled; 2: Enabled. Default value: 2</p>
12239
12239
  * @type {number || null}
12240
12240
  */
12241
12241
  this.HasServicesLog = null;
12242
12242
 
12243
12243
  /**
12244
- * <p>Range type of consumption, 0: latest; 1: historic + latest; default value: 0</p>
12244
+ * <p>Public network consumption switch. Enabled by default</p>
12245
+ * @type {boolean || null}
12246
+ */
12247
+ this.EnableInternetConsume = null;
12248
+
12249
+ /**
12250
+ * <p>Private network consumption switch. Enabled by default</p>
12251
+ * @type {boolean || null}
12252
+ */
12253
+ this.EnableIntranetConsume = null;
12254
+
12255
+ /**
12256
+ * <p>Consumption scope type. 0: Latest; 1: Historical + latest. Default value: 0</p>
12245
12257
  * @type {number || null}
12246
12258
  */
12247
12259
  this.ScopeType = null;
@@ -12264,6 +12276,8 @@ class OpenKafkaConsumerRequest extends AbstractModel {
12264
12276
  this.ConsumerContent = obj;
12265
12277
  }
12266
12278
  this.HasServicesLog = 'HasServicesLog' in params ? params.HasServicesLog : null;
12279
+ this.EnableInternetConsume = 'EnableInternetConsume' in params ? params.EnableInternetConsume : null;
12280
+ this.EnableIntranetConsume = 'EnableIntranetConsume' in params ? params.EnableIntranetConsume : null;
12267
12281
  this.ScopeType = 'ScopeType' in params ? params.ScopeType : null;
12268
12282
 
12269
12283
  }
@@ -16569,7 +16583,7 @@ class DescribeKafkaConsumerRequest extends AbstractModel {
16569
16583
  super();
16570
16584
 
16571
16585
  /**
16572
- * <p>Log topic Id.</p><ul><li>Get log topic Id by <a href="https://www.tencentcloud.com/document/product/614/56454?from_cn_redirect=1">get log topic list</a>.</li><li>Get log topic Id by <a href="https://www.tencentcloud.com/document/product/614/56456?from_cn_redirect=1">create log topic</a>.</li></ul>
16586
+ * <p>Log topic Id.</p><ul><li>Get the log topic Id through <a href="https://www.tencentcloud.com/document/product/614/56454?from_cn_redirect=1">getting the log topic list</a>.</li><li>Get the log topic Id through <a href="https://www.tencentcloud.com/document/product/614/56456?from_cn_redirect=1">creating a log topic</a>.</li></ul>
16573
16587
  * @type {string || null}
16574
16588
  */
16575
16589
  this.FromTopicId = null;
@@ -17820,37 +17834,49 @@ class DescribeKafkaConsumerResponse extends AbstractModel {
17820
17834
  super();
17821
17835
 
17822
17836
  /**
17823
- * <p>Whether Kafka Protocol Consumption is enabled</p>
17837
+ * <p>Whether Kafka consumption is enabled</p>
17824
17838
  * @type {boolean || null}
17825
17839
  */
17826
17840
  this.Status = null;
17827
17841
 
17828
17842
  /**
17829
- * <p>Topic parameter used by KafkaConsumer during consumption</p>
17843
+ * <p>Topic parameter used by KafkaConsumer for consumption</p>
17830
17844
  * @type {string || null}
17831
17845
  */
17832
17846
  this.TopicID = null;
17833
17847
 
17834
17848
  /**
17835
- * <p>Compression mode [0:NONE;2:SNAPPY;3:LZ4]</p>
17849
+ * <p>Compression method [0: NONE; 2: SNAPPY; 3: LZ4]</p>
17836
17850
  * @type {number || null}
17837
17851
  */
17838
17852
  this.Compression = null;
17839
17853
 
17840
17854
  /**
17841
- * <p>kafka protocol consumption data format</p>
17855
+ * <p>kafka consumption data format</p>
17842
17856
  * @type {KafkaConsumerContent || null}
17843
17857
  */
17844
17858
  this.ConsumerContent = null;
17845
17859
 
17846
17860
  /**
17847
- * <p>Whether to enable the delivery service log. 1: Disabled, 2: Enabled.</p>
17861
+ * <p>Whether to enable delivery service logs. 1: Disable, 2: Enable.</p>
17848
17862
  * @type {number || null}
17849
17863
  */
17850
17864
  this.HasServicesLog = null;
17851
17865
 
17852
17866
  /**
17853
- * <p>Range type of consumption, 0: latest, 1: history + latest</p>
17867
+ * <p>Public network consumption switch.</p>
17868
+ * @type {boolean || null}
17869
+ */
17870
+ this.EnableInternetConsume = null;
17871
+
17872
+ /**
17873
+ * <p>Private network consumption switch.</p>
17874
+ * @type {boolean || null}
17875
+ */
17876
+ this.EnableIntranetConsume = null;
17877
+
17878
+ /**
17879
+ * <p>Consumption scope type. 0: Latest, 1: Historical + latest</p>
17854
17880
  * @type {number || null}
17855
17881
  */
17856
17882
  this.ScopeType = null;
@@ -17880,6 +17906,8 @@ class DescribeKafkaConsumerResponse extends AbstractModel {
17880
17906
  this.ConsumerContent = obj;
17881
17907
  }
17882
17908
  this.HasServicesLog = 'HasServicesLog' in params ? params.HasServicesLog : null;
17909
+ this.EnableInternetConsume = 'EnableInternetConsume' in params ? params.EnableInternetConsume : null;
17910
+ this.EnableIntranetConsume = 'EnableIntranetConsume' in params ? params.EnableIntranetConsume : null;
17883
17911
  this.ScopeType = 'ScopeType' in params ? params.ScopeType : null;
17884
17912
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
17885
17913
 
@@ -26821,31 +26849,43 @@ class ModifyKafkaConsumerRequest extends AbstractModel {
26821
26849
  super();
26822
26850
 
26823
26851
  /**
26824
- * <p>log topic id</p><ul><li>Obtain the log topic Id through <a href="https://www.tencentcloud.com/document/product/614/56454?from_cn_redirect=1">Get Log Topic List</a>.</li><li>Obtain the log topic Id through <a href="https://www.tencentcloud.com/document/product/614/56456?from_cn_redirect=1">Create Log Topic</a>.</li></ul>
26852
+ * <p>Log topic Id.</p><ul><li>Get the log topic Id through <a href="https://www.tencentcloud.com/document/product/614/56454?from_cn_redirect=1">getting the log topic list</a>.</li><li>Get the log topic Id through <a href="https://www.tencentcloud.com/document/product/614/56456?from_cn_redirect=1">creating a log topic</a>.</li></ul>
26825
26853
  * @type {string || null}
26826
26854
  */
26827
26855
  this.FromTopicId = null;
26828
26856
 
26829
26857
  /**
26830
- * <p>Compression mode. 0: No compression; 2: Use Snappy compression; 3: Use LZ4 compression</p>
26858
+ * <p>Compression method. 0: No compression; 2: Snappy compression; 3: LZ4 compression</p>
26831
26859
  * @type {number || null}
26832
26860
  */
26833
26861
  this.Compression = null;
26834
26862
 
26835
26863
  /**
26836
- * <p>kafka protocol consumption data format</p>
26864
+ * <p>kafka consumption data format</p>
26837
26865
  * @type {KafkaConsumerContent || null}
26838
26866
  */
26839
26867
  this.ConsumerContent = null;
26840
26868
 
26841
26869
  /**
26842
- * <p>Whether to enable the delivery service log. 1: Disabled, 2: Enabled.</p>
26870
+ * <p>Whether to enable delivery service logs. 1: Disable, 2: Enable.</p>
26843
26871
  * @type {number || null}
26844
26872
  */
26845
26873
  this.HasServicesLog = null;
26846
26874
 
26847
26875
  /**
26848
- * <p>Range type of consumption, 0: latest, 1: history + latest</p>
26876
+ * <p>Public network consumption switch.</p>
26877
+ * @type {boolean || null}
26878
+ */
26879
+ this.EnableInternetConsume = null;
26880
+
26881
+ /**
26882
+ * <p>Private network consumption switch.</p>
26883
+ * @type {boolean || null}
26884
+ */
26885
+ this.EnableIntranetConsume = null;
26886
+
26887
+ /**
26888
+ * <p>Consumption scope type. 0: Latest, 1: Historical + latest</p>
26849
26889
  * @type {number || null}
26850
26890
  */
26851
26891
  this.ScopeType = null;
@@ -26868,6 +26908,8 @@ class ModifyKafkaConsumerRequest extends AbstractModel {
26868
26908
  this.ConsumerContent = obj;
26869
26909
  }
26870
26910
  this.HasServicesLog = 'HasServicesLog' in params ? params.HasServicesLog : null;
26911
+ this.EnableInternetConsume = 'EnableInternetConsume' in params ? params.EnableInternetConsume : null;
26912
+ this.EnableIntranetConsume = 'EnableIntranetConsume' in params ? params.EnableIntranetConsume : null;
26871
26913
  this.ScopeType = 'ScopeType' in params ? params.ScopeType : null;
26872
26914
 
26873
26915
  }
@@ -28135,7 +28177,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
28135
28177
  }
28136
28178
 
28137
28179
  /**
28138
- * Kafka consumer content
28180
+ * Kafka consumption content
28139
28181
  * @class
28140
28182
  */
28141
28183
  class KafkaConsumerContent extends AbstractModel {
@@ -28143,53 +28185,41 @@ class KafkaConsumerContent extends AbstractModel {
28143
28185
  super();
28144
28186
 
28145
28187
  /**
28146
- * Consumption data format. Valid values: 0 (original content) and 1 (JSON).
28188
+ * <p>Consumption data format. 0: Raw content; 1: JSON.</p>
28147
28189
  * @type {number || null}
28148
28190
  */
28149
28191
  this.Format = null;
28150
28192
 
28151
28193
  /**
28152
- * Whether to ship tag information
28153
- This parameter does not need to be set when `Format` is set to `0`.
28194
+ * <p>Whether to deliver TAG information<br>When Format is 0, this field does not need to be assigned a value</p>
28154
28195
  * @type {boolean || null}
28155
28196
  */
28156
28197
  this.EnableTag = null;
28157
28198
 
28158
28199
  /**
28159
- * Metadata information list. Valid values: \_\_SOURCE\_\_, \_\_FILENAME\_\_,
28160
- \_\_TIMESTAMP\_\_, \_\_HOSTNAME\_\_, and \_\_PKGID\_\_.
28161
- This parameter does not need to be set when `Format` is set to `0`.
28200
+ * <p>Metadata information list. Valid values: __SOURCE__, __FILENAME__<br>, __TIMESTAMP__, __HOSTNAME__, __PKGID__<br>When Format is 0, this field does not need to be assigned a value</p>
28162
28201
  * @type {Array.<string> || null}
28163
28202
  */
28164
28203
  this.MetaFields = null;
28165
28204
 
28166
28205
  /**
28167
- * tag data processing method: 1: Not Tiled (default value); 2: Tile.
28168
-
28169
- Untiled example:
28170
- TAG information: `{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
28171
- No tiling: `{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
28172
-
28173
- Tiled example:
28174
- TAG information: `{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
28175
- Tiled: `{"__TAG__.fieldA":200,"__TAG__.fieldB":"text"}`
28206
+ * <p>Tag data processing method. 1: Not flattened (default); 2: Flattened.</p><p>Not flattened example:<br>TAG information: <code>{&quot;__TAG__&quot;:{&quot;fieldA&quot;:200,&quot;fieldB&quot;:&quot;text&quot;}}</code><br>Not flattened: <code>{&quot;__TAG__&quot;:{&quot;fieldA&quot;:200,&quot;fieldB&quot;:&quot;text&quot;}}</code></p><p>Flattened example:<br>TAG information: <code>{&quot;__TAG__&quot;:{&quot;fieldA&quot;:200,&quot;fieldB&quot;:&quot;text&quot;}}</code><br>Flattened: <code>{&quot;__TAG__.fieldA&quot;:200,&quot;__TAG__.fieldB&quot;:&quot;text&quot;}</code></p>
28176
28207
  * @type {number || null}
28177
28208
  */
28178
28209
  this.TagTransaction = null;
28179
28210
 
28180
28211
  /**
28181
- * JSON data format:
28182
- 1: Not escaped (default format)
28183
- 2: Escaped
28184
-
28185
- Deliver in JSON format.JsonType is 1: Consistent with the original log, not escaped. Example:
28186
- Original log: `{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}`
28187
- Deliver to CKafka: `{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}`JsonType is 2: escaped. Example:Original log: `{"a":"aa", "b":{"b1":"b1b1", "c1":"c1c1"}}`
28188
- Deliver to CKafka: `{"a":"aa","b":"{\"b1\":\"b1b1\", \"c1\":\"c1c1\"}"}`
28212
+ * <p>Consumption data Json format:<br>1: Not escaped (default format)<br>2: Escaped</p><p>Delivery Json format.<br>When JsonType is 1: Consistent with the original log, not escaped. Example:<br>Original log: <code>{&quot;a&quot;:&quot;aa&quot;, &quot;b&quot;:{&quot;b1&quot;:&quot;b1b1&quot;, &quot;c1&quot;:&quot;c1c1&quot;}}</code><br>Delivered to Ckafka: <code>{&quot;a&quot;:&quot;aa&quot;, &quot;b&quot;:{&quot;b1&quot;:&quot;b1b1&quot;, &quot;c1&quot;:&quot;c1c1&quot;}}</code></p><p>When JsonType is 2: Escaped. Example:<br>Original log: <code>{&quot;a&quot;:&quot;aa&quot;, &quot;b&quot;:{&quot;b1&quot;:&quot;b1b1&quot;, &quot;c1&quot;:&quot;c1c1&quot;}}</code><br>Delivered to Ckafka: <code>{&quot;a&quot;:&quot;aa&quot;,&quot;b&quot;:&quot;{\&quot;b1\&quot;:\&quot;b1b1\&quot;, \&quot;c1\&quot;:\&quot;c1c1\&quot;}&quot;}</code></p>
28189
28213
  * @type {number || null}
28190
28214
  */
28191
28215
  this.JsonType = null;
28192
28216
 
28217
+ /**
28218
+ * <p>Switch for automatic conversion of numeric types</p><p>Valid values:</p><ul><li>true: Numeric strings (such as &quot;123&quot;) in the first-level values of the JSON structure are automatically converted to numeric types (int/float).</li><li>false: Numeric strings (such as &quot;123&quot;) in the first-level values of the JSON structure remain strings.</li></ul><p>Default value: false</p>
28219
+ * @type {boolean || null}
28220
+ */
28221
+ this.AutoConvertNumber = null;
28222
+
28193
28223
  }
28194
28224
 
28195
28225
  /**
@@ -28204,6 +28234,7 @@ Deliver to CKafka: `{"a":"aa","b":"{\"b1\":\"b1b1\", \"c1\":\"c1c1\"}"}`
28204
28234
  this.MetaFields = 'MetaFields' in params ? params.MetaFields : null;
28205
28235
  this.TagTransaction = 'TagTransaction' in params ? params.TagTransaction : null;
28206
28236
  this.JsonType = 'JsonType' in params ? params.JsonType : null;
28237
+ this.AutoConvertNumber = 'AutoConvertNumber' in params ? params.AutoConvertNumber : null;
28207
28238
 
28208
28239
  }
28209
28240
  }
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1470";
1
+ const sdkVersion = "3.0.1472";
2
2
  module.exports = sdkVersion