Send feedback
Class /GOOG/CL_SPEECH_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_SPEECH_V1
Inheriting from:/GOOG/CL_HTTP_CLIENT
Description:Cloud Speech-to-Text API v1
For general information about a class in ABAP SDK for Google Cloud,
see
API client stub .
Types
Type
Description
Visibility
TY_001
ABNFGrammar
PUBLIC
TY_002
ClassItem
PUBLIC
TY_003
CreateCustomClassRequest
PUBLIC
TY_004
CreatePhraseSetRequest
PUBLIC
TY_005
CustomClass
PUBLIC
TY_007
ListCustomClassesResponse
PUBLIC
TY_008
ListOperationsResponse
PUBLIC
TY_009
ListPhraseSetResponse
PUBLIC
TY_010
LongRunningRecognizeRequest
PUBLIC
TY_011
Operation
PUBLIC
TY_012
Phrase
PUBLIC
TY_013
PhraseSet
PUBLIC
TY_014
RecognitionAudio
PUBLIC
TY_015
RecognitionConfig
PUBLIC
TY_016
RecognitionMetadata
PUBLIC
TY_017
RecognizeRequest
PUBLIC
TY_018
RecognizeResponse
PUBLIC
TY_019
SpeakerDiarizationConfig
PUBLIC
TY_020
SpeechAdaptation
PUBLIC
TY_021
SpeechAdaptationInfo
PUBLIC
TY_022
SpeechContext
PUBLIC
TY_023
SpeechRecognitionAlternative
PUBLIC
TY_024
SpeechRecognitionResult
PUBLIC
TY_025
Status
PUBLIC
TY_026
TranscriptOutputConfig
PUBLIC
TY_027
WordInfo
PUBLIC
TY_028
Entry
PUBLIC
TY_029
TranscriptNormalization
PUBLIC
TY_T_002
ClassItem
PUBLIC
TY_T_005
CustomClass
PUBLIC
TY_T_011
Operation
PUBLIC
TY_T_012
Phrase
PUBLIC
TY_T_013
PhraseSet
PUBLIC
TY_T_022
SpeechContext
PUBLIC
TY_T_023
SpeechRecognitionAlternative
PUBLIC
TY_T_024
SpeechRecognitionResult
PUBLIC
TY_T_027
WordInfo
PUBLIC
TY_T_028
Entry
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
20240827
PUBLIC
C_ROOT_URL
STRING
API Root URL
https://speech.googleapis.com
PUBLIC
C_SERVICE_NAME
/GOOG/SERVICE_NAME
Google Service Name
speech: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
CREATE_CUSTOM_CLASSES
Description: speech.projects.locations.customClasses.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_003
CreateCustomClassRequest
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_005
CustomClass
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_PHRASE_SETS
Description: speech.projects.locations.phraseSets.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_004
CreatePhraseSetRequest
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_013
PhraseSet
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_CUSTOM_CLASSES
Description: speech.projects.locations.customClasses.delete
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_LOCATIONS_ID
IMPORTING
STRING
locationsId
IV_P_CUSTOM_CLASSES_ID
IMPORTING
STRING
customClassesId
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_PHRASE_SETS
Description: speech.projects.locations.phraseSets.delete
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_LOCATIONS_ID
IMPORTING
STRING
locationsId
IV_P_PHRASE_SETS_ID
IMPORTING
STRING
phraseSetsId
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_CUSTOM_CLASSES
Description: speech.projects.locations.customClasses.get
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_LOCATIONS_ID
IMPORTING
STRING
locationsId
IV_P_CUSTOM_CLASSES_ID
IMPORTING
STRING
customClassesId
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_005
CustomClass
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: speech.operations.get
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_OPERATIONS_ID
IMPORTING
STRING
operationsId
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_011
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_PHRASE_SETS
Description: speech.projects.locations.phraseSets.get
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_P_PROJECTS_ID
IMPORTING
STRING
projectsId
IV_P_LOCATIONS_ID
IMPORTING
STRING
locationsId
IV_P_PHRASE_SETS_ID
IMPORTING
STRING
phraseSetsId
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_013
PhraseSet
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_CUSTOM_CLASSES
Description: speech.projects.locations.customClasses.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_007
ListCustomClassesResponse
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: speech.operations.list
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IV_Q_FILTER
IMPORTING
STRING
filter
IV_Q_NAME
IMPORTING
STRING
name
IV_Q_PAGESIZE
IMPORTING
STRING
pageSize
IV_Q_PAGETOKEN
IMPORTING
STRING
pageToken
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_008
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_PHRASE_SETS
Description: speech.projects.locations.phraseSets.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_009
ListPhraseSetResponse
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
LONGRUNNINGRECOGNIZE_SPEECH
Description: speech.speech.longrunningrecognize
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IS_INPUT
IMPORTING
TY_010
LongRunningRecognizeRequest
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_011
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_CUSTOM_CLASSES
Description: speech.projects.locations.customClasses.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_CUSTOM_CLASSES_ID
IMPORTING
STRING
customClassesId
IS_INPUT
IMPORTING
TY_005
CustomClass
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_005
CustomClass
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_PHRASE_SETS
Description: speech.projects.locations.phraseSets.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_PHRASE_SETS_ID
IMPORTING
STRING
phraseSetsId
IS_INPUT
IMPORTING
TY_013
PhraseSet
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_013
PhraseSet
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
RECOGNIZE_SPEECH
Description: speech.speech.recognize
Visibility: PUBLIC
Parameters
Name
Category
Type
Description
IS_INPUT
IMPORTING
TY_017
RecognizeRequest
ES_RAW
EXPORTING
DATA
Raw Output Data
ES_OUTPUT
EXPORTING
TY_018
RecognizeResponse
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-19 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-19 UTC."],[],[]]