public sealed class IamCheckerClientImpl : IamCheckerClientReference documentation and code samples for the Policy Troubleshooter v1 API class IamCheckerClientImpl.
IamChecker client wrapper implementation, for convenient use.
Namespace
Google.Cloud.PolicyTroubleshooter.V1Assembly
Google.Cloud.PolicyTroubleshooter.V1.dll
Remarks
IAM Policy Troubleshooter service.
This service helps you troubleshoot access issues for Google Cloud resources.
Constructors
IamCheckerClientImpl(IamCheckerClient, IamCheckerSettings, ILogger)
public IamCheckerClientImpl(IamChecker.IamCheckerClient grpcClient, IamCheckerSettings settings, ILogger logger)Constructs a client wrapper for the IamChecker service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
IamCheckerIamCheckerClientThe underlying gRPC client. |
settings |
IamCheckerSettingsThe base IamCheckerSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override IamChecker.IamCheckerClient GrpcClient { get; }The underlying gRPC IamChecker client
| Property Value | |
|---|---|
| Type | Description |
IamCheckerIamCheckerClient |
|
Methods
TroubleshootIamPolicy(TroubleshootIamPolicyRequest, CallSettings)
public override TroubleshootIamPolicyResponse TroubleshootIamPolicy(TroubleshootIamPolicyRequest request, CallSettings callSettings = null)Checks whether a principal has a specific permission for a specific resource, and explains why the principal does or does not have that permission.
| Parameters | |
|---|---|
| Name | Description |
request |
TroubleshootIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TroubleshootIamPolicyResponse |
The RPC response. |
TroubleshootIamPolicyAsync(TroubleshootIamPolicyRequest, CallSettings)
public override Task<TroubleshootIamPolicyResponse> TroubleshootIamPolicyAsync(TroubleshootIamPolicyRequest request, CallSettings callSettings = null)Checks whether a principal has a specific permission for a specific resource, and explains why the principal does or does not have that permission.
| Parameters | |
|---|---|
| Name | Description |
request |
TroubleshootIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTroubleshootIamPolicyResponse |
A Task containing the RPC response. |