Class /GOOG/CL_CLOUDSHELL_V1

Class

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

Types

Type Description Visibility
TY_001 AddPublicKeyRequest PUBLIC
TY_002 AuthorizeEnvironmentRequest PUBLIC
TY_005 Environment PUBLIC
TY_006 ListOperationsResponse PUBLIC
TY_007 Operation PUBLIC
TY_008 RemovePublicKeyRequest PUBLIC
TY_009 StartEnvironmentRequest PUBLIC
TY_010 Status PUBLIC
TY_T_007 Operation 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 cloudshell:v1 PUBLIC
C_ROOT_URL STRING API Root URL https://cloudshell.googleapis.com PUBLIC
C_REVISION_DATE DATUM Discovery Document revision Date 20250225 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

ADD_PUBLIC_KEY_ENVIRONMENTS

  • Description: cloudshell.users.environments.addPublicKey
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_USERS_ID IMPORTING STRING usersId
IV_P_ENVIRONMENTS_ID IMPORTING STRING environmentsId
IS_INPUT IMPORTING TY_001 AddPublicKeyRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_007 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

AUTHORIZE_ENVIRONMENTS

  • Description: cloudshell.users.environments.authorize
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_USERS_ID IMPORTING STRING usersId
IV_P_ENVIRONMENTS_ID IMPORTING STRING environmentsId
IS_INPUT IMPORTING TY_002 AuthorizeEnvironmentRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_007 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: cloudshell.operations.cancel
  • Visibility: PUBLIC

Parameters

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

DELETE_OPERATIONS

  • Description: cloudshell.operations.delete
  • Visibility: PUBLIC

Parameters

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

GET_ENVIRONMENTS

  • Description: cloudshell.users.environments.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_USERS_ID IMPORTING STRING usersId
IV_P_ENVIRONMENTS_ID IMPORTING STRING environmentsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_005 Environment
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: cloudshell.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_007 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_OPERATIONS

  • Description: cloudshell.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
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_006 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

REMOVE_PUBLIC_KEY_ENVIRONME

  • Description: cloudshell.users.environments.removePublicKey
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_USERS_ID IMPORTING STRING usersId
IV_P_ENVIRONMENTS_ID IMPORTING STRING environmentsId
IS_INPUT IMPORTING TY_008 RemovePublicKeyRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_007 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

START_ENVIRONMENTS

  • Description: cloudshell.users.environments.start
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_USERS_ID IMPORTING STRING usersId
IV_P_ENVIRONMENTS_ID IMPORTING STRING environmentsId
IS_INPUT IMPORTING TY_009 StartEnvironmentRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_007 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