Send feedback
Class /GOOG/CL_TEXTTOSPEECH_V1
Stay organized with collections
Save and categorize content based on your preferences.
On-premises or any cloud edition v1.8 keyboard_arrow_down
Class
/GOOG/CL_TEXTTOSPEECH_V1
Inheriting from:/GOOG/CL_HTTP_CLIENT
Description:Cloud Text-to-Speech API v1
For general information about a class in ABAP SDK for Google Cloud,
see
API client stub .
Types
Type
Description
Visibility
TY_001
AudioConfig
PUBLIC
TY_003
CustomVoiceParams
PUBLIC
TY_005
ListOperationsResponse
PUBLIC
TY_006
ListVoicesResponse
PUBLIC
TY_007
Operation
PUBLIC
TY_008
Status
PUBLIC
TY_009
SynthesisInput
PUBLIC
TY_010
SynthesizeLongAudioRequest
PUBLIC
TY_011
SynthesizeSpeechRequest
PUBLIC
TY_012
SynthesizeSpeechResponse
PUBLIC
TY_013
Voice
PUBLIC
TY_014
VoiceSelectionParams
PUBLIC
TY_T_007
Operation
PUBLIC
TY_T_013
Voice
PUBLIC
TY_T_STRING
Table of Strings
PUBLIC
Constants
Name
Type
Description
Value
Visibility
C_CLOUD_VERSION
/GOOG/SDK_VERSION
Lowest Cloud Version
1.0
PUBLIC
C_ON_PREM_VERSION
/GOOG/SDK_VERSION
Lowest On-premises Version
1.5
PUBLIC
C_PATH_PREFIX
STRING
API Path Prefix
PUBLIC
C_REVISION_DATE
DATUM
Discovery Document revision Date
20240826
PUBLIC
C_ROOT_URL
STRING
API Root URL
https://texttospeech.googleapis.com
PUBLIC
C_SERVICE_NAME
/GOOG/SERVICE_NAME
Google Service Name
texttospeech:v1
PUBLIC
C_SUPPORTED_AUTH
/GOOG/SUPP_AUTH
Supported Auth Types
IJIJWW
PUBLIC
Methods
For general information about a method in ABAP SDK for Google Cloud,
see
API method .
CONSTRUCTOR
Description: Constructor
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_KEY_NAME
IMPORTING
/GOOG/KEYNAME
Google Cloud Key Name
IV_LOG_OBJ
IMPORTING
BALOBJ_D
Application log: Object name (Application code)
IV_LOG_SUBOBJ
IMPORTING
BALSUBOBJ
Application Log: Subobject
Exception
Name
Description
/GOOG/CX_SDK
ABAP SDK for Google Cloud: Exception Class
CANCEL_OPERATIONS
Description: texttospeech.operations.cancel
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_OPERATIONS_ID
IMPORTING
STRING
operationsId
IS_INPUT
IMPORTING
REF TO DATA
Input Data
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
REF TO DATA
Output Data
EV_RET_CODE
EXPORTING
I
Return Code
EV_ERR_TEXT
EXPORTING
STRING
Error Text
ES_ERR_RESP
EXPORTING
/GOOG/ERR_RESP
Error Response
Exception
Name
Description
/GOOG/CX_SDK
ABAP SDK for Google Cloud: Exception Class
DELETE_OPERATIONS
Description: texttospeech.operations.delete
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_OPERATIONS_ID
IMPORTING
STRING
operationsId
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
REF TO DATA
Output Data
EV_RET_CODE
EXPORTING
I
Return Code
EV_ERR_TEXT
EXPORTING
STRING
Error Text
ES_ERR_RESP
EXPORTING
/GOOG/ERR_RESP
Error Response
Exception
Name
Description
/GOOG/CX_SDK
ABAP SDK for Google Cloud: Exception Class
GET_OPERATIONS
Description: texttospeech.projects.locations.operations.get
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_LOCATIONS_ID
IMPORTING
STRING
locationsId
IV_P_OPERATIONS_ID
IMPORTING
STRING
operationsId
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_007
Operation
EV_RET_CODE
EXPORTING
I
Return Code
EV_ERR_TEXT
EXPORTING
STRING
Error Text
ES_ERR_RESP
EXPORTING
/GOOG/ERR_RESP
Error Response
Exception
Name
Description
/GOOG/CX_SDK
ABAP SDK for Google Cloud: Exception Class
LIST_OPERATIONS
Description: texttospeech.projects.locations.operations.list
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_Q_FILTER
IMPORTING
STRING
filter
IV_Q_PAGESIZE
IMPORTING
STRING
pageSize
IV_Q_PAGETOKEN
IMPORTING
STRING
pageToken
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_LOCATIONS_ID
IMPORTING
STRING
locationsId
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_005
ListOperationsResponse
EV_RET_CODE
EXPORTING
I
Return Code
EV_ERR_TEXT
EXPORTING
STRING
Error Text
ES_ERR_RESP
EXPORTING
/GOOG/ERR_RESP
Error Response
Exception
Name
Description
/GOOG/CX_SDK
ABAP SDK for Google Cloud: Exception Class
LIST_VOICES
Description: texttospeech.voices.list
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_Q_LANGUAGECODE
IMPORTING
STRING
languageCode
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_006
ListVoicesResponse
EV_RET_CODE
EXPORTING
I
Return Code
EV_ERR_TEXT
EXPORTING
STRING
Error Text
ES_ERR_RESP
EXPORTING
/GOOG/ERR_RESP
Error Response
Exception
Name
Description
/GOOG/CX_SDK
ABAP SDK for Google Cloud: Exception Class
SYNTHESIZE_LONG_AUDIO_LOCAT
Description: texttospeech.projects.locations.synthesizeLongAudio
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_LOCATIONS_ID
IMPORTING
STRING
locationsId
IS_INPUT
IMPORTING
TY_010
SynthesizeLongAudioRequest
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_007
Operation
EV_RET_CODE
EXPORTING
I
Return Code
EV_ERR_TEXT
EXPORTING
STRING
Error Text
ES_ERR_RESP
EXPORTING
/GOOG/ERR_RESP
Error Response
Exception
Name
Description
/GOOG/CX_SDK
ABAP SDK for Google Cloud: Exception Class
SYNTHESIZE_TEXT
Description: texttospeech.text.synthesize
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IS_INPUT
IMPORTING
TY_011
SynthesizeSpeechRequest
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_012
SynthesizeSpeechResponse
EV_RET_CODE
EXPORTING
I
Return Code
EV_ERR_TEXT
EXPORTING
STRING
Error Text
ES_ERR_RESP
EXPORTING
/GOOG/ERR_RESP
Error Response
Exception
Name
Description
/GOOG/CX_SDK
ABAP SDK for Google Cloud: Exception Class
CLOSE
Description: Close Connection
Visibility: PUBLIC
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-18 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-18 UTC."],[],[]]