code: @BetaApi
    public final Operation insertLicense(ProjectName project, License licenseResource) {
  
      InsertLicenseHttpRequest request =
          InsertLicenseHttpRequest.newBuilder()
              .setProject(project == null ? null : project.toString())
              .setLicenseResource(licenseResource)
              .build();
      return insertLicense(request);
    }
docs: Create a License resource in the specified project.
  
  <p>Sample code:
  
  <pre><code>
  try (LicenseClient licenseClient = LicenseClient.create()) {
  ProjectName project = ProjectName.of("[PROJECT]");
  License licenseResource = License.newBuilder().build();
  Operation response = licenseClient.insertLicense(project, licenseResource);
  }
  </code></pre>
  
  @param project Project ID for this request.
  @param licenseResource A license resource.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails