Google Cloud Spanner Database Administration v1 API - Class DatabaseRole (4.5.0)

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.

Inheritance

object > DatabaseRole

Namespace

Google.Cloud.Spanner.Admin.Database.V1

Assembly

Google.Cloud.Spanner.Admin.Database.V1.dll

Constructors

DatabaseRole()

public DatabaseRole()

DatabaseRole(DatabaseRole)

public DatabaseRole(DatabaseRole other)
Parameter
NameDescription
otherDatabaseRole

Properties

DatabaseRoleName

public DatabaseRoleName DatabaseRoleName { get; set; }

DatabaseRoleName-typed view over the Name resource name property.

Property Value
TypeDescription
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. This name can be passed to Get/Set IAMPolicy methods to identify the database role.

Property Value
TypeDescription
string