19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_IAM_V1_MOCKS_MOCK_IAM_POLICY_CONNECTION_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_IAM_V1_MOCKS_MOCK_IAM_POLICY_CONNECTION_H
22#include "google/cloud/iam/v1/iam_policy_connection.h"
23#include <gmock/gmock.h>
28GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
31
32
33
34
35
36
37
38
39
40
41
42
43
44
49 MOCK_METHOD(StatusOr<
google::iam::v1::Policy>, SetIamPolicy,
50 (
google::iam::v1::SetIamPolicyRequest
const& request),
53 MOCK_METHOD(StatusOr<
google::iam::v1::Policy>, GetIamPolicy,
54 (
google::iam::v1::GetIamPolicyRequest
const& request),
57 MOCK_METHOD(StatusOr<
google::iam::v1::TestIamPermissionsResponse>,
59 (
google::iam::v1::TestIamPermissionsRequest
const& request),
63GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
The IAMPolicyConnection object for IAMPolicyClient.
Definition: iam_policy_connection.h:59
A class to mock IAMPolicyConnection.
Definition: mock_iam_policy_connection.h:45
Definition: mock_iam_policy_connection.h:27
Definition: iam_policy_client.h:32