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_admin_v1::IAMConnection Class Referenceabstract

The IAMConnection object for IAMClient. More...

#include <google/cloud/iam/admin/v1/iam_connection.h>

Public Member Functions

virtual ~IAMConnection ()=0
 
virtual Options options ()
 
virtual StreamRange< google::iam::admin::v1::ServiceAccount > ListServiceAccounts (google::iam::admin::v1::ListServiceAccountsRequest request)
 
virtual StatusOr< google::iam::admin::v1::ServiceAccount > GetServiceAccount (google::iam::admin::v1::GetServiceAccountRequest const &request)
 
virtual StatusOr< google::iam::admin::v1::ServiceAccount > CreateServiceAccount (google::iam::admin::v1::CreateServiceAccountRequest const &request)
 
virtual StatusOr< google::iam::admin::v1::ServiceAccount > PatchServiceAccount (google::iam::admin::v1::PatchServiceAccountRequest const &request)
 
virtual Status DeleteServiceAccount (google::iam::admin::v1::DeleteServiceAccountRequest const &request)
 
virtual StatusOr< google::iam::admin::v1::UndeleteServiceAccountResponse > UndeleteServiceAccount (google::iam::admin::v1::UndeleteServiceAccountRequest const &request)
 
virtual Status EnableServiceAccount (google::iam::admin::v1::EnableServiceAccountRequest const &request)
 
virtual Status DisableServiceAccount (google::iam::admin::v1::DisableServiceAccountRequest const &request)
 
virtual StatusOr< google::iam::admin::v1::ListServiceAccountKeysResponse > ListServiceAccountKeys (google::iam::admin::v1::ListServiceAccountKeysRequest const &request)
 
virtual StatusOr< google::iam::admin::v1::ServiceAccountKey > GetServiceAccountKey (google::iam::admin::v1::GetServiceAccountKeyRequest const &request)
 
virtual StatusOr< google::iam::admin::v1::ServiceAccountKey > CreateServiceAccountKey (google::iam::admin::v1::CreateServiceAccountKeyRequest const &request)
 
virtual StatusOr< google::iam::admin::v1::ServiceAccountKey > UploadServiceAccountKey (google::iam::admin::v1::UploadServiceAccountKeyRequest const &request)
 
virtual Status DeleteServiceAccountKey (google::iam::admin::v1::DeleteServiceAccountKeyRequest const &request)
 
virtual Status DisableServiceAccountKey (google::iam::admin::v1::DisableServiceAccountKeyRequest const &request)
 
virtual Status EnableServiceAccountKey (google::iam::admin::v1::EnableServiceAccountKeyRequest const &request)
 
virtual StatusOr< google::iam::v1::Policy > GetIamPolicy (google::iam::v1::GetIamPolicyRequest const &request)
 
virtual StatusOr< google::iam::v1::Policy > SetIamPolicy (google::iam::v1::SetIamPolicyRequest const &request)
 
virtual StatusOr< google::iam::v1::TestIamPermissionsResponse > TestIamPermissions (google::iam::v1::TestIamPermissionsRequest const &request)
 
virtual StreamRange< google::iam::admin::v1::Role > QueryGrantableRoles (google::iam::admin::v1::QueryGrantableRolesRequest request)
 
virtual StreamRange< google::iam::admin::v1::Role > ListRoles (google::iam::admin::v1::ListRolesRequest request)
 
virtual StatusOr< google::iam::admin::v1::Role > GetRole (google::iam::admin::v1::GetRoleRequest const &request)
 
virtual StatusOr< google::iam::admin::v1::Role > CreateRole (google::iam::admin::v1::CreateRoleRequest const &request)
 
virtual StatusOr< google::iam::admin::v1::Role > UpdateRole (google::iam::admin::v1::UpdateRoleRequest const &request)
 
virtual StatusOr< google::iam::admin::v1::Role > DeleteRole (google::iam::admin::v1::DeleteRoleRequest const &request)
 
virtual StatusOr< google::iam::admin::v1::Role > UndeleteRole (google::iam::admin::v1::UndeleteRoleRequest const &request)
 
