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- (::String) — Required. Name of the bucket.
#bucket=
def bucket=(value) -> ::String- value (::String) — Required. Name of the bucket.
- (::String) — Required. Name of the bucket.
#bucket_prefix
def bucket_prefix() -> ::String- (::String) — Optional. Prefix inside the bucket.
#bucket_prefix=
def bucket_prefix=(value) -> ::String- value (::String) — Optional. Prefix inside the bucket.
- (::String) — Optional. Prefix inside the bucket.
#directory
def directory() -> ::String- (::String) — Required. Directory where the user lands in the SFTP server.
#directory=
def directory=(value) -> ::String- value (::String) — Required. Directory where the user lands in the SFTP server.
- (::String) — Required. Directory where the user lands in the SFTP server.
#permission
def permission() -> ::Google::Cloud::Ftp::V1::StorageDirectoryMapping::Permission- (::Google::Cloud::Ftp::V1::StorageDirectoryMapping::Permission) — Required. Permission to the bucket.
#permission=
def permission=(value) -> ::Google::Cloud::Ftp::V1::StorageDirectoryMapping::Permission- value (::Google::Cloud::Ftp::V1::StorageDirectoryMapping::Permission) — Required. Permission to the bucket.
- (::Google::Cloud::Ftp::V1::StorageDirectoryMapping::Permission) — Required. Permission to the bucket.