Google Cloud Privileged Access Manager V1 Client - Class ListGrantsResponse (0.1.2)

Reference documentation and code samples for the Google Cloud Privileged Access Manager V1 Client class ListGrantsResponse.

Message for response to listing grants.

Generated from protobuf message google.cloud.privilegedaccessmanager.v1.ListGrantsResponse

Namespace

Google \ Cloud \ PrivilegedAccessManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ grants array<Grant>

The list of grants.

↳ next_page_token string

A token identifying a page of results the server should return.

↳ unreachable array

Locations that could not be reached.

getGrants

The list of grants.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setGrants

The list of grants.

Parameter
Name Description
var array<Grant>
Returns
Type Description
$this

getNextPageToken

A token identifying a page of results the server should return.

Returns
Type Description
string

setNextPageToken

A token identifying a page of results the server should return.

Parameter
Name Description
var string
Returns
Type Description
$this

getUnreachable

Locations that could not be reached.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setUnreachable

Locations that could not be reached.

Parameter
Name Description
var string[]
Returns
Type Description
$this