Cloud Spanner V1 Client - Class ListDatabaseRolesResponse (1.66.0)

Reference documentation and code samples for the Cloud Spanner V1 Client class ListDatabaseRolesResponse.

The response for ListDatabaseRoles.

Generated from protobuf message google.spanner.admin.database.v1.ListDatabaseRolesResponse

Namespace

Google \ Cloud \ Spanner \ Admin \ Database \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ database_roles array<Google\Cloud\Spanner\Admin\Database\V1\DatabaseRole>

Database roles that matched the request.

↳ next_page_token string

next_page_token can be sent in a subsequent ListDatabaseRoles call to fetch more of the matching roles.

getDatabaseRoles

Database roles that matched the request.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDatabaseRoles

Database roles that matched the request.

Parameter
NameDescription
var array<Google\Cloud\Spanner\Admin\Database\V1\DatabaseRole>
Returns
TypeDescription
$this

getNextPageToken

next_page_token can be sent in a subsequent ListDatabaseRoles call to fetch more of the matching roles.

Returns
TypeDescription
string

setNextPageToken

next_page_token can be sent in a subsequent ListDatabaseRoles call to fetch more of the matching roles.

Parameter
NameDescription
var string
Returns
TypeDescription
$this