Class protos.google.cloud.policytroubleshooter.v1.IamChecker (1.0.6)

Represents an IamChecker

Inheritance

$protobuf.rpc.Service > protos.google.cloud.policytroubleshooter.v1.IamChecker

Package

@google-cloud/policy-troubleshooter!

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new IamChecker service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): IamChecker;

Creates new IamChecker service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
IamChecker

RPC service. Useful where requests and/or responses are streamed.

troubleshootIamPolicy(request, callback)

public troubleshootIamPolicy(request: google.cloud.policytroubleshooter.v1.ITroubleshootIamPolicyRequest, callback: google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicyCallback): void;

Calls TroubleshootIamPolicy.

Parameters
NameDescription
request ITroubleshootIamPolicyRequest

TroubleshootIamPolicyRequest message or plain object

callback google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicyCallback

Node-style callback called with the error, if any, and TroubleshootIamPolicyResponse

Returns
TypeDescription
void

troubleshootIamPolicy(request)

public troubleshootIamPolicy(request: google.cloud.policytroubleshooter.v1.ITroubleshootIamPolicyRequest): Promise<google.cloud.policytroubleshooter.v1.TroubleshootIamPolicyResponse>;

Calls TroubleshootIamPolicy.

Parameter
NameDescription
request ITroubleshootIamPolicyRequest

TroubleshootIamPolicyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.policytroubleshooter.v1.TroubleshootIamPolicyResponse>

Promise