Cloud Build API . projects . locations . bitbucketServerConfigs . repos

Instance Methods

close()

Close httplib2 connections.

list(parent, pageSize=None, pageToken=None, x__xgafv=None)

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

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
List all repositories for a given `BitbucketServerConfig`. This API is experimental.

Args:
  parent: string, Required. Name of the parent resource. (required)
  pageSize: integer, The maximum number of configs to return. The service may return fewer than this value. The maximum value is 1000; values above 1000 will be coerced to 1000.
  pageToken: string, 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.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # RPC response object returned by the ListBitbucketServerRepositories RPC method.
  "bitbucketServerRepositories": [ # List of Bitbucket Server repositories.
    { # BitbucketServerRepository represents a repository hosted on a Bitbucket Server.
      "browseUri": "A String", # Link to the browse repo page on the Bitbucket Server instance.
      "description": "A String", # Description of the repository.
      "displayName": "A String", # Display name of the repository.
      "name": "A String", # The resource name of the repository.
      "repoId": { # BitbucketServerRepositoryId identifies a specific repository hosted on a Bitbucket Server. # Identifier for a repository hosted on a Bitbucket Server.
        "projectKey": "A String", # Required. Identifier for the project storing the repository.
        "repoSlug": "A String", # Required. Identifier for the repository.
        "webhookId": 42, # Output only. The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.
      },
    },
  ],
  "nextPageToken": "A String", # A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
}
list_next()
Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call 'execute()' on to request the next
          page. Returns None if there are no more items in the collection.