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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-30 UTC."],[[["\u003cp\u003eThis webpage details the process of listing attestors within a project using the Binary Authorization API's \u003ccode\u003eattestors.list\u003c/code\u003e method, which returns an error if the project does not exist.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGET\u003c/code\u003e HTTP request utilizes gRPC Transcoding syntax with a required \u003ccode\u003eparent\u003c/code\u003e path parameter specifying the project resource name, formatted as \u003ccode\u003eprojects/*\u003c/code\u003e, and requires specific IAM permission: \u003ccode\u003ebinaryauthorization.attestors.list\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eOptional query parameters, \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e, are available to manage the number of results and navigate through paginated responses.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty for this method, and successful responses will contain a JSON object with an \u003ccode\u003eattestors\u003c/code\u003e array of \u003ccode\u003eAttestor\u003c/code\u003e objects and a \u003ccode\u003enextPageToken\u003c/code\u003e for subsequent page retrieval.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this operation requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: projects.attestors.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListAttestorsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nLists [attestors](/binary-authorization/docs/reference/rest/v1/projects.attestors#Attestor). Returns `INVALID_ARGUMENT` if the project does not exist.\n\n### HTTP request\n\n`GET https://binaryauthorization.googleapis.com/v1/{parent=projects/*}/attestors`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for [BinauthzManagementServiceV1.ListAttestors](/binary-authorization/docs/reference/rest/v1/projects.attestors/list#google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1.ListAttestors).\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]