Class /GOOG/CL_TRANSLATION_V3

Class


 /GOOG/CL_TRANSLATION_V3
 
  • Inheriting from: /GOOG/CL_HTTP_CLIENT
  • Description: Cloud Translation API v3
For general information about a class in ABAP SDK for Google Cloud, see API client stub.

Types

Type Description Visibility
TY_001 BatchDocumentInputConfig PUBLIC
TY_002 BatchDocumentOutputConfig PUBLIC
TY_003 BatchTranslateDocumentRequest PUBLIC
TY_004 BatchTranslateTextRequest PUBLIC
TY_006 Dataset PUBLIC
TY_007 DatasetInputConfig PUBLIC
TY_008 DatasetOutputConfig PUBLIC
TY_009 DetectLanguageRequest PUBLIC
TY_010 DetectLanguageResponse PUBLIC
TY_011 DetectedLanguage PUBLIC
TY_012 DocumentInputConfig PUBLIC
TY_013 DocumentOutputConfig PUBLIC
TY_014 DocumentTranslation PUBLIC
TY_016 Example PUBLIC
TY_017 ExportDataRequest PUBLIC
TY_018 GcsDestination PUBLIC
TY_019 GcsInputSource PUBLIC
TY_020 GcsOutputDestination PUBLIC
TY_021 GcsSource PUBLIC
TY_022 Glossary PUBLIC
TY_023 GlossaryEntry PUBLIC
TY_024 GlossaryInputConfig PUBLIC
TY_025 GlossaryTerm PUBLIC
TY_026 GlossaryTermsPair PUBLIC
TY_027 GlossaryTermsSet PUBLIC
TY_028 ImportDataRequest PUBLIC
TY_029 InputConfig PUBLIC
TY_030 InputFile PUBLIC
TY_031 LanguageCodePair PUBLIC
TY_032 LanguageCodesSet PUBLIC
TY_033 ListDatasetsResponse PUBLIC
TY_034 ListExamplesResponse PUBLIC
TY_035 ListGlossariesResponse PUBLIC
TY_036 ListGlossaryEntriesResponse PUBLIC
TY_037 ListLocationsResponse PUBLIC
TY_038 ListModelsResponse PUBLIC
TY_039 ListOperationsResponse PUBLIC
TY_040 Location PUBLIC
TY_041 Model PUBLIC
TY_042 Operation PUBLIC
TY_043 OutputConfig PUBLIC
TY_044 Status PUBLIC
TY_045 SupportedLanguage PUBLIC
TY_046 SupportedLanguages PUBLIC
TY_047 TranslateDocumentRequest PUBLIC
TY_048 TranslateDocumentResponse PUBLIC
TY_049 TranslateTextGlossaryConfig PUBLIC
TY_050 TranslateTextRequest PUBLIC
TY_051 TranslateTextResponse PUBLIC
TY_052 Translation PUBLIC
TY_053 WaitOperationRequest PUBLIC
TY_054 Romanization PUBLIC
TY_055 RomanizeTextRequest PUBLIC
TY_056 RomanizeTextResponse PUBLIC
TY_057 TransliterationConfig PUBLIC
TY_058 AdaptiveMtDataset PUBLIC
TY_059 AdaptiveMtFile PUBLIC
TY_060 AdaptiveMtSentence PUBLIC
TY_061 AdaptiveMtTranslateRequest PUBLIC
TY_062 AdaptiveMtTranslateResponse PUBLIC
TY_063 AdaptiveMtTranslation PUBLIC
TY_064 FileInputSource PUBLIC
TY_065 ImportAdaptiveMtFileRequest PUBLIC
TY_066 ImportAdaptiveMtFileResponse PUBLIC
TY_067 ListAdaptiveMtDatasetsResponse PUBLIC
TY_068 ListAdaptiveMtFilesResponse PUBLIC
TY_069 ListAdaptiveMtSentencesResponse PUBLIC
TY_T_001 BatchDocumentInputConfig PUBLIC
TY_T_006 Dataset PUBLIC
TY_T_011 DetectedLanguage PUBLIC
TY_T_016 Example PUBLIC
TY_T_022 Glossary PUBLIC
TY_T_023 GlossaryEntry PUBLIC
TY_T_025 GlossaryTerm PUBLIC
TY_T_029 InputConfig PUBLIC
TY_T_030 InputFile PUBLIC
TY_T_040 Location PUBLIC
TY_T_041 Model PUBLIC
TY_T_042 Operation PUBLIC
TY_T_045 SupportedLanguage PUBLIC
TY_T_052 Translation PUBLIC
TY_T_054 Romanization PUBLIC
TY_T_058 AdaptiveMtDataset PUBLIC
TY_T_059 AdaptiveMtFile PUBLIC
TY_T_060 AdaptiveMtSentence PUBLIC
TY_T_063 AdaptiveMtTranslation PUBLIC
TY_T_STRING Table of Strings PUBLIC

Constants

Name Type Description Value Visibility
C_SUPPORTED_AUTH /GOOG/SUPP_AUTH Supported Auth Types IJIJWW PUBLIC
C_SERVICE_NAME /GOOG/SERVICE_NAME Google Service Name translate:v3 PUBLIC
C_ROOT_URL STRING API Root URL https://translation.googleapis.com PUBLIC
C_REVISION_DATE DATUM Discovery Document revision Date 20240301 PUBLIC
C_PATH_PREFIX STRING API Path Prefix PUBLIC
C_ON_PREM_VERSION /GOOG/SDK_VERSION Lowest On-premise Version 1.0 PUBLIC
C_CLOUD_VERSION /GOOG/SDK_VERSION Lowest Cloud Version 1.0 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

ADAPTIVE_MT_TRANSLATE_LOCAT

  • Description: translate.projects.locations.adaptiveMtTranslate
  • 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_061 AdaptiveMtTranslateRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_062 AdaptiveMtTranslateResponse
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

BATCH_TRANSLATE_DOCUMENT_LO

  • Description: translate.projects.locations.batchTranslateDocument
  • 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_003 BatchTranslateDocumentRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_042 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

BATCH_TRANSLATE_TEXT_LOCATI

  • Description: translate.projects.locations.batchTranslateText
  • 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_004 BatchTranslateTextRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_042 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

CANCEL_OPERATIONS

  • Description: translate.projects.locations.operations.cancel
  • 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
IS_INPUT IMPORTING DATA Input Data
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING 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

CREATE_ADAPTIVE_MT_DATASETS

  • Description: translate.projects.locations.adaptiveMtDatasets.create
  • 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_058 AdaptiveMtDataset
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_058 AdaptiveMtDataset
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

CREATE_DATASETS

  • Description: translate.projects.locations.datasets.create
  • 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_006 Dataset
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_042 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

CREATE_GLOSSARIES

  • Description: translate.projects.locations.glossaries.create
  • 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_022 Glossary
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_042 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

CREATE_GLOSSARY_ENTRIES

  • Description: projects.locations.glossaries.glossaryEntries.create
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_GLOSSARIES_ID IMPORTING STRING glossariesId
IS_INPUT IMPORTING TY_023 GlossaryEntry
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_023 GlossaryEntry
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

CREATE_MODELS

  • Description: translate.projects.locations.models.create
  • 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_041 Model
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_042 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

DELETE_ADAPTIVE_MT_DATASETS

  • Description: translate.projects.locations.adaptiveMtDatasets.delete
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_ADAPTIVE_MT_DATASETS_ID IMPORTING STRING adaptiveMtDatasetsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING 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_ADAPTIVE_MT_FILES

  • Description: locations.adaptiveMtDatasets.adaptiveMtFiles.delete
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_ADAPTIVE_MT_DATASETS_ID IMPORTING STRING adaptiveMtDatasetsId
IV_P_ADAPTIVE_MT_FILES_ID IMPORTING STRING adaptiveMtFilesId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING 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_DATASETS

  • Description: translate.projects.locations.datasets.delete
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_DATASETS_ID IMPORTING STRING datasetsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_042 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

