Class /GOOG/CL_CLOUDBUILD_V2

Class

/GOOG/CL_CLOUDBUILD_V2
  • Inheriting from:/GOOG/CL_HTTP_CLIENT
  • Description:Cloud Build API v2
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 BatchCreateRepositoriesRequest PUBLIC
TY_004 Binding PUBLIC
TY_005 BitbucketCloudConfig PUBLIC
TY_006 BitbucketDataCenterConfig PUBLIC
TY_010 Connection PUBLIC
TY_011 CreateRepositoryRequest PUBLIC
TY_017 Expr PUBLIC
TY_018 FetchGitRefsResponse PUBLIC
TY_019 FetchLinkableRepositoriesResponse PUBLIC
TY_021 FetchReadTokenResponse PUBLIC
TY_023 FetchReadWriteTokenResponse PUBLIC
TY_024 GitHubConfig PUBLIC
TY_026 GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig PUBLIC
TY_027 GoogleDevtoolsCloudbuildV2GitLabConfig PUBLIC
TY_028 GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig PUBLIC
TY_029 HttpBody PUBLIC
TY_030 InstallationState PUBLIC
TY_031 ListConnectionsResponse PUBLIC
TY_032 ListLocationsResponse PUBLIC
TY_033 ListRepositoriesResponse PUBLIC
TY_034 Location PUBLIC
TY_035 OAuthCredential PUBLIC
TY_036 Operation PUBLIC
TY_046 Policy PUBLIC
TY_050 Repository PUBLIC
TY_055 SetIamPolicyRequest PUBLIC
TY_058 Status PUBLIC
TY_065 TestIamPermissionsRequest PUBLIC
TY_066 TestIamPermissionsResponse PUBLIC
TY_068 UserCredential PUBLIC
TY_T_001 AuditConfig PUBLIC
TY_T_002 AuditLogConfig PUBLIC
TY_T_004 Binding PUBLIC
TY_T_010 Connection PUBLIC
TY_T_011 CreateRepositoryRequest PUBLIC
TY_T_034 Location PUBLIC
TY_T_050 Repository 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 20250303 PUBLIC
C_ROOT_URL STRING API Root URL https://cloudbuild.googleapis.com PUBLIC
C_SERVICE_NAME /GOOG/SERVICE_NAME Google Service Name cloudbuild:v2 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

ACCESS_READ_TOKEN_REPOSITOR

  • Description: projects.locations.connections.repositories.accessReadToken
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_CONNECTIONS_ID IMPORTING STRING connectionsId
IV_P_REPOSITORIES_ID IMPORTING STRING repositoriesId
IS_INPUT IMPORTING DATA Input Data
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_021 FetchReadTokenResponse
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

ACCESS_READ_WRITE_TOKEN_REP

  • Description: locations.connections.repositories.accessReadWriteToken
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_CONNECTIONS_ID IMPORTING STRING connectionsId
IV_P_REPOSITORIES_ID IMPORTING STRING repositoriesId
IS_INPUT IMPORTING DATA Input Data
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_023 FetchReadWriteTokenResponse
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

BATCH_CREATE_REPOSITORIES

  • Description: projects.locations.connections.repositories.batchCreate
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_CONNECTIONS_ID IMPORTING STRING connectionsId
IS_INPUT IMPORTING TY_003 BatchCreateRepositoriesRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_036 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: cloudbuild.projects.locations.operations.cancel
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
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

CREATE_CONNECTIONS

  • Description: cloudbuild.projects.locations.connections.create
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_CONNECTIONID IMPORTING STRING connectionId
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IS_INPUT IMPORTING TY_010 Connection
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_036 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

CREATE_REPOSITORIES

  • Description: projects.locations.connections.repositories.create
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_REPOSITORYID IMPORTING STRING repositoryId
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_CONNECTIONS_ID IMPORTING STRING connectionsId
IS_INPUT IMPORTING TY_050 Repository
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_036 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

DELETE_CONNECTIONS

  • Description: cloudbuild.projects.locations.connections.delete
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_ETAG IMPORTING STRING etag
IV_Q_VALIDATEONLY IMPORTING STRING validateOnly
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_CONNECTIONS_ID IMPORTING STRING connectionsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_036 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

