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.
The full resource name of
the database that the user connected to, if it is supported by Cloud Asset
Inventory.
[[["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 Center v1 API, offering details on its properties, constructors, and implementation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDatabase\u003c/code\u003e class represents database access information, including the database name, user, query, and version, and may not have full resource names for all database types due to Cloud Asset Inventory limitations.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes links to various versions of the API, ranging from 2.2.0 up to the latest 3.24.0, allowing developers to access the corresponding API definitions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDatabase\u003c/code\u003e class 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 a wide range of functionalities for object handling and data processing.\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, \u003ccode\u003eUserName\u003c/code\u003e, and \u003ccode\u003eVersion\u003c/code\u003e, providing comprehensive information about database access events.\u003c/p\u003e\n"]]],[],null,[]]