19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_IAM_V1_IAM_POLICY_CONNECTION_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_IAM_V1_IAM_POLICY_CONNECTION_H
22#include "google/cloud/iam/v1/iam_policy_connection_idempotency_policy.h"
23#include "google/cloud/iam/v1/internal/iam_policy_retry_traits.h"
24#include "google/cloud/backoff_policy.h"
25#include "google/cloud/options.h"
26#include "google/cloud/status_or.h"
27#include "google/cloud/version.h"
28#include <google/iam/v1/iam_policy.pb.h>
34GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
36using IAMPolicyRetryPolicy = ::
google::
cloud::internal::TraitBasedRetryPolicy<
37 iam_v1_internal::IAMPolicyRetryTraits>;
39using IAMPolicyLimitedTimeRetryPolicy =
41 iam_v1_internal::IAMPolicyRetryTraits>;
43using IAMPolicyLimitedErrorCountRetryPolicy =
44 ::
google::
cloud::internal::LimitedErrorCountRetryPolicy<
45 iam_v1_internal::IAMPolicyRetryTraits>;
48
49
50
51
52
53
54
55
56
57
58
66 google::iam::v1::SetIamPolicyRequest
const& request);
69 google::iam::v1::GetIamPolicyRequest
const& request);
71 virtual StatusOr<
google::iam::v1::TestIamPermissionsResponse>
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
99GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
The IAMPolicyConnection object for IAMPolicyClient.
Definition: iam_policy_connection.h:59
virtual ~IAMPolicyConnection()=0
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 Options options()
Definition: iam_policy_connection.h:63
virtual StatusOr< google::iam::v1::Policy > GetIamPolicy(google::iam::v1::GetIamPolicyRequest const &request)
Definition: iam_policy_client.h:32
std::shared_ptr< IAMPolicyConnection > MakeIAMPolicyConnection(Options options={})
A factory function to construct an object of type IAMPolicyConnection.