File: //snap/google-cloud-cli/current/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
- ®ion_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
- ®ional_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
- ®ional_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