tencentcloud-sdk-nodejs-intl-en 3.0.1286 → 3.0.1287

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.
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20220106: require("./v20220106"), v20220901: require("./v20220901"),
2
+ v20220901: require("./v20220901"), v20220106: require("./v20220106"),
3
3
  };
@@ -4513,7 +4513,7 @@ class PostMaxSizeParameters extends AbstractModel {
4513
4513
  this.Switch = null;
4514
4514
 
4515
4515
  /**
4516
- * Maximum size of the file uploaded for streaming via a post request. Takes effect only when Switch is on. Range: 1 MB - 800 MB (bytes).
4516
+ * Specifies the maximum limit for file streaming transmission in POST request upload. this field is valid only when Switch is on. value range: 1MB to 800MB. unit: byte.
4517
4517
  * @type {number || null}
4518
4518
  */
4519
4519
  this.MaxSize = null;
@@ -6476,6 +6476,12 @@ The original configuration will apply if it is not specified.
6476
6476
  */
6477
6477
  this.Grpc = null;
6478
6478
 
6479
+ /**
6480
+ * Network Error Logging configuration. The original configuration will apply if it is not specified.
6481
+ * @type {NetworkErrorLogging || null}
6482
+ */
6483
+ this.NetworkErrorLogging = null;
6484
+
6479
6485
  /**
6480
6486
  * Image optimization.
6481
6487
  It is disabled if this parameter is not specified.
@@ -6614,6 +6620,12 @@ It is disabled if this parameter is not specified.
6614
6620
  this.Grpc = obj;
6615
6621
  }
6616
6622
 
6623
+ if (params.NetworkErrorLogging) {
6624
+ let obj = new NetworkErrorLogging();
6625
+ obj.deserialize(params.NetworkErrorLogging)
6626
+ this.NetworkErrorLogging = obj;
6627
+ }
6628
+
6617
6629
  if (params.ImageOptimize) {
6618
6630
  let obj = new ImageOptimize();
6619
6631
  obj.deserialize(params.ImageOptimize)
@@ -9584,8 +9596,8 @@ class MaxAge extends AbstractModel {
9584
9596
  this.FollowOrigin = null;
9585
9597
 
9586
9598
  /**
9587
- * Specifies the maximum amount of time (in seconds). Value range: 0 to 315360000.
9588
- Note: The value `0` means not to cache.
9599
+ * MaxAge specifies the time setting in seconds. value range: 0315360000.
9600
+ Specifies the time when the cache is disabled if set to 0.
9589
9601
  * @type {number || null}
9590
9602
  */
9591
9603
  this.MaxAgeTime = null;
@@ -11119,6 +11131,13 @@ Note: this field may return null, which indicates a failure to obtain a valid va
11119
11131
  */
11120
11132
  this.Grpc = null;
11121
11133
 
11134
+ /**
11135
+ * Network Error Logging configuration.
11136
+ Note: This field may return null, which indicates a failure to obtain a valid value.
11137
+ * @type {NetworkErrorLoggingParameters || null}
11138
+ */
11139
+ this.NetworkErrorLogging = null;
11140
+
11122
11141
  /**
11123
11142
  * Accelerate optimization and configuration in mainland china.
11124
11143
  Note: this field may return null, which indicates a failure to obtain a valid value.
@@ -11264,6 +11283,12 @@ Note: this field may return null, which indicates a failure to obtain a valid va
11264
11283
  this.Grpc = obj;
11265
11284
  }
11266
11285
 
11286
+ if (params.NetworkErrorLogging) {
11287
+ let obj = new NetworkErrorLoggingParameters();
11288
+ obj.deserialize(params.NetworkErrorLogging)
11289
+ this.NetworkErrorLogging = obj;
11290
+ }
11291
+
11267
11292
  if (params.AccelerateMainland) {
11268
11293
  let obj = new AccelerateMainlandParameters();
11269
11294
  obj.deserialize(params.AccelerateMainland)
@@ -25733,6 +25758,13 @@ Note: This field may return `null`, indicating that no valid value can be obtain
25733
25758
  */
25734
25759
  this.Grpc = null;
25735
25760
 
25761
+ /**
25762
+ * Network Error Logging configuration.
25763
+ Note: This field may return `null`, indicating that no valid value can be obtained.
25764
+ * @type {NetworkErrorLogging || null}
25765
+ */
25766
+ this.NetworkErrorLogging = null;
25767
+
25736
25768
  /**
25737
25769
  * Image optimization configuration.
25738
25770
  Note: This field may return `null`, indicating that no valid value was found.
@@ -25881,6 +25913,12 @@ Note: This field may return null, which indicates a failure to obtain a valid va
25881
25913
  this.Grpc = obj;
25882
25914
  }
25883
25915
 
25916
+ if (params.NetworkErrorLogging) {
25917
+ let obj = new NetworkErrorLogging();
25918
+ obj.deserialize(params.NetworkErrorLogging)
25919
+ this.NetworkErrorLogging = obj;
25920
+ }
25921
+
25884
25922
  if (params.ImageOptimize) {
25885
25923
  let obj = new ImageOptimize();
25886
25924
  obj.deserialize(params.ImageOptimize)
@@ -28633,11 +28671,11 @@ class Https extends AbstractModel {
28633
28671
  this.OcspStapling = null;
28634
28672
 
28635
28673
  /**
28636
- * Tls version settings, valid values:.
28637
- <Li>`TLSv1`: tlsv1 version;</li>.
28638
- <li>`TLSv1.1`: TLSv1.1 version;</li>.
28639
- <li>TLSv1.2: specifies the TLSv1.2 version.</li>.
28640
- <Li>TLSv1.3: specifies the TLSv1.3 version. consecutive versions must be enabled when modifying.</li>.
28674
+ * Tls version settings. valid values:.
28675
+ <Li>TLSv1: specifies the tlsv1 version.</li>.
28676
+ <Li>TLSv1.1: specifies the tlsv1.1 version.</li>.
28677
+ <Li>TLSv1.2: specifies the tlsv1.2 version.</li>.
28678
+ <Li>TLSv1.3: specifies the tlsv1.3 version. consecutive versions must be enabled when modifying.</li>.
28641
28679
  * @type {Array.<string> || null}
28642
28680
  */
28643
28681
  this.TlsVersion = null;
@@ -29043,6 +29081,36 @@ Note: This field may return null, which indicates a failure to obtain a valid va
29043
29081
  }
29044
29082
  }
29045
29083
 
29084
+ /**
29085
+ * Network Error Logging configuration.
29086
+ * @class
29087
+ */
29088
+ class NetworkErrorLoggingParameters extends AbstractModel {
29089
+ constructor(){
29090
+ super();
29091
+
29092
+ /**
29093
+ * Specifies whether Network Error Logging configuration is enabled. Valid values:
29094
+ <li>`on`: Enable;</li>
29095
+ <li>`off`: Disable.</li>
29096
+ * @type {string || null}
29097
+ */
29098
+ this.Switch = null;
29099
+
29100
+ }
29101
+
29102
+ /**
29103
+ * @private
29104
+ */
29105
+ deserialize(params) {
29106
+ if (!params) {
29107
+ return;
29108
+ }
29109
+ this.Switch = 'Switch' in params ? params.Switch : null;
29110
+
29111
+ }
29112
+ }
29113
+
29046
29114
  /**
29047
29115
  * Custom Cache Key query string configuration parameters
29048
29116
  * @class
@@ -30557,6 +30625,36 @@ class UpstreamRequestCookie extends AbstractModel {
30557
30625
  }
30558
30626
  }
30559
30627
 
30628
+ /**
30629
+ * Network Error Logging configuration.
30630
+ * @class
30631
+ */
30632
+ class NetworkErrorLogging extends AbstractModel {
30633
+ constructor(){
30634
+ super();
30635
+
30636
+ /**
30637
+ * Specifies whether the Network Error Logging configuration is enabled. Valid values:.
30638
+ <li>`on`: Enable;</li>
30639
+ <li>`off`: Disable.</li>
30640
+ * @type {string || null}
30641
+ */
30642
+ this.Switch = null;
30643
+
30644
+ }
30645
+
30646
+ /**
30647
+ * @private
30648
+ */
30649
+ deserialize(params) {
30650
+ if (!params) {
30651
+ return;
30652
+ }
30653
+ this.Switch = 'Switch' in params ? params.Switch : null;
30654
+
30655
+ }
30656
+ }
30657
+
30560
30658
  /**
30561
30659
  * DescribeDDoSAttackTopData request structure.
30562
30660
  * @class
@@ -33477,7 +33575,7 @@ class PostMaxSize extends AbstractModel {
33477
33575
  this.Switch = null;
33478
33576
 
33479
33577
  /**
33480
- * Maximum limit.Takes effect only when Switch is on. Range:1 MB - 800 MB (bytes).
33578
+ * Specifies the maximum limit. this field is valid only when Switch is on. value range: 1MB to 800MB. unit: byte.
33481
33579
  * @type {number || null}
33482
33580
  */
33483
33581
  this.MaxSize = null;
@@ -37230,6 +37328,7 @@ module.exports = {
37230
37328
  ExportZoneConfigRequest: ExportZoneConfigRequest,
37231
37329
  OriginGroupHealthStatusDetail: OriginGroupHealthStatusDetail,
37232
37330
  L4ProxyRule: L4ProxyRule,
37331
+ NetworkErrorLoggingParameters: NetworkErrorLoggingParameters,
37233
37332
  CacheKeyQueryString: CacheKeyQueryString,
37234
37333
  AdvancedFilter: AdvancedFilter,
37235
37334
  DescribeDDoSAttackDataResponse: DescribeDDoSAttackDataResponse,
@@ -37263,6 +37362,7 @@ module.exports = {
37263
37362
  IncreasePlanQuotaRequest: IncreasePlanQuotaRequest,
37264
37363
  FunctionRule: FunctionRule,
37265
37364
  UpstreamRequestCookie: UpstreamRequestCookie,
37365
+ NetworkErrorLogging: NetworkErrorLogging,
37266
37366
  DescribeDDoSAttackTopDataRequest: DescribeDDoSAttackTopDataRequest,
37267
37367
  Quic: Quic,
37268
37368
  DescribeDDoSAttackDataRequest: DescribeDDoSAttackDataRequest,
@@ -556,6 +556,7 @@ const DescribeContentIdentifiersRequest = models.DescribeContentIdentifiersReque
556
556
  const ExportZoneConfigRequest = models.ExportZoneConfigRequest;
557
557
  const OriginGroupHealthStatusDetail = models.OriginGroupHealthStatusDetail;
558
558
  const L4ProxyRule = models.L4ProxyRule;
559
+ const NetworkErrorLoggingParameters = models.NetworkErrorLoggingParameters;
559
560
  const CacheKeyQueryString = models.CacheKeyQueryString;
560
561
  const AdvancedFilter = models.AdvancedFilter;
561
562
  const DescribeDDoSAttackDataResponse = models.DescribeDDoSAttackDataResponse;
@@ -589,6 +590,7 @@ const DescribePlansResponse = models.DescribePlansResponse;
589
590
  const IncreasePlanQuotaRequest = models.IncreasePlanQuotaRequest;
590
591
  const FunctionRule = models.FunctionRule;
591
592
  const UpstreamRequestCookie = models.UpstreamRequestCookie;
593
+ const NetworkErrorLogging = models.NetworkErrorLogging;
592
594
  const DescribeDDoSAttackTopDataRequest = models.DescribeDDoSAttackTopDataRequest;
593
595
  const Quic = models.Quic;
594
596
  const DescribeDDoSAttackDataRequest = models.DescribeDDoSAttackDataRequest;
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20180525: require("./v20180525"), v20220501: require("./v20220501"),
2
+ v20220501: require("./v20220501"), v20180525: require("./v20180525"),
3
3
  };
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ v20230308: require("./v20230308"),
3
+ };
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ Client: require("./trocket_client"),
3
+ Models: require("./models"),
4
+ };