Backup and DR Service V1 API - Module Google::Cloud::BackupDR::V1::BackupDR::Paths (v1.13.0)

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.

Methods

#auto_protection_policy_binding_path

def auto_protection_policy_binding_path(project:, location:, auto_protection_policy:, binding:) -> ::String

Create a fully-qualified AutoProtectionPolicyBinding resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}

Parameters
  • project (String)
  • location (String)
  • auto_protection_policy (String)
  • binding (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#auto_protection_policy_path

def auto_protection_policy_path(project:, location:, auto_protection_policy:) -> ::String

Create a fully-qualified AutoProtectionPolicy resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}

Parameters
  • project (String)
  • location (String)
  • auto_protection_policy (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#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}

Parameters
  • project (String)
  • location (String)
  • backupvault (String)
  • datasource (String)
  • backup (String)
Returns
  • (::String)
Raises
  • (::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}

Parameters
  • project (String)
  • location (String)
  • backup_plan_association (String)
Returns
  • (::String)
Raises
  • (::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}

Parameters
  • project (String)
  • location (String)
  • backup_plan (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#backup_plan_revision_path

def backup_plan_revision_path(project:, location:, backup_plan:, revision:) -> ::String

Create a fully-qualified BackupPlanRevision resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision}

Parameters
  • project (String)
  • location (String)
  • backup_plan (String)
  • revision (String)
Returns
  • (::String)
Raises
  • (::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}

Parameters
  • project (String)
  • location (String)
  • backupvault (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#cluster_path

def cluster_path(project:, location:, cluster:) -> ::String

Create a fully-qualified Cluster resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/clusters/{cluster}

Parameters
  • project (String)
  • location (String)
  • cluster (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#crypto_key_path

def crypto_key_path(project:, location:, ring:, key:) -> ::String

Create a fully-qualified CryptoKey resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/keyRings/{ring}/cryptoKeys/{key}

Parameters
  • project (String)
  • location (String)
  • ring (String)
  • key (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#crypto_key_version_path

def crypto_key_version_path(project:, location:, key_ring:, crypto_key:, crypto_key_version:) -> ::String

Create a fully-qualified CryptoKeyVersion resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}

Parameters
  • project (String)
  • location (String)
  • key_ring (String)
  • crypto_key (String)
  • crypto_key_version (String)
Returns
  • (::String)
Raises
  • (::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}

Parameters
  • project (String)
  • location (String)
  • backupvault (String)
  • datasource (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#data_source_reference_path

def data_source_reference_path(project:, location:, data_source_reference:) -> ::String

Create a fully-qualified DataSourceReference resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/dataSourceReferences/{data_source_reference}

Parameters
  • project (String)
  • location (String)
  • data_source_reference (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#instance_path

def instance_path(project:, instance:) -> ::String

Create a fully-qualified Instance resource string.

The resource will be in the following format:

projects/{project}/instances/{instance}

Parameters
  • project (String)
  • instance (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#job_path

def job_path(project:, location:, job:) -> ::String

Create a fully-qualified Job resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/jobs/{job}

Parameters
  • project (String)
  • location (String)
  • job (String)
Returns
  • (::String)
Raises
  • (::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}

Parameters
  • project (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::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}

Parameters
  • project (String)
  • location (String)
  • managementserver (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#restore_template_execution_path

def restore_template_execution_path(project:, location:, restore_template:, execution:) -> ::String

Create a fully-qualified RestoreTemplateExecution resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/restoreTemplates/{restore_template}/executions/{execution}

Parameters
  • project (String)
  • location (String)
  • restore_template (String)
  • execution (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#restore_template_path

def restore_template_path(project:, location:, restore_template:) -> ::String

Create a fully-qualified RestoreTemplate resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/restoreTemplates/{restore_template}

Parameters
  • project (String)
  • location (String)
  • restore_template (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#restore_verification_plan_association_path

def restore_verification_plan_association_path(project:, location:, restore_verification_plan:, association:) -> ::String

Create a fully-qualified RestoreVerificationPlanAssociation resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/restoreVerificationPlans/{restore_verification_plan}/associations/{association}

Parameters
  • project (String)
  • location (String)
  • restore_verification_plan (String)
  • association (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#restore_verification_plan_path

def restore_verification_plan_path(project:, location:, restore_verification_plan:) -> ::String

Create a fully-qualified RestoreVerificationPlan resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/restoreVerificationPlans/{restore_verification_plan}

Parameters
  • project (String)
  • location (String)
  • restore_verification_plan (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#storage_pool_path

def storage_pool_path(project:, zone:, storage_pool:) -> ::String

Create a fully-qualified StoragePool resource string.

The resource will be in the following format:

projects/{project}/zones/{zone}/storagePools/{storage_pool}

Parameters
  • project (String)
  • zone (String)
  • storage_pool (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)