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

#include <bucket_access_control.h>

Inheritance diagram for google_storage_api::BucketAccessControl:

Classes

class  BucketAccessControlProjectTeam
 

Public Member Functions

 BucketAccessControl (const Json::Value &storage)
 
 BucketAccessControl (Json::Value *storage)
 
virtual ~BucketAccessControl ()
 
const StringPiece GetTypeName () const
 
bool has_bucket () const
 
void clear_bucket ()
 
const StringPiece get_bucket () const
 
void set_bucket (const StringPiece &value)
 
bool has_domain () const
 
void clear_domain ()
 
const StringPiece get_domain () const
 
void set_domain (const StringPiece &value)
 
bool has_email () const
 
void clear_email ()
 
const StringPiece get_email () const
 
void set_email (const StringPiece &value)
 
bool has_entity () const
 
void clear_entity ()
 
const StringPiece get_entity () const
 
void set_entity (const StringPiece &value)
 
bool has_entity_id () const
 
void clear_entity_id ()
 
const StringPiece get_entity_id () const
 
void set_entity_id (const StringPiece &value)
 
bool has_etag () const
 
void clear_etag ()
 
const StringPiece get_etag () const
 
void set_etag (const StringPiece &value)
 
bool has_id () const
 
void clear_id ()
 
const StringPiece get_id () const
 
