forked from demisto/content
-
Notifications
You must be signed in to change notification settings - Fork 13
/
GoogleCloudTranslate.yml
91 lines (90 loc) · 2.9 KB
/
GoogleCloudTranslate.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
category: Utilities
commonfields:
id: GoogleCloudTranslate
version: -1
configuration:
- display: Service Account Private Key file contents (JSON)
name: service_account_json
required: false
type: 4
hidden: true
- display: Project in Google Cloud Translate
name: project_creds
required: false
type: 9
displaypassword: Service Account Private Key file contents (JSON)
- display: Project in Google Cloud Translate
name: project
required: false
type: 0
hidden: true
- display: Use system proxy settings
name: proxy
required: false
type: 8
- display: Trust any certificate (not secure)
name: insecure
required: false
type: 8
description: A Google API cloud based translation service.
display: Google Cloud Translate
name: GoogleCloudTranslate
script:
commands:
- deprecated: false
description: Returns the list of supported two-letter ISO language codes.
execution: false
name: gct-supported-languages
outputs:
- contextPath: GoogleCloudTranslate.SupportedLanguages
description: The list of supported two-letter ISO language codes.
type: list
- deprecated: false
description: Returns the translated text.
execution: false
name: gct-translate-text
arguments:
- default: false
description: The text to translate.
isArray: false
name: text
required: true
secret: false
- default: false
description: The two-letter ISO language code of the target language. Default is "en" (English).
name: target
required: false
secret: false
- default: false
description: The two-letter ISO language code of the source language. Default is "autodetect".
name: source
required: false
secret: false
outputs:
- contextPath: GoogleCloudTranslate.TranslateText.ID
description: The ID of the request.
type: String
- contextPath: GoogleCloudTranslate.TranslateText.detected_language_code
description: The detected two-letter ISO language code of the source language. Null, if no source argument is defined.
type: String
- contextPath: GoogleCloudTranslate.TranslateText.source_language_code
description: The source language as specified in the source argument. Null, if no source argument is defined.
type: String
- contextPath: GoogleCloudTranslate.TranslateText.target_language_code
description: The two letter ISO language code to which the text was translated.
type: String
- contextPath: GoogleCloudTranslate.TranslateText.text
description: The source (original) text that was translated.
type: String
- contextPath: GoogleCloudTranslate.TranslateText.translated_text
description: The translated text.
type: String
dockerimage: demisto/google-cloud-translate:1.0.0.63615
isfetch: false
runonce: false
script: '-'
type: python
subtype: python3
fromversion: 5.0.0
tests:
- No tests (auto formatted)