code: public final LogExclusion updateExclusion(
        String name, LogExclusion exclusion, FieldMask updateMask) {
  
      UpdateExclusionRequest request =
          UpdateExclusionRequest.newBuilder()
              .setName(name)
              .setExclusion(exclusion)
              .setUpdateMask(updateMask)
              .build();
      return updateExclusion(request);
    }
docs: Changes one or more properties of an existing exclusion.
  
  <p>Sample code:
  
  <pre><code>
  try (ConfigClient configClient = ConfigClient.create()) {
  ExclusionName name = ProjectExclusionName.of("[PROJECT]", "[EXCLUSION]");
  LogExclusion exclusion = LogExclusion.newBuilder().build();
  FieldMask updateMask = FieldMask.newBuilder().build();
  LogExclusion response = configClient.updateExclusion(name.toString(), exclusion, updateMask);
  }
  </code></pre>
  
  @param name Required. The resource name of the exclusion to update:
  <p>"projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
  "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
  "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
  "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
  <p>Example: `"projects/my-project-id/exclusions/my-exclusion-id"`.
  @param exclusion Required. New values for the existing exclusion. Only the fields specified in
  `update_mask` are relevant.
  @param updateMask Required. A nonempty list of fields to change in the existing exclusion. New
  values for the fields are taken from the corresponding fields in the
  [LogExclusion][google.logging.v2.LogExclusion] included in this request. Fields not
  mentioned in `update_mask` are not changed and are ignored in the request.
  <p>For example, to change the filter and description of an exclusion, specify an
  `update_mask` of `"filter,description"`.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails