public sealed class ValidateExclusivityRequest : IMessage<ValidateExclusivityRequest>, IEquatable<ValidateExclusivityRequest>, IDeepCloneable<ValidateExclusivityRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the GKE Hub v1beta1 API class ValidateExclusivityRequest.
The request to validate the existing state of the membership CR in the
cluster.
Required. The intended membership name under the parent. This method only
does validation in anticipation of a CreateMembership call with the same
name.
[[["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\u003eValidateExclusivityRequest\u003c/code\u003e class in the GKE Hub v1beta1 API is used to validate the existing state of the membership CR in a cluster.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, providing functionalities for message manipulation, equality checking, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eValidateExclusivityRequest\u003c/code\u003e include \u003ccode\u003eCrManifest\u003c/code\u003e (optional YAML of the membership CR), \u003ccode\u003eIntendedMembership\u003c/code\u003e (the required intended membership name), \u003ccode\u003eParent\u003c/code\u003e (the required project and location), and \u003ccode\u003eParentAsLocationName\u003c/code\u003e (a \u003ccode\u003eLocationName\u003c/code\u003e-typed view of the \u003ccode\u003eParent\u003c/code\u003e resource name).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValidateExclusivityRequest\u003c/code\u003e class offers two constructors, one default and another that accepts another \u003ccode\u003eValidateExclusivityRequest\u003c/code\u003e instance for cloning.\u003c/p\u003e\n"],["\u003cp\u003eThis class belongs to the \u003ccode\u003eGoogle.Cloud.GkeHub.V1Beta1\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.GkeHub.V1Beta1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# GKE Hub v1beta1 API - Class ValidateExclusivityRequest (2.0.0-beta07)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta07 (latest)](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.ValidateExclusivityRequest)\n- [2.0.0-beta06](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/2.0.0-beta06/Google.Cloud.GkeHub.V1Beta1.ValidateExclusivityRequest)\n- [1.0.0-beta04](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/1.0.0-beta04/Google.Cloud.GkeHub.V1Beta1.ValidateExclusivityRequest) \n\n public sealed class ValidateExclusivityRequest : IMessage\u003cValidateExclusivityRequest\u003e, IEquatable\u003cValidateExclusivityRequest\u003e, IDeepCloneable\u003cValidateExclusivityRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the GKE Hub v1beta1 API class ValidateExclusivityRequest.\n\nThe request to validate the existing state of the membership CR in the\ncluster. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ValidateExclusivityRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ValidateExclusivityRequest](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.ValidateExclusivityRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ValidateExclusivityRequest](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.ValidateExclusivityRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ValidateExclusivityRequest](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.ValidateExclusivityRequest), [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.V1Beta1](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.GkeHub.V1Beta1.dll\n\nConstructors\n------------\n\n### ValidateExclusivityRequest()\n\n public ValidateExclusivityRequest()\n\n### ValidateExclusivityRequest(ValidateExclusivityRequest)\n\n public ValidateExclusivityRequest(ValidateExclusivityRequest other)\n\nProperties\n----------\n\n### CrManifest\n\n public string CrManifest { get; set; }\n\nOptional. The YAML of the membership CR in the cluster. Empty if the\nmembership CR does not exist.\n\n### IntendedMembership\n\n public string IntendedMembership { get; set; }\n\nRequired. The intended membership name under the `parent`. This method only\ndoes validation in anticipation of a CreateMembership call with the same\nname.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The parent (project and location) where the Memberships will be\ncreated. Specified in the format `projects/*/locations/*`.\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax/ResourceNames/LocationName.cs)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.ValidateExclusivityRequest#Google_Cloud_GkeHub_V1Beta1_ValidateExclusivityRequest_Parent) resource name property."]]