NetApp V1 API - Module Google::Cloud::NetApp::V1::NetApp::Paths (v0.5.2)

Reference documentation and code samples for the NetApp V1 API module Google::Cloud::NetApp::V1::NetApp::Paths.

Path helper methods for the NetApp API.

Methods

#active_directory_path

def active_directory_path(project:, location:, active_directory:) -> ::String

Create a fully-qualified ActiveDirectory resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/activeDirectories/{active_directory}

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

#backup_path

def backup_path(project:, location:, backup_vault:, backup:) -> ::String

Create a fully-qualified Backup resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/backupVaults/{backup_vault}/backups/{backup}

Parameters
  • project (String)
  • location (String)
  • backup_vault (String)
  • backup (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#backup_policy_path

def backup_policy_path(project:, location:, backup_policy:) -> ::String

Create a fully-qualified BackupPolicy resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/backupPolicies/{backup_policy}

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

#backup_vault_path

def backup_vault_path(project:, location:, backup_vault:) -> ::String

Create a fully-qualified BackupVault resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/backupVaults/{backup_vault}

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

#kms_config_path

def kms_config_path(project:, location:, kms_config:) -> ::String

Create a fully-qualified KmsConfig resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/kmsConfigs/{kms_config}

Parameters
  • project (String)
  • location (String)
  • kms_config (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)

#network_path

def network_path(project:, network:) -> ::String

Create a fully-qualified Network resource string.

The resource will be in the following format:

projects/{project}/global/networks/{network}

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

#replication_path

def replication_path(project:, location:, volume:, replication:) -> ::String

Create a fully-qualified Replication resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/volumes/{volume}/replications/{replication}

Parameters
  • project (String)
  • location (String)
  • volume (String)
  • replication (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#snapshot_path

def snapshot_path(project:, location:, volume:, snapshot:) -> ::String

Create a fully-qualified Snapshot resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot}

Parameters
  • project (String)
  • location (String)
  • volume (String)
  • snapshot (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#storage_pool_path

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

Create a fully-qualified StoragePool resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/storagePools/{storage_pool}

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

#volume_path

def volume_path(project:, location:, volume:) -> ::String

Create a fully-qualified Volume resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/volumes/{volume}

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