Send feedback Class /GOOG/CL_LANGUAGE_V1BETA2 Stay organized with collections Save and categorize content based on your preferences. On-premises or any cloud edition v1.12keyboard_arrow_down Class
/GOOG/CL_LANGUAGE_V1BETA2 Inheriting from:/GOOG/CL_HTTP_CLIENT Description:Cloud Natural Language API v1beta2 For general information about a class in ABAP SDK for Google Cloud, see
API client stub .
Types Type Description Visibility TY_001 AnalyzeEntitiesRequest PUBLIC TY_002 AnalyzeEntitiesResponse PUBLIC TY_003 AnalyzeEntitySentimentRequest PUBLIC TY_004 AnalyzeEntitySentimentResponse PUBLIC TY_005 AnalyzeSentimentRequest PUBLIC TY_006 AnalyzeSentimentResponse PUBLIC TY_007 AnalyzeSyntaxRequest PUBLIC TY_008 AnalyzeSyntaxResponse PUBLIC TY_009 AnnotateTextRequest PUBLIC TY_010 AnnotateTextRequestFeatures PUBLIC TY_011 AnnotateTextResponse PUBLIC TY_012 ClassificationCategory PUBLIC TY_013 ClassificationModelOptions PUBLIC TY_015 ClassificationModelOptionsV2Model PUBLIC TY_016 ClassifyTextRequest PUBLIC TY_017 ClassifyTextResponse PUBLIC TY_020 DependencyEdge PUBLIC TY_022 Document PUBLIC TY_023 Entity PUBLIC TY_024 EntityMention PUBLIC TY_027 ModerateTextRequest PUBLIC TY_028 ModerateTextResponse PUBLIC TY_029 PartOfSpeech PUBLIC TY_031 Sentence PUBLIC TY_032 Sentiment PUBLIC TY_033 TextSpan PUBLIC TY_034 Token PUBLIC TY_T_012 ClassificationCategory PUBLIC TY_T_023 Entity PUBLIC TY_T_024 EntityMention PUBLIC TY_T_031 Sentence PUBLIC TY_T_034 Token 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 language:v1beta2 PUBLIC C_ROOT_URL STRING API Root URL https://language.googleapis.com PUBLIC C_REVISION_DATE DATUM Discovery Document revision Date 20250303 PUBLIC C_PATH_PREFIX STRING API Path Prefix PUBLIC C_ON_PREM_VERSION /GOOG/SDK_VERSION Lowest On-premises Version 1.7 PUBLIC C_CLOUD_VERSION /GOOG/SDK_VERSION Lowest Cloud Version 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
ANALYZE_ENTITIES_DOCUMENTS Description: language.documents.analyzeEntities Visibility: PUBLIC Parameters Name Category Type Description IS_INPUT IMPORTING TY_001 AnalyzeEntitiesRequest ES_RAW EXPORTING DATA Raw Output Data ES_OUTPUT EXPORTING TY_002 AnalyzeEntitiesResponse 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
ANALYZE_ENTITY_SENTIMENT_DO Description: language.documents.analyzeEntitySentiment Visibility: PUBLIC Parameters Name Category Type Description IS_INPUT IMPORTING TY_003 AnalyzeEntitySentimentRequest ES_RAW EXPORTING DATA Raw Output Data ES_OUTPUT EXPORTING TY_004 AnalyzeEntitySentimentResponse 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
ANALYZE_SENTIMENT_DOCUMENTS Description: language.documents.analyzeSentiment Visibility: PUBLIC Parameters Name Category Type Description IS_INPUT IMPORTING TY_005 AnalyzeSentimentRequest ES_RAW EXPORTING DATA Raw Output Data ES_OUTPUT EXPORTING TY_006 AnalyzeSentimentResponse 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
ANALYZE_SYNTAX_DOCUMENTS Description: language.documents.analyzeSyntax Visibility: PUBLIC Parameters Name Category Type Description IS_INPUT IMPORTING TY_007 AnalyzeSyntaxRequest ES_RAW EXPORTING DATA Raw Output Data ES_OUTPUT EXPORTING TY_008 AnalyzeSyntaxResponse 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
ANNOTATE_TEXT_DOCUMENTS Description: language.documents.annotateText Visibility: PUBLIC Parameters Name Category Type Description IS_INPUT IMPORTING TY_009 AnnotateTextRequest ES_RAW EXPORTING DATA Raw Output Data ES_OUTPUT EXPORTING TY_011 AnnotateTextResponse 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
CLASSIFY_TEXT_DOCUMENTS Description: language.documents.classifyText Visibility: PUBLIC Parameters Name Category Type Description IS_INPUT IMPORTING TY_016 ClassifyTextRequest ES_RAW EXPORTING DATA Raw Output Data ES_OUTPUT EXPORTING TY_017 ClassifyTextResponse 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
MODERATE_TEXT_DOCUMENTS Description: language.documents.moderateText Visibility: PUBLIC Parameters Name Category Type Description IS_INPUT IMPORTING TY_027 ModerateTextRequest ES_RAW EXPORTING DATA Raw Output Data ES_OUTPUT EXPORTING TY_028 ModerateTextResponse 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 2025-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 2025-12-19 UTC."],[],[]]