public final OperationFuture<Input, OperationMetadata> updateInputAsync(
      Input input, FieldMask updateMask) {
    UpdateInputRequest request =
        UpdateInputRequest.newBuilder().setInput(input).setUpdateMask(updateMask).build();
    return updateInputAsync(request);
  }
Updates the specified input.

<p>Sample code:

<pre>{@code
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.create()) {
  Input input = Input.newBuilder().build();
  FieldMask updateMask = FieldMask.newBuilder().build();
  Input response = livestreamServiceClient.updateInputAsync(input, updateMask).get();
}
}</pre>

@param input Required. The input resource to be updated.
@param updateMask Field mask is used to specify the fields to be overwritten in the Input
    resource by the update. You can only update the following fields:
    <ul>
      <li>[`tier`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#Tier)
      <li>[`preprocessingConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#PreprocessingConfig)
      <li>[`securityRules`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#SecurityRule)
    </ul>
    <p>The fields specified in the update_mask are relative to the resource, not the full
    request. A field will be overwritten if it is in the mask.
    <p>If the mask is not present, then each field from the list above is updated if the field
    appears in the request payload. To unset a field, add the field to the update mask and
    remove it from the request payload.
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-video-live-stream/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/LivestreamServiceClient.java