public sealed class FreeInstanceMetadata : IMessage<FreeInstanceMetadata>, IEquatable<FreeInstanceMetadata>, IDeepCloneable<FreeInstanceMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner Instance Administration v1 API class FreeInstanceMetadata.
Free instance specific metadata that is kept even after an instance has been
upgraded for tracking purposes.
public FreeInstanceMetadata.Types.ExpireBehavior ExpireBehavior { get; set; }
Specifies the expiration behavior of a free instance. The default of
ExpireBehavior is REMOVE_AFTER_GRACE_PERIOD. This can be modified during
or after creation, and before expiration.
Output only. Timestamp after which the instance will either be upgraded or
scheduled for deletion after a grace period. ExpireBehavior is used to
choose between upgrading or scheduling the free instance for deletion. This
timestamp is set during the creation of a free instance.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Spanner Instance Administration v1 API - Class FreeInstanceMetadata (5.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [5.1.0 (latest)](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.FreeInstanceMetadata)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/5.0.0/Google.Cloud.Spanner.Admin.Instance.V1.FreeInstanceMetadata)\n- [4.6.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.6.0/Google.Cloud.Spanner.Admin.Instance.V1.FreeInstanceMetadata)\n- [4.5.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.5.0/Google.Cloud.Spanner.Admin.Instance.V1.FreeInstanceMetadata)\n- [4.4.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.4.0/Google.Cloud.Spanner.Admin.Instance.V1.FreeInstanceMetadata)\n- [4.3.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.3.0/Google.Cloud.Spanner.Admin.Instance.V1.FreeInstanceMetadata)\n- [4.2.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.2.0/Google.Cloud.Spanner.Admin.Instance.V1.FreeInstanceMetadata)\n- [4.1.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.1.0/Google.Cloud.Spanner.Admin.Instance.V1.FreeInstanceMetadata)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.0.0/Google.Cloud.Spanner.Admin.Instance.V1.FreeInstanceMetadata)\n- [3.15.1](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.15.1/Google.Cloud.Spanner.Admin.Instance.V1.FreeInstanceMetadata)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.14.0/Google.Cloud.Spanner.Admin.Instance.V1.FreeInstanceMetadata)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.13.0/Google.Cloud.Spanner.Admin.Instance.V1.FreeInstanceMetadata)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.12.0/Google.Cloud.Spanner.Admin.Instance.V1.FreeInstanceMetadata)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.11.0/Google.Cloud.Spanner.Admin.Instance.V1.FreeInstanceMetadata)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.10.0/Google.Cloud.Spanner.Admin.Instance.V1.FreeInstanceMetadata)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.9.0/Google.Cloud.Spanner.Admin.Instance.V1.FreeInstanceMetadata)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.8.0/Google.Cloud.Spanner.Admin.Instance.V1.FreeInstanceMetadata)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.7.0/Google.Cloud.Spanner.Admin.Instance.V1.FreeInstanceMetadata)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.6.0/Google.Cloud.Spanner.Admin.Instance.V1.FreeInstanceMetadata)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.5.0/Google.Cloud.Spanner.Admin.Instance.V1.FreeInstanceMetadata) \n\n public sealed class FreeInstanceMetadata : IMessage\u003cFreeInstanceMetadata\u003e, IEquatable\u003cFreeInstanceMetadata\u003e, IDeepCloneable\u003cFreeInstanceMetadata\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Spanner Instance Administration v1 API class FreeInstanceMetadata.\n\nFree instance specific metadata that is kept even after an instance has been\nupgraded for tracking purposes. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e FreeInstanceMetadata \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[FreeInstanceMetadata](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.FreeInstanceMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[FreeInstanceMetadata](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.FreeInstanceMetadata), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[FreeInstanceMetadata](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.FreeInstanceMetadata), [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.Spanner.Admin.Instance.V1](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Spanner.Admin.Instance.V1.dll\n\nConstructors\n------------\n\n### FreeInstanceMetadata()\n\n public FreeInstanceMetadata()\n\n### FreeInstanceMetadata(FreeInstanceMetadata)\n\n public FreeInstanceMetadata(FreeInstanceMetadata other)\n\nProperties\n----------\n\n### ExpireBehavior\n\n public FreeInstanceMetadata.Types.ExpireBehavior ExpireBehavior { get; set; }\n\nSpecifies the expiration behavior of a free instance. The default of\nExpireBehavior is `REMOVE_AFTER_GRACE_PERIOD`. This can be modified during\nor after creation, and before expiration.\n\n### ExpireTime\n\n public Timestamp ExpireTime { get; set; }\n\nOutput only. Timestamp after which the instance will either be upgraded or\nscheduled for deletion after a grace period. ExpireBehavior is used to\nchoose between upgrading or scheduling the free instance for deletion. This\ntimestamp is set during the creation of a free instance.\n\n### UpgradeTime\n\n public Timestamp UpgradeTime { get; set; }\n\nOutput only. If present, the timestamp at which the free instance was\nupgraded to a provisioned instance."]]