Method: projects.attestors.list

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

HTTP request

GET https://binaryauthorization.googleapis.com/v1beta1/{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

If successful, the response body contains an instance of ListAttestorsResponse.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.