2.8.0 (latest) 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the Cloud Filestore v1 API class Instance.

A Filestore instance.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Instance

## Implements

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

## 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.Filestore.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.md.txt)

## Assembly

Google.Cloud.Filestore.V1.dll

## Constructors

### Instance()

    public Instance()

### Instance(Instance)

    public Instance(Instance other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `Instance` |

## Properties

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. The time when the instance was created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### CustomPerformanceSupported

    public bool CustomPerformanceSupported { get; set; }

Output only. Indicates whether this instance supports configuring its
performance. If true, the user can configure the instance's performance by
using the 'performance_config' field.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### DeletionProtectionEnabled

    public bool DeletionProtectionEnabled { get; set; }

Optional. Indicates whether the instance is protected against deletion.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### DeletionProtectionReason

    public string DeletionProtectionReason { get; set; }

Optional. The reason for enabling deletion protection.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Description

    public string Description { get; set; }

The description of the instance (2048 characters or less).

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Etag

    public string Etag { get; set; }

Server-specified ETag for the instance resource to prevent simultaneous
updates from overwriting each other.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### FileShares

    public RepeatedField<FileShareConfig> FileShares { get; }

File system shares on the instance.
For this version, only a single file share is supported.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldFileShareConfig` |   |

### InstanceName

    public InstanceName InstanceName { get; set; }

[InstanceName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.InstanceName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.Instance.md.txt#Google_Cloud_Filestore_V1_Instance_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `InstanceName` |   |

### KmsKeyName

    public string KmsKeyName { get; set; }

KMS key name used for data encryption.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Labels

    public MapField<string, string> Labels { get; }

Resource labels to represent user provided metadata.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MapFieldstringstring` |   |

### Name

    public string Name { get; set; }

Output only. The resource name of the instance, in the format
`projects/{project}/locations/{location}/instances/{instance}`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Networks

    public RepeatedField<NetworkConfig> Networks { get; }

VPC networks to which the instance is connected.
For this version, only a single network is supported.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldNetworkConfig` |   |

### PerformanceConfig

    public Instance.Types.PerformanceConfig PerformanceConfig { get; set; }

Optional. Used to configure performance.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `InstanceTypesPerformanceConfig` |   |

### PerformanceLimits

    public Instance.Types.PerformanceLimits PerformanceLimits { get; set; }

Output only. Used for getting performance limits.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `InstanceTypesPerformanceLimits` |   |

### Protocol

    public Instance.Types.FileProtocol Protocol { get; set; }

Immutable. The protocol indicates the access protocol for all shares in the
instance. This field is immutable and it cannot be changed after the
instance has been created. Default value: `NFS_V3`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `InstanceTypesFileProtocol` |   |

### Replication

    public Replication Replication { get; set; }

Optional. Replication configuration.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Replication` |   |

### SatisfiesPzi

    public bool SatisfiesPzi { get; set; }

Output only. Reserved for future use.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### SatisfiesPzs

    public bool? SatisfiesPzs { get; set; }

Output only. Reserved for future use.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### State

    public Instance.Types.State State { get; set; }

Output only. The instance state.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `InstanceTypesState` |   |

### StatusMessage

    public string StatusMessage { get; set; }

Output only. Additional information about the instance state, if available.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### SuspensionReasons

    public RepeatedField<Instance.Types.SuspensionReason> SuspensionReasons { get; }

Output only. Field indicates all the reasons the instance is in "SUSPENDED"
state.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldInstanceTypesSuspensionReason` |   |

### Tags

    public MapField<string, string> Tags { get; }

Optional. Input only. Immutable. Tag key-value pairs bound to this
resource. Each key must be a namespaced name and each value a short name.
Example:
"123456789012/environment" : "production",
"123456789013/costCenter" : "marketing"
See the documentation for more information:

- Namespaced name: <https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key>
- Short name: <https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value>

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MapFieldstringstring` |   |

### Tier

    public Instance.Types.Tier Tier { get; set; }

The service tier of the instance.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `InstanceTypesTier` |   |