public static final WorkstationsSettings create(WorkstationsStubSettings stub)
      throws IOException {
    return new WorkstationsSettings.Builder(stub.toBuilder()).build();
  }
Returns the object with the settings used for calls to testIamPermissions.
java-workstations/google-cloud-workstations/src/main/java/com/google/cloud/workstations/v1/WorkstationsSettings.java