public sealed class Backup.Types.ClusterMetadata : IMessage<Backup.Types.ClusterMetadata>, IEquatable<Backup.Types.ClusterMetadata>, IDeepCloneable<Backup.Types.ClusterMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the Backup for GKE v1 API class Backup.Types.ClusterMetadata.
Information about the GKE cluster from which this Backup was created.
[[["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\u003eThis documentation covers the \u003ccode\u003eBackup.Types.ClusterMetadata\u003c/code\u003e class within the Google Cloud GKE Backup v1 API, providing reference information and code samples.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eClusterMetadata\u003c/code\u003e class contains details about the GKE cluster from which a backup was created, including Anthos, GKE, and Kubernetes versions.\u003c/p\u003e\n"],["\u003cp\u003eIt implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its functionality within the Google.Protobuf framework.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers constructors for creating instances, and it includes properties such as \u003ccode\u003eAnthosVersion\u003c/code\u003e, \u003ccode\u003eBackupCrdVersions\u003c/code\u003e, \u003ccode\u003eCluster\u003c/code\u003e, \u003ccode\u003eGkeVersion\u003c/code\u003e, and \u003ccode\u003eK8SVersion\u003c/code\u003e to retrieve cluster details.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of the documentation are available, ranging from version 1.0.0-beta01 to 2.6.0 (latest), allowing users to refer to the appropriate version for their needs.\u003c/p\u003e\n"]]],[],null,["# Backup for GKE v1 API - Class Backup.Types.ClusterMetadata (2.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.8.0 (latest)](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.Backup.Types.ClusterMetadata)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.7.0/Google.Cloud.GkeBackup.V1.Backup.Types.ClusterMetadata)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.6.0/Google.Cloud.GkeBackup.V1.Backup.Types.ClusterMetadata)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.5.0/Google.Cloud.GkeBackup.V1.Backup.Types.ClusterMetadata)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.4.0/Google.Cloud.GkeBackup.V1.Backup.Types.ClusterMetadata)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.3.0/Google.Cloud.GkeBackup.V1.Backup.Types.ClusterMetadata)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.2.0/Google.Cloud.GkeBackup.V1.Backup.Types.ClusterMetadata)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.1.0/Google.Cloud.GkeBackup.V1.Backup.Types.ClusterMetadata)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.0.0/Google.Cloud.GkeBackup.V1.Backup.Types.ClusterMetadata)\n- [1.0.0-beta01](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/1.0.0-beta01/Google.Cloud.GkeBackup.V1.Backup.Types.ClusterMetadata) \n\n public sealed class Backup.Types.ClusterMetadata : IMessage\u003cBackup.Types.ClusterMetadata\u003e, IEquatable\u003cBackup.Types.ClusterMetadata\u003e, IDeepCloneable\u003cBackup.Types.ClusterMetadata\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Backup for GKE v1 API class Backup.Types.ClusterMetadata.\n\nInformation about the GKE cluster from which this Backup was created. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Backup.Types.ClusterMetadata \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Backup](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.Backup)[Types](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.Backup.Types)[ClusterMetadata](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.Backup.Types.ClusterMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Backup](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.Backup)[Types](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.Backup.Types)[ClusterMetadata](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.Backup.Types.ClusterMetadata), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Backup](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.Backup)[Types](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.Backup.Types)[ClusterMetadata](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.Backup.Types.ClusterMetadata), [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.GkeBackup.V1](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.GkeBackup.V1.dll\n\nConstructors\n------------\n\n### ClusterMetadata()\n\n public ClusterMetadata()\n\n### ClusterMetadata(ClusterMetadata)\n\n public ClusterMetadata(Backup.Types.ClusterMetadata other)\n\nProperties\n----------\n\n### AnthosVersion\n\n public string AnthosVersion { get; set; }\n\nOutput only. Anthos version\n\n### BackupCrdVersions\n\n public MapField\u003cstring, string\u003e BackupCrdVersions { get; }\n\nOutput only. A list of the Backup for GKE CRD versions found in the\ncluster.\n\n### Cluster\n\n public string Cluster { get; set; }\n\nOutput only. The source cluster from which this Backup was created.\nValid formats:\n\n- `projects/*/locations/*/clusters/*`\n- `projects/*/zones/*/clusters/*`\n\nThis is inherited from the parent BackupPlan's\n\\[cluster\\]\\[google.cloud.gkebackup.v1.BackupPlan.cluster\\] field.\n\n### GkeVersion\n\n public string GkeVersion { get; set; }\n\nOutput only. GKE version\n\n### HasAnthosVersion\n\n public bool HasAnthosVersion { get; }\n\nGets whether the \"anthos_version\" field is set\n\n### HasGkeVersion\n\n public bool HasGkeVersion { get; }\n\nGets whether the \"gke_version\" field is set\n\n### K8SVersion\n\n public string K8SVersion { get; set; }\n\nOutput only. The Kubernetes server version of the source cluster.\n\n### PlatformVersionCase\n\n public Backup.Types.ClusterMetadata.PlatformVersionOneofCase PlatformVersionCase { get; }"]]