Classe /goog/CL_TRANSLATION_V2

Classe


 /GOOG/CL_TRANSLATION_V2
 
  • Ereditarietà da: /GOOG/CL_HTTP_CLIENT
  • Descrizione: Google Cloud Translation API v2
Per informazioni generali su una classe nell'SDK ABAP per Google Cloud, consulta stub del client API.

Tipi

Tipo Descrizione Visibilità
TY_001 DetectLanguageRequest PUBBLICO
TY_002 DetectionsListResponse PUBBLICO
TY_003 DetectionsResource PUBBLICO
TY_004 LanguagesListResponse PUBBLICO
TY_005 LanguagesResource PUBBLICO
TY_006 TranslateTextRequest PUBBLICO
TY_007 TranslationsListResponse PUBBLICO
TY_008 TranslationsResource PUBBLICO
TY_T_003 DetectionsResource PUBBLICO
TY_T_005 LanguagesResource PUBBLICO
TY_T_008 TranslationsResource PUBBLICO
TY_T_T_003 DetectionsResource PUBBLICO
TY_T_STRING Table of Strings PUBBLICO
TY_LANGUAGES Languages PUBBLICO
TY_DETECTIONS Detections PUBBLICO
TY_TRANSLATIONS Translations PUBBLICO

Costanti

Nome Tipo Descrizione Valore Visibilità
C_SERVICE_NAME /GOOG/SERVICE_NAME Nome servizio Google traduci:v2 PUBBLICO
C_ROOT_URL STRING URL radice dell'API https://translation.googleapis.com PUBBLICO
C_REVISION_DATE DATUM Data di revisione del documento discovery 20170525 PUBBLICO
C_PATH_PREFIX STRING Prefisso percorso API /language/translate/ PUBBLICO
C_ON_PREM_VERSION /GOOG/SDK_VERSION Versione on-premise più bassa 1,0 PUBBLICO
C_CLOUD_VERSION /GOOG/SDK_VERSION Versione cloud più bassa 1,0 PUBBLICO
C_SUPPORTED_AUTH /GOOG/SUPP_AUTH Tipi di autenticazione supportati AAIJAW PUBBLICO

Metodi

Per informazioni generali su un metodo nell'SDK ABAP per Google Cloud, consulta Metodo API.

COSTRUTTORE

  • Descrizione: Costruttore
  • Visibilità: PUBLIC

Parametri

Nome Categoria Tipo Descrizione
IV_KEY_NAME IMPORTAZIONE IN CORSO... /GOOG/KEYNAME Nome chiave Google Cloud
IV_LOG_OBJ IMPORTAZIONE IN CORSO... BALOBJ_D Log applicazione: Nome oggetto (codice applicazione)
IV_LOG_SUBOBJ IMPORTAZIONE IN CORSO... BALSUBOBJ Log applicazioni: oggetto secondario

Eccezione

Nome Descrizione
/GOOG/CX_SDK SDK ABAP per Google Cloud: classe delle eccezioni

DETECT_DETECTIONS

  • Descrizione: language.detections.detect
  • Visibilità: PUBLIC

Parametri

Nome Categoria Tipo Descrizione
IS_INPUT IMPORTAZIONE IN CORSO... TY_001 DetectLanguageRequest
ES_RAW ESPORTAZIONE DATA Dati di output non elaborati
ES_OUTPUT ESPORTAZIONE TY_002 DetectionsListResponse
EV_RET_CODE ESPORTAZIONE I Codice di reso
EV_ERR_TEXT ESPORTAZIONE STRING Testo errore
ES_ERR_RESP ESPORTAZIONE /GOOG/ERR_RESP Risposta di errore

Eccezione

Nome Descrizione
/GOOG/CX_SDK SDK ABAP per Google Cloud: classe delle eccezioni

LIST_LANGUAGES

  • Descrizione: language.languages.list
  • Visibilità: PUBLIC

Parametri

Nome Categoria Tipo Descrizione
IV_Q_MODEL IMPORTAZIONE IN CORSO... STRING model
IV_Q_TARGET IMPORTAZIONE IN CORSO... STRING destinazione
ES_RAW ESPORTAZIONE DATA Dati di output non elaborati
ES_OUTPUT ESPORTAZIONE TY_004 LanguagesListResponse
EV_RET_CODE ESPORTAZIONE I Codice di reso
EV_ERR_TEXT ESPORTAZIONE STRING Testo errore
ES_ERR_RESP ESPORTAZIONE /GOOG/ERR_RESP Risposta di errore

Eccezione

Nome Descrizione
/GOOG/CX_SDK SDK ABAP per Google Cloud: classe delle eccezioni

TRANSLATE_TRANSLATIONS

  • Descrizione: language.translations.translate
  • Visibilità: PUBLIC

Parametri

Nome Categoria Tipo Descrizione
IS_INPUT IMPORTAZIONE IN CORSO... TY_006 TranslateTextRequest
ES_RAW ESPORTAZIONE DATA Dati di output non elaborati
ES_OUTPUT ESPORTAZIONE TY_007 TranslationsListResponse
EV_RET_CODE ESPORTAZIONE I Codice di reso
EV_ERR_TEXT ESPORTAZIONE STRING Testo errore
ES_ERR_RESP ESPORTAZIONE /GOOG/ERR_RESP Risposta di errore

Eccezione

Nome Descrizione
/GOOG/CX_SDK SDK ABAP per Google Cloud: classe delle eccezioni

CHIUDI

  • Descrizione: Chiudi connessione
  • Visibilità: PUBLIC