|
cloudresourcemanager
v1beta1
|
#include <audit_log_config.h>
Public Member Functions | |
| AuditLogConfig (const Json::Value &storage) | |
| AuditLogConfig (Json::Value *storage) | |
| virtual | ~AuditLogConfig () |
| const StringPiece | GetTypeName () const |
| bool | has_exempted_members () const |
| void | clear_exempted_members () |
| const client::JsonCppArray< string > | get_exempted_members () const |
| client::JsonCppArray< string > | mutable_exemptedMembers () |
| bool | has_log_type () const |
| void | clear_log_type () |
| const StringPiece | get_log_type () const |
| void | set_log_type (const StringPiece &value) |
Static Public Member Functions | |
| static AuditLogConfig * | New () |
Provides the configuration for logging a type of permissions. Example:
{
"audit_log_configs": [
{
"log_type": "DATA_READ",
"exempted_members": [
"user:jose@example.com"
]
},
{
"log_type": "DATA_WRITE",
}
]
}
This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'exemptedMembers' attribute.
|
inline |
Clears the 'logType' attribute.
|
inline |
Get a reference to the value of the 'exemptedMembers' attribute.
|
inline |
Get the value of the 'logType' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'exemptedMembers' attribute was set.
exemptedMembers' attribute was set.
|
inline |
Determine if the 'logType' attribute was set.
logType' attribute was set.
|
inline |
Gets a reference to a mutable value of the 'exemptedMembers' property.
Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
|
static |
Creates a new default instance.
|
inline |
Change the 'logType' attribute.
The log type that this config enables.
| [in] | value | The new value. |