[BindServiceMethod(typeof(SampleQueryService), "BindService")]
public abstract class SampleQueryService.SampleQueryServiceBaseReference documentation and code samples for the Discovery Engine v1beta API class SampleQueryService.SampleQueryServiceBase.
Base class for server-side implementations of SampleQueryService
Namespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Methods
CreateSampleQuery(CreateSampleQueryRequest, ServerCallContext)
public virtual Task<SampleQuery> CreateSampleQuery(CreateSampleQueryRequest request, ServerCallContext context)Creates a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]
| Parameters | |
|---|---|
| Name | Description |
request |
CreateSampleQueryRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskSampleQuery |
The response to send back to the client (wrapped by a task). |
DeleteSampleQuery(DeleteSampleQueryRequest, ServerCallContext)
public virtual Task<Empty> DeleteSampleQuery(DeleteSampleQueryRequest request, ServerCallContext context)Deletes a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteSampleQueryRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEmpty |
The response to send back to the client (wrapped by a task). |
GetSampleQuery(GetSampleQueryRequest, ServerCallContext)
public virtual Task<SampleQuery> GetSampleQuery(GetSampleQueryRequest request, ServerCallContext context)Gets a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery].
| Parameters | |
|---|---|
| Name | Description |
request |
GetSampleQueryRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskSampleQuery |
The response to send back to the client (wrapped by a task). |
ImportSampleQueries(ImportSampleQueriesRequest, ServerCallContext)
public virtual Task<Operation> ImportSampleQueries(ImportSampleQueriesRequest request, ServerCallContext context)Bulk import of multiple [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s. Sample queries that already exist may be deleted.
Note: It is possible for a subset of the [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s to be successfully imported.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportSampleQueriesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
ListSampleQueries(ListSampleQueriesRequest, ServerCallContext)
public virtual Task<ListSampleQueriesResponse> ListSampleQueries(ListSampleQueriesRequest request, ServerCallContext context)Gets a list of [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSampleQueriesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListSampleQueriesResponse |
The response to send back to the client (wrapped by a task). |
UpdateSampleQuery(UpdateSampleQueryRequest, ServerCallContext)
public virtual Task<SampleQuery> UpdateSampleQuery(UpdateSampleQueryRequest request, ServerCallContext context)Updates a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery].
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSampleQueryRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskSampleQuery |
The response to send back to the client (wrapped by a task). |