Google Cloud Binary Authorization V1 Client - Class ListAttestorsRequest (1.0.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
Name Description
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
Type Description
string

setParent

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

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

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

Returns
Type Description
int

setPageSize

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

Parameter
Name Description
var int
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
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
Type Description
Google\Cloud\BinaryAuthorization\V1\ListAttestorsRequest