Google Cloud Binary Authorization V1 Client - Class ListAttestorsResponse (0.7.0)

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

Response message for BinauthzManagementService.ListAttestors.

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

Namespace

Google \ Cloud \ BinaryAuthorization \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ attestors array<Google\Cloud\BinaryAuthorization\V1\Attestor>

The list of attestors.

↳ next_page_token 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 ListAttestors method to retrieve the next page of results.

getAttestors

The list of attestors.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAttestors

The list of attestors.

Parameter
NameDescription
var array<Google\Cloud\BinaryAuthorization\V1\Attestor>
Returns
TypeDescription
$this

getNextPageToken

A token to retrieve the next page of results. Pass this value in the ListAttestorsRequest.page_token field in the subsequent call to the ListAttestors method to retrieve the next page of results.

Returns
TypeDescription
string

setNextPageToken

A token to retrieve the next page of results. Pass this value in the ListAttestorsRequest.page_token field in the subsequent call to the ListAttestors method to retrieve the next page of results.

Parameter
NameDescription
var string
Returns
TypeDescription
$this