void set_id (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_project_team () const
 
void clear_project_team ()
 
const BucketAccessControlProjectTeam get_project_team () const
 
BucketAccessControlProjectTeam mutable_projectTeam ()
 
bool has_role () const
 
void clear_role ()
 
const StringPiece get_role () const
 
void set_role (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 BucketAccessControlNew ()
 

Detailed Description

An access-control entry.

Constructor & Destructor Documentation

◆ BucketAccessControl() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ BucketAccessControl() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~BucketAccessControl()

google_storage_api::BucketAccessControl::~BucketAccessControl ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_bucket()

void google_storage_api::BucketAccessControl::clear_bucket ( )
inline

Clears the 'bucket' attribute.

◆ clear_domain()

void google_storage_api::BucketAccessControl::clear_domain ( )
inline

Clears the 'domain' attribute.

◆ clear_email()

void google_storage_api::BucketAccessControl::clear_email ( )
inline

Clears the 'email' attribute.

◆ clear_entity()

void google_storage_api::BucketAccessControl::clear_entity ( )
inline

Clears the 'entity' attribute.

◆ clear_entity_id()

void google_storage_api::BucketAccessControl::clear_entity_id ( )
inline

Clears the 'entityId' attribute.

◆ clear_etag()

void google_storage_api::BucketAccessControl::clear_etag ( )
inline

Clears the 'etag' attribute.

◆ clear_id()

void google_storage_api::BucketAccessControl::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_storage_api::BucketAccessControl::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_project_team()

void google_storage_api::BucketAccessControl::clear_project_team ( )
inline

Clears the 'projectTeam' attribute.

◆ clear_role()

void google_storage_api::BucketAccessControl::clear_role ( )
inline

Clears the 'role' attribute.

◆ clear_self_link()

void google_storage_api::BucketAccessControl::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ get_bucket()

const StringPiece google_storage_api::BucketAccessControl::get_bucket ( ) const
inline

Get the value of the 'bucket' attribute.

◆ get_domain()

const StringPiece google_storage_api::BucketAccessControl::get_domain ( ) const
inline

Get the value of the 'domain' attribute.

◆ get_email()

const StringPiece google_storage_api::BucketAccessControl::get_email ( ) const
inline

Get the value of the 'email' attribute.

◆ get_entity()

const StringPiece google_storage_api::BucketAccessControl::get_entity ( ) const
inline

Get the value of the 'entity' attribute.

◆ get_entity_id()

const StringPiece google_storage_api::BucketAccessControl::get_entity_id ( ) const
inline

Get the value of the 'entityId' attribute.

◆ get_etag()

const StringPiece google_storage_api::BucketAccessControl::get_etag ( ) const
inline

Get the value of the 'etag' attribute.

◆ get_id()

const StringPiece google_storage_api::BucketAccessControl::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_project_team()

const BucketAccessControlProjectTeam google_storage_api::BucketAccessControl::get_project_team ( ) const
inline

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

◆ get_role()

const StringPiece google_storage_api::BucketAccessControl::get_role ( ) const
inline

Get the value of the 'role' attribute.

◆ get_self_link()

const StringPiece google_storage_api::BucketAccessControl::get_self_link ( ) const
inline

Get the value of the 'selfLink' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_storage_api::BucketAccessControl

◆ has_bucket()

bool google_storage_api::BucketAccessControl::has_bucket ( ) const
inline

Determine if the 'bucket' attribute was set.

Returns
true if the 'bucket' attribute was set.

◆ has_domain()

bool google_storage_api::BucketAccessControl::has_domain ( ) const
inline

Determine if the 'domain' attribute was set.

Returns
true if the 'domain' attribute was set.

◆ has_email()

bool google_storage_api::BucketAccessControl::has_email ( ) const
inline

Determine if the 'email' attribute was set.

Returns
true if the 'email' attribute was set.

◆ has_entity()

bool google_storage_api::BucketAccessControl::has_entity ( ) const
inline

Determine if the 'entity' attribute was set.

Returns
true if the 'entity' attribute was set.

◆ has_entity_id()

bool google_storage_api::BucketAccessControl::has_entity_id ( ) const
inline

Determine if the 'entityId' attribute was set.

Returns
true if the 'entityId' attribute was set.

◆ has_etag()

bool google_storage_api::BucketAccessControl::has_etag ( ) const
inline

Determine if the 'etag' attribute was set.

Returns
true if the 'etag' attribute was set.

◆ has_id()

bool google_storage_api::BucketAccessControl::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_project_team()

bool google_storage_api::BucketAccessControl::has_project_team ( ) const
inline

Determine if the 'projectTeam' attribute was set.

Returns
true if the 'projectTeam' attribute was set.

◆ has_role()

bool google_storage_api::BucketAccessControl::has_role ( ) const
inline

Determine if the 'role' attribute was set.

Returns
true if the 'role' attribute was set.

◆ has_self_link()

bool google_storage_api::BucketAccessControl::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ mutable_projectTeam()

BucketAccessControlProjectTeam google_storage_api::BucketAccessControl::mutable_projectTeam ( )
inline

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

The project team associated with the entity, if any.

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

◆ New()

BucketAccessControl * google_storage_api::BucketAccessControl::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_bucket()

void google_storage_api::BucketAccessControl::set_bucket ( const StringPiece &  value)
inline

Change the 'bucket' attribute.

The name of the bucket.

Parameters
[in]valueThe new value.

◆ set_domain()

void google_storage_api::BucketAccessControl::set_domain ( const StringPiece &  value)
inline

Change the 'domain' attribute.

The domain associated with the entity, if any.

Parameters
[in]valueThe new value.

◆ set_email()

void google_storage_api::BucketAccessControl::set_email ( const StringPiece &  value)
inline

Change the 'email' attribute.

The email address associated with the entity, if any.

Parameters
[in]valueThe new value.

◆ set_entity()

void google_storage_api::BucketAccessControl::set_entity ( const StringPiece &  value)
inline

Change the 'entity' attribute.

The entity holding the permission, in one of the following forms:

user-userId
user-email.
group-groupId
group-email.
domain-domain
project-team-projectId.
allUsers
allAuthenticatedUsers Examples:.
user-.nosp@m.liz@.nosp@m.examp.nosp@m.le.c.nosp@m.om.
The group examp.nosp@m.le@g.nosp@m.oogle.nosp@m.grou.nosp@m.ps.co.nosp@m.m would be group- examp.nosp@m.le@g.nosp@m.oogle.nosp@m.grou.nosp@m.ps.co.nosp@m.m.
domain
example.com.
Parameters
[in]valueThe new value.

◆ set_entity_id()

void google_storage_api::BucketAccessControl::set_entity_id ( const StringPiece &  value)
inline

Change the 'entityId' attribute.

The ID for the entity, if any.

Parameters
[in]valueThe new value.

◆ set_etag()

void google_storage_api::BucketAccessControl::set_etag ( const StringPiece &  value)
inline

Change the 'etag' attribute.

HTTP 1.1 Entity tag for the access-control entry.

Parameters
[in]valueThe new value.

◆ set_id()

void google_storage_api::BucketAccessControl::set_id ( const StringPiece &  value)
inline

Change the 'id' attribute.

The ID of the access-control entry.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

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

Parameters
[in]valueThe new value.

◆ set_role()

void google_storage_api::BucketAccessControl::set_role ( const StringPiece &  value)
inline

Change the 'role' attribute.

The access permission for the entity.

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_storage_api::BucketAccessControl::set_self_link ( const StringPiece &  value)
inline

Change the 'selfLink' attribute.

The link to this access-control entry.

Parameters
[in]valueThe new value.

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