Google Cloud IAM C++ Client  1.35.0
A C++ Client Library for Google Cloud IAM
Public Member Functions | List of all members
google::cloud::iam_mocks::MockIAMConnection Class Reference

#include <google/cloud/iam/mocks/mock_iam_connection.h>

Public Member Functions

 MOCK_METHOD (StreamRange< google::iam::admin::v1::ServiceAccount >, ListServiceAccounts,(google::iam::admin::v1::ListServiceAccountsRequest request),(override))
 
 MOCK_METHOD (StatusOr< google::iam::admin::v1::ServiceAccount >, GetServiceAccount,(google::iam::admin::v1::GetServiceAccountRequest const &request),(override))
 
 MOCK_METHOD (StatusOr< google::iam::admin::v1::ServiceAccount >, CreateServiceAccount,(google::iam::admin::v1::CreateServiceAccountRequest const &request),(override))
 
 MOCK_METHOD (StatusOr< google::iam::admin::v1::ServiceAccount >, PatchServiceAccount,(google::iam::admin::v1::PatchServiceAccountRequest const &request),(override))
 
 MOCK_METHOD (Status, DeleteServiceAccount,(google::iam::admin::v1::DeleteServiceAccountRequest const &request),(override))
 
 MOCK_METHOD (StatusOr< google::iam::admin::v1::UndeleteServiceAccountResponse >, UndeleteServiceAccount,(google::iam::admin::v1::UndeleteServiceAccountRequest const &request),(override))
 
 MOCK_METHOD (Status, EnableServiceAccount,(google::iam::admin::v1::EnableServiceAccountRequest const &request),(override))
 
 MOCK_METHOD (Status, DisableServiceAccount,(google::iam::admin::v1::DisableServiceAccountRequest const &request),(override))
 
 MOCK_METHOD (StatusOr< google::iam::admin::v1::ListServiceAccountKeysResponse >, ListServiceAccountKeys,(google::iam::admin::v1::ListServiceAccountKeysRequest const &request),(override))
 
 MOCK_METHOD (StatusOr< google::iam::admin::v1::ServiceAccountKey >, GetServiceAccountKey,(google::iam::admin::v1::GetServiceAccountKeyRequest const &request),(override))
 
 MOCK_METHOD (StatusOr< google::iam::admin::v1::ServiceAccountKey >, CreateServiceAccountKey,(google::iam::admin::v1::CreateServiceAccountKeyRequest const &request),(override))
 
 MOCK_METHOD (StatusOr< google::iam::admin::v1::ServiceAccountKey >, UploadServiceAccountKey,(google::iam::admin::v1::UploadServiceAccountKeyRequest const &request),(override))
 
 MOCK_METHOD (Status, DeleteServiceAccountKey,(google::iam::admin::v1::DeleteServiceAccountKeyRequest const &request),(override))
 
 MOCK_METHOD (StatusOr< google::iam::v1::Policy >, GetIamPolicy,(google::iam::v1::GetIamPolicyRequest const &request),(override))
 
 MOCK_METHOD (StatusOr< google::iam::v1::Policy >, SetIamPolicy,(google::iam::v1::SetIamPolicyRequest const &request),(override))
 
 MOCK_METHOD (StatusOr< google::iam::v1::TestIamPermissionsResponse >, TestIamPermissions,(google::iam::v1::TestIamPermissionsRequest const &request),(override))
 
 MOCK_METHOD (StreamRange< google::iam::admin::v1::Role >, QueryGrantableRoles,(google::iam::admin::v1::QueryGrantableRolesRequest request),(override))
 
 MOCK_METHOD (StreamRange< google::iam::admin::v1::Role >, ListRoles,(google::iam::admin::v1::ListRolesRequest request),(override))
 
 MOCK_METHOD (StatusOr< google::iam::admin::v1::Role >, GetRole,(google::iam::admin::v1::GetRoleRequest const &request),(override))
 
 MOCK_METHOD (StatusOr< google::iam::admin::v1::Role >, CreateRole,(google::iam::admin::v1::CreateRoleRequest const &request),(override))
 
 MOCK_METHOD (StatusOr< google::iam::admin::v1::Role >, UpdateRole,(google::iam::admin::v1::UpdateRoleRequest const &request),(override))
 
 MOCK_METHOD (StatusOr< google::iam::admin::v1::Role >, DeleteRole,(google::iam::admin::v1::DeleteRoleRequest const &request),(override))
 
 MOCK_METHOD (StatusOr< google::iam::admin::v1::Role >, UndeleteRole,(google::iam::admin::v1::UndeleteRoleRequest const &request),(override))
 
 MOCK_METHOD (StreamRange< google::iam::admin::v1::Permission >, QueryTestablePermissions,(google::iam::admin::v1::QueryTestablePermissionsRequest request),(override))
 
 MOCK_METHOD (StatusOr< google::iam::admin::v1::QueryAuditableServicesResponse >, QueryAuditableServices,(google::iam::admin::v1::QueryAuditableServicesRequest const &request),(override))
 
 MOCK_METHOD (StatusOr< google::iam::admin::v1::LintPolicyResponse >, LintPolicy,(google::iam::admin::v1::LintPolicyRequest const &request),(override))
 
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 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

Definition at line 30 of file mock_iam_connection.h.

Member Function Documentation

◆ CreateRole()

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

◆ CreateServiceAccount()

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

◆ CreateServiceAccountKey()

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

◆ DeleteRole()

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