DELETE_REPOSITORIES

  • Description: projects.locations.connections.repositories.delete
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_ETAG IMPORTING STRING etag
IV_Q_VALIDATEONLY IMPORTING STRING validateOnly
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_CONNECTIONS_ID IMPORTING STRING connectionsId
IV_P_REPOSITORIES_ID IMPORTING STRING repositoriesId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_036 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

FETCH_GIT_REFS_REPOSITORIES

  • Description: projects.locations.connections.repositories.fetchGitRefs
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_PAGESIZE IMPORTING STRING pageSize
IV_Q_PAGETOKEN IMPORTING STRING pageToken
IV_Q_REFTYPE IMPORTING STRING refType
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_CONNECTIONS_ID IMPORTING STRING connectionsId
IV_P_REPOSITORIES_ID IMPORTING STRING repositoriesId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_018 FetchGitRefsResponse
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

FETCH_LINKABLE_REPOSITORIES

  • Description: projects.locations.connections.fetchLinkableRepositories
  • 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
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_CONNECTIONS_ID IMPORTING STRING connectionsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_019 FetchLinkableRepositoriesResponse
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_CONNECTIONS

  • Description: cloudbuild.projects.locations.connections.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_CONNECTIONS_ID IMPORTING STRING connectionsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_010 Connection
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_CONNECTIONS

  • Description: cloudbuild.projects.locations.connections.getIamPolicy
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_OPTIONSREQUESTEDPOLICYVER IMPORTING STRING options.requestedPolicyVersion
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_CONNECTIONS_ID IMPORTING STRING connectionsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_046 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_LOCATIONS

  • Description: cloudbuild.projects.locations.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_034 Location
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: cloudbuild.projects.locations.operations.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_OPERATIONS_ID IMPORTING STRING operationsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_036 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

GET_REPOSITORIES

  • Description: cloudbuild.projects.locations.connections.repositories.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_CONNECTIONS_ID IMPORTING STRING connectionsId
IV_P_REPOSITORIES_ID IMPORTING STRING repositoriesId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_050 Repository
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_CONNECTIONS

  • Description: cloudbuild.projects.locations.connections.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_PAGESIZE IMPORTING STRING pageSize
IV_Q_PAGETOKEN IMPORTING STRING pageToken
IV_Q_RETURNPARTIALSUCCESS IMPORTING STRING returnPartialSuccess
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_031 ListConnectionsResponse
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_LOCATIONS

  • Description: cloudbuild.projects.locations.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
IV_P_PROJECTS_ID IMPORTING STRING projectsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_032 ListLocationsResponse
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_REPOSITORIES

  • Description: cloudbuild.projects.locations.connections.repositories.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
IV_Q_RETURNPARTIALSUCCESS IMPORTING STRING returnPartialSuccess
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_CONNECTIONS_ID IMPORTING STRING connectionsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_033 ListRepositoriesResponse
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_CONNECTIONS

  • Description: cloudbuild.projects.locations.connections.patch
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_ALLOWMISSING IMPORTING STRING allowMissing
IV_Q_ETAG IMPORTING STRING etag
IV_Q_UPDATEMASK IMPORTING STRING updateMask
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_CONNECTIONS_ID IMPORTING STRING connectionsId
IS_INPUT IMPORTING TY_010 Connection
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_036 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

PROCESS_WEBHOOK_CONNECTIONS

  • Description: cloudbuild.projects.locations.connections.processWebhook
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_WEBHOOKKEY IMPORTING STRING webhookKey
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IS_INPUT IMPORTING TY_029 HttpBody
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

SET_IAM_POLICY_CONNECTIONS

  • Description: cloudbuild.projects.locations.connections.setIamPolicy
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_CONNECTIONS_ID IMPORTING STRING connectionsId
IS_INPUT IMPORTING TY_055 SetIamPolicyRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_046 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

TEST_IAM_PERMISSIONS_CONNEC

  • Description: projects.locations.connections.testIamPermissions
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PROJECTS_ID IMPORTING STRING projectsId
IV_P_LOCATIONS_ID IMPORTING STRING locationsId
IV_P_CONNECTIONS_ID IMPORTING STRING connectionsId
IS_INPUT IMPORTING TY_065 TestIamPermissionsRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_066 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

CLOSE

  • Description: Close Connection
  • Visibility: PUBLIC