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

#include <cache_invalidation_rule.h>

Inheritance diagram for google_compute_api::CacheInvalidationRule:

Public Member Functions

 CacheInvalidationRule (const Json::Value &storage)
 
 CacheInvalidationRule (Json::Value *storage)
 
virtual ~CacheInvalidationRule ()
 
const StringPiece GetTypeName () const
 
bool has_host () const
 
void clear_host ()
 
const StringPiece get_host () const
 
void set_host (const StringPiece &value)
 
bool has_path () const
 
void clear_path ()
 
const StringPiece get_path () const
 
void set_path (const StringPiece &value)
 

Static Public Member Functions

static CacheInvalidationRuleNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ CacheInvalidationRule() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ CacheInvalidationRule() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~CacheInvalidationRule()

google_compute_api::CacheInvalidationRule::~CacheInvalidationRule ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_host()

void google_compute_api::CacheInvalidationRule::clear_host ( )
inline

Clears the 'host' attribute.

◆ clear_path()

void google_compute_api::CacheInvalidationRule::clear_path ( )
inline

Clears the 'path' attribute.

◆ get_host()

const StringPiece google_compute_api::CacheInvalidationRule::get_host ( ) const
inline

Get the value of the 'host' attribute.

◆ get_path()

const StringPiece google_compute_api::CacheInvalidationRule::get_path ( ) const
inline

Get the value of the 'path' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::CacheInvalidationRule

◆ has_host()

bool google_compute_api::CacheInvalidationRule::has_host ( ) const
inline

Determine if the 'host' attribute was set.

Returns
true if the 'host' attribute was set.

◆ has_path()

bool google_compute_api::CacheInvalidationRule::has_path ( ) const
inline

Determine if the 'path' attribute was set.

Returns
true if the 'path' attribute was set.

◆ New()

CacheInvalidationRule * google_compute_api::CacheInvalidationRule::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_host()

void google_compute_api::CacheInvalidationRule::set_host ( const StringPiece &  value)
inline

Change the 'host' attribute.

If set, this invalidation rule will only apply to requests with a Host header matching host.

Parameters
[in]valueThe new value.

◆ set_path()

void google_compute_api::CacheInvalidationRule::set_path ( const StringPiece &  value)
inline

Change the 'path' attribute.

Parameters
[in]valueThe new value.

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