Policy Troubleshooter v1 API - Class IamChecker.IamCheckerClient (2.1.0)

public class IamCheckerClient : ClientBase<IamChecker.IamCheckerClient>

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

Client for IamChecker

Inheritance

Object > ClientBase > ClientBase<IamChecker.IamCheckerClient> > IamChecker.IamCheckerClient

Namespace

Google.Cloud.PolicyTroubleshooter.V1

Assembly

Google.Cloud.PolicyTroubleshooter.V1.dll

Constructors

IamCheckerClient()

protected IamCheckerClient()

Protected parameterless constructor to allow creation of test doubles.

IamCheckerClient(CallInvoker)

public IamCheckerClient(CallInvoker callInvoker)

Creates a new client for IamChecker that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

IamCheckerClient(ChannelBase)

public IamCheckerClient(ChannelBase channel)

Creates a new client for IamChecker

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

IamCheckerClient(ClientBase.ClientBaseConfiguration)

protected IamCheckerClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

NewInstance(ClientBase.ClientBaseConfiguration)

protected override IamChecker.IamCheckerClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
IamChecker.IamCheckerClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.PolicyTroubleshooter.V1.IamChecker.IamCheckerClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

TroubleshootIamPolicy(TroubleshootIamPolicyRequest, CallOptions)

public virtual TroubleshootIamPolicyResponse TroubleshootIamPolicy(TroubleshootIamPolicyRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TroubleshootIamPolicyResponse

The response received from the server.

TroubleshootIamPolicy(TroubleshootIamPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual TroubleshootIamPolicyResponse TroubleshootIamPolicy(TroubleshootIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
TroubleshootIamPolicyResponse

The response received from the server.

TroubleshootIamPolicyAsync(TroubleshootIamPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<TroubleshootIamPolicyResponse> TroubleshootIamPolicyAsync(TroubleshootIamPolicyRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<TroubleshootIamPolicyResponse>

The call object.

TroubleshootIamPolicyAsync(TroubleshootIamPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<TroubleshootIamPolicyResponse> TroubleshootIamPolicyAsync(TroubleshootIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<TroubleshootIamPolicyResponse>

The call object.