Class PolicyTroubleshooterGrpc.PolicyTroubleshooterBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<PolicyTroubleshooterGrpc.PolicyTroubleshooterBlockingV2Stub>
com.google.cloud.policytroubleshooter.iam.v3.PolicyTroubleshooterGrpc.PolicyTroubleshooterBlockingV2Stub
- Enclosing class:
- PolicyTroubleshooterGrpc
public static final class PolicyTroubleshooterGrpc.PolicyTroubleshooterBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<PolicyTroubleshooterGrpc.PolicyTroubleshooterBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service PolicyTroubleshooter.
IAM Policy Troubleshooter service. This service helps you troubleshoot access issues for Google Cloud resources.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Checks whether a principal has a specific permission for a specific resource, and explains why the principal does or doesn't have that permission.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected PolicyTroubleshooterGrpc.PolicyTroubleshooterBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<PolicyTroubleshooterGrpc.PolicyTroubleshooterBlockingV2Stub>
-
troubleshootIamPolicy
public TroubleshootIamPolicyResponse troubleshootIamPolicy(TroubleshootIamPolicyRequest request) throws io.grpc.StatusException Checks whether a principal has a specific permission for a specific resource, and explains why the principal does or doesn't have that permission.
- Throws:
io.grpc.StatusException
-