The PoliciesConnection
object for PoliciesClient
.
More...
#include <google/cloud/iam/v2/policies_connection.h>
The PoliciesConnection
object for PoliciesClient
.
This interface defines virtual methods for each of the user-facing overload sets in PoliciesClient
. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type PoliciesClient
.
To create a concrete instance, see MakePoliciesConnection()
.
For mocking, see iam_v2_mocks::MockPoliciesConnection
.
◆ ~PoliciesConnection()
virtual google::cloud::iam_v2::PoliciesConnection::~PoliciesConnection |
( |
| ) |
|
|
pure virtual |
◆ CreatePolicy()
virtual future< StatusOr< google::iam::v2::Policy > > google::cloud::iam_v2::PoliciesConnection::CreatePolicy |
( |
google::iam::v2::CreatePolicyRequest const & |
request | ) |
|
|
virtual |
◆ DeletePolicy()
virtual future< StatusOr< google::iam::v2::Policy > > google::cloud::iam_v2::PoliciesConnection::DeletePolicy |
( |
google::iam::v2::DeletePolicyRequest const & |
request | ) |
|
|
virtual |
◆ GetPolicy()
virtual StatusOr< google::iam::v2::Policy > google::cloud::iam_v2::PoliciesConnection::GetPolicy |
( |
google::iam::v2::GetPolicyRequest const & |
request | ) |
|
|
virtual |
◆ ListPolicies()
virtual StreamRange< google::iam::v2::Policy > google::cloud::iam_v2::PoliciesConnection::ListPolicies |
( |
google::iam::v2::ListPoliciesRequest |
request | ) |
|
|
virtual |
◆ options()
virtual Options google::cloud::iam_v2::PoliciesConnection::options |
( |
| ) |
|
|
inlinevirtual |
◆ UpdatePolicy()
virtual future< StatusOr< google::iam::v2::Policy > > google::cloud::iam_v2::PoliciesConnection::UpdatePolicy |
( |
google::iam::v2::UpdatePolicyRequest const & |
request | ) |
|
|
virtual |