Class /GOOG/CL_IAMCREDENTIALS_V1

Class

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

Types

Type Description Visibility
TY_001 GenerateAccessTokenRequest PUBLIC
TY_002 GenerateAccessTokenResponse PUBLIC
TY_003 GenerateIdTokenRequest PUBLIC
TY_004 GenerateIdTokenResponse PUBLIC
TY_005 SignBlobRequest PUBLIC
TY_006 SignBlobResponse PUBLIC
TY_007 SignJwtRequest PUBLIC
TY_008 SignJwtResponse PUBLIC
TY_009 ServiceAccountAllowedLocations PUBLIC
TY_T_STRING Table of Strings PUBLIC

Constants

Name Type Description Value Visibility
C_CLOUD_VERSION /GOOG/SDK_VERSION Lowest Cloud Version PUBLIC
C_ON_PREM_VERSION /GOOG/SDK_VERSION Lowest On-premises Version 1.7 PUBLIC
C_PATH_PREFIX STRING API Path Prefix PUBLIC
C_REVISION_DATE DATUM Discovery Document revision Date 20250227 PUBLIC
C_ROOT_URL STRING API Root URL https://iamcredentials.googleapis.com PUBLIC
C_SERVICE_NAME /GOOG/SERVICE_NAME Google Service Name iamcredentials: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

GENERATE_ACCESS_TOKEN_SERVI

  • Description: iamcredentials.projects.serviceAccounts.generateAccessToken
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_SERVICE_ACCOUNTS_ID IMPORTING STRING serviceAccountsId
IS_INPUT IMPORTING TY_001 GenerateAccessTokenRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_002 GenerateAccessTokenResponse
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

GENERATE_ID_TOKEN_SERVICE_A

  • Description: iamcredentials.projects.serviceAccounts.generateIdToken
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_SERVICE_ACCOUNTS_ID IMPORTING STRING serviceAccountsId
IS_INPUT IMPORTING TY_003 GenerateIdTokenRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_004 GenerateIdTokenResponse
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_ALLOWED_LOCATIONS_SERVI

  • Description: iamcredentials.projects.serviceAccounts.getAllowedLocations
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_SERVICE_ACCOUNTS_ID IMPORTING STRING serviceAccountsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_009 ServiceAccountAllowedLocations
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_BLOB_SERVICE_ACCOUNTS

  • Description: iamcredentials.projects.serviceAccounts.signBlob
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_SERVICE_ACCOUNTS_ID IMPORTING STRING serviceAccountsId
IS_INPUT IMPORTING TY_005 SignBlobRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_006 SignBlobResponse
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_JWT_SERVICE_ACCOUNTS

  • Description: iamcredentials.projects.serviceAccounts.signJwt
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_SERVICE_ACCOUNTS_ID IMPORTING STRING serviceAccountsId
IS_INPUT IMPORTING TY_007 SignJwtRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_008 SignJwtResponse
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