public sealed class DatabaseRole : IMessage<DatabaseRole>, IEquatable<DatabaseRole>, IDeepCloneable<DatabaseRole>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner Database Administration v1 API class DatabaseRole.
A Cloud Spanner database role.
Implements
IMessageDatabaseRole, IEquatableDatabaseRole, IDeepCloneableDatabaseRole, IBufferMessage, IMessageNamespace
Google.Cloud.Spanner.Admin.Database.V1Assembly
Google.Cloud.Spanner.Admin.Database.V1.dll
Constructors
DatabaseRole()
public DatabaseRole()
DatabaseRole(DatabaseRole)
public DatabaseRole(DatabaseRole other)
Parameter | |
---|---|
Name | Description |
other |
DatabaseRole |
Properties
DatabaseRoleName
public DatabaseRoleName DatabaseRoleName { get; set; }
DatabaseRoleName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
DatabaseRoleName |
Name
public string Name { get; set; }
Required. The name of the database role. Values are of the form
projects/<project>/instances/<instance>/databases/<database>/databaseRoles/<role>
where <role>
is as specified in the CREATE ROLE
DDL statement.
Property Value | |
---|---|
Type | Description |
string |