virtual StreamRange< google::iam::admin::v1::Permission > QueryTestablePermissions (google::iam::admin::v1::QueryTestablePermissionsRequest request)
 
virtual StatusOr< google::iam::admin::v1::QueryAuditableServicesResponse > QueryAuditableServices (google::iam::admin::v1::QueryAuditableServicesRequest const &request)
 
virtual StatusOr< google::iam::admin::v1::LintPolicyResponse > LintPolicy (google::iam::admin::v1::LintPolicyRequest const &request)
 

Detailed Description

The IAMConnection object for IAMClient.

This interface defines virtual methods for each of the user-facing overload sets in IAMClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type IAMClient.

To create a concrete instance, see MakeIAMConnection().

For mocking, see iam_admin_v1_mocks::MockIAMConnection.

Constructor & Destructor Documentation

◆ ~IAMConnection()

virtual google::cloud::iam_admin_v1::IAMConnection::~IAMConnection ( )
pure virtual

Member Function Documentation

◆ CreateRole()

virtual StatusOr< google::iam::admin::v1::Role > google::cloud::iam_admin_v1::IAMConnection::CreateRole ( google::iam::admin::v1::CreateRoleRequest const &  request)
virtual

◆ CreateServiceAccount()

virtual StatusOr< google::iam::admin::v1::ServiceAccount > google::cloud::iam_admin_v1::IAMConnection::CreateServiceAccount ( google::iam::admin::v1::CreateServiceAccountRequest const &  request)
virtual

◆ CreateServiceAccountKey()

virtual StatusOr< google::iam::admin::v1::ServiceAccountKey > google::cloud::iam_admin_v1::IAMConnection::CreateServiceAccountKey ( google::iam::admin::v1::CreateServiceAccountKeyRequest const &  request)
virtual

◆ DeleteRole()

virtual StatusOr< google::iam::admin::v1::Role > google::cloud::iam_admin_v1::IAMConnection::DeleteRole ( google::iam::admin::v1::DeleteRoleRequest const &  request)
virtual

◆ DeleteServiceAccount()

virtual Status google::cloud::iam_admin_v1::IAMConnection::DeleteServiceAccount ( google::iam::admin::v1::DeleteServiceAccountRequest const &  request)
virtual

◆ DeleteServiceAccountKey()

virtual Status google::cloud::iam_admin_v1::IAMConnection::DeleteServiceAccountKey ( google::iam::admin::v1::DeleteServiceAccountKeyRequest const &  request)
virtual

◆ DisableServiceAccount()

virtual Status google::cloud::iam_admin_v1::IAMConnection::DisableServiceAccount ( google::iam::admin::v1::DisableServiceAccountRequest const &  request)
virtual

◆ DisableServiceAccountKey()

virtual Status google::cloud::iam_admin_v1::IAMConnection::DisableServiceAccountKey ( google::iam::admin::v1::DisableServiceAccountKeyRequest const &  request)
virtual

◆ EnableServiceAccount()

virtual Status google::cloud::iam_admin_v1::IAMConnection::EnableServiceAccount ( google::iam::admin::v1::EnableServiceAccountRequest const &  request)
virtual

◆ EnableServiceAccountKey()

virtual Status google::cloud::iam_admin_v1::IAMConnection::EnableServiceAccountKey ( google::iam::admin::v1::EnableServiceAccountKeyRequest const &  request)
virtual

◆ GetIamPolicy()

virtual StatusOr< google::iam::v1::Policy > google::cloud::iam_admin_v1::IAMConnection::GetIamPolicy ( google::iam::v1::GetIamPolicyRequest const &  request)
virtual

◆ GetRole()

virtual StatusOr< google::iam::admin::v1::Role > google::cloud::iam_admin_v1::IAMConnection::GetRole ( google::iam::admin::v1::GetRoleRequest const &  request)
virtual

◆ GetServiceAccount()

virtual StatusOr< google::iam::admin::v1::ServiceAccount > google::cloud::iam_admin_v1::IAMConnection::GetServiceAccount ( google::iam::admin::v1::GetServiceAccountRequest const &  request)
virtual

◆ GetServiceAccountKey()

