[[["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 Memorystore v1beta API represents a Memorystore instance and implements various interfaces for message handling, equality comparison, deep cloning, and buffer message operations.\u003c/p\u003e\n"],["\u003cp\u003eThis class allows configuration of several aspects of a Memorystore instance, including authorization mode, deletion protection, engine version, node type, replica and shard counts, as well as persistence and transit encryption settings.\u003c/p\u003e\n"],["\u003cp\u003eInstances have unique identifiers, creation and update timestamps, and output-only properties such as the current state, discovery endpoints, and system-assigned unique identifier.\u003c/p\u003e\n"],["\u003cp\u003eThe class supports various properties for connecting to the instance, including endpoints and PSC auto-connections, as well as optional engine configurations and user-provided labels for metadata.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInstance\u003c/code\u003e class provides constructor options, including one for creating an instance based on another existing \u003ccode\u003eInstance\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Memorystore v1beta API - Class Instance (1.0.0-beta02)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta02 (latest)](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.Instance)\n- [1.0.0-beta01](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/1.0.0-beta01/Google.Cloud.Memorystore.V1Beta.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 v1beta 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.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.Instance), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Instance](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.Instance), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Instance](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.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.V1Beta](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.Memorystore.V1Beta.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### AuthorizationMode\n\n public Instance.Types.AuthorizationMode AuthorizationMode { get; set; }\n\nOptional. Immutable. Authorization mode of the instance.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. Creation timestamp of the instance.\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 public RepeatedField\u003cDiscoveryEndpoint\u003e DiscoveryEndpoints { get; }\n\nOutput only. Endpoints clients can connect to the instance through.\nCurrently only one discovery endpoint is supported.\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. Immutable. Engine version of the instance.\n\n### HasDeletionProtectionEnabled\n\n public bool HasDeletionProtectionEnabled { get; }\n\nGets whether the \"deletion_protection_enabled\" field is set\n\n### HasReplicaCount\n\n public bool HasReplicaCount { get; }\n\nGets whether the \"replica_count\" field is set\n\n### InstanceName\n\n public InstanceName InstanceName { get; set; }\n\n[InstanceName](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.InstanceName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.Instance#Google_Cloud_Memorystore_V1Beta_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### 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. Immutable. Machine type for individual nodes of the instance.\n\n### PersistenceConfig\n\n public PersistenceConfig PersistenceConfig { get; set; }\n\nOptional. Persistence configuration of the instance.\n\n### PscAutoConnections\n\n public RepeatedField\u003cPscAutoConnection\u003e PscAutoConnections { get; }\n\nRequired. Immutable. User inputs and resource details of the auto-created\nPSC connections.\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."]]