Cloud Build API (cloudbuild:v1)

2022-01-14

10 new methods

Additions

    Methods
  • cloudbuild.locations.regionalWebhook

      HTTP Method : POST

      Parameters :

        webhookKey

          Type : string

          Description : For GitHub Enterprise webhooks, this key is used to associate the webhook request with the GitHubEnterpriseConfig to use for validation.

          Location : query

        location

          Pattern : ^locations/[^/]+$

          Type : string

          Required : Yes

          Location : path

          Description : Required. The location where the webhook should be sent.

      Description : ReceiveRegionalWebhook is called when the API receives a regional GitHub webhook.

      Path : v1/{+location}/regionalWebhook

      Flat Path : v1/locations/{locationsId}/regionalWebhook

      Parameter Order : location

  • cloudbuild.projects.locations.bitbucketServerConfigs.connectedRepositories.batchCreate

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/bitbucketServerConfigs/{bitbucketServerConfigsId}/connectedRepositories:batchCreate

      Parameter Order : parent

      Parameters :

        parent

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

          Description : The name of the `BitbucketServerConfig` that added connected repository. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}`

          Location : path

          Type : string

          Required : Yes

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

      HTTP Method : POST

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

      Description : Batch connecting Bitbucket Server repositories to Cloud Build.

  • cloudbuild.projects.locations.bitbucketServerConfigs.repos.list

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/bitbucketServerConfigs/{bitbucketServerConfigsId}/repos

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

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

      Parameter Order : parent

      Parameters :

        pageToken

          Location : query

          Type : string

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

        parent

          Location : path

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

          Type : string

          Description : Required. Name of the parent resource.

          Required : Yes

        pageSize

          Location : query

          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.

          Type : integer

          Format : int32

      Path : v1/{+parent}/repos

      HTTP Method : GET

  • cloudbuild.projects.locations.bitbucketServerConfigs.get

      Parameter Order : name

      HTTP Method : GET

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/bitbucketServerConfigs/{bitbucketServerConfigsId}

      Description : Retrieve a `BitbucketServerConfig`. This API is experimental.

      Parameters :

        name

          Required : Yes

          Location : path

          Type : string

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

          Description : Required. The config resource name.

      Path : v1/{+name}

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

  • cloudbuild.projects.locations.bitbucketServerConfigs.patch

      Parameters :

        name

          Type : string

          Required : Yes

          Description : The resource name for the config.

          Location : path

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

        updateMask

          Format : google-fieldmask

          Type : string

          Location : query

          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.

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/bitbucketServerConfigs/{bitbucketServerConfigsId}

      Parameter Order : name

      Path : v1/{+name}

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

      HTTP Method : PATCH

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

  • cloudbuild.projects.locations.bitbucketServerConfigs.list

      Parameters :

        pageToken

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

          Type : string

          Location : query

        parent

          Required : Yes

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

          Description : Required. Name of the parent resource.

          Location : path

          Type : string

        pageSize

          Type : integer

          Format : int32

          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.

          Location : query

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

      HTTP Method : GET

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

      Path : v1/{+parent}/bitbucketServerConfigs

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

      Parameter Order : parent

  • cloudbuild.projects.locations.bitbucketServerConfigs.delete

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

      Parameters :

        name

          Type : string

          Location : path

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

          Description : Required. The config resource name.

          Required : Yes

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

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/bitbucketServerConfigs/{bitbucketServerConfigsId}

      Parameter Order : name

      HTTP Method : DELETE

      Path : v1/{+name}

  • cloudbuild.projects.locations.bitbucketServerConfigs.addBitbucketServerConnectedRepository

      Description : Add a Bitbucket Server repository to a given BitbucketServerConfig's connected repositories. This API is experimental.

      HTTP Method : POST

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

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/bitbucketServerConfigs/{bitbucketServerConfigsId}:addBitbucketServerConnectedRepository

      Parameters :

        config

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

          Location : path

          Required : Yes

          Type : string

          Description : Required. The name of the `BitbucketServerConfig` to add a connected repository. Format: `projects/{project}/locations/{location}/bitbucketServerConfigs/{config}`

      Path : v1/{+config}:addBitbucketServerConnectedRepository

      Parameter Order : config

  • cloudbuild.projects.locations.bitbucketServerConfigs.create

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

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

      HTTP Method : POST

      Path : v1/{+parent}/bitbucketServerConfigs

      Parameters :

        parent

          Location : path

          Required : Yes

          Type : string

          Description : Required. Name of the parent resource.

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

        bitbucketServerConfigId

          Location : query

          Type : string

          Description : Optional. The ID to use for the BitbucketServerConfig, which will become the final component of the BitbucketServerConfig's resource name. bitbucket_server_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.

      Parameter Order : parent

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

  • cloudbuild.projects.locations.bitbucketServerConfigs.removeBitbucketServerConnectedRepository

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/bitbucketServerConfigs/{bitbucketServerConfigsId}:removeBitbucketServerConnectedRepository

      Parameter Order : config

      Parameters :

        config

          Type : string

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

          Location : path

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

          Required : Yes

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

      Path : v1/{+config}:removeBitbucketServerConnectedRepository

      HTTP Method : POST

      Description : Remove a Bitbucket Server repository from an given BitbucketServerConfig’s connected repositories. This API is experimental.