Cloud Build API (cloudbuild:v1)

2022-01-08

10 new methods

Additions

    Methods
  • cloudbuild.projects.locations.bitbucketServerConfigs.patch

      Parameter Order : name

      Parameters :

        name

          Type : string

          Description : The resource name for the config.

          Required : Yes

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

          Location : path

        updateMask

          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.

          Type : string

          Location : query

          Format : google-fieldmask

      HTTP Method : PATCH

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

      Path : v1/{+name}

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

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

  • cloudbuild.projects.locations.bitbucketServerConfigs.list

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

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

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

      Path : v1/{+parent}/bitbucketServerConfigs

      HTTP Method : GET

      Parameter Order : parent

      Parameters :

        parent

          Description : Required. Name of the parent resource.

          Type : string

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

          Required : Yes

          Location : path

        pageSize

          Location : query

          Format : int32

          Type : integer

          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.

        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

  • cloudbuild.projects.locations.bitbucketServerConfigs.addBitbucketServerConnectedRepository

      Path : v1/{+config}:addBitbucketServerConnectedRepository

      Parameters :

        config

          Location : path

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

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

          Required : Yes

          Type : string

      Parameter Order : config

      HTTP Method : POST

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

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

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

  • cloudbuild.projects.locations.bitbucketServerConfigs.delete

      Parameter Order : name

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

      Parameters :

        name

          Type : string

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

          Required : Yes

          Location : path

          Description : Required. The config resource name.

      Path : v1/{+name}

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

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

      HTTP Method : DELETE

  • cloudbuild.projects.locations.bitbucketServerConfigs.create

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

      HTTP Method : POST

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

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

      Parameter Order : parent

      Path : v1/{+parent}/bitbucketServerConfigs

      Parameters :

        bitbucketServerConfigId

          Location : query

          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.

          Type : string

        parent

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

          Location : path

          Description : Required. Name of the parent resource.

          Required : Yes

          Type : string

  • cloudbuild.projects.locations.bitbucketServerConfigs.removeBitbucketServerConnectedRepository

      Parameter Order : config

      Path : v1/{+config}:removeBitbucketServerConnectedRepository

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

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

      HTTP Method : POST

      Parameters :

        config

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

          Type : string

          Required : Yes

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

          Location : path

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

  • cloudbuild.projects.locations.bitbucketServerConfigs.get

      Parameters :

        name

          Description : Required. The config resource name.

          Type : string

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

          Required : Yes

          Location : path

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

      Parameter Order : name

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

      HTTP Method : GET

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

      Path : v1/{+name}

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

      Parameter Order : parent

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

      HTTP Method : GET

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

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

      Path : v1/{+parent}/repos

      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

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

          Description : Required. Name of the parent resource.

          Required : Yes

          Type : string

          Location : path

        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.

          Format : int32

          Type : integer

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

      Description : Batch connecting Bitbucket Server repositories to Cloud Build.

      Parameter Order : parent

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

      Parameters :

        parent

          Location : path

          Required : Yes

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

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

          Type : string

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

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

      HTTP Method : POST

  • cloudbuild.locations.regionalWebhook

      HTTP Method : POST

      Parameter Order : location

      Parameters :

        webhookKey

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

          Location : query

          Type : string

        location

          Location : path

          Required : Yes

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

          Type : string

          Pattern : ^locations/[^/]+$

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

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

      Path : v1/{+location}/regionalWebhook