storage  v1
Public Member Functions | Static Public Member Functions | List of all members
google_storage_api::BucketAccessControls Class Reference

#include <bucket_access_controls.h>

Inheritance diagram for google_storage_api::BucketAccessControls:

Public Member Functions

 BucketAccessControls (const Json::Value &storage)
 
 BucketAccessControls (Json::Value *storage)
 
virtual ~BucketAccessControls ()
 
const StringPiece GetTypeName () const
 
bool has_items () const
 
void clear_items ()
 
const client::JsonCppArray< BucketAccessControlget_items () const
 
client::JsonCppArray< BucketAccessControlmutable_items ()
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 

Static Public Member Functions

static BucketAccessControlsNew ()
 

Detailed Description

An access-control list.

Constructor & Destructor Documentation

◆ BucketAccessControls() [1/2]

google_storage_api::BucketAccessControls::BucketAccessControls ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ BucketAccessControls() [2/2]

google_storage_api::BucketAccessControls::BucketAccessControls ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~BucketAccessControls()

google_storage_api::BucketAccessControls::~BucketAccessControls ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_items()

void google_storage_api::BucketAccessControls::clear_items ( )
inline

Clears the 'items' attribute.

◆ clear_kind()

void google_storage_api::BucketAccessControls::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ get_items()

const client::JsonCppArray<BucketAccessControl > google_storage_api::BucketAccessControls::get_items ( ) const

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

◆ get_kind()

const StringPiece google_storage_api::BucketAccessControls::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ GetTypeName()

const StringPiece google_storage_api::BucketAccessControls::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_storage_api::BucketAccessControls

◆ has_items()

bool google_storage_api::BucketAccessControls::has_items ( ) const
inline

Determine if the 'items' attribute was set.

Returns
true if the 'items' attribute was set.

◆ has_kind()

bool google_storage_api::BucketAccessControls::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ mutable_items()

client::JsonCppArray<BucketAccessControl > google_storage_api::BucketAccessControls::mutable_items ( )

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

The list of items.

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

◆ New()

BucketAccessControls * google_storage_api::BucketAccessControls::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

void google_storage_api::BucketAccessControls::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

The kind of item this is. For lists of bucket access control entries, this is always storage::bucketAccessControls.

Parameters
[in]valueThe new value.

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