compute
v1
|
#include <backend_service_cdn_policy.h>
Public Member Functions | |
BackendServiceCdnPolicy (const Json::Value &storage) | |
BackendServiceCdnPolicy (Json::Value *storage) | |
virtual | ~BackendServiceCdnPolicy () |
const StringPiece | GetTypeName () const |
bool | has_cache_key_policy () const |
void | clear_cache_key_policy () |
const CacheKeyPolicy | get_cache_key_policy () const |
CacheKeyPolicy | mutable_cacheKeyPolicy () |
bool | has_signed_url_cache_max_age_sec () const |
void | clear_signed_url_cache_max_age_sec () |
int64 | get_signed_url_cache_max_age_sec () const |
void | set_signed_url_cache_max_age_sec (int64 value) |
bool | has_signed_url_key_names () const |
void | clear_signed_url_key_names () |
const client::JsonCppArray< string > | get_signed_url_key_names () const |
client::JsonCppArray< string > | mutable_signedUrlKeyNames () |
Static Public Member Functions | |
static BackendServiceCdnPolicy * | New () |
Message containing Cloud CDN configuration for a backend service.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'cacheKeyPolicy
' attribute.
|
inline |
Clears the 'signedUrlCacheMaxAgeSec
' attribute.
|
inline |
Clears the 'signedUrlKeyNames
' attribute.
const CacheKeyPolicy google_compute_api::BackendServiceCdnPolicy::get_cache_key_policy | ( | ) | const |
Get a reference to the value of the 'cacheKeyPolicy
' attribute.
|
inline |
Get the value of the 'signedUrlCacheMaxAgeSec
' attribute.
|
inline |
Get a reference to the value of the 'signedUrlKeyNames
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'cacheKeyPolicy
' attribute was set.
cacheKeyPolicy
' attribute was set.
|
inline |
Determine if the 'signedUrlCacheMaxAgeSec
' attribute was set.
signedUrlCacheMaxAgeSec
' attribute was set.
|
inline |
Determine if the 'signedUrlKeyNames
' attribute was set.
signedUrlKeyNames
' attribute was set. CacheKeyPolicy google_compute_api::BackendServiceCdnPolicy::mutable_cacheKeyPolicy | ( | ) |
Gets a reference to a mutable value of the 'cacheKeyPolicy
' property.
The CacheKeyPolicy for this CdnPolicy.
|
inline |
Gets a reference to a mutable value of the 'signedUrlKeyNames
' property.
[Output Only] Names of the keys for signing request URLs.
|
static |
Creates a new default instance.
|
inline |
Change the 'signedUrlCacheMaxAgeSec
' attribute.
Maximum number of seconds the response to a signed URL request will be considered fresh. After this time period, the response will be revalidated before being served. Defaults to 1hr (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a "Cache-Control: public, max-age=[TTL]" header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered.
[in] | value | The new value. |