public sealed class GroupVersionKind : IMessage<GroupVersionKind>, IEquatable<GroupVersionKind>, IDeepCloneable<GroupVersionKind>, IBufferMessage, IMessage
Reference documentation and code samples for the GKE Hub v1 API class GroupVersionKind.
[[["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 latest version of the \u003ccode\u003eGroupVersionKind\u003c/code\u003e class in the GKE Hub v1 API is 2.5.0, and older versions are available, ranging from 2.4.0 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGroupVersionKind\u003c/code\u003e is a class representing a Kubernetes object's GVK (Group, Version, Kind) that implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGroupVersionKind\u003c/code\u003e class has properties for Kubernetes Group, Kind, and Version, all of which are of type \u003ccode\u003estring\u003c/code\u003e, and it can be constructed either as an empty object or as a copy of an existing \u003ccode\u003eGroupVersionKind\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eGroupVersionKind\u003c/code\u003e inherits from the object class and, in addition to its own methods, also gets \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e and \u003ccode\u003eToString()\u003c/code\u003e methods from the Object class.\u003c/p\u003e\n"]]],[],null,["# GKE Hub v1 API - Class GroupVersionKind (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/latest/Google.Cloud.GkeHub.V1.ConfigManagement.GroupVersionKind)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.4.0/Google.Cloud.GkeHub.V1.ConfigManagement.GroupVersionKind)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.3.0/Google.Cloud.GkeHub.V1.ConfigManagement.GroupVersionKind)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.2.0/Google.Cloud.GkeHub.V1.ConfigManagement.GroupVersionKind)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.1.0/Google.Cloud.GkeHub.V1.ConfigManagement.GroupVersionKind)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.0.0/Google.Cloud.GkeHub.V1.ConfigManagement.GroupVersionKind)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/1.2.0/Google.Cloud.GkeHub.V1.ConfigManagement.GroupVersionKind)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/1.1.0/Google.Cloud.GkeHub.V1.ConfigManagement.GroupVersionKind)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/1.0.0/Google.Cloud.GkeHub.V1.ConfigManagement.GroupVersionKind) \n\n public sealed class GroupVersionKind : IMessage\u003cGroupVersionKind\u003e, IEquatable\u003cGroupVersionKind\u003e, IDeepCloneable\u003cGroupVersionKind\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the GKE Hub v1 API class GroupVersionKind.\n\nA Kubernetes object's GVK \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GroupVersionKind \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GroupVersionKind](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/latest/Google.Cloud.GkeHub.V1.ConfigManagement.GroupVersionKind), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GroupVersionKind](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/latest/Google.Cloud.GkeHub.V1.ConfigManagement.GroupVersionKind), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GroupVersionKind](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/latest/Google.Cloud.GkeHub.V1.ConfigManagement.GroupVersionKind), [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.GkeHub.V1.ConfigManagement](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/latest/Google.Cloud.GkeHub.V1.ConfigManagement)\n\nAssembly\n--------\n\nGoogle.Cloud.GkeHub.V1.dll\n\nConstructors\n------------\n\n### GroupVersionKind()\n\n public GroupVersionKind()\n\n### GroupVersionKind(GroupVersionKind)\n\n public GroupVersionKind(GroupVersionKind other)\n\nProperties\n----------\n\n### Group\n\n public string Group { get; set; }\n\nKubernetes Group\n\n### Kind\n\n public string Kind { get; set; }\n\nKubernetes Kind\n\n### Version\n\n public string Version { get; set; }\n\nKubernetes Version"]]