public final SecurityMarks updateSecurityMarks(SecurityMarks securityMarks) {

    UpdateSecurityMarksRequest request =
        UpdateSecurityMarksRequest.newBuilder().setSecurityMarks(securityMarks).build();
    return updateSecurityMarks(request);
  }
public final SecurityMarks updateSecurityMarks ( SecurityMarks securityMarks ) { UpdateSecurityMarksRequest request = UpdateSecurityMarksRequest . newBuilder ( ) . setSecurityMarks ( securityMarks ) . build ( ) ; return updateSecurityMarks ( request ) ; }
Updates security marks.

<p>Sample code:

<pre><code>
try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
SecurityMarks securityMarks = SecurityMarks.newBuilder().build();
SecurityMarks response = securityCenterClient.updateSecurityMarks(securityMarks);
}
</code></pre>

@param securityMarks The security marks resource to update.
@throws com.google.api.gax.rpc.ApiException if the remote call fails