Google Cloud IAM C++ Client 2.13.0
A C++ Client Library for Google Cloud IAM
Loading...
Searching...
No Matches
Public Member Functions | List of all members
google::cloud::iam_v1::IAMPolicyConnection Class Referenceabstract

The IAMPolicyConnection object for IAMPolicyClient. More...

#include <google/cloud/iam/v1/iam_policy_connection.h>

Public Member Functions

virtual ~IAMPolicyConnection ()=0
 
virtual Options options ()
 
virtual StatusOr< google::iam::v1::Policy > SetIamPolicy (google::iam::v1::SetIamPolicyRequest const &request)
 
virtual StatusOr< google::iam::v1::Policy > GetIamPolicy (google::iam::v1::GetIamPolicyRequest const &request)
 
virtual StatusOr< google::iam::v1::TestIamPermissionsResponse > TestIamPermissions (google::iam::v1::TestIamPermissionsRequest const &request)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~IAMPolicyConnection()

virtual google::cloud::iam_v1::IAMPolicyConnection::~IAMPolicyConnection ( )
pure virtual

Member Function Documentation

◆ 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