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, including a list of versions ranging from 2.2.0 to 3.24.0, with 3.24.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDatabase\u003c/code\u003e class represents database access information, such as queries, and it may be a sub-resource of an instance or the database instance itself, and it implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDatabase\u003c/code\u003e class has properties like \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 represent information about the database, granted privileges, the database's full resource name, the associated SQL statement, and the username used to connect to the database respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists all of the database class constructor methods, including a default \u003ccode\u003eDatabase()\u003c/code\u003e constructor and another constructor that takes in an existing \u003ccode\u003eDatabase\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]