Google Cloud C++ Client  1.32.1
C++ Client Library for Google Cloud Platform
Public Member Functions | List of all members
google::cloud::v1::IamBinding Class Reference

Simplified view of roles and members for IAM. More...

#include <google/cloud/iam_binding.h>

Public Member Functions

GOOGLE_CLOUD_CPP_IAM_DEPRECATED IamBinding (std::string role, std::set< std::string > members)
 
std::string const & role () const
 
std::set< std::string > const & members () const
 

Detailed Description

Simplified view of roles and members for IAM.

Deprecated:
this class is deprecated. Any functions that use it have also been deprecated. The class was defined before IAM conditional bindings, and does not support them. Nor will it be able to support future IAM features. Please use the alternative functions.
See also
Identity and Access Management
Overview of IAM Conditions

Definition at line 38 of file iam_binding.h.

Constructor & Destructor Documentation

◆ IamBinding()

GOOGLE_CLOUD_CPP_IAM_DEPRECATED google::cloud::v1::IamBinding::IamBinding ( std::string  role,
std::set< std::string >  members 
)
inline

Definition at line 40 of file iam_binding.h.

Member Function Documentation

◆ members()

std::set<std::string> const& google::cloud::v1::IamBinding::members ( ) const
inline

Definition at line 45 of file iam_binding.h.

◆ role()

std::string const& google::cloud::v1::IamBinding::role ( ) const
inline

Definition at line 44 of file iam_binding.h.