# Discovery Engine v1beta API - Class ImportSampleQueriesRequest (1.0.0-beta23)

1.0.0-beta23 (latest) 1.0.0-beta22

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

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

Request message for
\[SampleQueryService.ImportSampleQueries\]\[google.cloud.discoveryengine.v1beta.SampleQueryService.ImportSampleQueries\]
method.

## Inheritance

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

## Implements

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

### ImportSampleQueriesRequest()

    public ImportSampleQueriesRequest()

### ImportSampleQueriesRequest(ImportSampleQueriesRequest)

    public ImportSampleQueriesRequest(ImportSampleQueriesRequest other)

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

## Properties

### BigquerySource

    public BigQuerySource BigquerySource { get; set; }

BigQuery input source.

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

### ErrorConfig

    public ImportErrorConfig ErrorConfig { get; set; }

The desired location of errors incurred during the Import.

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

### GcsSource

    public GcsSource GcsSource { get; set; }

Cloud Storage location for the input content.

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

### InlineSource

    public ImportSampleQueriesRequest.Types.InlineSource InlineSource { get; set; }

The Inline source for sample query entries.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportSampleQueriesRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportSampleQueriesRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportSampleQueriesRequest.Types.InlineSource` |   |

### Parent

    public string Parent { get; set; }

Required. The parent sample query set resource name, such as
`projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`.

If the caller does not have permission to list
\[SampleQuery\]\[google.cloud.discoveryengine.v1beta.SampleQuery\]s under this
sample query set, regardless of whether or not this sample query set
exists, a `PERMISSION_DENIED` error is returned.

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

### ParentAsSampleQuerySetName

    public SampleQuerySetName ParentAsSampleQuerySetName { get; set; }

[SampleQuerySetName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetName)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ImportSampleQueriesRequest#Google_Cloud_DiscoveryEngine_V1Beta_ImportSampleQueriesRequest_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.SampleQuerySetName` |   |

### SourceCase

    public ImportSampleQueriesRequest.SourceOneofCase SourceCase { get; }

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