1.0.0-beta25 (latest) 1.0.0-beta24

    public sealed class RetractLicenseConfigRequest : IMessage<RetractLicenseConfigRequest>, IEquatable<RetractLicenseConfigRequest>, IDeepCloneable<RetractLicenseConfigRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class RetractLicenseConfigRequest.

Request message for
\[LicenseConfigService.RetractLicenseConfig\]\[google.cloud.discoveryengine.v1beta.LicenseConfigService.RetractLicenseConfig\]
method.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Constructors

### RetractLicenseConfigRequest()

    public RetractLicenseConfigRequest()

### RetractLicenseConfigRequest(RetractLicenseConfigRequest)

    public RetractLicenseConfigRequest(RetractLicenseConfigRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RetractLicenseConfigRequest` |

## Properties

### BillingAccountLicenseConfig

    public string BillingAccountLicenseConfig { get; set; }

Required. Full resource name of \[BillingAccountLicenseConfig\]\[\].

Format:
`billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`.

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

### BillingAccountLicenseConfigAsBillingAccountLicenseConfigName

    public BillingAccountLicenseConfigName BillingAccountLicenseConfigAsBillingAccountLicenseConfigName { get; set; }

[BillingAccountLicenseConfigName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BillingAccountLicenseConfigName)-typed view over the [BillingAccountLicenseConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RetractLicenseConfigRequest#Google_Cloud_DiscoveryEngine_V1Beta_RetractLicenseConfigRequest_BillingAccountLicenseConfig)
resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BillingAccountLicenseConfigName` |   |

### FullRetract

    public bool FullRetract { get; set; }

Optional. If set to true, retract the entire license config. Otherwise,
retract the specified license count.

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

### LicenseConfig

    public string LicenseConfig { get; set; }

Required. Full resource name of
\[LicenseConfig\]\[google.cloud.discoveryengine.v1beta.LicenseConfig\].

Format:
`projects/{project}/locations/{location}/licenseConfigs/{license_config_id}`.

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

### LicenseConfigAsLicenseConfigName

    public LicenseConfigName LicenseConfigAsLicenseConfigName { get; set; }

[LicenseConfigName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigName)-typed view over the [LicenseConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RetractLicenseConfigRequest#Google_Cloud_DiscoveryEngine_V1Beta_RetractLicenseConfigRequest_LicenseConfig) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfigName` |   |

### LicenseCount

    public long LicenseCount { get; set; }

Optional. The number of licenses to retract. Only used when full_retract is
false.

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