@@ -29,6 +29,7 @@ public static function CreateMediaTranscodeJobs() {
29
29
'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
30
30
'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
31
31
'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
32
+ 'QueueType' => array( 'location' => 'xml', 'type' => 'string', ),
32
33
'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
33
34
'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
34
35
'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
@@ -271,6 +272,33 @@ public static function CreateMediaTranscodeJobs() {
271
272
'State' => array( 'type' => 'string', 'location' => 'xml', ),
272
273
),
273
274
),
275
+ 'Subtitles' => array(
276
+ 'type' => 'object',
277
+ 'location' => 'xml',
278
+ 'properties' => array(
279
+ 'Subtitle' => array(
280
+ 'type' => 'array',
281
+ 'location' => 'xml',
282
+ 'data' => array(
283
+ 'xmlFlattened' => true,
284
+ ),
285
+ 'items' => array(
286
+ 'type' => 'object',
287
+ 'name' => 'Subtitle',
288
+ 'sentAs' => 'Subtitle',
289
+ 'properties' => array(
290
+ 'Url' => array( 'type' => 'string', 'location' => 'xml', ),
291
+ 'Embed' => array( 'type' => 'string', 'location' => 'xml', ),
292
+ 'FontType' => array( 'type' => 'string', 'location' => 'xml', ),
293
+ 'FontSize' => array( 'type' => 'string', 'location' => 'xml', ),
294
+ 'FontColor' => array( 'type' => 'string', 'location' => 'xml', ),
295
+ 'OutlineColor' => array( 'type' => 'string', 'location' => 'xml', ),
296
+ 'VMargin' => array( 'type' => 'string', 'location' => 'xml', ),
297
+ ),
298
+ ),
299
+ ),
300
+ ),
301
+ ),
274
302
),
275
303
),
276
304
'CallBackMqConfig' => array(
@@ -282,6 +310,15 @@ public static function CreateMediaTranscodeJobs() {
282
310
'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
283
311
),
284
312
),
313
+ 'CallBackKafkaConfig' => array(
314
+ 'type' => 'object',
315
+ 'location' => 'xml',
316
+ 'properties' => array(
317
+ 'Region' => array( 'type' => 'string', 'location' => 'xml', ),
318
+ 'InstanceId' => array( 'type' => 'string', 'location' => 'xml', ),
319
+ 'Topic' => array( 'type' => 'string', 'location' => 'xml', ),
320
+ ),
321
+ ),
285
322
),
286
323
);
287
324
}
@@ -2145,7 +2182,7 @@ public static function DetectVideo() {
2145
2182
'type' => 'object',
2146
2183
'properties' => array(
2147
2184
'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
2148
- 'Count' => array( 'type' => 'string ', 'location' => 'xml', ),
2185
+ 'Count' => array( 'type' => 'integer ', 'location' => 'xml', ),
2149
2186
'TimeInterval' => array( 'type' => 'numeric', 'location' => 'xml', ),
2150
2187
),
2151
2188
),
@@ -3485,39 +3522,19 @@ public static function CreateDocProcessJobs() {
3485
3522
'type' => 'object',
3486
3523
'location' => 'xml',
3487
3524
'properties' => array(
3488
- 'SrcType' => array(
3489
- 'type' => 'string',
3490
- ),
3491
- 'TgtType' => array(
3492
- 'type' => 'string',
3493
- ),
3494
- 'SheetId' => array(
3495
- 'type' => 'integer',
3496
- ),
3497
- 'StartPage' => array(
3498
- 'type' => 'integer',
3499
- ),
3500
- 'EndPage' => array(
3501
- 'type' => 'integer',
3502
- ),
3503
- 'ImageParams' => array(
3504
- 'type' => 'string',
3505
- ),
3506
- 'DocPassword' => array(
3507
- 'type' => 'string',
3508
- ),
3509
- 'Comments' => array(
3510
- 'type' => 'integer',
3511
- ),
3512
- 'PaperDirection' => array(
3513
- 'type' => 'integer',
3514
- ),
3515
- 'Quality' => array(
3516
- 'type' => 'integer',
3517
- ),
3518
- 'Zoom' => array(
3519
- 'type' => 'integer',
3520
- ),
3525
+ 'SrcType' => array( 'type' => 'string', 'location' => 'xml', ),
3526
+ 'TgtType' => array( 'type' => 'string', 'location' => 'xml', ),
3527
+ 'StartPage' => array( 'type' => 'integer', 'location' => 'xml', ),
3528
+ 'EndPage' => array( 'type' => 'integer', 'location' => 'xml', ),
3529
+ 'SheetId' => array( 'type' => 'integer', 'location' => 'xml', ),
3530
+ 'PaperDirection' => array( 'type' => 'integer', 'location' => 'xml', ),
3531
+ 'PaperSize' => array( 'type' => 'integer', 'location' => 'xml', ),
3532
+ 'ImageParams' => array( 'type' => 'string', 'location' => 'xml', ),
3533
+ 'Quality' => array( 'type' => 'integer', 'location' => 'xml', ),
3534
+ 'Zoom' => array( 'type' => 'integer', 'location' => 'xml', ),
3535
+ 'ImageDpi' => array( 'type' => 'integer', 'location' => 'xml', ),
3536
+ 'DocPassword' => array( 'type' => 'string', 'location' => 'xml', ),
3537
+ 'Comments' => array( 'type' => 'integer', 'location' => 'xml', ),
3521
3538
),
3522
3539
),
3523
3540
),
@@ -12927,6 +12944,27 @@ public static function ImageFaceEffect() {
12927
12944
),
12928
12945
);
12929
12946
}
12947
+
12948
+ public static function ImageUrlFaceEffect() {
12949
+ return array(
12950
+ 'httpMethod' => 'GET',
12951
+ 'uri' => '/{Bucket}?ci-process=face-effect',
12952
+ 'class' => 'Qcloud\\Cos\\Command',
12953
+ 'responseClass' => 'ImageFaceEffectOutput',
12954
+ 'responseType' => 'model',
12955
+ 'parameters' => array(
12956
+ 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
12957
+ 'type' => array( 'type' => 'string', 'location' => 'query', ),
12958
+ 'whitening' => array( 'type' => 'integer', 'location' => 'query', ),
12959
+ 'smoothing' => array( 'type' => 'integer', 'location' => 'query', ),
12960
+ 'faceLifting' => array( 'type' => 'integer', 'location' => 'query', ),
12961
+ 'eyeEnlarging' => array( 'type' => 'integer', 'location' => 'query', ),
12962
+ 'gender' => array( 'type' => 'integer', 'location' => 'query', ),
12963
+ 'age' => array( 'type' => 'integer', 'location' => 'query', ),
12964
+ 'detectUrl' => array('type' => 'string', 'location' => 'query', 'sentAs' => 'detect-url'),
12965
+ ),
12966
+ );
12967
+ }
12930
12968
public static function ImageFaceEffectOutput() {
12931
12969
return array(
12932
12970
'type' => 'object',
@@ -19289,6 +19327,11 @@ public static function CreateDataset() {
19289
19327
'DatasetName' => array( 'location' => 'json', 'type' => 'string', ),
19290
19328
'Description' => array( 'location' => 'json', 'type' => 'string', ),
19291
19329
'TemplateId' => array( 'location' => 'json', 'type' => 'string', ),
19330
+ 'Version' => array( 'location' => 'json', 'type' => 'string', ),
19331
+ 'Volume' => array( 'location' => 'json', 'type' => 'integer', ),
19332
+ 'TrainingMode' => array( 'location' => 'json', 'type' => 'integer', ),
19333
+ 'TrainingDataset' => array( 'location' => 'json', 'type' => 'string', ),
19334
+ 'TrainingURI' => array( 'location' => 'json', 'type' => 'string', ),
19292
19335
),
19293
19336
19294
19337
);
0 commit comments