Cloud Build API . projects . locations . gitLabConfigs . repos

Instance Methods

close()

Close httplib2 connections.

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

List all repositories for a given `GitLabConfig`. 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 `GitLabConfig`. This API is experimental

Args:
  parent: string, Required. Name of the parent resource. (required)
  pageSize: integer, The maximum number of repositories to return. The service may return fewer than this value.
  pageToken: string, 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.
  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 ListGitLabRepositories RPC method.
  "gitlabRepositories": [ # List of GitLab repositories
    { # Proto Representing a GitLabRepository
      "browseUri": "A String", # Link to the browse repo page on the GitLab 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
      "repositoryId": { # GitLabRepositoryId identifies a specific repository hosted on GitLab.com or GitLabEnterprise # Identifier for a repository
        "id": "A String", # Required. Identifier for the repository. example: "namespace/project-slug", namespace is usually the username or group ID
        "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.