Cloud Build API (cloudbuild:v1)

2022-09-26

8 new methods

Additions

    Methods
  • cloudbuild.projects.locations.gitLabConfigs.connectedRepositories.batchCreate

      Description : Batch connecting GitLab repositories to Cloud Build. This API is experimental.

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/gitLabConfigs/{gitLabConfigsId}/connectedRepositories:batchCreate

      Parameters :

        parent

          Pattern : ^projects/[^/]+/locations/[^/]+/gitLabConfigs/[^/]+$

          Required : Yes

          Description : The name of the `GitLabConfig` that adds connected repositories. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}`

          Type : string

          Location : path

      Path : v1/{+parent}/connectedRepositories:batchCreate

      Parameter Order : parent

      Scopes : https://www.googleapis.com/auth/cloud-platform

      HTTP Method : POST

  • cloudbuild.projects.locations.gitLabConfigs.repos.list

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/gitLabConfigs/{gitLabConfigsId}/repos

      Parameters :

        pageToken

          Location : query

          Type : string

          Description : A page token, received from a previous ListGitLabRepositoriesRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListGitLabRepositoriesRequest` must match the call that provided the page token.

        pageSize

          Location : query

          Type : integer

          Format : int32

          Description : The maximum number of repositories to return. The service may return fewer than this value.

        parent

          Type : string

          Description : Required. Name of the parent resource.

          Location : path

          Required : Yes

          Pattern : ^projects/[^/]+/locations/[^/]+/gitLabConfigs/[^/]+$

      HTTP Method : GET

      Parameter Order : parent

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Path : v1/{+parent}/repos

      Description : List all repositories for a given `GitLabConfig`. This API is experimental

  • cloudbuild.projects.locations.gitLabConfigs.create

      Path : v1/{+parent}/gitLabConfigs

      Parameter Order : parent

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/gitLabConfigs

      Parameters :

        gitlabConfigId

          Type : string

          Location : query

          Description : Optional. The ID to use for the GitLabConfig, which will become the final component of the GitLabConfig’s resource name. gitlab_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character

        parent

          Type : string

          Location : path

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Description : Required. Name of the parent resource.

          Required : Yes

      HTTP Method : POST

      Description : Creates a new `GitLabConfig`. This API is experimental

      Scopes : https://www.googleapis.com/auth/cloud-platform

  • cloudbuild.projects.locations.gitLabConfigs.delete

      HTTP Method : DELETE

      Parameters :

        name

          Required : Yes

          Type : string

          Pattern : ^projects/[^/]+/locations/[^/]+/gitLabConfigs/[^/]+$

          Location : path

          Description : Required. The config resource name.

      Path : v1/{+name}

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/gitLabConfigs/{gitLabConfigsId}

      Description : Delete a `GitLabConfig`. This API is experimental

      Parameter Order : name

      Scopes : https://www.googleapis.com/auth/cloud-platform

  • cloudbuild.projects.locations.gitLabConfigs.removeGitLabConnectedRepository

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : Remove a GitLab repository from a given GitLabConfig's connected repositories. This API is experimental.

      HTTP Method : POST

      Path : v1/{+config}:removeGitLabConnectedRepository

      Parameter Order : config

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/gitLabConfigs/{gitLabConfigsId}:removeGitLabConnectedRepository

      Parameters :

        config

          Description : Required. The name of the `GitLabConfig` to remove a connected repository. Format: `projects/{project}/locations/{location}/gitLabConfigs/{config}`

          Pattern : ^projects/[^/]+/locations/[^/]+/gitLabConfigs/[^/]+$

          Location : path

          Type : string

          Required : Yes

  • cloudbuild.projects.locations.gitLabConfigs.patch

      Parameter Order : name

      Path : v1/{+name}

      Parameters :

        updateMask

          Type : string

          Description : Update mask for the resource. If this is set, the server will only update the fields specified in the field mask. Otherwise, a full update of the mutable resource fields will be performed.

          Format : google-fieldmask

          Location : query

        name

          Description : The resource name for the config.

          Pattern : ^projects/[^/]+/locations/[^/]+/gitLabConfigs/[^/]+$

          Type : string

          Required : Yes

          Location : path

      Description : Updates an existing `GitLabConfig`. This API is experimental

      Scopes : https://www.googleapis.com/auth/cloud-platform

      HTTP Method : PATCH

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/gitLabConfigs/{gitLabConfigsId}

  • cloudbuild.projects.locations.gitLabConfigs.list

      Parameter Order : parent

      Scopes : https://www.googleapis.com/auth/cloud-platform

      HTTP Method : GET

      Path : v1/{+parent}/gitLabConfigs

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/gitLabConfigs

      Parameters :

        pageToken

          Type : string

          Description : A page token, received from a previous ‘ListGitlabConfigsRequest’ call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ‘ListGitlabConfigsRequest’ must match the call that provided the page token.

          Location : query

        pageSize

          Description : The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 50 configs will be returned. The maximum value is 1000;, values above 1000 will be coerced to 1000.

          Format : int32

          Type : integer

          Location : query

        parent

          Required : Yes

          Location : path

          Description : Required. Name of the parent resource

          Type : string

          Pattern : ^projects/[^/]+/locations/[^/]+$

      Description : List all `GitLabConfigs` for a given project. This API is experimental

  • cloudbuild.projects.locations.gitLabConfigs.get

      Path : v1/{+name}

      Parameter Order : name

      Description : Retrieves a `GitLabConfig`. This API is experimental

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Parameters :

        name

          Type : string

          Pattern : ^projects/[^/]+/locations/[^/]+/gitLabConfigs/[^/]+$

          Required : Yes

          Location : path

          Description : Required. The config resource name.

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/gitLabConfigs/{gitLabConfigsId}

      HTTP Method : GET