tencentcloud-sdk-nodejs-intl-en 3.0.324 → 3.0.328

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.
@@ -36,6 +36,24 @@ class RegionDetail extends AbstractModel {
36
36
  */
37
37
  this.RegionName = null;
38
38
 
39
+ /**
40
+ * Region where the data center locates
41
+ * @type {string || null}
42
+ */
43
+ this.RegionArea = null;
44
+
45
+ /**
46
+ * Name of the region where the data center locates
47
+ * @type {string || null}
48
+ */
49
+ this.RegionAreaName = null;
50
+
51
+ /**
52
+ * Data center type. `dc`: data center; `ec`: edge server.
53
+ * @type {string || null}
54
+ */
55
+ this.IDCType = null;
56
+
39
57
  }
40
58
 
41
59
  /**
@@ -47,6 +65,9 @@ class RegionDetail extends AbstractModel {
47
65
  }
48
66
  this.RegionId = 'RegionId' in params ? params.RegionId : null;
49
67
  this.RegionName = 'RegionName' in params ? params.RegionName : null;
68
+ this.RegionArea = 'RegionArea' in params ? params.RegionArea : null;
69
+ this.RegionAreaName = 'RegionAreaName' in params ? params.RegionAreaName : null;
70
+ this.IDCType = 'IDCType' in params ? params.IDCType : null;
50
71
 
51
72
  }
52
73
  }
@@ -2544,78 +2565,76 @@ class DescribeProxyDetailRequest extends AbstractModel {
2544
2565
  }
2545
2566
 
2546
2567
  /**
2547
- * ModifyTCPListenerAttribute request structure.
2568
+ * IP details
2548
2569
  * @class
2549
2570
  */
2550
- class ModifyTCPListenerAttributeRequest extends AbstractModel {
2571
+ class IPDetail extends AbstractModel {
2551
2572
  constructor(){
2552
2573
  super();
2553
2574
 
2554
2575
  /**
2555
- * Listener ID
2556
- * @type {string || null}
2557
- */
2558
- this.ListenerId = null;
2559
-
2560
- /**
2561
- * Connection group ID; Either `ProxyId` or `GroupId` must be set, but you cannot set both.
2576
+ * IP string
2562
2577
  * @type {string || null}
2563
2578
  */
2564
- this.GroupId = null;
2565
-
2566
- /**
2567
- * Connection ID; Either `ProxyId` or `GroupId` must be set, but you cannot set both.
2568
- * @type {string || null}
2569
- */
2570
- this.ProxyId = null;
2571
-
2572
- /**
2573
- * Listener name
2574
- * @type {string || null}
2575
- */
2576
- this.ListenerName = null;
2579
+ this.IP = null;
2577
2580
 
2578
2581
  /**
2579
- * Origin server scheduling policy of listeners, which supports round robin (rr), weighted round robin (wrr), and least connections (lc).
2582
+ * Network provider. `BGP`: Tencent Cloud BGP (default); `CMCC`: China Mobile; `CUCC`: China Unicom; `CTCC`: China Telecom.
2580
2583
  * @type {string || null}
2581
2584
  */
2582
- this.Scheduler = null;
2585
+ this.Provider = null;
2583
2586
 
2584
2587
  /**
2585
- * Time interval of origin server health check (unit: seconds). Value range: [5, 300].
2588
+ * Max bandwidth
2586
2589
  * @type {number || null}
2587
2590
  */
2588
- this.DelayLoop = null;
2591
+ this.Bandwidth = null;
2589
2592
 
2590
- /**
2591
- * Response timeout of origin server health check (unit: seconds). Value range: [2, 60]. The timeout value shall be less than the time interval for health check DelayLoop.
2592
- * @type {number || null}
2593
- */
2594
- this.ConnectTimeout = null;
2593
+ }
2595
2594
 
2596
- /**
2597
- * Whether to enable health check. 1: enable; 0: disable.
2598
- * @type {number || null}
2599
- */
2600
- this.HealthCheck = null;
2595
+ /**
2596
+ * @private
2597
+ */
2598
+ deserialize(params) {
2599
+ if (!params) {
2600
+ return;
2601
+ }
2602
+ this.IP = 'IP' in params ? params.IP : null;
2603
+ this.Provider = 'Provider' in params ? params.Provider : null;
2604
+ this.Bandwidth = 'Bandwidth' in params ? params.Bandwidth : null;
2601
2605
 
2602
- /**
2603
- * Whether to enable the primary/secondary origin server mode. Valid values: 1 (enable) and 0 (disable). It cannot be enabled for domain name origin servers.
2604
- * @type {number || null}
2605
- */
2606
- this.FailoverSwitch = null;
2606
+ }
2607
+ }
2608
+
2609
+ /**
2610
+ * Connection status information
2611
+ * @class
2612
+ */
2613
+ class ProxyStatus extends AbstractModel {
2614
+ constructor(){
2615
+ super();
2607
2616
 
2608
2617
  /**
2609
- * Healthy threshold. The number of consecutive successful health checks required before considering an origin server healthy. Value range: 1 - 10.
2610
- * @type {number || null}
2618
+ * Connection instance ID.
2619
+ * @type {string || null}
2611
2620
  */
2612
- this.HealthyThreshold = null;
2621
+ this.InstanceId = null;
2613
2622
 
2614
2623
  /**
2615
- * Unhealthy threshold. The number of consecutive failed health checks required before considering an origin server unhealthy. Value range: 1 -10.
2616
- * @type {number || null}
2624
+ * Connection status.
2625
+ Valid values:
2626
+ `RUNNING`: running
2627
+ `CREATING`: creating
2628
+ `DESTROYING`: terminating
2629
+ `OPENING`: enabling
2630
+ `CLOSING`: disabling
2631
+ `CLOSED`: disabled
2632
+ `ADJUSTING`: adjusting configuration
2633
+ `ISOLATING`: isolating
2634
+ `ISOLATED`: isolated
2635
+ * @type {string || null}
2617
2636
  */
2618
- this.UnhealthyThreshold = null;
2637
+ this.Status = null;
2619
2638
 
2620
2639
  }
2621
2640
 
@@ -2626,17 +2645,8 @@ class ModifyTCPListenerAttributeRequest extends AbstractModel {
2626
2645
  if (!params) {
2627
2646
  return;
2628
2647
  }
2629
- this.ListenerId = 'ListenerId' in params ? params.ListenerId : null;
2630
- this.GroupId = 'GroupId' in params ? params.GroupId : null;
2631
- this.ProxyId = 'ProxyId' in params ? params.ProxyId : null;
2632
- this.ListenerName = 'ListenerName' in params ? params.ListenerName : null;
2633
- this.Scheduler = 'Scheduler' in params ? params.Scheduler : null;
2634
- this.DelayLoop = 'DelayLoop' in params ? params.DelayLoop : null;
2635
- this.ConnectTimeout = 'ConnectTimeout' in params ? params.ConnectTimeout : null;
2636
- this.HealthCheck = 'HealthCheck' in params ? params.HealthCheck : null;
2637
- this.FailoverSwitch = 'FailoverSwitch' in params ? params.FailoverSwitch : null;
2638
- this.HealthyThreshold = 'HealthyThreshold' in params ? params.HealthyThreshold : null;
2639
- this.UnhealthyThreshold = 'UnhealthyThreshold' in params ? params.UnhealthyThreshold : null;
2648
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
2649
+ this.Status = 'Status' in params ? params.Status : null;
2640
2650
 
2641
2651
  }
2642
2652
  }
@@ -3119,6 +3129,13 @@ class RealServerStatus extends AbstractModel {
3119
3129
  */
3120
3130
  this.ProxyId = null;
3121
3131
 
3132
+ /**
3133
+ * ID of the connection group bound to this origin server. This string is null if no connection groups are bound.
3134
+ Note: this field may return `null`, indicating that no valid values can be obtained.
3135
+ * @type {string || null}
3136
+ */
3137
+ this.GroupId = null;
3138
+
3122
3139
  }
3123
3140
 
3124
3141
  /**
@@ -3131,6 +3148,7 @@ class RealServerStatus extends AbstractModel {
3131
3148
  this.RealServerId = 'RealServerId' in params ? params.RealServerId : null;
3132
3149
  this.BindStatus = 'BindStatus' in params ? params.BindStatus : null;
3133
3150
  this.ProxyId = 'ProxyId' in params ? params.ProxyId : null;
3151
+ this.GroupId = 'GroupId' in params ? params.GroupId : null;
3134
3152
 
3135
3153
  }
3136
3154
  }
@@ -3777,6 +3795,26 @@ When this field does not exist, all connections are pulled, including both not-g
3777
3795
  */
3778
3796
  this.Independent = null;
3779
3797
 
3798
+ /**
3799
+ * Specifies how connections are listed. Valid values:
3800
+ `asc`: ascending order
3801
+ `desc`: descending order
3802
+ Default: `desc`
3803
+ * @type {string || null}
3804
+ */
3805
+ this.Order = null;
3806
+
3807
+ /**
3808
+ * Sorting field. Valid values:
3809
+ `create_time`: sort by the creation time
3810
+ `proxy_id`: sort by the connection ID
3811
+ `bandwidth`:sort by the bandwidth limit
3812
+ `concurrent_connections`: sort by the number of concurrent connections
3813
+ Default: `create_time`
3814
+ * @type {string || null}
3815
+ */
3816
+ this.OrderField = null;
3817
+
3780
3818
  }
3781
3819
 
3782
3820
  /**
@@ -3809,6 +3847,8 @@ When this field does not exist, all connections are pulled, including both not-g
3809
3847
  }
3810
3848
  }
3811
3849
  this.Independent = 'Independent' in params ? params.Independent : null;
3850
+ this.Order = 'Order' in params ? params.Order : null;
3851
+ this.OrderField = 'OrderField' in params ? params.OrderField : null;
3812
3852
 
3813
3853
  }
3814
3854
  }
@@ -5056,35 +5096,78 @@ class DescribeProxiesStatusRequest extends AbstractModel {
5056
5096
  }
5057
5097
 
5058
5098
  /**
5059
- * Connection status information
5099
+ * ModifyTCPListenerAttribute request structure.
5060
5100
  * @class
5061
5101
  */
5062
- class ProxyStatus extends AbstractModel {
5102
+ class ModifyTCPListenerAttributeRequest extends AbstractModel {
5063
5103
  constructor(){
5064
5104
  super();
5065
5105
 
5066
5106
  /**
5067
- * Connection instance ID.
5107
+ * Listener ID
5068
5108
  * @type {string || null}
5069
5109
  */
5070
- this.InstanceId = null;
5110
+ this.ListenerId = null;
5071
5111
 
5072
5112
  /**
5073
- * Connection status.
5074
- Valid values:
5075
- RUNNING: running;
5076
- CREATING: creating;
5077
- DESTROYING: terminating;
5078
- OPENING: enabling;
5079
- CLOSING: disabling;
5080
- CLOSED: disabled;
5081
- ADJUSTING: adjusting configuration;
5082
- ISOLATING: isolating;
5083
- ISOLATED: isolated;
5084
- UNKNOWN: unknown status.
5113
+ * Connection group ID; Either `ProxyId` or `GroupId` must be set, but you cannot set both.
5085
5114
  * @type {string || null}
5086
5115
  */
5087
- this.Status = null;
5116
+ this.GroupId = null;
5117
+
5118
+ /**
5119
+ * Connection ID; Either `ProxyId` or `GroupId` must be set, but you cannot set both.
5120
+ * @type {string || null}
5121
+ */
5122
+ this.ProxyId = null;
5123
+
5124
+ /**
5125
+ * Listener name
5126
+ * @type {string || null}
5127
+ */
5128
+ this.ListenerName = null;
5129
+
5130
+ /**
5131
+ * Origin server scheduling policy of listeners, which supports round robin (rr), weighted round robin (wrr), and least connections (lc).
5132
+ * @type {string || null}
5133
+ */
5134
+ this.Scheduler = null;
5135
+
5136
+ /**
5137
+ * Time interval of origin server health check (unit: seconds). Value range: [5, 300].
5138
+ * @type {number || null}
5139
+ */
5140
+ this.DelayLoop = null;
5141
+
5142
+ /**
5143
+ * Response timeout of origin server health check (unit: seconds). Value range: [2, 60]. The timeout value shall be less than the time interval for health check DelayLoop.
5144
+ * @type {number || null}
5145
+ */
5146
+ this.ConnectTimeout = null;
5147
+
5148
+ /**
5149
+ * Whether to enable health check. 1: enable; 0: disable.
5150
+ * @type {number || null}
5151
+ */
5152
+ this.HealthCheck = null;
5153
+
5154
+ /**
5155
+ * Whether to enable the primary/secondary origin server mode. Valid values: 1 (enable) and 0 (disable). It cannot be enabled for domain name origin servers.
5156
+ * @type {number || null}
5157
+ */
5158
+ this.FailoverSwitch = null;
5159
+
5160
+ /**
5161
+ * Healthy threshold. The number of consecutive successful health checks required before considering an origin server healthy. Value range: 1 - 10.
5162
+ * @type {number || null}
5163
+ */
5164
+ this.HealthyThreshold = null;
5165
+
5166
+ /**
5167
+ * Unhealthy threshold. The number of consecutive failed health checks required before considering an origin server unhealthy. Value range: 1 -10.
5168
+ * @type {number || null}
5169
+ */
5170
+ this.UnhealthyThreshold = null;
5088
5171
 
5089
5172
  }
5090
5173
 
@@ -5095,8 +5178,17 @@ UNKNOWN: unknown status.
5095
5178
  if (!params) {
5096
5179
  return;
5097
5180
  }
5098
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
5099
- this.Status = 'Status' in params ? params.Status : null;
5181
+ this.ListenerId = 'ListenerId' in params ? params.ListenerId : null;
5182
+ this.GroupId = 'GroupId' in params ? params.GroupId : null;
5183
+ this.ProxyId = 'ProxyId' in params ? params.ProxyId : null;
5184
+ this.ListenerName = 'ListenerName' in params ? params.ListenerName : null;
5185
+ this.Scheduler = 'Scheduler' in params ? params.Scheduler : null;
5186
+ this.DelayLoop = 'DelayLoop' in params ? params.DelayLoop : null;
5187
+ this.ConnectTimeout = 'ConnectTimeout' in params ? params.ConnectTimeout : null;
5188
+ this.HealthCheck = 'HealthCheck' in params ? params.HealthCheck : null;
5189
+ this.FailoverSwitch = 'FailoverSwitch' in params ? params.FailoverSwitch : null;
5190
+ this.HealthyThreshold = 'HealthyThreshold' in params ? params.HealthyThreshold : null;
5191
+ this.UnhealthyThreshold = 'UnhealthyThreshold' in params ? params.UnhealthyThreshold : null;
5100
5192
 
5101
5193
  }
5102
5194
  }
@@ -8023,6 +8115,24 @@ class AccessRegionDetial extends AbstractModel {
8023
8115
  */
8024
8116
  this.BandwidthList = null;
8025
8117
 
8118
+ /**
8119
+ * Region where the data center locates
8120
+ * @type {string || null}
8121
+ */
8122
+ this.RegionArea = null;
8123
+
8124
+ /**
8125
+ * Name of the region where the data center locates
8126
+ * @type {string || null}
8127
+ */
8128
+ this.RegionAreaName = null;
8129
+
8130
+ /**
8131
+ * Data center type. `dc`: data center; `ec`: edge server.
8132
+ * @type {string || null}
8133
+ */
8134
+ this.IDCType = null;
8135
+
8026
8136
  }
8027
8137
 
8028
8138
  /**
@@ -8036,6 +8146,9 @@ class AccessRegionDetial extends AbstractModel {
8036
8146
  this.RegionName = 'RegionName' in params ? params.RegionName : null;
8037
8147
  this.ConcurrentList = 'ConcurrentList' in params ? params.ConcurrentList : null;
8038
8148
  this.BandwidthList = 'BandwidthList' in params ? params.BandwidthList : null;
8149
+ this.RegionArea = 'RegionArea' in params ? params.RegionArea : null;
8150
+ this.RegionAreaName = 'RegionAreaName' in params ? params.RegionAreaName : null;
8151
+ this.IDCType = 'IDCType' in params ? params.IDCType : null;
8039
8152
 
8040
8153
  }
8041
8154
  }
@@ -10562,17 +10675,17 @@ Note: This field may return null, indicating that no valid values can be obtaine
10562
10675
  this.Concurrent = null;
10563
10676
 
10564
10677
  /**
10565
- * Connection status:
10566
- RUNNING: running;
10567
- CREATING: creating;
10568
- DESTROYING: terminating;
10569
- OPENING: enabling;
10570
- CLOSING: disabling;
10571
- CLOSED: disabled;
10572
- ADJUSTING: adjusting configuration
10573
- ISOLATING: isolating (it's triggered when the account is in arrears);
10574
- ISOLATED: isolated (it's triggered when the account is in arrears);
10575
- UNKNOWN: unknown status.
10678
+ * Connection status. Valid values:
10679
+ `RUNNING`: running
10680
+ `CREATING`: creating
10681
+ `DESTROYING`: terminating
10682
+ `OPENING`: enabling
10683
+ `CLOSING`: disabling
10684
+ `CLOSED`: disabled
10685
+ `ADJUSTING`: adjusting configuration
10686
+ `ISOLATING`: isolating
10687
+ `ISOLATED`: isolated
10688
+ `CLONING`: copying
10576
10689
  * @type {string || null}
10577
10690
  */
10578
10691
  this.Status = null;
@@ -10705,7 +10818,7 @@ Note: This field may return `null`, indicating that no valid values can be obtai
10705
10818
  this.IPAddressVersion = null;
10706
10819
 
10707
10820
  /**
10708
- * Network type. Valid values: `normal`, `cn2`
10821
+ * Network type. `normal`: general BGP; `cn2`: dedicated BGP; `triple`: Non-BGP (provided by the top 3 ISPs in the Chinese mainland).
10709
10822
  Note: this field may return `null`, indicating that no valid value can be obtained.
10710
10823
  * @type {string || null}
10711
10824
  */
@@ -10725,6 +10838,12 @@ Note: this field may return `null`, indicating that no valid value can be obtain
10725
10838
  */
10726
10839
  this.BanStatus = null;
10727
10840
 
10841
+ /**
10842
+ *
10843
+ * @type {Array.<IPDetail> || null}
10844
+ */
10845
+ this.IPList = null;
10846
+
10728
10847
  }
10729
10848
 
10730
10849
  /**
@@ -10784,6 +10903,15 @@ Note: this field may return `null`, indicating that no valid value can be obtain
10784
10903
  this.PackageType = 'PackageType' in params ? params.PackageType : null;
10785
10904
  this.BanStatus = 'BanStatus' in params ? params.BanStatus : null;
10786
10905
 
10906
+ if (params.IPList) {
10907
+ this.IPList = new Array();
10908
+ for (let z in params.IPList) {
10909
+ let obj = new IPDetail();
10910
+ obj.deserialize(params.IPList[z]);
10911
+ this.IPList.push(obj);
10912
+ }
10913
+ }
10914
+
10787
10915
  }
10788
10916
  }
10789
10917
 
@@ -11129,7 +11257,8 @@ module.exports = {
11129
11257
  CloseProxiesRequest: CloseProxiesRequest,
11130
11258
  DescribeListenerRealServersResponse: DescribeListenerRealServersResponse,
11131
11259
  DescribeProxyDetailRequest: DescribeProxyDetailRequest,
11132
- ModifyTCPListenerAttributeRequest: ModifyTCPListenerAttributeRequest,
11260
+ IPDetail: IPDetail,
11261
+ ProxyStatus: ProxyStatus,
11133
11262
  DeleteDomainRequest: DeleteDomainRequest,
11134
11263
  OpenSecurityPolicyResponse: OpenSecurityPolicyResponse,
11135
11264
  ModifyCertificateAttributesResponse: ModifyCertificateAttributesResponse,
@@ -11176,7 +11305,7 @@ module.exports = {
11176
11305
  CreateSecurityRulesRequest: CreateSecurityRulesRequest,
11177
11306
  DescribeCertificatesRequest: DescribeCertificatesRequest,
11178
11307
  DescribeProxiesStatusRequest: DescribeProxiesStatusRequest,
11179
- ProxyStatus: ProxyStatus,
11308
+ ModifyTCPListenerAttributeRequest: ModifyTCPListenerAttributeRequest,
11180
11309
  DeleteSecurityPolicyResponse: DeleteSecurityPolicyResponse,
11181
11310
  CreateDomainResponse: CreateDomainResponse,
11182
11311
  ModifyProxiesProjectResponse: ModifyProxiesProjectResponse,
@@ -65,6 +65,7 @@ const StreamPackageSettingsInfo = models.StreamPackageSettingsInfo;
65
65
  const DescribeStreamLiveChannelsResponse = models.DescribeStreamLiveChannelsResponse;
66
66
  const PlanReq = models.PlanReq;
67
67
  const DescribeStreamLiveRegionsResponse = models.DescribeStreamLiveRegionsResponse;
68
+ const TimedRecordSettings = models.TimedRecordSettings;
68
69
  const StreamLiveRegionInfo = models.StreamLiveRegionInfo;
69
70
  const DescribeStreamLiveChannelRequest = models.DescribeStreamLiveChannelRequest;
70
71
  const DescribeStreamLivePlansRequest = models.DescribeStreamLivePlansRequest;
@@ -89,6 +90,7 @@ const StopStreamLiveChannelResponse = models.StopStreamLiveChannelResponse;
89
90
  const StartStreamLiveChannelResponse = models.StartStreamLiveChannelResponse;
90
91
  const StreamLiveOutputGroupsInfo = models.StreamLiveOutputGroupsInfo;
91
92
  const ChannelOutputsStatistics = models.ChannelOutputsStatistics;
93
+ const PlanSettings = models.PlanSettings;
92
94
  const DescribeStreamLiveInputSecurityGroupsResponse = models.DescribeStreamLiveInputSecurityGroupsResponse;
93
95
  const DeleteStreamLiveInputResponse = models.DeleteStreamLiveInputResponse;
94
96
  const StartStreamLiveChannelRequest = models.StartStreamLiveChannelRequest;
@@ -2320,6 +2320,36 @@ class DescribeStreamLiveRegionsResponse extends AbstractModel {
2320
2320
  }
2321
2321
  }
2322
2322
 
2323
+ /**
2324
+ * Timed recording settings
2325
+ * @class
2326
+ */
2327
+ class TimedRecordSettings extends AbstractModel {
2328
+ constructor(){
2329
+ super();
2330
+
2331
+ /**
2332
+ * Whether to automatically delete finished recording events. Valid values: `CLOSE`, `OPEN`. If this parameter is left empty, `CLOSE` will be used.
2333
+ If it is set to `OPEN`, a recording event will be deleted 7 days after it is finished.
2334
+ Note: This field may return `null`, indicating that no valid value was found.
2335
+ * @type {string || null}
2336
+ */
2337
+ this.AutoClear = null;
2338
+
2339
+ }
2340
+
2341
+ /**
2342
+ * @private
2343
+ */
2344
+ deserialize(params) {
2345
+ if (!params) {
2346
+ return;
2347
+ }
2348
+ this.AutoClear = 'AutoClear' in params ? params.AutoClear : null;
2349
+
2350
+ }
2351
+ }
2352
+
2323
2353
  /**
2324
2354
  * StreamLive region information
2325
2355
  * @class
@@ -2456,6 +2486,12 @@ class CreateStreamLiveChannelRequest extends AbstractModel {
2456
2486
  */
2457
2487
  this.AVTemplates = null;
2458
2488
 
2489
+ /**
2490
+ * Event settings
2491
+ * @type {PlanSettings || null}
2492
+ */
2493
+ this.PlanSettings = null;
2494
+
2459
2495
  }
2460
2496
 
2461
2497
  /**
@@ -2512,6 +2548,12 @@ class CreateStreamLiveChannelRequest extends AbstractModel {
2512
2548
  }
2513
2549
  }
2514
2550
 
2551
+ if (params.PlanSettings) {
2552
+ let obj = new PlanSettings();
2553
+ obj.deserialize(params.PlanSettings)
2554
+ this.PlanSettings = obj;
2555
+ }
2556
+
2515
2557
  }
2516
2558
  }
2517
2559
 
@@ -3422,6 +3464,40 @@ class ChannelOutputsStatistics extends AbstractModel {
3422
3464
  }
3423
3465
  }
3424
3466
 
3467
+ /**
3468
+ * Event settings
3469
+ * @class
3470
+ */
3471
+ class PlanSettings extends AbstractModel {
3472
+ constructor(){
3473
+ super();
3474
+
3475
+ /**
3476
+ * Timed recording settings
3477
+ Note: This field may return `null`, indicating that no valid value was found.
3478
+ * @type {TimedRecordSettings || null}
3479
+ */
3480
+ this.TimedRecordSettings = null;
3481
+
3482
+ }
3483
+
3484
+ /**
3485
+ * @private
3486
+ */
3487
+ deserialize(params) {
3488
+ if (!params) {
3489
+ return;
3490
+ }
3491
+
3492
+ if (params.TimedRecordSettings) {
3493
+ let obj = new TimedRecordSettings();
3494
+ obj.deserialize(params.TimedRecordSettings)
3495
+ this.TimedRecordSettings = obj;
3496
+ }
3497
+
3498
+ }
3499
+ }
3500
+
3425
3501
  /**
3426
3502
  * DescribeStreamLiveInputSecurityGroups response structure.
3427
3503
  * @class
@@ -4231,6 +4307,12 @@ class ModifyStreamLiveChannelRequest extends AbstractModel {
4231
4307
  */
