#include <cache_invalidation_rule.h>
◆ CacheInvalidationRule() [1/2]
google_compute_api::CacheInvalidationRule::CacheInvalidationRule |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~CacheInvalidationRule()
google_compute_api::CacheInvalidationRule::~CacheInvalidationRule |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
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
-
◆ set_path()
void google_compute_api::CacheInvalidationRule::set_path |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'path
' attribute.
- Parameters
-
The documentation for this class was generated from the following files: