deploymentmanager  v2
Public Member Functions | Static Public Member Functions | List of all members
google_deploymentmanager_api::AuditLogConfig Class Reference

#include <audit_log_config.h>

Inheritance diagram for google_deploymentmanager_api::AuditLogConfig:

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 AuditLogConfigNew ()
 

Detailed Description

Provides the configuration for logging a type of permissions. Example:

{ "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] }, { "log_type": "DATA_WRITE", } ] }

This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo@g.nosp@m.mail.nosp@m..com from DATA_READ logging.

Constructor & Destructor Documentation

◆ AuditLogConfig() [1/2]

google_deploymentmanager_api::AuditLogConfig::AuditLogConfig ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ AuditLogConfig() [2/2]

google_deploymentmanager_api::AuditLogConfig::AuditLogConfig ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~AuditLogConfig()

google_deploymentmanager_api::AuditLogConfig::~AuditLogConfig ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_exempted_members()

void google_deploymentmanager_api::AuditLogConfig::clear_exempted_members ( )
inline

Clears the 'exemptedMembers' attribute.

◆ clear_log_type()

void google_deploymentmanager_api::AuditLogConfig::clear_log_type ( )
inline

Clears the 'logType' attribute.

◆ get_exempted_members()

const client::JsonCppArray<string > google_deploymentmanager_api::AuditLogConfig::get_exempted_members ( ) const
inline

Get a reference to the value of the 'exemptedMembers' attribute.

◆ get_log_type()

const StringPiece google_deploymentmanager_api::AuditLogConfig::get_log_type ( ) const
inline

Get the value of the 'logType' attribute.

◆ GetTypeName()

const StringPiece google_deploymentmanager_api::AuditLogConfig::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_deploymentmanager_api::AuditLogConfig

◆ has_exempted_members()

bool google_deploymentmanager_api::AuditLogConfig::has_exempted_members ( ) const
inline

Determine if the 'exemptedMembers' attribute was set.

Returns
true if the 'exemptedMembers' attribute was set.

◆ has_log_type()

bool google_deploymentmanager_api::AuditLogConfig::has_log_type ( ) const
inline

Determine if the 'logType' attribute was set.

Returns
true if the 'logType' attribute was set.

◆ mutable_exemptedMembers()

client::JsonCppArray<string > google_deploymentmanager_api::AuditLogConfig::mutable_exemptedMembers ( )
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][].

Returns
The result can be modified to change the attribute value.

◆ New()

AuditLogConfig * google_deploymentmanager_api::AuditLogConfig::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_log_type()

void google_deploymentmanager_api::AuditLogConfig::set_log_type ( const StringPiece &  value)
inline

Change the 'logType' attribute.

The log type that this config enables.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: