project:
  name: project
  collection: backupdr.projects
  attributes:
  - &project
    parameter_name: projectsId
    attribute_name: project
    help: |
      The project name.
    property: core/project

location:
  name: location
  collection: backupdr.projects.locations
  attributes:
  - *project
  - &location
    parameter_name: locationsId
    attribute_name: location
    help: |
      Location ID of the resource.
  disable_auto_completers: false

locationDefaultGlobal:
  name: location
  collection: backupdr.projects.locations
  attributes:
  - *project
  - &locationDefaultGlobal
    parameter_name: locationsId
    attribute_name: location
    help: |
      Location ID of the resource.
    fallthroughs:
    - value: "-"
      hint: |
        default is all locations

operation:
  name: operation
  collection: backupdr.projects.locations.operations
  attributes:
  - *project
  - *location
  - &operation
    parameter_name: operationsId
    attribute_name: operation
    help: |
      ID of the operation.
  disable_auto_completers: false

managementServer:
  name: management_server
  collection: backupdr.projects.locations.managementServers
  request_id_field: managementServerId
  attributes:
  - *project
  - *location
  - &managementServerId
    parameter_name: managementServersId
    attribute_name: management_server
    help: The ID of the Managment Server.
  disable_auto_completers: false

backupPlans:
  name: backup_plan
  collection: backupdr.projects.locations.backupPlans
  request_id_field: backupPlansId
  attributes:
  - *project
  - *location
  - &backupPlansId
    parameter_name: backupPlansId
    attribute_name: backup_plan
    help: The ID of the Backup Plan
  disable_auto_completers: false

backupPlanDefault:
  name: backup_plan
  collection: backupdr.projects.locations.backupPlans
  request_id_field: backupPlansId
  attributes:
  - *project
  - *locationDefaultGlobal
  - &backupPlansDefault
    parameter_name: backupPlansId
    attribute_name: backup_plan
    help: The ID of the Backup Plan
    fallthroughs:
    - value: "-"
      hint: |
        default is all backup plans

backupPlanRevisions:
  name: backup_plan_revision
  collection: backupdr.projects.locations.backupPlans.revisions
  request_id_field: revisionsId
  attributes:
  - *project
  - *location
  - *backupPlansId
  - &revisionsId
    parameter_name: revisionsId
    attribute_name: backup_plan_revision
    help: The ID of the Backup Plan Revision
  disable_auto_completers: false

backupPlanAssociations:
  name: backup_plan_association
  collection: backupdr.projects.locations.backupPlanAssociations
  request_id_field: backupPlanAssociationsId
  attributes:
  - *project
  - *location
  - &backupPlanAssociationsId
    parameter_name: backupPlanAssociationsId
    attribute_name: backup_plan_association
    help: The ID of the Backup Plan Association
  disable_auto_completers: false

backupVault:
  name: backup_vault
  collection: backupdr.projects.locations.backupVaults
  request_id_field: backupVaultId
  attributes:
  - *project
  - *location
  - &backupVaultId
    parameter_name: backupVaultsId
    attribute_name: backup_vault
    help: The ID of the Backup Vault.
  disable_auto_completers: false

backupVaultDefault:
  name: backup_vault
  collection: backupdr.projects.locations.backupVaults
  request_id_field: backupVaultId
  attributes:
  - *project
  - *locationDefaultGlobal
  - &backupVaultDefault
    parameter_name: backupVaultsId
    attribute_name: backup_vault
    help: The ID of the Backup Vault.
    fallthroughs:
    - value: "-"
      hint: |
        default is all backup vaults

dataSource:
  name: data_source
  collection: backupdr.projects.locations.backupVaults.dataSources
  request_id_field: dataSourceId
  attributes:
  - *project
  - *location
  - *backupVaultId
  - &dataSourceId
    parameter_name: dataSourcesId
    attribute_name: data_source
    help: The ID of the Data Source.
  disable_auto_completers: false

dataSourceDefault:
  name: dataSource
  collection: backupdr.projects.locations.backupVaults.dataSources
  request_id_field: dataSourceId
  attributes:
  - *project
  - *locationDefaultGlobal
  - *backupVaultDefault
  - &dataSourceDefault
    parameter_name: dataSourcesId
    attribute_name: data_source
    help: The ID of the Data Source.
    fallthroughs:
    - value: "-"
      hint: |
        default is all data sources

backup:
  name: backup
  collection: backupdr.projects.locations.backupVaults.dataSources.backups
  request_id_field: backupId
  attributes:
  - *project
  - *location
  - *backupVaultId
  - *dataSourceId
  - &backupId
    parameter_name: backupsId
    attribute_name: backup
    help: The ID of the Backup.
  disable_auto_completers: false

dataSourceReference:
  name: data_source_reference
  collection: backupdr.projects.locations.dataSourceReferences
  request_id_field: dataSourceReferenceId
  attributes:
  - *project
  - *location
  - &dataSourceReferenceId
    parameter_name: dataSourceReferencesId
    attribute_name: data_source_reference
    help: The ID of the Data Source Reference.
  disable_auto_completers: false

dataSourceReferenceDefault:
  name: dataSourceReference
  collection: backupdr.projects.locations.dataSourceReferences
  request_id_field: dataSourceReferenceId
  attributes:
  - *project
  - *locationDefaultGlobal
  - *backupVaultDefault
  - &dataSourceReferenceDefault
    parameter_name: dataSourceReferencesId
    attribute_name: data_source_reference
    help: The ID of the Data Source Reference.
    fallthroughs:
    - value: "-"
      hint: |
        default is all data source references
