Policy Troubleshooter v1 API - Class IamCheckerClientImpl (2.1.0)

public sealed class IamCheckerClientImpl : IamCheckerClient

Reference documentation and code samples for the Policy Troubleshooter v1 API class IamCheckerClientImpl.

IamChecker client wrapper implementation, for convenient use.

Inheritance

Object > IamCheckerClient > IamCheckerClientImpl

Namespace

Google.Cloud.PolicyTroubleshooter.V1

Assembly

Google.Cloud.PolicyTroubleshooter.V1.dll

Remarks

IAM Policy Troubleshooter service.

This service helps you troubleshoot access issues for Google Cloud resources.

Constructors

IamCheckerClientImpl(IamChecker.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
NameDescription
grpcClientIamChecker.IamCheckerClient

The underlying gRPC client.

settingsIamCheckerSettings

The base IamCheckerSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override IamChecker.IamCheckerClient GrpcClient { get; }

The underlying gRPC IamChecker client

Property Value
TypeDescription
IamChecker.IamCheckerClient
Overrides

Methods

TroubleshootIamPolicy(TroubleshootIamPolicyRequest, CallSettings)

public override TroubleshootIamPolicyResponse TroubleshootIamPolicy(TroubleshootIamPolicyRequest request, CallSettings callSettings = null)

Checks whether a member has a specific permission for a specific resource, and explains why the member does or does not have that permission.

Parameters
NameDescription
requestTroubleshootIamPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TroubleshootIamPolicyResponse

The RPC response.

Overrides

TroubleshootIamPolicyAsync(TroubleshootIamPolicyRequest, CallSettings)

public override Task<TroubleshootIamPolicyResponse> TroubleshootIamPolicyAsync(TroubleshootIamPolicyRequest request, CallSettings callSettings = null)

Checks whether a member has a specific permission for a specific resource, and explains why the member does or does not have that permission.

Parameters
NameDescription
requestTroubleshootIamPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<TroubleshootIamPolicyResponse>

A Task containing the RPC response.

Overrides