virtual StatusOr< google::iam::admin::v1::ServiceAccountKey > google::cloud::iam_admin_v1::IAMConnection::GetServiceAccountKey ( google::iam::admin::v1::GetServiceAccountKeyRequest const &  request)
virtual

◆ LintPolicy()

virtual StatusOr< google::iam::admin::v1::LintPolicyResponse > google::cloud::iam_admin_v1::IAMConnection::LintPolicy ( google::iam::admin::v1::LintPolicyRequest const &  request)
virtual

◆ ListRoles()

virtual StreamRange< google::iam::admin::v1::Role > google::cloud::iam_admin_v1::IAMConnection::ListRoles ( google::iam::admin::v1::ListRolesRequest  request)
virtual

◆ ListServiceAccountKeys()

virtual StatusOr< google::iam::admin::v1::ListServiceAccountKeysResponse > google::cloud::iam_admin_v1::IAMConnection::ListServiceAccountKeys ( google::iam::admin::v1::ListServiceAccountKeysRequest const &  request)
virtual

◆ ListServiceAccounts()

virtual StreamRange< google::iam::admin::v1::ServiceAccount > google::cloud::iam_admin_v1::IAMConnection::ListServiceAccounts ( google::iam::admin::v1::ListServiceAccountsRequest  request)
virtual

◆ options()

virtual Options google::cloud::iam_admin_v1::IAMConnection::options ( )
inlinevirtual

◆ PatchServiceAccount()

virtual StatusOr< google::iam::admin::v1::ServiceAccount > google::cloud::iam_admin_v1::IAMConnection::PatchServiceAccount ( google::iam::admin::v1::PatchServiceAccountRequest const &  request)
virtual

◆ QueryAuditableServices()

virtual StatusOr< google::iam::admin::v1::QueryAuditableServicesResponse > google::cloud::iam_admin_v1::IAMConnection::QueryAuditableServices ( google::iam::admin::v1::QueryAuditableServicesRequest const &  request)
virtual

◆ QueryGrantableRoles()

virtual StreamRange< google::iam::admin::v1::Role > google::cloud::iam_admin_v1::IAMConnection::QueryGrantableRoles ( google::iam::admin::v1::QueryGrantableRolesRequest  request)
virtual

◆ QueryTestablePermissions()

virtual StreamRange< google::iam::admin::v1::Permission > google::cloud::iam_admin_v1::IAMConnection::QueryTestablePermissions ( google::iam::admin::v1::QueryTestablePermissionsRequest  request)
virtual

◆ SetIamPolicy()

virtual StatusOr< google::iam::v1::Policy > google::cloud::iam_admin_v1::IAMConnection::SetIamPolicy ( google::iam::v1::SetIamPolicyRequest const &  request)
virtual

◆ TestIamPermissions()

virtual StatusOr< google::iam::v1::TestIamPermissionsResponse > google::cloud::iam_admin_v1::IAMConnection::TestIamPermissions ( google::iam::v1::TestIamPermissionsRequest const &  request)
virtual

◆ UndeleteRole()

virtual StatusOr< google::iam::admin::v1::Role > google::cloud::iam_admin_v1::IAMConnection::UndeleteRole ( google::iam::admin::v1::UndeleteRoleRequest const &  request)
virtual

◆ UndeleteServiceAccount()

virtual StatusOr< google::iam::admin::v1::UndeleteServiceAccountResponse > google::cloud::iam_admin_v1::IAMConnection::UndeleteServiceAccount ( google::iam::admin::v1::UndeleteServiceAccountRequest const &  request)
virtual

◆ UpdateRole()

virtual StatusOr< google::iam::admin::v1::Role > google::cloud::iam_admin_v1::IAMConnection::UpdateRole ( google::iam::admin::v1::UpdateRoleRequest const &  request)
virtual

◆ UploadServiceAccountKey()

virtual StatusOr< google::iam::admin::v1::ServiceAccountKey > google::cloud::iam_admin_v1::IAMConnection::UploadServiceAccountKey ( google::iam::admin::v1::UploadServiceAccountKeyRequest const &  request)
virtual