Policy Troubleshooter v3 API - Class PolicyTroubleshooterClientImpl (1.0.0-beta02)

public sealed class PolicyTroubleshooterClientImpl : PolicyTroubleshooterClient

Reference documentation and code samples for the Policy Troubleshooter v3 API class PolicyTroubleshooterClientImpl.

PolicyTroubleshooter client wrapper implementation, for convenient use.

Inheritance

object > PolicyTroubleshooterClient > PolicyTroubleshooterClientImpl

Namespace

Google.Cloud.PolicyTroubleshooter.Iam.V3

Assembly

Google.Cloud.PolicyTroubleshooter.Iam.V3.dll

Remarks

IAM Policy Troubleshooter service.

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

Constructors

PolicyTroubleshooterClientImpl(PolicyTroubleshooterClient, PolicyTroubleshooterSettings, ILogger)

public PolicyTroubleshooterClientImpl(PolicyTroubleshooter.PolicyTroubleshooterClient grpcClient, PolicyTroubleshooterSettings settings, ILogger logger)

Constructs a client wrapper for the PolicyTroubleshooter service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientPolicyTroubleshooterPolicyTroubleshooterClient

The underlying gRPC client.

settingsPolicyTroubleshooterSettings

The base PolicyTroubleshooterSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override PolicyTroubleshooter.PolicyTroubleshooterClient GrpcClient { get; }

The underlying gRPC PolicyTroubleshooter client

Property Value
TypeDescription
PolicyTroubleshooterPolicyTroubleshooterClient
Overrides

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 doesn't 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 principal has a specific permission for a specific resource, and explains why the principal does or doesn't 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
TaskTroubleshootIamPolicyResponse

A Task containing the RPC response.

Overrides