code: public final Finding updateFinding(Finding finding) {
  
      UpdateFindingRequest request = UpdateFindingRequest.newBuilder().setFinding(finding).build();
      return updateFinding(request);
    }
docs: Creates or updates a finding. The corresponding source must exist for a finding creation to
  succeed.
  
  <p>Sample code:
  
  <pre><code>
  try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
  Finding finding = Finding.newBuilder().build();
  Finding response = securityCenterClient.updateFinding(finding);
  }
  </code></pre>
  
  @param finding The finding resource to update or create if it does not already exist. parent,
  security_marks, and update_time will be ignored.
  <p>In the case of creation, the finding id portion of the name must be alphanumeric and
  less than or equal to 32 characters and greater than 0 characters in length.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails