Method: projects.attestors.list

Lists attestors. Returns INVALID_ARGUMENT if the project does not exist.

HTTP request

GET https://binaryauthorization.googleapis.com/v1/{parent=projects/*}/attestors

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The resource name of the project associated with the attestors, in the format projects/*.

Authorization requires the following IAM permission on the specified resource parent:

  • binaryauthorization.attestors.list

Query parameters

Parameters
pageSize

integer

Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.

pageToken

string

A token identifying a page of results the server should return. Typically, this is the value of ListAttestorsResponse.next_page_token returned from the previous call to the attestors.list method.

Request body

The request body must be empty.

Response body

Response message for BinauthzManagementServiceV1.ListAttestors.

If successful, the response body contains data with the following structure:

JSON representation
{
  "attestors": [
    {
      object (Attestor)
    }
  ],
  "nextPageToken": string
}
Fields
attestors[]

object (Attestor)

The list of attestors.

nextPageToken

string

A token to retrieve the next page of results. Pass this value in the ListAttestorsRequest.page_token field in the subsequent call to the attestors.list method to retrieve the next page of results.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.