IamChecker

google.cloud.policytroubleshooter.v1. IamChecker

Represents an IamChecker

Constructor

new IamChecker(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new IamChecker service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

troubleshootIamPolicy(request, callback) → {undefined}

Calls TroubleshootIamPolicy.

Parameters:
Name Type Description
request google.cloud.policytroubleshooter.v1.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:
Type Description
undefined

troubleshootIamPolicy(request) → {Promise.<google.cloud.policytroubleshooter.v1.TroubleshootIamPolicyResponse>}

Calls TroubleshootIamPolicy.

Parameters:
Name Type Description
request google.cloud.policytroubleshooter.v1.ITroubleshootIamPolicyRequest

TroubleshootIamPolicyRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.policytroubleshooter.v1.TroubleshootIamPolicyResponse>

Promise

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {IamChecker}

Creates new IamChecker service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Returns:
Type Description
IamChecker

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

Type Definitions

TroubleshootIamPolicyCallback(error, responseopt)

Callback as used by troubleshootIamPolicy.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.policytroubleshooter.v1.TroubleshootIamPolicyResponse <optional>

TroubleshootIamPolicyResponse