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.
[[["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 documentation for the \u003ccode\u003eDatabase\u003c/code\u003e class within the Google Cloud Security Command Center v1 API, with the latest version being 3.24.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDatabase\u003c/code\u003e class represents information about database access, including queries, and can be a sub-resource of an instance or the database instance itself.\u003c/p\u003e\n"],["\u003cp\u003eThe class 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\u003eKey properties of the \u003ccode\u003eDatabase\u003c/code\u003e class include \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 details about the database and its access.\u003c/p\u003e\n"],["\u003cp\u003eA variety of previous versions are also documented on the page, from 3.23.0 down to 2.2.0.\u003c/p\u003e\n"]]],[],null,[]]