1.0.0-beta25 (latest) 1.0.0-beta24

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

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

Request message for
\[SampleQuerySetService.CreateSampleQuerySet\]\[google.cloud.discoveryengine.v1beta.SampleQuerySetService.CreateSampleQuerySet\]
method.

## Inheritance

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

## Implements

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

### CreateSampleQuerySetRequest()

    public CreateSampleQuerySetRequest()

### CreateSampleQuerySetRequest(CreateSampleQuerySetRequest)

    public CreateSampleQuerySetRequest(CreateSampleQuerySetRequest other)

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

## Properties

### Parent

    public string Parent { get; set; }

Required. The parent resource name, such as
`projects/{project}/locations/{location}`.

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

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.LocationName)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CreateSampleQuerySetRequest#Google_Cloud_DiscoveryEngine_V1Beta_CreateSampleQuerySetRequest_Parent) resource name property.

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

### SampleQuerySet

    public SampleQuerySet SampleQuerySet { get; set; }

Required. The
\[SampleQuerySet\]\[google.cloud.discoveryengine.v1beta.SampleQuerySet\] to
create.

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

### SampleQuerySetId

    public string SampleQuerySetId { get; set; }

Required. The ID to use for the
\[SampleQuerySet\]\[google.cloud.discoveryengine.v1beta.SampleQuerySet\], which
will become the final component of the
\[SampleQuerySet.name\]\[google.cloud.discoveryengine.v1beta.SampleQuerySet.name\].

If the caller does not have permission to create the
\[SampleQuerySet\]\[google.cloud.discoveryengine.v1beta.SampleQuerySet\],
regardless of whether or not it exists, a `PERMISSION_DENIED` error is
returned.

This field must be unique among all
\[SampleQuerySet\]\[google.cloud.discoveryengine.v1beta.SampleQuerySet\]s with
the same
\[parent\]\[google.cloud.discoveryengine.v1beta.CreateSampleQuerySetRequest.parent\].
Otherwise, an `ALREADY_EXISTS` error is returned.

This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034)
standard with a length limit of 63 characters. Otherwise, an
`INVALID_ARGUMENT` error is returned.

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