# GKE Hub v1beta1 API - Class ValidateExclusivityRequest (2.0.0-beta09)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.0.0-beta09 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.ValidateExclusivityRequest)
- [2.0.0-beta08](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/2.0.0-beta08/Google.Cloud.GkeHub.V1Beta1.ValidateExclusivityRequest)
- [1.0.0-beta04](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/1.0.0-beta04/Google.Cloud.GkeHub.V1Beta1.ValidateExclusivityRequest)

    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.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ValidateExclusivityRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ValidateExclusivityRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.ValidateExclusivityRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ValidateExclusivityRequest](https://docs.cloud.google.com/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](https://docs.cloud.google.com/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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.GkeHub.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1)

## Assembly

Google.Cloud.GkeHub.V1Beta1.dll

## Constructors

### ValidateExclusivityRequest()

    public ValidateExclusivityRequest()

### ValidateExclusivityRequest(ValidateExclusivityRequest)

    public ValidateExclusivityRequest(ValidateExclusivityRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.ValidateExclusivityRequest` |

## Properties

### CrManifest

    public string CrManifest { get; set; }

Optional. The YAML of the membership CR in the cluster. Empty if the
membership CR does not exist.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### IntendedMembership

    public string IntendedMembership { get; set; }

Required. The intended membership name under the `parent`. This method only
does validation in anticipation of a CreateMembership call with the same
name.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Parent

    public string Parent { get; set; }

Required. The parent (project and location) where the Memberships will be
created. Specified in the format `projects/*/locations/*`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeHub.V1Beta1/latest/Google.Cloud.GkeHub.V1Beta1.ValidateExclusivityRequest#Google_Cloud_GkeHub_V1Beta1_ValidateExclusivityRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` |   |