1.0.0-beta25 (latest) 1.0.0-beta24

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

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

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

## Inheritance

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

## Implements

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

### DistributeLicenseConfigRequest()

    public DistributeLicenseConfigRequest()

### DistributeLicenseConfigRequest(DistributeLicenseConfigRequest)

    public DistributeLicenseConfigRequest(DistributeLicenseConfigRequest other)

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

## 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.DistributeLicenseConfigRequest#Google_Cloud_DiscoveryEngine_V1Beta_DistributeLicenseConfigRequest_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` |   |

### LicenseConfigId

    public string LicenseConfigId { get; set; }

Optional. Distribute seats to this license config instead of creating a new
one. If not specified, a new license config will be created from the
billing account license config.

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

### LicenseCount

    public long LicenseCount { get; set; }

Required. The number of licenses to distribute.

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

### Location

    public string Location { get; set; }

Required. The target GCP project region to distribute the license config
to.

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

### ProjectNumber

    public long ProjectNumber { get; set; }

Required. The target GCP project number to distribute the license config
to.

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