Google Cloud Security Command Center v1 API - Class Database (3.11.0)

public sealed class Database : IMessage<Database>, IEquatable<Database>, IDeepCloneable<Database>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Security Command Center v1 API class Database.

Represents database access information, such as queries. A database may be a sub-resource of an instance (as in the case of Cloud SQL instances or Cloud Spanner instances), or the database instance itself. Some database resources might not have the full resource name populated because these resource types, such as Cloud SQL databases, are not yet supported by Cloud Asset Inventory. In these cases only the display name is provided. Some database resources may not have the full resource name populated because these resource types are not yet supported by Cloud Asset Inventory (e.g. Cloud SQL databases). In these cases only the display name will be provided.

Inheritance

object > Database

Namespace

Google.Cloud.SecurityCenter.V1

Assembly

Google.Cloud.SecurityCenter.V1.dll

Constructors

Database()

public Database()

Database(Database)

public Database(Database other)
Parameter
NameDescription
otherDatabase

Properties

DisplayName

public string DisplayName { get; set; }

The human-readable name of the database that the user connected to.

Property Value
TypeDescription
string

Grantees

public RepeatedField<string> Grantees { get; }

The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.

Property Value
TypeDescription
RepeatedFieldstring

Name

public string Name { get; set; }

The full resource name of the database that the user connected to, if it is supported by Cloud Asset Inventory.

Property Value
TypeDescription
string

Query

public string Query { get; set; }

The SQL statement that is associated with the database access.

Property Value
TypeDescription
string

UserName

public string UserName { get; set; }

The username used to connect to the database. The username might not be an IAM principal and does not have a set format.

Property Value
TypeDescription
string