Send feedback
  
   
 
  
    
      Class /GOOG/CL_TEXTTOSPEECH_V1BETA1 
  
  
  
   
  
    
  
  
    
    
    
  
  
  
  
  On-premises or any cloud edition v1.12keyboard_arrow_down  
  
 
  
  
Class 
/GOOG/CL_TEXTTOSPEECH_V1BETA1 
Inheriting from:/GOOG/CL_HTTP_CLIENT 
Description:Cloud Text-to-Speech API v1beta1   
For general information about a class in ABAP SDK for Google Cloud,
see 
API client stub .
Types 
Type 
Description 
Visibility 
 
 
TY_001AdvancedVoiceOptionsPUBLIC 
 
TY_002AudioConfigPUBLIC 
 
TY_003CustomPronunciationParamsPUBLIC 
 
TY_004CustomPronunciationsPUBLIC 
 
TY_005CustomVoiceParamsPUBLIC 
 
TY_006ListOperationsResponsePUBLIC 
 
TY_007ListVoicesResponsePUBLIC 
 
TY_008MultiSpeakerMarkupPUBLIC 
 
TY_009OperationPUBLIC 
 
TY_010StatusPUBLIC 
 
TY_011SynthesisInputPUBLIC 
 
TY_012SynthesizeLongAudioRequestPUBLIC 
 
TY_013SynthesizeSpeechRequestPUBLIC 
 
TY_014SynthesizeSpeechResponsePUBLIC 
 
TY_015TimepointPUBLIC 
 
TY_016TurnPUBLIC 
 
TY_017VoicePUBLIC 
 
TY_018VoiceCloneParamsPUBLIC 
 
TY_019VoiceSelectionParamsPUBLIC 
 
TY_T_003CustomPronunciationParamsPUBLIC 
 
TY_T_009OperationPUBLIC 
 
TY_T_015TimepointPUBLIC 
 
TY_T_016TurnPUBLIC 
 
TY_T_017VoicePUBLIC 
 
TY_T_STRINGTable of StringsPUBLIC 
 
Constants 
Name 
Type 
Description 
Value 
Visibility 
 
 
C_CLOUD_VERSION/GOOG/SDK_VERSIONLowest Cloud Version 
PUBLIC 
 
C_ON_PREM_VERSION/GOOG/SDK_VERSIONLowest On-premises Version 
1.10 
PUBLIC 
 
C_PATH_PREFIXSTRINGAPI Path Prefix 
PUBLIC 
 
C_REVISION_DATEDATUMDiscovery Document revision Date 
20250227 
PUBLIC 
 
C_ROOT_URLSTRINGAPI Root URL 
https://texttospeech.googleapis.com 
PUBLIC 
 
C_SERVICE_NAME/GOOG/SERVICE_NAMEGoogle Service Name 
texttospeech:v1beta1 
PUBLIC 
 
C_SUPPORTED_AUTH/GOOG/SUPP_AUTHSupported 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_NAMEIMPORTING 
/GOOG/KEYNAMEGoogle Cloud Key Name 
 
IV_LOG_OBJIMPORTING 
BALOBJ_DApplication log: Object name (Application code) 
 
IV_LOG_SUBOBJIMPORTING 
BALSUBOBJApplication Log: Subobject 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDKABAP SDK for Google Cloud: Exception Class 
 
GET_OPERATIONS 
Description: texttospeech.projects.locations.operations.get  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_P_PROJECTS_IDIMPORTING 
STRINGprojectsId 
 
IV_P_LOCATIONS_IDIMPORTING 
STRINGlocationsId 
 
IV_P_OPERATIONS_IDIMPORTING 
STRINGoperationsId 
 
ES_RAWEXPORTING 
DATARaw Output Data 
 
ES_OUTPUTEXPORTING 
TY_009Operation 
 
EV_RET_CODEEXPORTING 
IReturn Code 
 
EV_ERR_TEXTEXPORTING 
STRINGError Text 
 
ES_ERR_RESPEXPORTING 
/GOOG/ERR_RESPError Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDKABAP SDK for Google Cloud: Exception Class 
 
LIST_OPERATIONS 
Description: texttospeech.projects.locations.operations.list  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_Q_FILTERIMPORTING 
STRINGfilter 
 
IV_Q_PAGESIZEIMPORTING 
STRINGpageSize 
 
IV_Q_PAGETOKENIMPORTING 
STRINGpageToken 
 
IV_P_PROJECTS_IDIMPORTING 
STRINGprojectsId 
 
IV_P_LOCATIONS_IDIMPORTING 
STRINGlocationsId 
 
ES_RAWEXPORTING 
DATARaw Output Data 
 
ES_OUTPUTEXPORTING 
TY_006ListOperationsResponse 
 
EV_RET_CODEEXPORTING 
IReturn Code 
 
EV_ERR_TEXTEXPORTING 
STRINGError Text 
 
ES_ERR_RESPEXPORTING 
/GOOG/ERR_RESPError Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDKABAP SDK for Google Cloud: Exception Class 
 
LIST_VOICES 
Description: texttospeech.voices.list  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_Q_LANGUAGECODEIMPORTING 
STRINGlanguageCode 
 
ES_RAWEXPORTING 
DATARaw Output Data 
 
ES_OUTPUTEXPORTING 
TY_007ListVoicesResponse 
 
EV_RET_CODEEXPORTING 
IReturn Code 
 
EV_ERR_TEXTEXPORTING 
STRINGError Text 
 
ES_ERR_RESPEXPORTING 
/GOOG/ERR_RESPError Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDKABAP 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_IDIMPORTING 
STRINGprojectsId 
 
IV_P_LOCATIONS_IDIMPORTING 
STRINGlocationsId 
 
IS_INPUTIMPORTING 
TY_012SynthesizeLongAudioRequest 
 
ES_RAWEXPORTING 
DATARaw Output Data 
 
ES_OUTPUTEXPORTING 
TY_009Operation 
 
EV_RET_CODEEXPORTING 
IReturn Code 
 
EV_ERR_TEXTEXPORTING 
STRINGError Text 
 
ES_ERR_RESPEXPORTING 
/GOOG/ERR_RESPError Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDKABAP SDK for Google Cloud: Exception Class 
 
SYNTHESIZE_TEXT 
Description: texttospeech.text.synthesize  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IS_INPUTIMPORTING 
TY_013SynthesizeSpeechRequest 
 
ES_RAWEXPORTING 
DATARaw Output Data 
 
ES_OUTPUTEXPORTING 
TY_014SynthesizeSpeechResponse 
 
EV_RET_CODEEXPORTING 
IReturn Code 
 
EV_ERR_TEXTEXPORTING 
STRINGError Text 
 
ES_ERR_RESPEXPORTING 
/GOOG/ERR_RESPError Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDKABAP 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 2025-10-28 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 2025-10-28 UTC."],[],[]]