Cloud Spanner V1 Client - Class ListDatabaseRolesResponse (1.54.2)

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

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.

Generated from protobuf field repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDatabaseRoles

Database roles that matched the request.

Generated from protobuf field repeated .google.spanner.admin.database.v1.DatabaseRole database_roles = 1;

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.

Generated from protobuf field string next_page_token = 2;

Returns
TypeDescription
string

setNextPageToken

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

Generated from protobuf field string next_page_token = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this