compute  v1
Public Member Functions | Static Public Member Functions | List of all members
google_compute_api::FirewallLogConfig Class Reference

#include <firewall_log_config.h>

Inheritance diagram for google_compute_api::FirewallLogConfig:

Public Member Functions

 FirewallLogConfig (const Json::Value &storage)
 
 FirewallLogConfig (Json::Value *storage)
 
virtual ~FirewallLogConfig ()
 
const StringPiece GetTypeName () const
 
bool has_enable () const
 
void clear_enable ()
 
bool get_enable () const
 
void set_enable (bool value)
 

Static Public Member Functions

static FirewallLogConfigNew ()
 

Detailed Description

The available logging options for a firewall rule.

Constructor & Destructor Documentation

◆ FirewallLogConfig() [1/2]

google_compute_api::FirewallLogConfig::FirewallLogConfig ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ FirewallLogConfig() [2/2]

google_compute_api::FirewallLogConfig::FirewallLogConfig ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~FirewallLogConfig()

google_compute_api::FirewallLogConfig::~FirewallLogConfig ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_enable()

void google_compute_api::FirewallLogConfig::clear_enable ( )
inline

Clears the 'enable' attribute.

◆ get_enable()

bool google_compute_api::FirewallLogConfig::get_enable ( ) const
inline

Get the value of the 'enable' attribute.

◆ GetTypeName()

const StringPiece google_compute_api::FirewallLogConfig::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_compute_api::FirewallLogConfig

◆ has_enable()

bool google_compute_api::FirewallLogConfig::has_enable ( ) const
inline

Determine if the 'enable' attribute was set.

Returns
true if the 'enable' attribute was set.

◆ New()

FirewallLogConfig * google_compute_api::FirewallLogConfig::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_enable()

void google_compute_api::FirewallLogConfig::set_enable ( bool  value)
inline

Change the 'enable' attribute.

This field denotes whether to enable logging for a particular firewall rule.

Parameters
[in]valueThe new value.

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