Reference documentation and code samples for the Backup and DR Service V1 API module Google::Cloud::BackupDR::V1::BackupDR::Paths.
Path helper methods for the BackupDR API.
Extended By
Methods
#backup_path
def backup_path(project:, location:, backupvault:, datasource:, backup:) -> ::String
Create a fully-qualified Backup resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}/backups/{backup}
- project (String)
- location (String)
- backupvault (String)
- datasource (String)
- backup (String)
- (::String)
- (::ArgumentError)
#backup_plan_association_path
def backup_plan_association_path(project:, location:, backup_plan_association:) -> ::String
Create a fully-qualified BackupPlanAssociation resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/backupPlanAssociations/{backup_plan_association}
- project (String)
- location (String)
- backup_plan_association (String)
- (::String)
- (::ArgumentError)
#backup_plan_path
def backup_plan_path(project:, location:, backup_plan:) -> ::String
Create a fully-qualified BackupPlan resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/backupPlans/{backup_plan}
- project (String)
- location (String)
- backup_plan (String)
- (::String)
- (::ArgumentError)
#backup_vault_path
def backup_vault_path(project:, location:, backupvault:) -> ::String
Create a fully-qualified BackupVault resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/backupVaults/{backupvault}
- project (String)
- location (String)
- backupvault (String)
- (::String)
- (::ArgumentError)
#data_source_path
def data_source_path(project:, location:, backupvault:, datasource:) -> ::String
Create a fully-qualified DataSource resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}
- project (String)
- location (String)
- backupvault (String)
- datasource (String)
- (::String)
- (::ArgumentError)
#location_path
def location_path(project:, location:) -> ::String
Create a fully-qualified Location resource string.
The resource will be in the following format:
projects/{project}/locations/{location}
- project (String)
- location (String)
- (::String)
- (::ArgumentError)
#management_server_path
def management_server_path(project:, location:, managementserver:) -> ::String
Create a fully-qualified ManagementServer resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/managementServers/{managementserver}
- project (String)
- location (String)
- managementserver (String)
- (::String)
- (::ArgumentError)