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/396/lib/surface/saas_runtime/flags/releases/create.yaml
- release_tracks:
  - ALPHA
  hidden: true
  help_text:
    brief: Create Flag Release
    description: Create a Flag Release.
    examples: |-
      To create a Flag Release, run:

          $ {command}
  arguments:
    params:
    - help_text: |-
        ID of the Flag Release:

          "projects/{project}/locations/{location}/flagReleases/{flag_release_id}"

        This follows the standard Google Cloud naming scheme (URI).
      is_positional: true
      request_id_field: flagReleaseId
      resource_spec: !REF googlecloudsdk.command_lib.saas_runtime.resources:flag_release
      required: true
      repeated: false

    - arg_name: flag-revisions
      help_text: |-
        Flag Revisions (IDs) to be rolled out. This is the ultimate source of truth
        of what a Rollout or a UnitOperation carries.
      is_positional: false
      resource_spec: !REF googlecloudsdk.command_lib.saas_runtime.resources:flag_revision
      resource_method_params:
        flagRelease.flagRevisions: '{__relative_name__}'
      required: false
      repeated: true

    - arg_name: obsolete-flags
      help_text: |-
        Flags (IDs) to be removed from the given UnitKind and all the related Units.
        If Flag (ID) is provided here, its Flag Revisions will be removed from the
        UnitKind and Units.
      is_positional: false
      resource_spec: !REF googlecloudsdk.command_lib.saas_runtime.resources:flag
      resource_method_params:
        flagRelease.obsoleteFlags: '{__relative_name__}'
      required: false
      repeated: true

    - arg_name: unit-kind
      help_text: |-
        UnitKind (ID) this Flag Release applies to.
      is_positional: false
      resource_spec: !REF googlecloudsdk.command_lib.saas_runtime.resources:unit_kind
      resource_method_params:
        flagRelease.unitKind: '{__relative_name__}'
      required: true
      repeated: false

    - arg_name: labels
      api_field: flagRelease.labels
      required: false
      repeated: true
      help_text: |-
        Labels on the resource, which can be used for categorization.
      spec:
      - api_field: key
      - api_field: value

    - arg_name: annotations
      api_field: flagRelease.annotations
      required: false
      repeated: true
      help_text: |-
        Unstructured key-value map stored with a resource that may be set by
        external tools to store and retrieve arbitrary metadata. Annotations
        are not queryable and should be preserved when modifying objects.
      spec:
      - api_field: key
      - api_field: value

  request:
    api_version: v1beta1
    collection:
    - saasservicemgmt.projects.locations.flagReleases