code: public final ListProfilesPagedResponse listProfiles(TenantName parent) {
      ListProfilesRequest request =
          ListProfilesRequest.newBuilder()
              .setParent(parent == null ? null : parent.toString())
              .build();
      return listProfiles(request);
    }
docs: Lists profiles by filter. The order is unspecified.
  
  <p>Sample code:
  
  <pre><code>
  try (ProfileServiceClient profileServiceClient = ProfileServiceClient.create()) {
  TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
  for (Profile element : profileServiceClient.listProfiles(parent).iterateAll()) {
  // doThingsWith(element);
  }
  }
  </code></pre>
  
  @param parent Required.
  <p>The resource name of the tenant under which the job is created.
  <p>The format is "projects/{project_id}/tenants/{tenant_id}", for example,
  "projects/api-test-project/tenants/foo".
  @throws com.google.api.gax.rpc.ApiException if the remote call fails