@@ -29,6 +29,7 @@ public static function CreateMediaTranscodeJobs() {
2929 'Bucket' => array( 'required' => true, 'type' => 'string', 'location' => 'uri', ),
3030 'Tag' => array( 'location' => 'xml', 'type' => 'string', ),
3131 'QueueId' => array( 'location' => 'xml', 'type' => 'string', ),
32+ 'QueueType' => array( 'location' => 'xml', 'type' => 'string', ),
3233 'CallBack' => array( 'location' => 'xml', 'type' => 'string', ),
3334 'CallBackFormat' => array( 'location' => 'xml', 'type' => 'string', ),
3435 'CallBackType' => array( 'location' => 'xml', 'type' => 'string', ),
@@ -271,6 +272,33 @@ public static function CreateMediaTranscodeJobs() {
271272 'State' => array( 'type' => 'string', 'location' => 'xml', ),
272273 ),
273274 ),
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+ ),
274302 ),
275303 ),
276304 'CallBackMqConfig' => array(
@@ -282,6 +310,15 @@ public static function CreateMediaTranscodeJobs() {
282310 'MqName' => array( 'type' => 'string', 'location' => 'xml', ),
283311 ),
284312 ),
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+ ),
285322 ),
286323 );
287324 }
@@ -2145,7 +2182,7 @@ public static function DetectVideo() {
21452182 'type' => 'object',
21462183 'properties' => array(
21472184 'Mode' => array( 'type' => 'string', 'location' => 'xml', ),
2148- 'Count' => array( 'type' => 'string ', 'location' => 'xml', ),
2185+ 'Count' => array( 'type' => 'integer ', 'location' => 'xml', ),
21492186 'TimeInterval' => array( 'type' => 'numeric', 'location' => 'xml', ),
21502187 ),
21512188 ),
@@ -3485,39 +3522,19 @@ public static function CreateDocProcessJobs() {
34853522 'type' => 'object',
34863523 'location' => 'xml',
34873524 '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', ),
35213538 ),
35223539 ),
35233540 ),
@@ -12927,6 +12944,27 @@ public static function ImageFaceEffect() {
1292712944 ),
1292812945 );
1292912946 }
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+ }
1293012968 public static function ImageFaceEffectOutput() {
1293112969 return array(
1293212970 'type' => 'object',
@@ -19289,6 +19327,11 @@ public static function CreateDataset() {
1928919327 'DatasetName' => array( 'location' => 'json', 'type' => 'string', ),
1929019328 'Description' => array( 'location' => 'json', 'type' => 'string', ),
1929119329 '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', ),
1929219335 ),
1929319336
1929419337 );
0 commit comments