◆ DeleteServiceAccount()

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

◆ DeleteServiceAccountKey()

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

◆ DisableServiceAccount()

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

◆ EnableServiceAccount()

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

◆ GetIamPolicy()

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

◆ GetRole()

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

◆ GetServiceAccount()

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

◆ GetServiceAccountKey()

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

◆ LintPolicy()

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

◆ ListRoles()

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

◆ ListServiceAccountKeys()

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

◆ ListServiceAccounts()

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

◆ MOCK_METHOD() [1/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( Status  ,
DeleteServiceAccount  ,
(google::iam::admin::v1::DeleteServiceAccountRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [2/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( Status  ,
DeleteServiceAccountKey  ,
(google::iam::admin::v1::DeleteServiceAccountKeyRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [3/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( Status  ,
DisableServiceAccount  ,
(google::iam::admin::v1::DisableServiceAccountRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [4/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( Status  ,
EnableServiceAccount  ,
(google::iam::admin::v1::EnableServiceAccountRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [5/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( StatusOr< google::iam::admin::v1::LintPolicyResponse >  ,
LintPolicy  ,
(google::iam::admin::v1::LintPolicyRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [6/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( StatusOr< google::iam::admin::v1::ListServiceAccountKeysResponse >  ,
ListServiceAccountKeys  ,
(google::iam::admin::v1::ListServiceAccountKeysRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [7/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( StatusOr< google::iam::admin::v1::QueryAuditableServicesResponse >  ,
QueryAuditableServices  ,
(google::iam::admin::v1::QueryAuditableServicesRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [8/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( StatusOr< google::iam::admin::v1::Role >  ,
CreateRole  ,
(google::iam::admin::v1::CreateRoleRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [9/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( StatusOr< google::iam::admin::v1::Role >  ,
DeleteRole  ,
(google::iam::admin::v1::DeleteRoleRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [10/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( StatusOr< google::iam::admin::v1::Role >  ,
GetRole  ,
(google::iam::admin::v1::GetRoleRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [11/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( StatusOr< google::iam::admin::v1::Role >  ,
UndeleteRole  ,
(google::iam::admin::v1::UndeleteRoleRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [12/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( StatusOr< google::iam::admin::v1::Role >  ,
UpdateRole  ,
(google::iam::admin::v1::UpdateRoleRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [13/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( StatusOr< google::iam::admin::v1::ServiceAccount >  ,
CreateServiceAccount  ,
(google::iam::admin::v1::CreateServiceAccountRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [14/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( StatusOr< google::iam::admin::v1::ServiceAccount >  ,
GetServiceAccount  ,
(google::iam::admin::v1::GetServiceAccountRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [15/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( StatusOr< google::iam::admin::v1::ServiceAccount >  ,
PatchServiceAccount  ,
(google::iam::admin::v1::PatchServiceAccountRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [16/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( StatusOr< google::iam::admin::v1::ServiceAccountKey >  ,
CreateServiceAccountKey  ,
(google::iam::admin::v1::CreateServiceAccountKeyRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [17/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( StatusOr< google::iam::admin::v1::ServiceAccountKey >  ,
GetServiceAccountKey  ,
(google::iam::admin::v1::GetServiceAccountKeyRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [18/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( StatusOr< google::iam::admin::v1::ServiceAccountKey >  ,
UploadServiceAccountKey  ,
(google::iam::admin::v1::UploadServiceAccountKeyRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [19/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( StatusOr< google::iam::admin::v1::UndeleteServiceAccountResponse >  ,
UndeleteServiceAccount  ,
(google::iam::admin::v1::UndeleteServiceAccountRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [20/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( StatusOr< google::iam::v1::Policy >  ,
GetIamPolicy  ,
(google::iam::v1::GetIamPolicyRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [21/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( StatusOr< google::iam::v1::Policy >  ,
SetIamPolicy  ,
(google::iam::v1::SetIamPolicyRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [22/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( StatusOr< google::iam::v1::TestIamPermissionsResponse >  ,
TestIamPermissions  ,
(google::iam::v1::TestIamPermissionsRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [23/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( StreamRange< google::iam::admin::v1::Permission >  ,
QueryTestablePermissions  ,
(google::iam::admin::v1::QueryTestablePermissionsRequest request)  ,
(override)   
)

◆ MOCK_METHOD() [24/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( StreamRange< google::iam::admin::v1::Role >  ,
ListRoles  ,
(google::iam::admin::v1::ListRolesRequest request)  ,
(override)   
)

◆ MOCK_METHOD() [25/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( StreamRange< google::iam::admin::v1::Role >  ,
QueryGrantableRoles  ,
(google::iam::admin::v1::QueryGrantableRolesRequest request)  ,
(override)   
)

◆ MOCK_METHOD() [26/26]

google::cloud::iam_mocks::MockIAMConnection::MOCK_METHOD ( StreamRange< google::iam::admin::v1::ServiceAccount >  ,
ListServiceAccounts  ,
(google::iam::admin::v1::ListServiceAccountsRequest request)  ,
(override)   
)

◆ PatchServiceAccount()

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

◆ QueryAuditableServices()

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

◆ QueryGrantableRoles()

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

◆ QueryTestablePermissions()

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

◆ SetIamPolicy()

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

◆ TestIamPermissions()

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

◆ UndeleteRole()

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

◆ UndeleteServiceAccount()

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

◆ UpdateRole()

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

◆ UploadServiceAccountKey()

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