public bool AsyncInstanceEndpointsDeletionEnabled { get; set; }
Optional. If true, instance endpoints that are created and registered by
customers can be deleted asynchronously. That is, such an instance endpoint
can be de-registered before the forwarding rules in the instance endpoint
are deleted.
public Instance.Types.GcsBackupSource GcsSource { get; set; }
Optional. Immutable. Backups that stored in Cloud Storage buckets.
The Cloud Storage buckets need to be the same region as the instances.
Read permission is required to import from the provided Cloud Storage
Objects.
public MaintenancePolicy MaintenancePolicy { get; set; }
Optional. The maintenance policy for the instance. If not provided,
the maintenance event will be performed based on Memorystore
internal rollout schedule.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eInstance\u003c/code\u003e class in the Google Cloud Memorystore v1 API represents a Memorystore instance, and is available in version 1.0.0-beta02, which is the latest version.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionality for message handling, equality checks, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eInstances can have various configurations, such as \u003ccode\u003eAuthorizationMode\u003c/code\u003e, \u003ccode\u003eEngineVersion\u003c/code\u003e, \u003ccode\u003eNodeType\u003c/code\u003e, \u003ccode\u003eMode\u003c/code\u003e, \u003ccode\u003eTransitEncryptionMode\u003c/code\u003e, and \u003ccode\u003ePersistenceConfig\u003c/code\u003e, which dictate the behavior and features of the Memorystore instance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInstance\u003c/code\u003e class offers several properties including \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eUpdateTime\u003c/code\u003e, \u003ccode\u003eState\u003c/code\u003e, \u003ccode\u003eUid\u003c/code\u003e, and \u003ccode\u003eDeletionProtectionEnabled\u003c/code\u003e which provide information about the instance's lifecycle, current status, and settings.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInstance\u003c/code\u003e class exposes members for setting up user-provided metadata through \u003ccode\u003eLabels\u003c/code\u003e and configuring the instance's network endpoints through \u003ccode\u003eEndpoints\u003c/code\u003e and \u003ccode\u003eDiscoveryEndpoints\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Memorystore v1 API - Class Instance (1.0.0-beta03)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta03 (latest)](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.Instance)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/1.0.0-beta02/Google.Cloud.Memorystore.V1.Instance) \n\n public sealed class Instance : IMessage\u003cInstance\u003e, IEquatable\u003cInstance\u003e, IDeepCloneable\u003cInstance\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Memorystore v1 API class Instance.\n\nA Memorystore instance. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Instance \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Instance](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.Instance), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Instance](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.Instance), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Instance](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.Instance), [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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Memorystore.V1](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Memorystore.V1.dll\n\nConstructors\n------------\n\n### Instance()\n\n public Instance()\n\n### Instance(Instance)\n\n public Instance(Instance other)\n\nProperties\n----------\n\n### AsyncInstanceEndpointsDeletionEnabled\n\n public bool AsyncInstanceEndpointsDeletionEnabled { get; set; }\n\nOptional. If true, instance endpoints that are created and registered by\ncustomers can be deleted asynchronously. That is, such an instance endpoint\ncan be de-registered before the forwarding rules in the instance endpoint\nare deleted.\n\n### AuthorizationMode\n\n public Instance.Types.AuthorizationMode AuthorizationMode { get; set; }\n\nOptional. Immutable. Authorization mode of the instance.\n\n### AutomatedBackupConfig\n\n public AutomatedBackupConfig AutomatedBackupConfig { get; set; }\n\nOptional. The automated backup config for the instance.\n\n### BackupCollection\n\n public string BackupCollection { get; set; }\n\nOutput only. The backup collection full resource name. Example:\nprojects/{project}/locations/{location}/backupCollections/{collection}\n\n### BackupCollectionAsBackupCollectionName\n\n public BackupCollectionName BackupCollectionAsBackupCollectionName { get; set; }\n\n[BackupCollectionName](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.BackupCollectionName)-typed view over the [BackupCollection](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.Instance#Google_Cloud_Memorystore_V1_Instance_BackupCollection) resource name\nproperty.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. Creation timestamp of the instance.\n\n### CrossInstanceReplicationConfig\n\n public CrossInstanceReplicationConfig CrossInstanceReplicationConfig { get; set; }\n\nOptional. The config for cross instance replication.\n\n### DeletionProtectionEnabled\n\n public bool DeletionProtectionEnabled { get; set; }\n\nOptional. If set to true deletion of the instance will fail.\n\n### DiscoveryEndpoints\n\n [Obsolete]\n public RepeatedField\u003cDiscoveryEndpoint\u003e DiscoveryEndpoints { get; }\n\nOutput only. Deprecated: Use the endpoints.connections.psc_auto_connection\nor endpoints.connections.psc_connection values instead.\n\n### Endpoints\n\n public RepeatedField\u003cInstance.Types.InstanceEndpoint\u003e Endpoints { get; }\n\nOptional. Endpoints for the instance.\n\n### EngineConfigs\n\n public MapField\u003cstring, string\u003e EngineConfigs { get; }\n\nOptional. User-provided engine configurations for the instance.\n\n### EngineVersion\n\n public string EngineVersion { get; set; }\n\nOptional. Engine version of the instance.\n\n### GcsSource\n\n public Instance.Types.GcsBackupSource GcsSource { get; set; }\n\nOptional. Immutable. Backups that stored in Cloud Storage buckets.\nThe Cloud Storage buckets need to be the same region as the instances.\nRead permission is required to import from the provided Cloud Storage\nObjects.\n\n### HasAsyncInstanceEndpointsDeletionEnabled\n\n public bool HasAsyncInstanceEndpointsDeletionEnabled { get; }\n\nGets whether the \"async_instance_endpoints_deletion_enabled\" field is set\n\n### HasBackupCollection\n\n public bool HasBackupCollection { get; }\n\nGets whether the \"backup_collection\" field is set\n\n### HasDeletionProtectionEnabled\n\n public bool HasDeletionProtectionEnabled { get; }\n\nGets whether the \"deletion_protection_enabled\" field is set\n\n### HasOndemandMaintenance\n\n public bool HasOndemandMaintenance { get; }\n\nGets whether the \"ondemand_maintenance\" field is set\n\n### HasReplicaCount\n\n public bool HasReplicaCount { get; }\n\nGets whether the \"replica_count\" field is set\n\n### ImportSourcesCase\n\n public Instance.ImportSourcesOneofCase ImportSourcesCase { get; }\n\n### InstanceName\n\n public InstanceName InstanceName { get; set; }\n\n[InstanceName](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.InstanceName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.Instance#Google_Cloud_Memorystore_V1_Instance_Name) resource name property.\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nOptional. Labels to represent user-provided metadata.\n\n### MaintenancePolicy\n\n public MaintenancePolicy MaintenancePolicy { get; set; }\n\nOptional. The maintenance policy for the instance. If not provided,\nthe maintenance event will be performed based on Memorystore\ninternal rollout schedule.\n\n### MaintenanceSchedule\n\n public MaintenanceSchedule MaintenanceSchedule { get; set; }\n\nOutput only. Published maintenance schedule.\n\n### ManagedBackupSource\n\n public Instance.Types.ManagedBackupSource ManagedBackupSource { get; set; }\n\nOptional. Immutable. Backups that generated and managed by memorystore\nservice.\n\n### Mode\n\n public Instance.Types.Mode Mode { get; set; }\n\nOptional. The mode config for the instance.\n\n### Name\n\n public string Name { get; set; }\n\nIdentifier. Unique name of the instance.\nFormat: projects/{project}/locations/{location}/instances/{instance}\n\n### NodeConfig\n\n public NodeConfig NodeConfig { get; set; }\n\nOutput only. Configuration of individual nodes of the instance.\n\n### NodeType\n\n public Instance.Types.NodeType NodeType { get; set; }\n\nOptional. Machine type for individual nodes of the instance.\n\n### OndemandMaintenance\n\n public bool OndemandMaintenance { get; set; }\n\nOptional. Input only. Ondemand maintenance for the instance.\n\n### PersistenceConfig\n\n public PersistenceConfig PersistenceConfig { get; set; }\n\nOptional. Persistence configuration of the instance.\n\n### PscAttachmentDetails\n\n public RepeatedField\u003cPscAttachmentDetail\u003e PscAttachmentDetails { get; }\n\nOutput only. Service attachment details to configure PSC connections.\n\n### PscAutoConnections\n\n [Obsolete]\n public RepeatedField\u003cPscAutoConnection\u003e PscAutoConnections { get; }\n\nOptional. Immutable. Deprecated: Use the\nendpoints.connections.psc_auto_connection value instead.\n\n### ReplicaCount\n\n public int ReplicaCount { get; set; }\n\nOptional. Number of replica nodes per shard. If omitted the default is 0\nreplicas.\n\n### ShardCount\n\n public int ShardCount { get; set; }\n\nOptional. Number of shards for the instance.\n\n### State\n\n public Instance.Types.State State { get; set; }\n\nOutput only. Current state of the instance.\n\n### StateInfo\n\n public Instance.Types.StateInfo StateInfo { get; set; }\n\nOutput only. Additional information about the state of the instance.\n\n### TransitEncryptionMode\n\n public Instance.Types.TransitEncryptionMode TransitEncryptionMode { get; set; }\n\nOptional. Immutable. In-transit encryption mode of the instance.\n\n### Uid\n\n public string Uid { get; set; }\n\nOutput only. System assigned, unique identifier for the instance.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. Latest update timestamp of the instance.\n\n### ZoneDistributionConfig\n\n public ZoneDistributionConfig ZoneDistributionConfig { get; set; }\n\nOptional. Immutable. Zone distribution configuration of the instance for\nnode allocation."]]