Cloud FTP V1 API - Class Google::Cloud::Ftp::V1::StorageDirectoryMapping (v0.1.1)

Reference documentation and code samples for the Cloud FTP V1 API class Google::Cloud::Ftp::V1::StorageDirectoryMapping.

Mapping of backing Cloud Storage path to the directory where the user lands in the SFTP server. If directory is not specified, it'll default to '/'.

Eg 1 - (bucket_name: bucket, bucket_prefix: path1/path2, directory: /abc/def/username)

The user will land at /abcd/def/username, and the view there will match that of /bucket/path1/path2. The user will not be aware of Cloud Storage prefix '/bucket/path1' and there will be no such directory in the view.

Eg 2 - (bucket_name: bucket, bucket_prefix: path1/path2, directory: '')

The user will land at '/', and the view there will match that of /bucket/path1/path2. The user will not be aware of Cloud Storage prefix '/bucket/path1/path2' and there will be no such directory in the view.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bucket

def bucket() -> ::String
Returns
  • (::String) — Required. Name of the bucket.

#bucket=

def bucket=(value) -> ::String
Parameter
  • value (::String) — Required. Name of the bucket.
Returns
  • (::String) — Required. Name of the bucket.

#bucket_prefix

def bucket_prefix() -> ::String
Returns
  • (::String) — Optional. Prefix inside the bucket.

#bucket_prefix=

def bucket_prefix=(value) -> ::String
Parameter
  • value (::String) — Optional. Prefix inside the bucket.
Returns
  • (::String) — Optional. Prefix inside the bucket.

#directory

def directory() -> ::String
Returns
  • (::String) — Required. Directory where the user lands in the SFTP server.

#directory=

def directory=(value) -> ::String
Parameter
  • value (::String) — Required. Directory where the user lands in the SFTP server.
Returns
  • (::String) — Required. Directory where the user lands in the SFTP server.

#permission

def permission() -> ::Google::Cloud::Ftp::V1::StorageDirectoryMapping::Permission
Returns

#permission=

def permission=(value) -> ::Google::Cloud::Ftp::V1::StorageDirectoryMapping::Permission
Parameter
Returns