4232
4308
  this.AVTemplates = null;
4233
4309
 
4310
+ /**
4311
+ * Event settings
4312
+ * @type {PlanSettings || null}
4313
+ */
4314
+ this.PlanSettings = null;
4315
+
4234
4316
  }
4235
4317
 
4236
4318
  /**
@@ -4288,6 +4370,12 @@ class ModifyStreamLiveChannelRequest extends AbstractModel {
4288
4370
  }
4289
4371
  }
4290
4372
 
4373
+ if (params.PlanSettings) {
4374
+ let obj = new PlanSettings();
4375
+ obj.deserialize(params.PlanSettings)
4376
+ this.PlanSettings = obj;
4377
+ }
4378
+
4291
4379
  }
4292
4380
  }
4293
4381
 
@@ -4418,6 +4506,13 @@ Note: this field may return `null`, indicating that no valid value was found.
4418
4506
  */
4419
4507
  this.AVTemplates = null;
4420
4508
 
4509
+ /**
4510
+ * Event settings
4511
+ Note: This field may return `null`, indicating that no valid value was found.
4512
+ * @type {PlanSettings || null}
4513
+ */
4514
+ this.PlanSettings = null;
4515
+
4421
4516
  }
4422
4517
 
4423
4518
  /**
@@ -4476,6 +4571,12 @@ Note: this field may return `null`, indicating that no valid value was found.
4476
4571
  }
4477
4572
  }
4478
4573
 
4574
+ if (params.PlanSettings) {
4575
+ let obj = new PlanSettings();
4576
+ obj.deserialize(params.PlanSettings)
4577
+ this.PlanSettings = obj;
4578
+ }
4579
+
4479
4580
  }
4480
4581
  }
4481
4582
 
@@ -4639,6 +4740,7 @@ module.exports = {
4639
4740
  DescribeStreamLiveChannelsResponse: DescribeStreamLiveChannelsResponse,
4640
4741
  PlanReq: PlanReq,
4641
4742
  DescribeStreamLiveRegionsResponse: DescribeStreamLiveRegionsResponse,
4743
+ TimedRecordSettings: TimedRecordSettings,
4642
4744
  StreamLiveRegionInfo: StreamLiveRegionInfo,
4643
4745
  DescribeStreamLiveChannelRequest: DescribeStreamLiveChannelRequest,
4644
4746
  DescribeStreamLivePlansRequest: DescribeStreamLivePlansRequest,
@@ -4663,6 +4765,7 @@ module.exports = {
4663
4765
  StartStreamLiveChannelResponse: StartStreamLiveChannelResponse,
4664
4766
  StreamLiveOutputGroupsInfo: StreamLiveOutputGroupsInfo,
4665
4767
  ChannelOutputsStatistics: ChannelOutputsStatistics,
4768
+ PlanSettings: PlanSettings,
4666
4769
  DescribeStreamLiveInputSecurityGroupsResponse: DescribeStreamLiveInputSecurityGroupsResponse,
4667
4770
  DeleteStreamLiveInputResponse: DeleteStreamLiveInputResponse,
4668
4771
  StartStreamLiveChannelRequest: StartStreamLiveChannelRequest,
@@ -52,6 +52,18 @@ We recommend you store the image in Tencent Cloud, as a Tencent Cloud URL can gu
52
52
  */
53
53
  this.EnableDetectSplit = null;
54
54
 
55
+ /**
56
+ * Whether to enable PDF recognition. Default value: `false`. If you enable this feature, both images and PDF files can be recognized.
57
+ * @type {boolean || null}
58
+ */
59
+ this.IsPdf = null;
60
+
61
+ /**
62
+ * Number of a PDF page that needs to be recognized. Currently, only one single page can be recognized. This parameter takes effect only if a PDF file is uploaded and `IsPdf` is set to `true`. Default value: `1`
63
+ * @type {number || null}
64
+ */
65
+ this.PdfPageNumber = null;
66
+
55
67
  }
56
68
 
57
69
  /**
@@ -65,6 +77,8 @@ We recommend you store the image in Tencent Cloud, as a Tencent Cloud URL can gu
65
77
  this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
66
78
  this.IsWords = 'IsWords' in params ? params.IsWords : null;
67
79
  this.EnableDetectSplit = 'EnableDetectSplit' in params ? params.EnableDetectSplit : null;
80
+ this.IsPdf = 'IsPdf' in params ? params.IsPdf : null;
81
+ this.PdfPageNumber = 'PdfPageNumber' in params ? params.PdfPageNumber : null;
68
82
 
69
83
  }
70
84
  }
@@ -574,9 +588,9 @@ class HKIDCardOCRRequest extends AbstractModel {
574
588
  this.ReturnHeadImage = null;
575
589
 
576
590
  /**
577
- * Base64-encoded value of image.
578
- Supported image formats: PNG, JPG, JPEG. GIF is currently not supported.
579
- Supported image size: the downloaded image cannot exceed 3 MB in size after being Base64-encoded. The download time of the image cannot exceed 3 seconds.
591
+ * Base64 string of the image
592
+ Supported image formats: PNG, JPG, JPEG. GIF is not supported yet.
593
+ Supported image size: The downloaded image cannot exceed 7 MB after being Base64-encoded, and it cannot take longer than 3 seconds to download the image.
580
594
  * @type {string || null}
581
595
  */
582
596
  this.ImageBase64 = null;