code: @BetaApi
    public final Operation setCommonInstanceMetadataProject(
        String project, Metadata metadataResource) {
  
      SetCommonInstanceMetadataProjectHttpRequest request =
          SetCommonInstanceMetadataProjectHttpRequest.newBuilder()
              .setProject(project)
              .setMetadataResource(metadataResource)
              .build();
      return setCommonInstanceMetadataProject(request);
    }
docs: Sets metadata common to all instances within the specified project using the data included in
  the request.
  
  <p>Sample code:
  
  <pre><code>
  try (ProjectClient projectClient = ProjectClient.create()) {
  ProjectName project = ProjectName.of("[PROJECT]");
  Metadata metadataResource = Metadata.newBuilder().build();
  Operation response = projectClient.setCommonInstanceMetadataProject(project.toString(), metadataResource);
  }
  </code></pre>
  
  @param project Project ID for this request.
  @param metadataResource A metadata key/value entry.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails