19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_IAM_V1_IAM_POLICY_CLIENT_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_IAM_V1_IAM_POLICY_CLIENT_H
22#include "google/cloud/iam/v1/iam_policy_connection.h"
23#include "google/cloud/future.h"
24#include "google/cloud/options.h"
25#include "google/cloud/polling_policy.h"
26#include "google/cloud/status_or.h"
27#include "google/cloud/version.h"
33GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
103 return a.connection_ == b.connection_;
212 google::iam::v1::TestIamPermissionsRequest
const& request,
220GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
API Overview.
Definition: iam_policy_client.h:86
IAMPolicyClient & operator=(IAMPolicyClient const &)=default
StatusOr< google::iam::v1::Policy > GetIamPolicy(google::iam::v1::GetIamPolicyRequest const &request, Options opts={})
Gets the access control policy for a resource.
IAMPolicyClient(IAMPolicyClient &&)=default
IAMPolicyClient(IAMPolicyClient const &)=default
IAMPolicyClient(std::shared_ptr< IAMPolicyConnection > connection, Options opts={})
StatusOr< google::iam::v1::Policy > SetIamPolicy(google::iam::v1::SetIamPolicyRequest const &request, Options opts={})
Sets the access control policy on the specified resource.
friend bool operator!=(IAMPolicyClient const &a, IAMPolicyClient const &b)
Definition: iam_policy_client.h:105
friend bool operator==(IAMPolicyClient const &a, IAMPolicyClient const &b)
Definition: iam_policy_client.h:102
IAMPolicyClient & operator=(IAMPolicyClient &&)=default
StatusOr< google::iam::v1::TestIamPermissionsResponse > TestIamPermissions(google::iam::v1::TestIamPermissionsRequest const &request, Options opts={})
Returns permissions that a caller has on the specified resource.
The IAMPolicyConnection object for IAMPolicyClient.
Definition: iam_policy_connection.h:59
Definition: iam_policy_client.h:32