Class /GOOG/CL_DISCOVERY_V1

Class


 /GOOG/CL_DISCOVERY_V1
 
  • Inheriting from: /GOOG/CL_HTTP_CLIENT
  • Description: API Discovery Service v1
For general information about a class in ABAP SDK for Google Cloud, see API client stub.

Types

Type Description Visibility
TY_001 DirectoryList PUBLIC
TY_002 JsonSchema PUBLIC
TY_003 RestDescription PUBLIC
TY_004 RestMethod PUBLIC
TY_005 RestResource PUBLIC
TY_006 Oauth2 PUBLIC
TY_007 Auth PUBLIC
TY_008 Icons PUBLIC
TY_009 Icons PUBLIC
TY_010 Items PUBLIC
TY_011 Endpoints PUBLIC
TY_012 Resumable PUBLIC
TY_013 Simple PUBLIC
TY_014 Protocols PUBLIC
TY_015 MediaUpload PUBLIC
TY_018 Annotations PUBLIC
TY_021 Map PUBLIC
TY_022 Variant PUBLIC
TY_023 Request PUBLIC
TY_024 Response PUBLIC
TY_T_010 Items PUBLIC
TY_T_011 Endpoints PUBLIC
TY_T_021 Map PUBLIC
TY_T_STRING Table of Strings PUBLIC
TY_T_ABAP_BOOL 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-premise Version 1.0 PUBLIC
C_PATH_PREFIX STRING API Path Prefix /discovery/v1/ PUBLIC
C_REVISION_DATE DATUM Discovery Document revision Date 20200806 PUBLIC
C_ROOT_URL STRING API Root URL https://www.googleapis.com PUBLIC
C_SERVICE_NAME /GOOG/SERVICE_NAME Google Service Name discovery: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

GET_REST_APIS

  • Description: discovery.apis.getRest
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_API IMPORTING STRING api
IV_P_VERSION IMPORTING STRING version
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_003 RestDescription
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_APIS

  • Description: discovery.apis.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_NAME IMPORTING STRING name
IV_Q_PREFERRED IMPORTING STRING preferred
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_001 DirectoryList
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