Class /GOOG/CL_SOURCEREPO_V1

Class

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

Types

Type Description Visibility
TY_001 AuditConfig PUBLIC
TY_002 AuditLogConfig PUBLIC
TY_003 Binding PUBLIC
TY_005 Expr PUBLIC
TY_006 ListReposResponse PUBLIC
TY_007 MirrorConfig PUBLIC
TY_008 Operation PUBLIC
TY_009 Policy PUBLIC
TY_010 ProjectConfig PUBLIC
TY_011 PubsubConfig PUBLIC
TY_012 Repo PUBLIC
TY_013 SetIamPolicyRequest PUBLIC
TY_014 Status PUBLIC
TY_016 TestIamPermissionsRequest PUBLIC
TY_017 TestIamPermissionsResponse PUBLIC
TY_018 UpdateProjectConfigRequest PUBLIC
TY_019 UpdateRepoRequest PUBLIC
TY_T_001 AuditConfig PUBLIC
TY_T_002 AuditLogConfig PUBLIC
TY_T_003 Binding PUBLIC
TY_T_012 Repo PUBLIC
TY_T_STRING Table of Strings PUBLIC

Constants

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

CREATE_REPOS

  • Description: sourcerepo.projects.repos.create
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IS_INPUT IMPORTING TY_012 Repo
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_012 Repo
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_REPOS

  • Description: sourcerepo.projects.repos.delete
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_REPOS_ID IMPORTING STRING reposId
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_CONFIG_PROJECTS

  • Description: sourcerepo.projects.getConfig
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_010 ProjectConfig
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_IAM_POLICY_REPOS

  • Description: sourcerepo.projects.repos.getIamPolicy
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_OPTIONSREQUESTEDPOLICYVER IMPORTING STRING options.requestedPolicyVersion
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_REPOS_ID IMPORTING STRING reposId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_009 Policy
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_REPOS

  • Description: sourcerepo.projects.repos.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_REPOS_ID IMPORTING STRING reposId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_012 Repo
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_REPOS

  • Description: sourcerepo.projects.repos.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_PAGESIZE IMPORTING STRING pageSize
IV_Q_PAGETOKEN IMPORTING STRING pageToken
IV_P_PROJECTS_ID IMPORTING STRING projectsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_006 ListReposResponse
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_REPOS

  • Description: sourcerepo.projects.repos.patch
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_REPOS_ID IMPORTING STRING reposId
IS_INPUT IMPORTING TY_019 UpdateRepoRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_012 Repo
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

SET_IAM_POLICY_REPOS

  • Description: sourcerepo.projects.repos.setIamPolicy
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_REPOS_ID IMPORTING STRING reposId
IS_INPUT IMPORTING TY_013 SetIamPolicyRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_009 Policy
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

SYNC_REPOS

  • Description: sourcerepo.projects.repos.sync
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_REPOS_ID IMPORTING STRING reposId
IS_INPUT IMPORTING DATA Input Data
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_008 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

TEST_IAM_PERMISSIONS_REPOS

  • Description: sourcerepo.projects.repos.testIamPermissions
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_REPOS_ID IMPORTING STRING reposId
IS_INPUT IMPORTING TY_016 TestIamPermissionsRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_017 TestIamPermissionsResponse
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

UPDATE_CONFIG_PROJECTS

  • Description: sourcerepo.projects.updateConfig
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IS_INPUT IMPORTING TY_018 UpdateProjectConfigRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_010 ProjectConfig
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