|
| MOCK_METHOD (Options, options,(),(override)) |
|
| 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 (Status, DisableServiceAccountKey,(google::iam::admin::v1::DisableServiceAccountKeyRequest const &request),(override)) |
|
| MOCK_METHOD (Status, EnableServiceAccountKey,(google::iam::admin::v1::EnableServiceAccountKeyRequest 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 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) |
|
A class to mock IAMConnection
.
Application developers may want to test their code with simulated responses, including errors, from an object of type IAMClient
. To do so, construct an object of type IAMClient
with an instance of this class. Then use the Google Test framework functions to program the behavior of this mock.
- See also
- This example for how to test your application with GoogleTest. While the example showcases types from the BigQuery library, the underlying principles apply for any pair of
*Client
and *Connection
.