19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_IAM_V2_MOCKS_MOCK_POLICIES_CONNECTION_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_IAM_V2_MOCKS_MOCK_POLICIES_CONNECTION_H
22#include "google/cloud/iam/v2/policies_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(StreamRange<
google::iam::v2::Policy>, ListPolicies,
52 MOCK_METHOD(StatusOr<
google::iam::v2::Policy>, GetPolicy,
55 MOCK_METHOD(
future<StatusOr<
google::iam::v2::Policy>>, CreatePolicy,
56 (
google::iam::v2::CreatePolicyRequest
const& request),
59 MOCK_METHOD(
future<StatusOr<
google::iam::v2::Policy>>, UpdatePolicy,
60 (
google::iam::v2::UpdatePolicyRequest
const& request),
63 MOCK_METHOD(
future<StatusOr<
google::iam::v2::Policy>>, DeletePolicy,
64 (
google::iam::v2::DeletePolicyRequest
const& request),
68GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
friend friend class future
The PoliciesConnection object for PoliciesClient.
Definition: policies_connection.h:63
A class to mock PoliciesConnection.
Definition: mock_policies_connection.h:45
Definition: mock_policies_connection.h:27
Definition: policies_client.h:34