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 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eDatabase\u003c/code\u003e class within the Google Cloud Security Command Center v1 API, specifically for .NET development, offering versions ranging from 2.2.0 to 3.24.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDatabase\u003c/code\u003e class represents database access information, including details like queries, and is used for resources that can be a sub-resource of an instance, such as CloudSQL or Cloud Spanner, or an instance itself.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eDisplayName\u003c/code\u003e, \u003ccode\u003eGrantees\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eQuery\u003c/code\u003e, and \u003ccode\u003eUserName\u003c/code\u003e, which provide different types of information about database access and the user connected to it.\u003c/p\u003e\n"],["\u003cp\u003eThe Database class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, equality checks, deep cloning, and buffer management.\u003c/p\u003e\n"]]],[],null,[]]