code: public final Tenant createTenant(ProjectName parent, Tenant tenant) {
  
      CreateTenantRequest request =
          CreateTenantRequest.newBuilder()
              .setParent(parent == null ? null : parent.toString())
              .setTenant(tenant)
              .build();
      return createTenant(request);
    }
docs: Creates a new tenant entity.
  
  <p>Sample code:
  
  <pre><code>
  try (TenantServiceClient tenantServiceClient = TenantServiceClient.create()) {
  ProjectName parent = ProjectName.of("[PROJECT]");
  Tenant tenant = Tenant.newBuilder().build();
  Tenant response = tenantServiceClient.createTenant(parent, tenant);
  }
  </code></pre>
  
  @param parent Required.
  <p>Resource name of the project under which the tenant is created.
  <p>The format is "projects/{project_id}", for example, "projects/api-test-project".
  @param tenant Required.
  <p>The tenant to be created.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails