public sealed class ResourceManifest : IMessage<ResourceManifest>, IEquatable<ResourceManifest>, IDeepCloneable<ResourceManifest>, IBufferMessage, IMessage
Reference documentation and code samples for the GKE Hub v1 API class ResourceManifest.
ResourceManifest represents a single Kubernetes resource to be applied to
the cluster.
[[["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\u003eResourceManifest\u003c/code\u003e class in the GKE Hub v1 API is 2.5.0, with documentation available for versions back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResourceManifest\u003c/code\u003e class represents a single Kubernetes resource and is designed for application within a cluster.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, equality checks, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, a default and one that takes another \u003ccode\u003eResourceManifest\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eResourceManifest\u003c/code\u003e class include \u003ccode\u003eClusterScoped\u003c/code\u003e, a boolean indicating whether the resource is cluster-scoped, and \u003ccode\u003eManifest\u003c/code\u003e, a string containing the YAML manifest of the resource.\u003c/p\u003e\n"]]],[],null,["# GKE Hub v1 API - Class ResourceManifest (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.ResourceManifest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.4.0/Google.Cloud.GkeHub.V1.ResourceManifest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.3.0/Google.Cloud.GkeHub.V1.ResourceManifest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.2.0/Google.Cloud.GkeHub.V1.ResourceManifest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.1.0/Google.Cloud.GkeHub.V1.ResourceManifest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/2.0.0/Google.Cloud.GkeHub.V1.ResourceManifest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/1.2.0/Google.Cloud.GkeHub.V1.ResourceManifest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/1.1.0/Google.Cloud.GkeHub.V1.ResourceManifest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/1.0.0/Google.Cloud.GkeHub.V1.ResourceManifest) \n\n public sealed class ResourceManifest : IMessage\u003cResourceManifest\u003e, IEquatable\u003cResourceManifest\u003e, IDeepCloneable\u003cResourceManifest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the GKE Hub v1 API class ResourceManifest.\n\nResourceManifest represents a single Kubernetes resource to be applied to\nthe cluster. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ResourceManifest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ResourceManifest](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/latest/Google.Cloud.GkeHub.V1.ResourceManifest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ResourceManifest](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/latest/Google.Cloud.GkeHub.V1.ResourceManifest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ResourceManifest](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/latest/Google.Cloud.GkeHub.V1.ResourceManifest), [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](/dotnet/docs/reference/Google.Cloud.GkeHub.V1/latest/Google.Cloud.GkeHub.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.GkeHub.V1.dll\n\nConstructors\n------------\n\n### ResourceManifest()\n\n public ResourceManifest()\n\n### ResourceManifest(ResourceManifest)\n\n public ResourceManifest(ResourceManifest other)\n\nProperties\n----------\n\n### ClusterScoped\n\n public bool ClusterScoped { get; set; }\n\nWhether the resource provided in the manifest is `cluster_scoped`.\nIf unset, the manifest is assumed to be namespace scoped.\n\nThis field is used for REST mapping when applying the resource in a\ncluster.\n\n### Manifest\n\n public string Manifest { get; set; }\n\nYAML manifest of the resource."]]