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

#include <backend_bucket.h>

Inheritance diagram for google_compute_api::BackendBucket:

Public Member Functions

 BackendBucket (const Json::Value &storage)
 
 BackendBucket (Json::Value *storage)
 
virtual ~BackendBucket ()
 
const StringPiece GetTypeName () const
 
bool has_bucket_name () const
 
void clear_bucket_name ()
 
const StringPiece get_bucket_name () const
 
void set_bucket_name (const StringPiece &value)
 
bool has_cdn_policy () const
 
void clear_cdn_policy ()
 
const BackendBucketCdnPolicy get_cdn_policy () const
 
BackendBucketCdnPolicy mutable_cdnPolicy ()
 
bool has_creation_timestamp () const
 
void clear_creation_timestamp ()
 
const StringPiece get_creation_timestamp () const
 
void set_creation_timestamp (const StringPiece &value)
 
bool has_description () const
 
void clear_description ()
 
const StringPiece get_description () const
 
void set_description (const StringPiece &value)
 
bool has_enable_cdn () const
 
void clear_enable_cdn ()
 
bool get_enable_cdn () const
 
void set_enable_cdn (bool value)
 
bool has_id () const
 
void clear_id ()
 
uint64 get_id () const
 
void set_id (uint64 value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_self_link () const
 
void clear_self_link ()
 
const StringPiece get_self_link () const
 
void set_self_link (const StringPiece &value)
 

Static Public Member Functions

static BackendBucketNew ()
 

Detailed Description

A BackendBucket resource. This resource defines a Cloud Storage bucket.

Constructor & Destructor Documentation

◆ BackendBucket() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ BackendBucket() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~BackendBucket()

google_compute_api::BackendBucket::~BackendBucket ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_bucket_name()

void google_compute_api::BackendBucket::clear_bucket_name ( )
inline

Clears the 'bucketName' attribute.

◆ clear_cdn_policy()

void google_compute_api::BackendBucket::clear_cdn_policy ( )
inline

Clears the 'cdnPolicy' attribute.

◆ clear_creation_timestamp()

void google_compute_api::BackendBucket::clear_creation_timestamp ( )
inline

Clears the 'creationTimestamp' attribute.

◆ clear_description()

void google_compute_api::BackendBucket::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_enable_cdn()

void google_compute_api::BackendBucket::clear_enable_cdn ( )
inline

Clears the 'enableCdn' attribute.

◆ clear_id()

void google_compute_api::BackendBucket::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_compute_api::BackendBucket::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_name()

void google_compute_api::BackendBucket::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_self_link()

void google_compute_api::BackendBucket::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ get_bucket_name()

const StringPiece google_compute_api::BackendBucket::get_bucket_name ( ) const
inline

Get the value of the 'bucketName' attribute.

◆ get_cdn_policy()

const BackendBucketCdnPolicy google_compute_api::BackendBucket::get_cdn_policy ( ) const

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

◆ get_creation_timestamp()

const StringPiece google_compute_api::BackendBucket::get_creation_timestamp ( ) const
inline

Get the value of the 'creationTimestamp' attribute.

◆ get_description()

const StringPiece google_compute_api::BackendBucket::get_description ( ) const
inline

Get the value of the 'description' attribute.

◆ get_enable_cdn()

bool google_compute_api::BackendBucket::get_enable_cdn ( ) const
inline

Get the value of the 'enableCdn' attribute.

◆ get_id()

uint64 google_compute_api::BackendBucket::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_kind()

const StringPiece google_compute_api::BackendBucket::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_name()

const StringPiece google_compute_api::BackendBucket::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_self_link()

const StringPiece google_compute_api::BackendBucket::get_self_link ( ) const
inline

Get the value of the 'selfLink' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::BackendBucket

◆ has_bucket_name()

bool google_compute_api::BackendBucket::has_bucket_name ( ) const
inline

Determine if the 'bucketName' attribute was set.

Returns
true if the 'bucketName' attribute was set.

◆ has_cdn_policy()

bool google_compute_api::BackendBucket::has_cdn_policy ( ) const
inline

Determine if the 'cdnPolicy' attribute was set.

Returns
true if the 'cdnPolicy' attribute was set.

◆ has_creation_timestamp()

bool google_compute_api::BackendBucket::has_creation_timestamp ( ) const
inline

Determine if the 'creationTimestamp' attribute was set.

Returns
true if the 'creationTimestamp' attribute was set.

◆ has_description()

bool google_compute_api::BackendBucket::has_description ( ) const
inline

Determine if the 'description' attribute was set.

Returns
true if the 'description' attribute was set.

◆ has_enable_cdn()

bool google_compute_api::BackendBucket::has_enable_cdn ( ) const
inline

Determine if the 'enableCdn' attribute was set.

Returns
true if the 'enableCdn' attribute was set.

◆ has_id()

bool google_compute_api::BackendBucket::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_kind()

bool google_compute_api::BackendBucket::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_name()

bool google_compute_api::BackendBucket::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_self_link()

bool google_compute_api::BackendBucket::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ mutable_cdnPolicy()

BackendBucketCdnPolicy google_compute_api::BackendBucket::mutable_cdnPolicy ( )

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

Cloud CDN configuration for this BackendBucket.

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

◆ New()

BackendBucket * google_compute_api::BackendBucket::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_bucket_name()

void google_compute_api::BackendBucket::set_bucket_name ( const StringPiece &  value)
inline

Change the 'bucketName' attribute.

Cloud Storage bucket name.

Parameters
[in]valueThe new value.

◆ set_creation_timestamp()

void google_compute_api::BackendBucket::set_creation_timestamp ( const StringPiece &  value)
inline

Change the 'creationTimestamp' attribute.

[Output Only] Creation timestamp in RFC3339 text format.

Parameters
[in]valueThe new value.

◆ set_description()

void google_compute_api::BackendBucket::set_description ( const StringPiece &  value)
inline

Change the 'description' attribute.

An optional textual description of the resource; provided by the client when the resource is created.

Parameters
[in]valueThe new value.

◆ set_enable_cdn()

void google_compute_api::BackendBucket::set_enable_cdn ( bool  value)
inline

Change the 'enableCdn' attribute.

If true, enable Cloud CDN for this BackendBucket.

Parameters
[in]valueThe new value.

◆ set_id()

void google_compute_api::BackendBucket::set_id ( uint64  value)
inline

Change the 'id' attribute.

[Output Only] Unique identifier for the resource; defined by the server.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_compute_api::BackendBucket::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Type of the resource.

Parameters
[in]valueThe new value.

◆ set_name()

void google_compute_api::BackendBucket::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_compute_api::BackendBucket::set_self_link ( const StringPiece &  value)
inline

Change the 'selfLink' attribute.

[Output Only] Server-defined URL for the resource.

Parameters
[in]valueThe new value.

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