Class /GOOG/CL_TEXTTOSPEECH_V1

Classe


 /GOOG/CL_TEXTTOSPEECH_V1
 
  • Héritage de : /GOOG/CL_HTTP_CLIENT
  • Description : Cloud Text-to-Speech API v1
Pour obtenir des informations générales sur une classe du SDK ABAP pour Google Cloud, consultez la page Bouchon de client API.

Types

Type Description Visibilité
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

Constantes

Nom Type Description Valeur Visibilité
C_SUPPORTED_AUTH /GOOG/SUPP_AUTH Types d'authentification pris en charge IJIJWW PUBLIC
C_SERVICE_NAME /GOOG/SERVICE_NAME Nom du service Google texttospeech:v1 PUBLIC
C_ROOT_URL STRING URL racine de l'API https://texttospeech.googleapis.com PUBLIC
C_REVISION_DATE DATUM Date de révision du document de découverte 20240313 PUBLIC
C_PATH_PREFIX STRING Préfixe de chemin d'API PUBLIC
C_ON_PREM_VERSION /GOOG/SDK_VERSION Version sur site la plus basse 1.5 PUBLIC
C_CLOUD_VERSION /GOOG/SDK_VERSION Version Cloud la plus basse 1.0 PUBLIC

Méthodes

Pour obtenir des informations générales sur une méthode du SDK ABAP pour Google Cloud, consultez la page Méthode API.

CONSTRUCTOR

  • Description : Constructor
  • Visibilité : PUBLIQUE

Paramètres

Nom Catégorie Type Description
IV_KEY_NAME IMPORTING /GOOG/KEYNAME Nom de la clé Google Cloud
IV_LOG_OBJ IMPORTING BALOBJ_D Journal d'application : nom de l'objet (code d'application)
IV_LOG_SUBOBJ IMPORTING BALSUBOBJ Journal d'application : sous-objet

Exception

Nom Description
/GOOG/CX_SDK SDK ABAP pour Google Cloud : classe d'exception

CANCEL_OPERATIONS

  • Description : texttospeech.operations.cancel
  • Visibilité : PUBLIQUE

Paramètres

Nom Catégorie Type Description
IV_P_OPERATIONS_ID IMPORTING STRING operationsId
IS_INPUT IMPORTING DATA Données d'entrée
ES_RAW EXPORTING DATA Données brutes de sortie
ES_OUTPUT EXPORTING DATA Données de sortie
EV_RET_CODE EXPORTING I Code renvoyé
EV_ERR_TEXT EXPORTING STRING Texte de l'erreur
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Réponse d'erreur

Exception

Nom Description
/GOOG/CX_SDK SDK ABAP pour Google Cloud : classe d'exception

DELETE_OPERATIONS

  • Description : texttospeech.operations.delete
  • Visibilité : PUBLIQUE

Paramètres

Nom Catégorie Type Description
IV_P_OPERATIONS_ID IMPORTING STRING operationsId
ES_RAW EXPORTING DATA Données brutes de sortie
ES_OUTPUT EXPORTING DATA Données de sortie
EV_RET_CODE EXPORTING I Code renvoyé
EV_ERR_TEXT EXPORTING STRING Texte de l'erreur
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Réponse d'erreur

Exception

Nom Description
/GOOG/CX_SDK SDK ABAP pour Google Cloud : classe d'exception

GET_OPERATIONS

  • Description : texttospeech.projects.locations.operations.get
  • Visibilité : PUBLIQUE

Paramètres

Nom Catégorie Type Description
IV_P_PROJECTS_ID IMPORTING STRING ProjectsId
IV_P_LOCATIONS_ID IMPORTING STRING Emplacements.ID
IV_P_OPERATIONS_ID IMPORTING STRING operationsId
ES_RAW EXPORTING DATA Données brutes de sortie
ES_OUTPUT EXPORTING TY_007 Opération
EV_RET_CODE EXPORTING I Code renvoyé
EV_ERR_TEXT EXPORTING STRING Texte de l'erreur
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Réponse d'erreur

Exception

Nom Description
/GOOG/CX_SDK SDK ABAP pour Google Cloud : classe d'exception

LIST_OPERATIONS

  • Description : texttospeech.projects.locations.operations.list
  • Visibilité : PUBLIQUE

Paramètres

Nom Catégorie 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 Emplacements.ID
ES_RAW EXPORTING DATA Données brutes de sortie
ES_OUTPUT EXPORTING TY_005 ListOperationsResponse
EV_RET_CODE EXPORTING I Code renvoyé
EV_ERR_TEXT EXPORTING STRING Texte de l'erreur
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Réponse d'erreur

Exception

Nom Description
/GOOG/CX_SDK SDK ABAP pour Google Cloud : classe d'exception

LIST_VOICES

  • Description : texttospeech.voices.list
  • Visibilité : PUBLIQUE

Paramètres

Nom Catégorie Type Description
IV_Q_LANGUAGECODE IMPORTING STRING languageCode
ES_RAW EXPORTING DATA Données brutes de sortie
ES_OUTPUT EXPORTING TY_006 ListVoicesResponse
EV_RET_CODE EXPORTING I Code renvoyé
EV_ERR_TEXT EXPORTING STRING Texte de l'erreur
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Réponse d'erreur

Exception

Nom Description
/GOOG/CX_SDK SDK ABAP pour Google Cloud : classe d'exception

SYNTHESIZE_LONG_AUDIO_LOCAT

  • Description : texttospeech.projects.locations.synthesizeLongAudio
  • Visibilité : PUBLIQUE

Paramètres

Nom Catégorie Type Description
IV_P_PROJECTS_ID IMPORTING STRING ProjectsId
IV_P_LOCATIONS_ID IMPORTING STRING Emplacements.ID
IS_INPUT IMPORTING TY_010 SynthesizeLongAudioRequest
ES_RAW EXPORTING DATA Données brutes de sortie
ES_OUTPUT EXPORTING TY_007 Opération
EV_RET_CODE EXPORTING I Code renvoyé
EV_ERR_TEXT EXPORTING STRING Texte de l'erreur
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Réponse d'erreur

Exception

Nom Description
/GOOG/CX_SDK SDK ABAP pour Google Cloud : classe d'exception

SYNTHESIZE_TEXT

  • Description : texttospeech.text.synthesize
  • Visibilité : PUBLIQUE

Paramètres

Nom Catégorie Type Description
IS_INPUT IMPORTING TY_011 SynthesizeSpeechRequest
ES_RAW EXPORTING DATA Données brutes de sortie
ES_OUTPUT EXPORTING TY_012 SynthesizeSpeechResponse
EV_RET_CODE EXPORTING I Code renvoyé
EV_ERR_TEXT EXPORTING STRING Texte de l'erreur
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Réponse d'erreur

Exception

Nom Description
/GOOG/CX_SDK SDK ABAP pour Google Cloud : classe d'exception

FERMER

  • Description : Fermer la connexion
  • Visibilité : PUBLIQUE