19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_IAM_V2_POLICIES_CONNECTION_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_IAM_V2_POLICIES_CONNECTION_H
22#include "google/cloud/iam/v2/internal/policies_retry_traits.h"
23#include "google/cloud/iam/v2/policies_connection_idempotency_policy.h"
24#include "google/cloud/backoff_policy.h"
25#include "google/cloud/future.h"
26#include "google/cloud/options.h"
27#include "google/cloud/polling_policy.h"
28#include "google/cloud/status_or.h"
29#include "google/cloud/stream_range.h"
30#include "google/cloud/version.h"
31#include <google/iam/v2/policy.pb.h>
32#include <google/longrunning/operations.grpc.pb.h>
38GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
40using PoliciesRetryPolicy = ::
google::
cloud::internal::TraitBasedRetryPolicy<
41 iam_v2_internal::PoliciesRetryTraits>;
43using PoliciesLimitedTimeRetryPolicy =
45 iam_v2_internal::PoliciesRetryTraits>;
47using PoliciesLimitedErrorCountRetryPolicy =
48 ::
google::
cloud::internal::LimitedErrorCountRetryPolicy<
49 iam_v2_internal::PoliciesRetryTraits>;
52
53
54
55
56
57
58
59
60
61
62
70 google::iam::v2::ListPoliciesRequest request);
73 google::iam::v2::GetPolicyRequest
const& request);
76 google::iam::v2::CreatePolicyRequest
const& request);
79 google::iam::v2::UpdatePolicyRequest
const& request);
82 google::iam::v2::DeletePolicyRequest
const& request);
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
109GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
friend friend class future
The PoliciesConnection object for PoliciesClient.
Definition: policies_connection.h:63
virtual StreamRange< google::iam::v2::Policy > ListPolicies(google::iam::v2::ListPoliciesRequest request)
virtual future< StatusOr< google::iam::v2::Policy > > CreatePolicy(google::iam::v2::CreatePolicyRequest const &request)
virtual future< StatusOr< google::iam::v2::Policy > > UpdatePolicy(google::iam::v2::UpdatePolicyRequest const &request)
virtual Options options()
Definition: policies_connection.h:67
virtual ~PoliciesConnection()=0
virtual future< StatusOr< google::iam::v2::Policy > > DeletePolicy(google::iam::v2::DeletePolicyRequest const &request)
virtual StatusOr< google::iam::v2::Policy > GetPolicy(google::iam::v2::GetPolicyRequest const &request)
Definition: policies_client.h:34
std::shared_ptr< PoliciesConnection > MakePoliciesConnection(Options options={})
A factory function to construct an object of type PoliciesConnection.