public sealed class StorageDirectoryMapping : IMessage<StorageDirectoryMapping>, IEquatable<StorageDirectoryMapping>, IDeepCloneable<StorageDirectoryMapping>, IBufferMessage, IMessageReference 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.
Implements
IMessageStorageDirectoryMapping, IEquatableStorageDirectoryMapping, IDeepCloneableStorageDirectoryMapping, IBufferMessage, IMessageNamespace
Google.Cloud.Ftp.V1Assembly
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 |
|