Google Cloud Binary Authorization V1 Client - Class ListAttestorsRequest (0.6.1)

Reference documentation and code samples for the Google Cloud Binary Authorization V1 Client class ListAttestorsRequest.

Request message for BinauthzManagementService.ListAttestors.

Generated from protobuf message google.cloud.binaryauthorization.v1.ListAttestorsRequest

Namespace

Google \ Cloud \ BinaryAuthorization \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

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

↳ page_size int

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

↳ page_token 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 ListAttestors method.

getParent

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

Returns
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

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

Returns
TypeDescription
int

setPageSize

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

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 ListAttestors method.

Returns
TypeDescription
string

setPageToken

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 ListAttestors method.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. The resource name of the project associated with the attestors, in the format projects/*. Please see Google\Cloud\BinaryAuthorization\V1\BinauthzManagementServiceV1Client::projectName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\BinaryAuthorization\V1\ListAttestorsRequest