@Generated("by gapic-generator-java")
Package com.google.cloud.policytroubleshooter.v1
A client to Policy Troubleshooter API
The interfaces provided are listed below, along with usage samples.
======================= IamCheckerClient =======================
Service Description: IAM Policy Troubleshooter service.
This service helps you troubleshoot access issues for Google Cloud resources.
Sample for IamCheckerClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (IamCheckerClient iamCheckerClient = IamCheckerClient.create()) {
TroubleshootIamPolicyRequest request =
TroubleshootIamPolicyRequest.newBuilder()
.setAccessTuple(Explanations.AccessTuple.newBuilder().build())
.build();
TroubleshootIamPolicyResponse response = iamCheckerClient.troubleshootIamPolicy(request);
}
-
Interface Summary Interface Description IamCheckerGrpc.AsyncService IAM Policy Troubleshooter service.TroubleshootIamPolicyRequestOrBuilder TroubleshootIamPolicyResponseOrBuilder -
Class Summary Class Description IamCheckerClient Service Description: IAM Policy Troubleshooter service.IamCheckerGrpc IAM Policy Troubleshooter service.IamCheckerGrpc.IamCheckerBlockingStub A stub to allow clients to do synchronous rpc calls to service IamChecker.IamCheckerGrpc.IamCheckerFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service IamChecker.IamCheckerGrpc.IamCheckerImplBase Base class for the server implementation of the service IamChecker.IamCheckerGrpc.IamCheckerStub A stub to allow clients to do asynchronous rpc calls to service IamChecker.IAMCheckerProto IamCheckerSettings Settings class to configure an instance ofIamCheckerClient
.IamCheckerSettings.Builder Builder for IamCheckerSettings.TroubleshootIamPolicyRequest Request for [TroubleshootIamPolicy][google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy].TroubleshootIamPolicyRequest.Builder Request for [TroubleshootIamPolicy][google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy].TroubleshootIamPolicyResponse Response for [TroubleshootIamPolicy][google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy].TroubleshootIamPolicyResponse.Builder Response for [TroubleshootIamPolicy][google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy].