1.0.0-beta25 (latest) 1.0.0-beta24

    [BindServiceMethod(typeof(SampleQuerySetService), "BindService")]
    public abstract class SampleQuerySetService.SampleQuerySetServiceBase

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

Base class for server-side implementations of SampleQuerySetService

## Inheritance

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

## 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.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [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

## Methods

### CreateSampleQuerySet(CreateSampleQuerySetRequest, ServerCallContext)

    public virtual Task<SampleQuerySet> CreateSampleQuerySet(CreateSampleQuerySetRequest request, ServerCallContext context)

Creates a
\[SampleQuerySet\]\[google.cloud.discoveryengine.v1beta.SampleQuerySet\]

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CreateSampleQuerySetRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet` | The response to send back to the client (wrapped by a task). |

### DeleteSampleQuerySet(DeleteSampleQuerySetRequest, ServerCallContext)

    public virtual Task<Empty> DeleteSampleQuerySet(DeleteSampleQuerySetRequest request, ServerCallContext context)

Deletes a
\[SampleQuerySet\]\[google.cloud.discoveryengine.v1beta.SampleQuerySet\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DeleteSampleQuerySetRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.html` | The response to send back to the client (wrapped by a task). |

### GetSampleQuerySet(GetSampleQuerySetRequest, ServerCallContext)

    public virtual Task<SampleQuerySet> GetSampleQuerySet(GetSampleQuerySetRequest request, ServerCallContext context)

Gets a
\[SampleQuerySet\]\[google.cloud.discoveryengine.v1beta.SampleQuerySet\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GetSampleQuerySetRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet` | The response to send back to the client (wrapped by a task). |

### ListSampleQuerySets(ListSampleQuerySetsRequest, ServerCallContext)

    public virtual Task<ListSampleQuerySetsResponse> ListSampleQuerySets(ListSampleQuerySetsRequest request, ServerCallContext context)

Gets a list of
\[SampleQuerySet\]\[google.cloud.discoveryengine.v1beta.SampleQuerySet\]s.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListSampleQuerySetsRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListSampleQuerySetsResponse` | The response to send back to the client (wrapped by a task). |

### UpdateSampleQuerySet(UpdateSampleQuerySetRequest, ServerCallContext)

    public virtual Task<SampleQuerySet> UpdateSampleQuerySet(UpdateSampleQuerySetRequest request, ServerCallContext context)

Updates a
\[SampleQuerySet\]\[google.cloud.discoveryengine.v1beta.SampleQuerySet\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UpdateSampleQuerySetRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet` | The response to send back to the client (wrapped by a task). |