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 Google IAM permission on the specified resource parent:

  • binaryauthorization.attestors.list

Query parameters

Parameters
pageSize

number

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 data with the following structure:

Response message for [BinauthzManagementService.ListAttestors][].

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.

إرسال تعليقات حول...