Google Cloud Privileged Access Manager V1 Client - Class SearchGrantsResponse (0.1.0)

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

Response message for SearchGrants method.

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

Namespace

Google \ Cloud \ PrivilegedAccessManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ grants array<Google\Cloud\PrivilegedAccessManager\V1\Grant>

The list of grants.

↳ next_page_token string

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

getGrants

The list of grants.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setGrants

The list of grants.

Parameter
Name Description
var array<Google\Cloud\PrivilegedAccessManager\V1\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