tencentcloud-sdk-tmt 3.0.558 → 3.0.560

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b13bf93bfd345dd2f72e376c26279f3be736f224
4
- data.tar.gz: e4c96b371d55561800681989acaafb38b4c84eff
3
+ metadata.gz: 59f350bc2cf15776a447cacda35eb21e3429baf6
4
+ data.tar.gz: 0b6765e010e59c38853c4b401bb46c749ccca18a
5
5
  SHA512:
6
- metadata.gz: 82798b1d74168b2c1c048027608ad31317ad31ae9c9fb672620d90556e33cb3a65deaa51f3ba7cac7b709cd94a6e38b2409d2c0963bc9b1efb48976c32e5fc0c
7
- data.tar.gz: 18ecea2264556935a48af07964ce3f31578f86bb6cdd71394f4f48043efef4d19993bbcfd6dec1921200301bfded7b4a85a9afbdca06eb755c991f63c76ab749
6
+ metadata.gz: 15efe06b000880f8e8bfd31a55c0de826bef508c5114d180937cd429c16b6c0eef529922c199bda015b67ba44f62e81ae5d83566534bd7e0c946baa7ec0be2f7
7
+ data.tar.gz: e3217c052c4dea6eb95c9d32b71903332e08bb3e80a9d1937e0c4852eae11249a108280794236c5ea30968346bbce3e431ba7064c07732a71ccb0afc53f7b347
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.558
1
+ 3.0.560
@@ -54,7 +54,7 @@ module TencentCloud
54
54
  end
55
55
 
56
56
  # 在调用文档翻译请求接口后,有回调和轮询两种方式获取识别结果。
57
- # •当采用回调方式时,翻译完成后会将结果通过 POST 请求的形式通知到用户在请求时填写的回调 URL,具体请参见文档翻译结果回调 。
57
+ # •当采用回调方式时,翻译完成后会将结果通过 POST 请求的形式通知到用户在请求时填写的回调 URL,具体请参见文档翻译结果回调。
58
58
  # • 当采用轮询方式时,需要主动提交任务ID来轮询识别结果,共有任务成功、等待、执行中和失败四种结果,具体信息请参见参数说明。
59
59
 
60
60
  # @param request: Request instance for GetFileTranslate.
@@ -59,11 +59,11 @@ module TencentCloud
59
59
  # @type DocumentType: String
60
60
  # @param SourceType: 数据来源,0:url,1:直接传文件编码后数据
61
61
  # @type SourceType: Integer
62
- # @param Url: 需要翻译文件url
62
+ # @param Url: 需要翻译文件url,文件需小于100MB。
63
63
  # @type Url: String
64
64
  # @param BasicDocumentType: 原始文档类型
65
65
  # @type BasicDocumentType: String
66
- # @param CallbackUrl: 回调url
66
+ # @param CallbackUrl: 回调url,文件大于10MB,建议采用回调方式;回调时,所有内容会放入 Body 中。
67
67
  # @type CallbackUrl: String
68
68
  # @param Data: 文件数据,当SourceType 值为1时必须填写,为0可不写。要base64编码(采用python语言时注意读取文件应该为string而不是byte,以byte格式读取后要decode()。编码后的数据不可带有回车换行符)。数据要小于5MB。
69
69
  # @type Data: String
@@ -537,7 +537,7 @@ module TencentCloud
537
537
  # @type Target: String
538
538
  # @param ProjectId: 项目ID,可以根据控制台-账号中心-项目管理中的配置填写,如无配置请填写默认项目ID:0
539
539
  # @type ProjectId: Integer
540
- # @param SourceTextList: 待翻译的文本列表,批量接口可以以数组方式在一次请求中填写多个待翻译文本。文本统一使用utf-8格式编码,非utf-8格式编码字符会翻译失败,请传入有效文本,html标记等非常规翻译文本可能会翻译失败。单次请求的文本长度总和需要低于2000字符。
540
+ # @param SourceTextList: 待翻译的文本列表,批量接口可以以数组方式在一次请求中填写多个待翻译文本。文本统一使用utf-8格式编码,非utf-8格式编码字符会翻译失败,请传入有效文本,html标记等非常规翻译文本可能会翻译失败。单次请求的文本长度总和需要低于6000字符。
541
541
  # @type SourceTextList: Array
542
542
 
543
543
  attr_accessor :Source, :Target, :ProjectId, :SourceTextList
@@ -559,7 +559,7 @@ module TencentCloud
559
559
 
560
560
  # TextTranslateBatch返回参数结构体
561
561
  class TextTranslateBatchResponse < TencentCloud::Common::AbstractModel
562
- # @param Source: 源语言,详见入参Target
562
+ # @param Source: 源语言,详见入参Source
563
563
  # @type Source: String
564
564
  # @param Target: 目标语言,详见入参Target
565
565
  # @type Target: String
@@ -587,7 +587,7 @@ module TencentCloud
587
587
 
588
588
  # TextTranslate请求参数结构体
589
589
  class TextTranslateRequest < TencentCloud::Common::AbstractModel
590
- # @param SourceText: 待翻译的文本,文本统一使用utf-8格式编码,非utf-8格式编码字符会翻译失败,请传入有效文本,html标记等非常规翻译文本可能会翻译失败。单次请求的文本长度需要低于2000字符。
590
+ # @param SourceText: 待翻译的文本,文本统一使用utf-8格式编码,非utf-8格式编码字符会翻译失败,请传入有效文本,html标记等非常规翻译文本可能会翻译失败。单次请求的文本长度需要低于6000字符。
591
591
  # @type SourceText: String
592
592
  # @param Source: 源语言,支持:
593
593
  # auto:自动识别(识别为一种语言)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tmt
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.558
4
+ version: 3.0.560
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-24 00:00:00.000000000 Z
11
+ date: 2023-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common