@Override
    public ApiFuture<ListPeeringRoutesPage> createPageAsync(
        PageContext<ListPeeringRoutesRequest, ListPeeringRoutesResponse, PeeringRoute> context,
        ApiFuture<ListPeeringRoutesResponse> futureResponse) {
      return super.createPageAsync(context, futureResponse);
    }
Returns permissions that a caller has on the specified resource. If theresource does not exist,
this will return an empty set ofpermissions, not a `NOT_FOUND` error.

<p>Note: This operation is designed to be used for buildingpermission-aware UIs and
command-line tools, not for authorizationchecking. This operation may "fail open" without
warning.

<p>Sample code:

<pre>{@code
// 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 (VmwareEngineClient vmwareEngineClient = VmwareEngineClient.create()) {
  TestIamPermissionsRequest request =
      TestIamPermissionsRequest.newBuilder()
          .setResource(
              ClusterName.of("[PROJECT]", "[LOCATION]", "[PRIVATE_CLOUD]", "[CLUSTER]")
                  .toString())
          .addAllPermissions(new ArrayList<String>())
          .build();
  ApiFuture<TestIamPermissionsResponse> future =
      vmwareEngineClient.testIamPermissionsCallable().futureCall(request);
  // Do something.
  TestIamPermissionsResponse response = future.get();
}
}</pre>
java-vmwareengine/google-cloud-vmwareengine/src/main/java/com/google/cloud/vmwareengine/v1/VmwareEngineClient.java