Google Cloud Storage C++ Client  1.42.0
A C++ Client Library for Google Cloud Storage
Public Member Functions | Friends | List of all members
google::cloud::storage::BucketAccessControl Class Reference

Wraps the bucketAccessControl resource in Google Cloud Storage. More...

#include <google/cloud/storage/bucket_access_control.h>

Public Member Functions

 BucketAccessControl ()=default
 
BucketAccessControlset_entity (std::string v)
 
BucketAccessControlset_role (std::string v)
 

Friends

bool operator== (BucketAccessControl const &lhs, BucketAccessControl const &rhs)
 
bool operator!= (BucketAccessControl const &lhs, BucketAccessControl const &rhs)
 

Detailed Description

Wraps the bucketAccessControl resource in Google Cloud Storage.

BucketAccessControl describes the access to a bucket for a single entity, where the entity might be a user, group, or other role.

See also
https://cloud.google.com/storage/docs/json_api/v1/bucketAccessControls for an authoritative source of field definitions.

Definition at line 43 of file bucket_access_control.h.

Constructor & Destructor Documentation

◆ BucketAccessControl()

google::cloud::storage::BucketAccessControl::BucketAccessControl ( )
default

Member Function Documentation

◆ set_entity()

BucketAccessControl& google::cloud::storage::BucketAccessControl::set_entity ( std::string  v)
inline

Definition at line 58 of file bucket_access_control.h.

◆ set_role()

BucketAccessControl& google::cloud::storage::BucketAccessControl::set_role ( std::string  v)
inline

Definition at line 71 of file bucket_access_control.h.

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( BucketAccessControl const &  lhs,
BucketAccessControl const &  rhs 
)
friend

Definition at line 80 of file bucket_access_control.h.

◆ operator==

bool operator== ( BucketAccessControl const &  lhs,
BucketAccessControl const &  rhs 
)
friend