HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/current/lib/surface/compute/composite_health_checks/update.yaml
- release_tracks: [ALPHA, BETA]
  help_text:
    brief: "Update a composite health check."
    description: "Update a composite health check."
    examples: |
      The following command updates an existing composite health check:

        $ {command} <COMPOSITE_HEALTH_CHECK_NAME> \
          --region=<REGION> \
          --health-destination=my-new-fr

  request:
    ALPHA:
      api_version: alpha
    BETA:
      api_version: beta
    collection: compute.regionCompositeHealthChecks
    method: patch
    modify_request_hooks:
    - googlecloudsdk.api_lib.compute.composite_health_checks.modify_request_hooks:parse_health_sources_update
    - googlecloudsdk.api_lib.compute.composite_health_checks.modify_request_hooks:parse_health_destination_update

  async:
    collection: compute.regionOperations
    response_name_field: selfLink
    state:
      field: status
      success_values: ['DONE']

  arguments:
    resource:
      help_text: The name of the composite health check you want to update.
      spec: !REF googlecloudsdk.command_lib.compute.resources:composite_health_check

    params:
    - group:
        mutex: false
        required: true
        params:
        - arg_name: description
          api_field: compositeHealthCheckResource.description
          help_text: |
            A textual description of this resource.

        - arg_name: health-sources
          type: googlecloudsdk.command_lib.compute.common:ArgList:min_length=1
          api_field: compositeHealthCheckResource.healthSources
          help_text: |
            URLs to the HealthSource resources whose results are AND'ed. I.e. the aggregated result is
            HEALTHY only if all sources are HEALTHY. Must have at least 1. Must not have more than 10.
            Must be regional and in the same region as the CompositeHealthCheck. Can be mutated.

        - arg_name: health-destination
          api_field: compositeHealthCheckResource.healthDestination
          help_text: |
            URL to the destination resource. Must be set. Must be a ForwardingRule. The ForwardingRule
            must have load balancing scheme INTERNAL or INTERNAL_MANAGED and must be regional and in the
            same region as the CompositeHealthCheck (cross-region deployment for INTERNAL_MANAGED is not
            supported). Can be mutated.
  update:
    read_modify_update: true