public sealed class Database : IMessage<Database>, IEquatable<Database>, IDeepCloneable<Database>, IBufferMessage, IMessage
Represents database access information, such as queries. A database may be a sub-resource of an instance (as in the case of CloudSQL instances or Cloud Spanner instances), or the database instance itself. 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. CloudSQL databases). In these cases only the display name will be provided.
Implements
IMessage<Database>, IEquatable<Database>, IDeepCloneable<Database>, IBufferMessage, IMessageNamespace
Google.Cloud.SecurityCenter.V1Assembly
Google.Cloud.SecurityCenter.V1.dll
Constructors
Database()
public Database()
Database(Database)
public Database(Database other)
Parameter | |
---|---|
Name | Description |
other | Database |
Properties
DisplayName
public string DisplayName { get; set; }
The human readable name of the database the user connected to.
Property Value | |
---|---|
Type | Description |
String |
Grantees
public RepeatedField<string> Grantees { get; }
The target usernames/roles/groups of a SQL privilege grant (not an IAM policy change).
Property Value | |
---|---|
Type | Description |
RepeatedField<String> |
Name
public string Name { get; set; }
The full resource name of the database the user connected to, if it is supported by CAI. (https://google.aip.dev/122#full-resource-names)
Property Value | |
---|---|
Type | Description |
String |
Query
public string Query { get; set; }
The SQL statement associated with the relevant access.
Property Value | |
---|---|
Type | Description |
String |
UserName
public string UserName { get; set; }
The username used to connect to the DB. This may not necessarily be an IAM principal, and has no required format.
Property Value | |
---|---|
Type | Description |
String |