Cloud Spanner V1 Client - Class ListDatabaseRolesResponse (1.78.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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setDatabaseRoles

Database roles that matched the request.

Parameter
Name Description
var array<Google\Cloud\Spanner\Admin\Database\V1\DatabaseRole>
Returns
Type Description
$this

getNextPageToken

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

Returns
Type Description
string

setNextPageToken

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

Parameter
Name Description
var string
Returns
Type Description
$this