Show / Hide Table of Contents

Class GoogleCloudSecuritycenterV2Database

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.

Inheritance
object
GoogleCloudSecuritycenterV2Database
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.SecurityCommandCenter.v1.Data
Assembly: Google.Apis.SecurityCommandCenter.v1.dll
Syntax
public class GoogleCloudSecuritycenterV2Database : IDirectResponseSchema

Properties

DisplayName

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

Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Grantees

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

Declaration
[JsonProperty("grantees")]
public virtual IList<string> Grantees { get; set; }
Property Value
Type Description
IList<string>

Name

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. The full resource name of the database that the user connected to, if it is supported by Cloud Asset Inventory.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

Query

The SQL statement that is associated with the database access.

Declaration
[JsonProperty("query")]
public virtual string Query { get; set; }
Property Value
Type Description
string

UserName

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

Declaration
[JsonProperty("userName")]
public virtual string UserName { get; set; }
Property Value
Type Description
string

Version

The version of the database, for example, POSTGRES_14. See the complete list.

Declaration
[JsonProperty("version")]
public virtual string Version { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX