The IAMPolicyConnection
object for IAMPolicyClient
.
More...
#include <google/cloud/iam/v1/iam_policy_connection.h>
The IAMPolicyConnection
object for IAMPolicyClient
.
This interface defines virtual methods for each of the user-facing overload sets in IAMPolicyClient
. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type IAMPolicyClient
.
To create a concrete instance, see MakeIAMPolicyConnection()
.
For mocking, see iam_v1_mocks::MockIAMPolicyConnection
.
◆ ~IAMPolicyConnection()
virtual google::cloud::iam_v1::IAMPolicyConnection::~IAMPolicyConnection |
( |
| ) |
|
|
pure virtual |
◆ GetIamPolicy()
virtual StatusOr< google::iam::v1::Policy > google::cloud::iam_v1::IAMPolicyConnection::GetIamPolicy |
( |
google::iam::v1::GetIamPolicyRequest const & |
request | ) |
|
|
virtual |
◆ options()
virtual Options google::cloud::iam_v1::IAMPolicyConnection::options |
( |
| ) |
|
|
inlinevirtual |
◆ SetIamPolicy()
virtual StatusOr< google::iam::v1::Policy > google::cloud::iam_v1::IAMPolicyConnection::SetIamPolicy |
( |
google::iam::v1::SetIamPolicyRequest const & |
request | ) |
|
|
virtual |
◆ TestIamPermissions()
virtual StatusOr< google::iam::v1::TestIamPermissionsResponse > google::cloud::iam_v1::IAMPolicyConnection::TestIamPermissions |
( |
google::iam::v1::TestIamPermissionsRequest const & |
request | ) |
|
|
virtual |