Secure Source Manager API (securesourcemanager:v1)

2026-07-08

1 new method

Additions

    Methods
  • securesourcemanager.projects.locations.repositories.fetchRefs

      HTTP Method : GET

      Description : Fetches git references from a repository.

      Path : v1/{+repository}:fetchRefs

      Parameters :

        repository

          Location : path

          Description : Required. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. Specifies the repository to fetch the references from.

          Required : Yes

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

          Type : string

        type

          Type : string

          Description : Optional. The type of reference to fetch (eg. branch, tag). By default, all references are returned.

          Location : query

          Enum Descriptions :

        • Unspecified ref type.
        • Represents a branch.
        • Represents a tag.
        • Enum :

        • REF_TYPE_UNSPECIFIED
        • REF_TYPE_BRANCH
        • REF_TYPE_TAG

        pageSize

          Type : integer

          Format : int32

          Description : Optional. Requested page size. If unspecified, a default size of 30 will be used. The maximum value is 100; values above 100 will be coerced to 100.

          Location : query

        pageToken

          Type : string

          Description : Optional. A token identifying a page of results the server should return.

          Location : query

      Parameter Order : repository

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:fetchRefs

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