19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_IAM_ADMIN_V1_IAM_CONNECTION_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_IAM_ADMIN_V1_IAM_CONNECTION_H
22#include "google/cloud/iam/admin/v1/iam_connection_idempotency_policy.h"
23#include "google/cloud/iam/admin/v1/internal/iam_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/stream_range.h"
28#include "google/cloud/version.h"
29#include <google/iam/admin/v1/iam.pb.h>
35GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
37using IAMRetryPolicy = ::
google::
cloud::internal::TraitBasedRetryPolicy<
38 iam_admin_v1_internal::IAMRetryTraits>;
40using IAMLimitedTimeRetryPolicy =
42 iam_admin_v1_internal::IAMRetryTraits>;
44using IAMLimitedErrorCountRetryPolicy =
45 ::
google::
cloud::internal::LimitedErrorCountRetryPolicy<
46 iam_admin_v1_internal::IAMRetryTraits>;
49
50
51
52
53
54
55
56
57
58
59
66 virtual StreamRange<
google::iam::admin::v1::ServiceAccount>
68 google::iam::admin::v1::ListServiceAccountsRequest request);
71 google::iam::admin::v1::GetServiceAccountRequest
const& request);
74 google::iam::admin::v1::CreateServiceAccountRequest
const& request);
77 google::iam::admin::v1::PatchServiceAccountRequest
const& request);
80 google::iam::admin::v1::DeleteServiceAccountRequest
const& request);
82 virtual StatusOr<
google::iam::admin::v1::UndeleteServiceAccountResponse>
84 google::iam::admin::v1::UndeleteServiceAccountRequest
const& request);
87 google::iam::admin::v1::EnableServiceAccountRequest
const& request);
90 google::iam::admin::v1::DisableServiceAccountRequest
const& request);
92 virtual StatusOr<
google::iam::admin::v1::ListServiceAccountKeysResponse>
94 google::iam::admin::v1::ListServiceAccountKeysRequest
const& request);
96 virtual StatusOr<
google::iam::admin::v1::ServiceAccountKey>
98 google::iam::admin::v1::GetServiceAccountKeyRequest
const& request);
100 virtual StatusOr<
google::iam::admin::v1::ServiceAccountKey>
102 google::iam::admin::v1::CreateServiceAccountKeyRequest
const& request);
104 virtual StatusOr<
google::iam::admin::v1::ServiceAccountKey>
106 google::iam::admin::v1::UploadServiceAccountKeyRequest
const& request);
109 google::iam::admin::v1::DeleteServiceAccountKeyRequest
const& request);
112 google::iam::admin::v1::DisableServiceAccountKeyRequest
const& request);
115 google::iam::admin::v1::EnableServiceAccountKeyRequest
const& request);
118 google::iam::v1::GetIamPolicyRequest
const& request);
121 google::iam::v1::SetIamPolicyRequest
const& request);
123 virtual StatusOr<
google::iam::v1::TestIamPermissionsResponse>
127 google::iam::admin::v1::QueryGrantableRolesRequest request);
130 google::iam::admin::v1::ListRolesRequest request);
133 google::iam::admin::v1::GetRoleRequest
const& request);
136 google::iam::admin::v1::CreateRoleRequest
const& request);
139 google::iam::admin::v1::UpdateRoleRequest
const& request);
142 google::iam::admin::v1::DeleteRoleRequest
const& request);
145 google::iam::admin::v1::UndeleteRoleRequest
const& request);
147 virtual StreamRange<
google::iam::admin::v1::Permission>
149 google::iam::admin::v1::QueryTestablePermissionsRequest request);
151 virtual StatusOr<
google::iam::admin::v1::QueryAuditableServicesResponse>
153 google::iam::admin::v1::QueryAuditableServicesRequest
const& request);
156 google::iam::admin::v1::LintPolicyRequest
const& request);
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
182GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
183namespace gcpcxxV1 = GOOGLE_CLOUD_CPP_NS;
The IAMConnection object for IAMClient.
Definition: iam_connection.h:60
virtual StatusOr< google::iam::admin::v1::ServiceAccount > PatchServiceAccount(google::iam::admin::v1::PatchServiceAccountRequest const &request)
virtual StreamRange< google::iam::admin::v1::ServiceAccount > ListServiceAccounts(google::iam::admin::v1::ListServiceAccountsRequest request)
virtual StatusOr< google::iam::v1::TestIamPermissionsResponse > TestIamPermissions(google::iam::v1::TestIamPermissionsRequest const &request)
virtual Status DisableServiceAccountKey(google::iam::admin::v1::DisableServiceAccountKeyRequest const &request)
virtual StatusOr< google::iam::v1::Policy > SetIamPolicy(google::iam::v1::SetIamPolicyRequest const &request)
virtual StatusOr< google::iam::admin::v1::ServiceAccount > GetServiceAccount(google::iam::admin::v1::GetServiceAccountRequest const &request)
virtual StreamRange< google::iam::admin::v1::Permission > QueryTestablePermissions(google::iam::admin::v1::QueryTestablePermissionsRequest request)
virtual StatusOr< google::iam::admin::v1::ListServiceAccountKeysResponse > ListServiceAccountKeys(google::iam::admin::v1::ListServiceAccountKeysRequest const &request)
virtual StatusOr< google::iam::admin::v1::LintPolicyResponse > LintPolicy(google::iam::admin::v1::LintPolicyRequest const &request)
virtual StreamRange< google::iam::admin::v1::Role > QueryGrantableRoles(google::iam::admin::v1::QueryGrantableRolesRequest request)
virtual StatusOr< google::iam::admin::v1::Role > UndeleteRole(google::iam::admin::v1::UndeleteRoleRequest const &request)
virtual StatusOr< google::iam::admin::v1::Role > GetRole(google::iam::admin::v1::GetRoleRequest const &request)
virtual StatusOr< google::iam::admin::v1::ServiceAccountKey > GetServiceAccountKey(google::iam::admin::v1::GetServiceAccountKeyRequest const &request)
virtual Status DisableServiceAccount(google::iam::admin::v1::DisableServiceAccountRequest const &request)
virtual StatusOr< google::iam::admin::v1::Role > UpdateRole(google::iam::admin::v1::UpdateRoleRequest const &request)
virtual Status DeleteServiceAccount(google::iam::admin::v1::DeleteServiceAccountRequest const &request)
virtual Status EnableServiceAccountKey(google::iam::admin::v1::EnableServiceAccountKeyRequest const &request)
virtual ~IAMConnection()=0
virtual StatusOr< google::iam::admin::v1::ServiceAccountKey > CreateServiceAccountKey(google::iam::admin::v1::CreateServiceAccountKeyRequest const &request)
virtual StatusOr< google::iam::admin::v1::ServiceAccount > CreateServiceAccount(google::iam::admin::v1::CreateServiceAccountRequest const &request)
virtual StatusOr< google::iam::admin::v1::ServiceAccountKey > UploadServiceAccountKey(google::iam::admin::v1::UploadServiceAccountKeyRequest const &request)
virtual StatusOr< google::iam::admin::v1::Role > CreateRole(google::iam::admin::v1::CreateRoleRequest 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 StatusOr< google::iam::v1::Policy > GetIamPolicy(google::iam::v1::GetIamPolicyRequest const &request)
virtual StatusOr< google::iam::admin::v1::Role > DeleteRole(google::iam::admin::v1::DeleteRoleRequest const &request)
virtual Status DeleteServiceAccountKey(google::iam::admin::v1::DeleteServiceAccountKeyRequest const &request)
virtual StatusOr< google::iam::admin::v1::QueryAuditableServicesResponse > QueryAuditableServices(google::iam::admin::v1::QueryAuditableServicesRequest const &request)
virtual Options options()
Definition: iam_connection.h:64
virtual StreamRange< google::iam::admin::v1::Role > ListRoles(google::iam::admin::v1::ListRolesRequest request)
Definition: iam_client.h:33
std::shared_ptr< IAMConnection > MakeIAMConnection(Options options={})
A factory function to construct an object of type IAMConnection.