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

#include <security_policy_rule_matcher.h>

Inheritance diagram for google_compute_api::SecurityPolicyRuleMatcher:

Public Member Functions

 SecurityPolicyRuleMatcher (const Json::Value &storage)
 
 SecurityPolicyRuleMatcher (Json::Value *storage)
 
virtual ~SecurityPolicyRuleMatcher ()
 
const StringPiece GetTypeName () const
 
bool has_config () const
 
void clear_config ()
 
const SecurityPolicyRuleMatcherConfig get_config () const
 
SecurityPolicyRuleMatcherConfig mutable_config ()
 
bool has_versioned_expr () const
 
void clear_versioned_expr ()
 
const StringPiece get_versioned_expr () const
 
void set_versioned_expr (const StringPiece &value)
 

Static Public Member Functions

static SecurityPolicyRuleMatcherNew ()
 

Detailed Description

Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.

Constructor & Destructor Documentation

◆ SecurityPolicyRuleMatcher() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ SecurityPolicyRuleMatcher() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~SecurityPolicyRuleMatcher()

google_compute_api::SecurityPolicyRuleMatcher::~SecurityPolicyRuleMatcher ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_config()

void google_compute_api::SecurityPolicyRuleMatcher::clear_config ( )
inline

Clears the 'config' attribute.

◆ clear_versioned_expr()

void google_compute_api::SecurityPolicyRuleMatcher::clear_versioned_expr ( )
inline

Clears the 'versionedExpr' attribute.

◆ get_config()

const SecurityPolicyRuleMatcherConfig google_compute_api::SecurityPolicyRuleMatcher::get_config ( ) const

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

◆ get_versioned_expr()

const StringPiece google_compute_api::SecurityPolicyRuleMatcher::get_versioned_expr ( ) const
inline

Get the value of the 'versionedExpr' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::SecurityPolicyRuleMatcher

◆ has_config()

bool google_compute_api::SecurityPolicyRuleMatcher::has_config ( ) const
inline

Determine if the 'config' attribute was set.

Returns
true if the 'config' attribute was set.

◆ has_versioned_expr()

bool google_compute_api::SecurityPolicyRuleMatcher::has_versioned_expr ( ) const
inline

Determine if the 'versionedExpr' attribute was set.

Returns
true if the 'versionedExpr' attribute was set.

◆ mutable_config()

SecurityPolicyRuleMatcherConfig google_compute_api::SecurityPolicyRuleMatcher::mutable_config ( )

Gets a reference to a mutable value of the 'config' property.

The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.

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

◆ New()

SecurityPolicyRuleMatcher * google_compute_api::SecurityPolicyRuleMatcher::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_versioned_expr()

void google_compute_api::SecurityPolicyRuleMatcher::set_versioned_expr ( const StringPiece &  value)
inline

Change the 'versionedExpr' attribute.

Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.

Parameters
[in]valueThe new value.

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