Cloud FTP v1 API - Class StorageDirectoryMapping (1.0.0-beta01)

public sealed class StorageDirectoryMapping : IMessage<StorageDirectoryMapping>, IEquatable<StorageDirectoryMapping>, IDeepCloneable<StorageDirectoryMapping>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud FTP v1 API class 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.

Inheritance

object > StorageDirectoryMapping

Namespace

Google.Cloud.Ftp.V1

Assembly

Google.Cloud.Ftp.V1.dll

Constructors

StorageDirectoryMapping()

public StorageDirectoryMapping()

StorageDirectoryMapping(StorageDirectoryMapping)

public StorageDirectoryMapping(StorageDirectoryMapping other)
Parameter
Name Description
other StorageDirectoryMapping

Properties

Bucket

public string Bucket { get; set; }

Required. Name of the bucket.

Property Value
Type Description
string

BucketPrefix

public string BucketPrefix { get; set; }

Optional. Prefix inside the bucket.

Property Value
Type Description
string

Directory

public string Directory { get; set; }

Required. Directory where the user lands in the SFTP server.

Property Value
Type Description
string

Permission

public StorageDirectoryMapping.Types.Permission Permission { get; set; }

Required. Permission to the bucket.

Property Value
Type Description
StorageDirectoryMappingTypesPermission