database_roles
Creates, updates, deletes, gets or lists a database_roles
resource.
Overview
Name | database_roles |
Type | Resource |
Id | google.spanner.database_roles |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Required. The name of the database role. Values are of the form projects//instances//databases//databaseRoles/ where `is as specified in the CREATE ROLE` DDL statement. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_instances_databases_database_roles_list | SELECT | databasesId, instancesId, projectsId | Lists Cloud Spanner database roles. |
SELECT
examples
Lists Cloud Spanner database roles.
SELECT
name
FROM google.spanner.database_roles
WHERE databasesId = '{{ databasesId }}'
AND instancesId = '{{ instancesId }}'
AND projectsId = '{{ projectsId }}';