DELETE_GLOSSARIES

  • Description: translate.projects.locations.glossaries.delete
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_GLOSSARIES_ID IMPORTING STRING glossariesId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_042 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

DELETE_GLOSSARY_ENTRIES

  • Description: projects.locations.glossaries.glossaryEntries.delete
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_GLOSSARIES_ID IMPORTING STRING glossariesId
IV_P_GLOSSARY_ENTRIES_ID IMPORTING STRING glossaryEntriesId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING 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_MODELS

  • Description: translate.projects.locations.models.delete
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_MODELS_ID IMPORTING STRING modelsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_042 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

DELETE_OPERATIONS

  • Description: translate.projects.locations.operations.delete
  • 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 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

DETECT_LANGUAGE_LOCATIONS

  • Description: translate.projects.locations.detectLanguage
  • 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_009 DetectLanguageRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_010 DetectLanguageResponse
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

DETECT_LANGUAGE_PROJECTS

  • Description: translate.projects.detectLanguage
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IS_INPUT IMPORTING TY_009 DetectLanguageRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_010 DetectLanguageResponse
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

EXPORT_DATA_DATASETS

  • Description: translate.projects.locations.datasets.exportData
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_DATASETS_ID IMPORTING STRING datasetsId
IS_INPUT IMPORTING TY_017 ExportDataRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_042 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

GET_ADAPTIVE_MT_DATASETS

  • Description: translate.projects.locations.adaptiveMtDatasets.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_ADAPTIVE_MT_DATASETS_ID IMPORTING STRING adaptiveMtDatasetsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_058 AdaptiveMtDataset
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_ADAPTIVE_MT_FILES

  • Description: projects.locations.adaptiveMtDatasets.adaptiveMtFiles.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_ADAPTIVE_MT_DATASETS_ID IMPORTING STRING adaptiveMtDatasetsId
IV_P_ADAPTIVE_MT_FILES_ID IMPORTING STRING adaptiveMtFilesId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_059 AdaptiveMtFile
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_DATASETS

  • Description: translate.projects.locations.datasets.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_DATASETS_ID IMPORTING STRING datasetsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_006 Dataset
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_GLOSSARIES

  • Description: translate.projects.locations.glossaries.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_GLOSSARIES_ID IMPORTING STRING glossariesId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_022 Glossary
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_GLOSSARY_ENTRIES

  • Description: translate.projects.locations.glossaries.glossaryEntries.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_GLOSSARIES_ID IMPORTING STRING glossariesId
IV_P_GLOSSARY_ENTRIES_ID IMPORTING STRING glossaryEntriesId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_023 GlossaryEntry
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_LOCATIONS

  • Description: translate.projects.locations.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
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_040 Location
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_MODELS

  • Description: translate.projects.locations.models.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_MODELS_ID IMPORTING STRING modelsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_041 Model
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: translate.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_042 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

GET_SUPPORTED_LANGUAGES_LOC

  • Description: translate.projects.locations.getSupportedLanguages
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_DISPLAYLANGUAGECODE IMPORTING STRING displayLanguageCode
IV_Q_MODEL IMPORTING STRING model
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_046 SupportedLanguages
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_SUPPORTED_LANGUAGES_PRO

  • Description: translate.projects.getSupportedLanguages
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_DISPLAYLANGUAGECODE IMPORTING STRING displayLanguageCode
IV_Q_MODEL IMPORTING STRING model
IV_P_PROJECTS_ID IMPORTING STRING projectsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_046 SupportedLanguages
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

IMPORT_ADAPTIVE_MT_FILE_ADA

  • Description: projects.locations.adaptiveMtDatasets.importAdaptiveMtFile
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_ADAPTIVE_MT_DATASETS_ID IMPORTING STRING adaptiveMtDatasetsId
IS_INPUT IMPORTING TY_065 ImportAdaptiveMtFileRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_066 ImportAdaptiveMtFileResponse
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

IMPORT_DATA_DATASETS

  • Description: translate.projects.locations.datasets.importData
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_DATASETS_ID IMPORTING STRING datasetsId
IS_INPUT IMPORTING TY_028 ImportDataRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_042 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_ADAPTIVE_MT_DATASETS

  • Description: translate.projects.locations.adaptiveMtDatasets.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_067 ListAdaptiveMtDatasetsResponse
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_ADAPTIVE_MT_FILES

  • Description: projects.locations.adaptiveMtDatasets.adaptiveMtFiles.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
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
IV_P_ADAPTIVE_MT_DATASETS_ID IMPORTING STRING adaptiveMtDatasetsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_068 ListAdaptiveMtFilesResponse
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_ADAPTIVE_MT_SENTENCES

  • Description: adaptiveMtDatasets.adaptiveMtFiles.adaptiveMtSentences.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
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
IV_P_ADAPTIVE_MT_DATASETS_ID IMPORTING STRING adaptiveMtDatasetsId
IV_P_ADAPTIVE_MT_FILES_ID IMPORTING STRING adaptiveMtFilesId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_069 ListAdaptiveMtSentencesResponse
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_ADAPTIVE_MT_SENTENCES1

  • Description: locations.adaptiveMtDatasets.adaptiveMtSentences.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
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
IV_P_ADAPTIVE_MT_DATASETS_ID IMPORTING STRING adaptiveMtDatasetsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_069 ListAdaptiveMtSentencesResponse
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_DATASETS

  • Description: translate.projects.locations.datasets.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
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_033 ListDatasetsResponse
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_EXAMPLES

  • Description: translate.projects.locations.datasets.examples.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
IV_P_DATASETS_ID IMPORTING STRING datasetsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_034 ListExamplesResponse
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_GLOSSARIES

  • Description: translate.projects.locations.glossaries.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_035 ListGlossariesResponse
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_GLOSSARY_ENTRIES

  • Description: projects.locations.glossaries.glossaryEntries.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
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
IV_P_GLOSSARIES_ID IMPORTING STRING glossariesId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_036 ListGlossaryEntriesResponse
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_LOCATIONS

  • Description: translate.projects.locations.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
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_037 ListLocationsResponse
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_MODELS

  • Description: translate.projects.locations.models.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_038 ListModelsResponse
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: translate.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_039 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

PATCH_GLOSSARIES

  • Description: translate.projects.locations.glossaries.patch
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_UPDATEMASK IMPORTING STRING updateMask
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_GLOSSARIES_ID IMPORTING STRING glossariesId
IS_INPUT IMPORTING TY_022 Glossary
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_042 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

PATCH_GLOSSARY_ENTRIES

  • Description: projects.locations.glossaries.glossaryEntries.patch
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_GLOSSARIES_ID IMPORTING STRING glossariesId
IV_P_GLOSSARY_ENTRIES_ID IMPORTING STRING glossaryEntriesId
IS_INPUT IMPORTING TY_023 GlossaryEntry
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_023 GlossaryEntry
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

ROMANIZE_TEXT_LOCATIONS

  • Description: translate.projects.locations.romanizeText
  • 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_055 RomanizeTextRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_056 RomanizeTextResponse
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

ROMANIZE_TEXT_PROJECTS

  • Description: translate.projects.romanizeText
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IS_INPUT IMPORTING TY_055 RomanizeTextRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_056 RomanizeTextResponse
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

TRANSLATE_DOCUMENT_LOCATION

  • Description: translate.projects.locations.translateDocument
  • 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_047 TranslateDocumentRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_048 TranslateDocumentResponse
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

TRANSLATE_TEXT_LOCATIONS

  • Description: translate.projects.locations.translateText
  • 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_050 TranslateTextRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_051 TranslateTextResponse
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

TRANSLATE_TEXT_PROJECTS

  • Description: translate.projects.translateText
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IS_INPUT IMPORTING TY_050 TranslateTextRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_051 TranslateTextResponse
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

WAIT_OPERATIONS

  • Description: translate.projects.locations.operations.wait
  • 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
IS_INPUT IMPORTING TY_053 WaitOperationRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_042 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

CLOSE

  • Description: Close Connection
  • Visibility: PUBLIC