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/saas_runtime/rollout_kinds/update.yaml
- release_tracks: [ALPHA, BETA]
  help_text:
    brief: Update a Rollout Kind
    description: Update a Rollout Kind
    examples: |-
      To update the Rollout Kind, run:

      $ {command}
  arguments:
    params:
    - group:
        mutex: true
        help_text: |-
          Arguments for the  error budget.
        params:
        - group:
            api_field: rolloutKind.errorBudget
            arg_name: error-budget
            clearable: true
            required: false
            help_text: |-
              The configuration for error budget. If the number of failed units exceeds
              max(allowed_count, allowed_ratio * total_units), the rollout will be paused.
            params:
            - arg_name: error-budget-allowed-count
              api_field: rolloutKind.errorBudget.allowedCount
              required: false
              repeated: false
              type: int
              help_text: |-
                The maximum number of failed units allowed in a location without pausing
                the rollout.
            - arg_name: error-budget-allowed-percentage
              api_field: rolloutKind.errorBudget.allowedPercentage
              required: false
              repeated: false
              type: int
              help_text: |-
                The maximum percentage of units allowed to fail (0, 100] within a location
                without pausing the rollout.
    - help_text: |-
        Identifier. The resource name (full URI of the resource) following the standard naming
        scheme:

          "projects/{project}/locations/{location}/rolloutKinds/{rollout_kind_id}"
      is_positional: true
      resource_spec: !REF googlecloudsdk.command_lib.saas_runtime.resources:rollout_kind
      required: true
    - arg_name: rollout-orchestration-strategy
      api_field: rolloutKind.rolloutOrchestrationStrategy
      required: false
      repeated: false
      help_text: |-
        The strategy to use for executing rollouts.
    - arg_name: unit-filter
      api_field: rolloutKind.unitFilter
      required: false
      repeated: false
      help_text: |-
        CEL(https://github.com/google/cel-spec) formatted filter string against Unit. The filter
        will be applied to determine the eligible unit population. This filter can only reduce, but
        not expand the scope of the rollout.
    - arg_name: update-unit-kind-strategy
      api_field: rolloutKind.updateUnitKindStrategy
      required: false
      help_text: |-
        The config for updating the unit kind. By default, the unit kind will be
        updated on the rollout start.
      choices:
      - arg_value: on-start
        enum_value: UPDATE_UNIT_KIND_STRATEGY_ON_START
        help_text: |-
          Update the unit kind strategy on the rollout start.
      - arg_value: never
        enum_value: UPDATE_UNIT_KIND_STRATEGY_NEVER
        help_text: |-
          Never update the unit kind.
    - arg_name: labels
      api_field: rolloutKind.labels
      required: false
      repeated: true
      help_text: |-
        The labels on the resource, which can be used for categorization.
        similar to Kubernetes resource labels.
      clearable: true
      spec:
      - api_field: key
      - api_field: value
  request:
    api_version: v1beta1
    collection:
    - saasservicemgmt.projects.locations.rolloutKinds
  update:
    read_modify_update: true