Class /GOOG/CL_CLOUDTRACE_V2

Class

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

Types

Type Description Visibility
TY_001 Annotation PUBLIC
TY_002 AttributeValue PUBLIC
TY_003 Attributes PUBLIC
TY_004 BatchWriteSpansRequest PUBLIC
TY_006 Link PUBLIC
TY_007 Links PUBLIC
TY_008 MessageEvent PUBLIC
TY_009 Module PUBLIC
TY_010 Span PUBLIC
TY_011 StackFrame PUBLIC
TY_012 StackFrames PUBLIC
TY_013 StackTrace PUBLIC
TY_014 Status PUBLIC
TY_015 TimeEvent PUBLIC
TY_016 TimeEvents PUBLIC
TY_017 TruncatableString PUBLIC
TY_T_006 Link PUBLIC
TY_T_010 Span PUBLIC
TY_T_011 StackFrame PUBLIC
TY_T_015 TimeEvent PUBLIC

Constants

Name Type Description Value Visibility
C_REVISION_DATE DATUM Discovery Document revision Date 20240823 PUBLIC
C_SERVICE_NAME /GOOG/SERVICE_NAME Google Service Name cloudtrace:v2 PUBLIC
C_ROOT_URL STRING API Root URL https://cloudtrace.googleapis.com PUBLIC
C_PATH_PREFIX STRING API Path Prefix PUBLIC
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_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

BATCH_WRITE_TRACES

  • Description: cloudtrace.projects.traces.batchWrite
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IS_INPUT IMPORTING TY_004 BatchWriteSpansRequest
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

CREATE_SPAN_SPANS

  • Description: cloudtrace.projects.traces.spans.createSpan
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_TRACES_ID IMPORTING STRING tracesId
IV_P_SPANS_ID IMPORTING STRING spansId
IS_INPUT IMPORTING TY_010 Span
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_010 Span
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