code: @BetaApi
    public final Operation disableXpnResourceProject(
        String project, ProjectsDisableXpnResourceRequest projectsDisableXpnResourceRequestResource) {
  
      DisableXpnResourceProjectHttpRequest request =
          DisableXpnResourceProjectHttpRequest.newBuilder()
              .setProject(project)
              .setProjectsDisableXpnResourceRequestResource(projectsDisableXpnResourceRequestResource)
              .build();
      return disableXpnResourceProject(request);
    }
docs: Disable a serivce resource (a.k.a service project) associated with this host project.
  
  <p>Sample code:
  
  <pre><code>
  try (ProjectClient projectClient = ProjectClient.create()) {
  ProjectName project = ProjectName.of("[PROJECT]");
  ProjectsDisableXpnResourceRequest projectsDisableXpnResourceRequestResource = ProjectsDisableXpnResourceRequest.newBuilder().build();
  Operation response = projectClient.disableXpnResourceProject(project.toString(), projectsDisableXpnResourceRequestResource);
  }
  </code></pre>
  
  @param project Project ID for this request.
  @param projectsDisableXpnResourceRequestResource
  @throws com.google.api.gax.rpc.ApiException if the remote call fails