Google Cloud Storage C++ Client 2.13.0
A C++ Client Library for Google Cloud Storage
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
google::cloud::storage::NativeIamBinding Class Reference

Represents a Binding which associates a member with a particular role which can be used for Identity and Access management for Cloud Platform Resources. More...

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

Public Member Functions

 NativeIamBinding (std::string role, std::vector< std::string > members)
 
 NativeIamBinding (std::string role, std::vector< std::string > members, NativeExpression condition)
 
 ~NativeIamBinding ()
 
 NativeIamBinding (NativeIamBinding const &other)
 
NativeIamBindingoperator= (NativeIamBinding const &other)
 
 NativeIamBinding (NativeIamBinding &&) noexcept
 
NativeIamBindingoperator= (NativeIamBinding &&) noexcept
 
std::string role () const
 
void set_role (std::string role)
 
std::vector< std::string > const & members () const
 
std::vector< std::string > & members ()
 
NativeExpression const & condition () const
 
NativeExpressioncondition ()
 
void set_condition (NativeExpression condition)
 
bool has_condition () const
 
void clear_condition ()
 

Friends

class NativeIamPolicy
 
bool operator== (NativeIamBinding const &a, NativeIamBinding const &b) noexcept
 
bool operator!= (NativeIamBinding const &a, NativeIamBinding const &b) noexcept
 

Detailed Description

Represents a Binding which associates a member with a particular role which can be used for Identity and Access management for Cloud Platform Resources.

For more information about a Binding please refer to: https://cloud.google.com/resource-manager/reference/rest/Shared.Types/Binding

Constructor & Destructor Documentation

◆ NativeIamBinding() [1/4]

google::cloud::storage::NativeIamBinding::NativeIamBinding ( std::string  role,
std::vector< std::string >  members 
)

◆ NativeIamBinding() [2/4]

google::cloud::storage::NativeIamBinding::NativeIamBinding ( std::string  role,
std::vector< std::string >  members,
NativeExpression  condition 
)

◆ ~NativeIamBinding()

google::cloud::storage::NativeIamBinding::~NativeIamBinding ( )

◆ NativeIamBinding() [3/4]

google::cloud::storage::NativeIamBinding::NativeIamBinding ( NativeIamBinding const &  other)

◆ NativeIamBinding() [4/4]

google::cloud::storage::NativeIamBinding::NativeIamBinding ( NativeIamBinding &&  )
noexcept

Member Function Documentation

◆ clear_condition()

void google::cloud::storage::NativeIamBinding::clear_condition ( )

◆ condition() [1/2]

NativeExpression & google::cloud::storage::NativeIamBinding::condition ( )

◆ condition() [2/2]

NativeExpression const & google::cloud::storage::NativeIamBinding::condition ( ) const

◆ has_condition()

bool google::cloud::storage::NativeIamBinding::has_condition ( ) const

◆ members() [1/2]

std::vector< std::string > & google::cloud::storage::NativeIamBinding::members ( )

◆ members() [2/2]

std::vector< std::string > const & google::cloud::storage::NativeIamBinding::members ( ) const

◆ operator=() [1/2]

NativeIamBinding & google::cloud::storage::NativeIamBinding::operator= ( NativeIamBinding &&  )
noexcept

◆ operator=() [2/2]

NativeIamBinding & google::cloud::storage::NativeIamBinding::operator= ( NativeIamBinding const &  other)

◆ role()

std::string google::cloud::storage::NativeIamBinding::role ( ) const

◆ set_condition()

void google::cloud::storage::NativeIamBinding::set_condition ( NativeExpression  condition)

◆ set_role()

void google::cloud::storage::NativeIamBinding::set_role ( std::string  role)

Friends And Related Function Documentation

◆ NativeIamPolicy

friend class NativeIamPolicy
friend

◆ operator!=

bool operator!= ( NativeIamBinding const &  a,
NativeIamBinding const &  b 
)
friend

◆ operator==

bool operator== ( NativeIamBinding const &  a,
NativeIamBinding const &  b 
)
friend