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

      $ {command}
  arguments:
    params:
    - help_text: |-
        Identifier. The resource name (full URI of the resource) following the standard naming
        scheme:

          "projects/{project}/locations/{location}/unitKinds/{unitKind}"
      is_positional: true
      resource_spec: !REF googlecloudsdk.command_lib.saas_runtime.resources:unit_kind
      required: true
    - arg_name: default-release
      help_text: |-
        A reference to the Release object to use as default for creating new units
        of this Unit Kind.

        If not specified, a new unit must explicitly reference which release to use
        for its creation.
      is_positional: false
      resource_spec: !REF googlecloudsdk.command_lib.saas_runtime.resources:release
      resource_method_params:
        unitKind.defaultRelease: '{__relative_name__}'
      required: false
      clearable: true
    - arg_name: saas
      help_text: |-
        A reference to the Saas that defines the product (managed service) that
        the producer wants to manage with Saas Runtime. Immutable once set.
      is_positional: false
      resource_spec: !REF googlecloudsdk.command_lib.saas_runtime.resources:saas
      resource_method_params:
        unitKind.saas: '{__relative_name__}'
      required: false
      clearable: false
    - arg_name: dependencies
      api_field: unitKind.dependencies
      required: false
      repeated: true
      help_text: |-
        List of other unit kinds that this release will depend on. Dependencies
        will be automatically provisioned if not found. Maximum 10.
      clearable: true
      spec:
      - api_field: unitKind
        resource_pattern: projects/{project}/locations/{location}/unitKinds/{unitKind}
        help_text: |-
          The unit kind of the dependency.
      - api_field: alias
        help_text: |-
          An alias for the dependency. Used for input variable mapping.
    - arg_name: input-variable-mappings
      api_field: unitKind.inputVariableMappings
      required: false
      repeated: true
      help_text: |-
        List of inputVariables for this release that will either be retrieved from
        a dependency's outputVariables, or will be passed on to a dependency's
        inputVariables. Maximum 100.
      clearable: true
      spec:
      - api_field: variable
        help_text: |-
          name of the variable
      - json_name: from
        api_field: from_
        help_text: |-
          Output variables which will get their values from dependencies
        spec:
        - api_field: dependency
          help_text: |-
            Alias of the dependency that the outputVariable will pass its value to
        - api_field: outputVariable
          help_text: |-
            Name of the outputVariable on the dependency
      - api_field: to
        help_text: |-
          Input variables whose values will be passed on to dependencies.
        spec:
        - api_field: dependency
          help_text: |-
            Alias of the dependency that the inputVariable will pass its value to
        - api_field: inputVariable
          help_text: |-
            Name of the inputVariable on the dependency
        - api_field: ignoreForLookup
          help_text: |-
            Tells SaaS Runtime if this mapping should be used during lookup or not
    - arg_name: output-variable-mappings
      api_field: unitKind.outputVariableMappings
      required: false
      repeated: true
      help_text: |-
        List of outputVariables for this unit kind will be passed to this unit's
        outputVariables. Maximum 100.
      clearable: true
      spec:
      - api_field: variable
        help_text: |-
          name of the variable
      - json_name: from
        api_field: from_
        help_text: |-
          Output variables which will get their values from dependencies
        spec:
        - api_field: dependency
          help_text: |-
            Alias of the dependency that the outputVariable will pass its value to
        - api_field: outputVariable
          help_text: |-
            Name of the outputVariable on the dependency
      - api_field: to
        help_text: |-
          Input variables whose values will be passed on to dependencies.
        spec:
        - api_field: dependency
          help_text: |-
            Alias of the dependency that the inputVariable will pass its value to
        - api_field: inputVariable
          help_text: |-
            Name of the inputVariable on the dependency
        - api_field: ignoreForLookup
          help_text: |-
            Tells SaaS Runtime if this mapping should be used during lookup or not
    - arg_name: labels
      api_field: unitKind.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.unitKinds
    modify_request_hooks:
    - googlecloudsdk.command_lib.saas_runtime.unit_kinds:AddParentToDependencies
  update:
    read_modify_update: true