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

#include <backend_bucket_cdn_policy.h>

Inheritance diagram for google_compute_api::BackendBucketCdnPolicy:

Public Member Functions

 BackendBucketCdnPolicy (const Json::Value &storage)
 
 BackendBucketCdnPolicy (Json::Value *storage)
 
virtual ~BackendBucketCdnPolicy ()
 
const StringPiece GetTypeName () const
 
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 BackendBucketCdnPolicyNew ()
 

Detailed Description

Message containing Cloud CDN configuration for a backend bucket.

Constructor & Destructor Documentation

◆ BackendBucketCdnPolicy() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ BackendBucketCdnPolicy() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~BackendBucketCdnPolicy()

google_compute_api::BackendBucketCdnPolicy::~BackendBucketCdnPolicy ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_signed_url_cache_max_age_sec()

void google_compute_api::BackendBucketCdnPolicy::clear_signed_url_cache_max_age_sec ( )
inline

Clears the 'signedUrlCacheMaxAgeSec' attribute.

◆ clear_signed_url_key_names()

void google_compute_api::BackendBucketCdnPolicy::clear_signed_url_key_names ( )
inline

Clears the 'signedUrlKeyNames' attribute.

◆ get_signed_url_cache_max_age_sec()

int64 google_compute_api::BackendBucketCdnPolicy::get_signed_url_cache_max_age_sec ( ) const
inline

Get the value of the 'signedUrlCacheMaxAgeSec' attribute.

◆ get_signed_url_key_names()

const client::JsonCppArray<string > google_compute_api::BackendBucketCdnPolicy::get_signed_url_key_names ( ) const
inline

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::BackendBucketCdnPolicy

◆ has_signed_url_cache_max_age_sec()

bool google_compute_api::BackendBucketCdnPolicy::has_signed_url_cache_max_age_sec ( ) const
inline

Determine if the 'signedUrlCacheMaxAgeSec' attribute was set.

Returns
true if the 'signedUrlCacheMaxAgeSec' attribute was set.

◆ has_signed_url_key_names()

bool google_compute_api::BackendBucketCdnPolicy::has_signed_url_key_names ( ) const
inline

Determine if the 'signedUrlKeyNames' attribute was set.

Returns
true if the 'signedUrlKeyNames' attribute was set.

◆ mutable_signedUrlKeyNames()

client::JsonCppArray<string > google_compute_api::BackendBucketCdnPolicy::mutable_signedUrlKeyNames ( )
inline

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

[Output Only] Names of the keys for signing request URLs.

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

◆ New()

BackendBucketCdnPolicy * google_compute_api::BackendBucketCdnPolicy::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_signed_url_cache_max_age_sec()

void google_compute_api::BackendBucketCdnPolicy::set_signed_url_cache_max_age_sec ( int64  value)
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.

Parameters
[in]valueThe new value.

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