LogType
Stay organized with collections
Save and categorize content based on your preferences.
The list of valid permission types for which logging can be configured. Admin writes are always logged, and are not configurable.
Enums |
LOG_TYPE_UNSPECIFIED |
Default case. Should never be this. |
ADMIN_READ |
Admin reads. Example: CloudIAM getIamPolicy |
DATA_WRITE |
Data writes. Example: CloudSQL Users create |
DATA_READ |
Data reads. Example: CloudSQL Users list |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-13 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2020-10-13 UTC."],[[["Logging is configurable for specific permission types, excluding admin writes, which are always logged by default."],["The permission types available for configurable logging include admin reads, data writes, and data reads."],["The `LOG_TYPE_UNSPECIFIED` enum represents a default state that should not occur in practice."],["Admin read permissions are used for actions like retrieving policies, data write for actions like creating a user, and data read for actions like listing all the current users."]]],[]]