Filestore V1 API - Module Google::Cloud::Filestore::V1::CloudFilestoreManager::Paths (v0.7.0)

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

Path helper methods for the CloudFilestoreManager API.

Methods

#backup_path

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

Create a fully-qualified Backup resource string.

The resource will be in the following format:

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

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

#instance_path

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

Create a fully-qualified Instance resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/instances/{instance}

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

#snapshot_path

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

Create a fully-qualified Snapshot resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/instances/{instance}/snapshots/{snapshot}

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