HEX
Server: Apache/2.4.68 (Debian)
System: Linux as-cs-widget-demo-us-central1 6.1.0-44-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
User: root (0)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //lib/google-cloud-sdk/lib/googlecloudsdk/command_lib/secrets/resources.yaml
project:
  name: project
  collection: secretmanager.projects
  attributes:
  - &project
    parameter_name: projectsId
    attribute_name: project
    help: The project ID.
    property: core/project
  disable_auto_completers: false

location:
  name: location
  collection: secretmanager.projects.locations
  attributes:
  - &location
    parameter_name: locationsId
    attribute_name: location
    help: The location of the secret.
  disable_auto_completers: false

region_project:
  name: project
  collection: secretmanager.projects.locations
  attributes:
  - *location
  - &region_project
    parameter_name: projectsId
    attribute_name: project
    help: A location
  disable_auto_completers: false

secret:
  name: secret
  collection: secretmanager.projects.secrets
  attributes:
  - *project
  - &secret
    parameter_name: secretsId
    attribute_name: secret
    help: The ID of the secret.
    completer: googlecloudsdk.command_lib.secrets.completers:SecretsCompleter
  disable_auto_completers: false

regional_secret:
  name: secret
  collection: secretmanager.projects.locations.secrets
  attributes:
  - *project
  - *location
  - &regional_secret
    parameter_name: secretsId
    attribute_name: regional_secret
    help: The ID of the secret.
    completer: googlecloudsdk.command_lib.secrets.completers:SecretsCompleter
  disable_auto_completers: false


version:
  name: version
  collection: secretmanager.projects.secrets.versions
  attributes:
  - *project
  - *secret
  - &version
    parameter_name: versionsId
    attribute_name: version
    help: The numeric version.
  disable_auto_completers: false

regional_version:
  name: regional_version
  collection: secretmanager.projects.locations.secrets.versions
  attributes:
  - *project
  - *location
  - *secret
  - &regional_version
    parameter_name: versionsId
    attribute_name: regional_version
    help: The numeric version.
  disable_auto_completers: false

multitypeResources:
  secret-or-regional-secret:
    name: secret-or-regional-secret
    resources:
      -*secret
      -*regional_secret
  version-or-regional_version:
    name: version-or-regional_version
    resources:
      -*version
      -*regional_version
  project-or-project-with-location:
    name: project-or-project-with-location
    resources:
      -*project
      -*region_project