Class /GOOG/CL_OSLOGIN_V1ALPHA

Class

/GOOG/CL_OSLOGIN_V1ALPHA
  • Inheriting from:/GOOG/CL_HTTP_CLIENT
  • Description:Cloud OS Login API v1alpha
For general information about a class in ABAP SDK for Google Cloud, see API client stub.

Types

Type Description Visibility
TY_002 ImportSshPublicKeyResponse PUBLIC
TY_003 LoginProfile PUBLIC
TY_004 PosixAccount PUBLIC
TY_005 SecurityKey PUBLIC
TY_006 SignSshPublicKeyRequest PUBLIC
TY_007 SignSshPublicKeyResponse PUBLIC
TY_008 SshPublicKey PUBLIC
TY_009 UniversalTwoFactor PUBLIC
TY_010 WebAuthn PUBLIC
TY_011 ProvisionPosixAccountRequest PUBLIC
TY_T_004 PosixAccount PUBLIC
TY_T_005 SecurityKey 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 oslogin:v1alpha PUBLIC
C_ROOT_URL STRING API Root URL https://oslogin.googleapis.com PUBLIC
C_REVISION_DATE DATUM Discovery Document revision Date 20250209 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

CREATE_SSH_PUBLIC_KEYS

  • Description: oslogin.users.sshPublicKeys.create
  • Visibility: PUBLIC

Parameters

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

  • Description: oslogin.users.projects.delete
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_OPERATINGSYSTEMTYPE IMPORTING STRING operatingSystemType
IV_P_USERS_ID IMPORTING STRING usersId
IV_P_PROJECTS_ID IMPORTING STRING projectsId
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_SSH_PUBLIC_KEYS

  • Description: oslogin.users.sshPublicKeys.delete
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_USERS_ID IMPORTING STRING usersId
IV_P_SSH_PUBLIC_KEYS_ID IMPORTING STRING sshPublicKeysId
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_LOGIN_PROFILE_USERS

  • Description: oslogin.users.getLoginProfile
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_OPERATINGSYSTEMTYPE IMPORTING STRING operatingSystemType
IV_Q_PROJECTID IMPORTING STRING projectId
IV_Q_SYSTEMID IMPORTING STRING systemId
IV_Q_VIEW IMPORTING STRING view
IV_P_USERS_ID IMPORTING STRING usersId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_003 LoginProfile
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_SSH_PUBLIC_KEYS

  • Description: oslogin.users.sshPublicKeys.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_USERS_ID IMPORTING STRING usersId
IV_P_SSH_PUBLIC_KEYS_ID IMPORTING STRING sshPublicKeysId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_008 SshPublicKey
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

IMPORT_SSH_PUBLIC_KEY_USERS

  • Description: oslogin.users.importSshPublicKey
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_PROJECTID IMPORTING STRING projectId
IV_Q_REGIONS IMPORTING STRING regions
IV_Q_VIEW IMPORTING STRING view
IV_P_USERS_ID IMPORTING STRING usersId
IS_INPUT IMPORTING TY_008 SshPublicKey
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_002 ImportSshPublicKeyResponse
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_SSH_PUBLIC_KEYS

  • Description: oslogin.users.sshPublicKeys.patch
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_UPDATEMASK IMPORTING STRING updateMask
IV_P_USERS_ID IMPORTING STRING usersId
IV_P_SSH_PUBLIC_KEYS_ID IMPORTING STRING sshPublicKeysId
IS_INPUT IMPORTING TY_008 SshPublicKey
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_008 SshPublicKey
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

PROVISION_POSIX_ACCOUNT_PRO

  • Description: oslogin.users.projects.provisionPosixAccount
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_USERS_ID IMPORTING STRING usersId
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IS_INPUT IMPORTING TY_011 ProvisionPosixAccountRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_004 PosixAccount
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

SIGN_SSH_PUBLIC_KEY_LOCATIO

  • Description: oslogin.users.projects.locations.signSshPublicKey
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_USERS_ID IMPORTING STRING usersId
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IS_INPUT IMPORTING TY_006 SignSshPublicKeyRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_007 SignSshPublicKeyResponse
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

SIGN_SSH_PUBLIC_KEY_ZONES

  • Description: oslogin.users.projects.zones.signSshPublicKey
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_USERS_ID IMPORTING STRING usersId
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_ZONES_ID IMPORTING STRING zonesId
IS_INPUT IMPORTING TY_006 SignSshPublicKeyRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_007 SignSshPublicKeyResponse
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