    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](https://learn.microsoft.com/dotnet/api/system.object) \> StorageDirectoryMapping

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[StorageDirectoryMapping](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ftp.V1/latest/Google.Cloud.Ftp.V1.StorageDirectoryMapping), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[StorageDirectoryMapping](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ftp.V1/latest/Google.Cloud.Ftp.V1.StorageDirectoryMapping), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[StorageDirectoryMapping](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ftp.V1/latest/Google.Cloud.Ftp.V1.StorageDirectoryMapping), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Ftp.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ftp.V1/latest/Google.Cloud.Ftp.V1)

## Assembly

Google.Cloud.Ftp.V1.dll

## Constructors

### StorageDirectoryMapping()

    public StorageDirectoryMapping()

### StorageDirectoryMapping(StorageDirectoryMapping)

    public StorageDirectoryMapping(StorageDirectoryMapping other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ftp.V1/latest/Google.Cloud.Ftp.V1.StorageDirectoryMapping` |

## Properties

### Bucket

    public string Bucket { get; set; }

Required. Name of the bucket.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### BucketPrefix

    public string BucketPrefix { get; set; }

Optional. Prefix inside the bucket.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Directory

    public string Directory { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Permission

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

Required. Permission to the bucket.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ftp.V1/latest/Google.Cloud.Ftp.V1.StorageDirectoryMappinghttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ftp.V1/latest/Google.Cloud.Ftp.V1.StorageDirectoryMapping.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ftp.V1/latest/Google.Cloud.Ftp.V1.StorageDirectoryMapping.Types.Permission` |   |