Class: Google::Cloud::Compute::V1::AuditLogConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::AuditLogConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/compute/v1/compute.rb
Overview
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:[email protected]" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting [email protected] from DATA_READ logging.
Defined Under Namespace
Modules: LogType
Instance Attribute Summary collapse
-
#exempted_members ⇒ ::Array<::String>
Specifies the identities that do not cause logging for this type of permission.
-
#ignore_child_exemptions ⇒ ::Boolean
This is deprecated and has no effect.
-
#log_type ⇒ ::String
The log type that this config enables.
Instance Attribute Details
#exempted_members ⇒ ::Array<::String>
Returns Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2070 class AuditLogConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The log type that this config enables. module LogType # A value indicating that the enum field is not set. UNDEFINED_LOG_TYPE = 0 # Admin reads. Example: CloudIAM getIamPolicy ADMIN_READ = 128951462 # Data reads. Example: CloudSQL Users list DATA_READ = 305224971 # Data writes. Example: CloudSQL Users create DATA_WRITE = 340181738 # Default case. Should never be this. LOG_TYPE_UNSPECIFIED = 154527053 end end |
#ignore_child_exemptions ⇒ ::Boolean
Returns This is deprecated and has no effect. Do not use.
2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2070 class AuditLogConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The log type that this config enables. module LogType # A value indicating that the enum field is not set. UNDEFINED_LOG_TYPE = 0 # Admin reads. Example: CloudIAM getIamPolicy ADMIN_READ = 128951462 # Data reads. Example: CloudSQL Users list DATA_READ = 305224971 # Data writes. Example: CloudSQL Users create DATA_WRITE = 340181738 # Default case. Should never be this. LOG_TYPE_UNSPECIFIED = 154527053 end end |
#log_type ⇒ ::String
Returns The log type that this config enables. Check the LogType enum for the list of possible values.
2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 2070 class AuditLogConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The log type that this config enables. module LogType # A value indicating that the enum field is not set. UNDEFINED_LOG_TYPE = 0 # Admin reads. Example: CloudIAM getIamPolicy ADMIN_READ = 128951462 # Data reads. Example: CloudSQL Users list DATA_READ = 305224971 # Data writes. Example: CloudSQL Users create DATA_WRITE = 340181738 # Default case. Should never be this. LOG_TYPE_UNSPECIFIED = 154527053 end end |