[BindServiceMethod(typeof(SchemaService), "BindService")]
public abstract class SchemaService.SchemaServiceBaseReference documentation and code samples for the Discovery Engine v1 API class SchemaService.SchemaServiceBase.
Base class for server-side implementations of SchemaService
Namespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Methods
CreateSchema(CreateSchemaRequest, ServerCallContext)
public virtual Task<Operation> CreateSchema(CreateSchemaRequest request, ServerCallContext context)Creates a [Schema][google.cloud.discoveryengine.v1.Schema].
| Parameters | |
|---|---|
| Name | Description |
request |
CreateSchemaRequestThe 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). |
DeleteSchema(DeleteSchemaRequest, ServerCallContext)
public virtual Task<Operation> DeleteSchema(DeleteSchemaRequest request, ServerCallContext context)Deletes a [Schema][google.cloud.discoveryengine.v1.Schema].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteSchemaRequestThe 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). |
GetSchema(GetSchemaRequest, ServerCallContext)
public virtual Task<Schema> GetSchema(GetSchemaRequest request, ServerCallContext context)Gets a [Schema][google.cloud.discoveryengine.v1.Schema].
| Parameters | |
|---|---|
| Name | Description |
request |
GetSchemaRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskSchema |
The response to send back to the client (wrapped by a task). |
ListSchemas(ListSchemasRequest, ServerCallContext)
public virtual Task<ListSchemasResponse> ListSchemas(ListSchemasRequest request, ServerCallContext context)Gets a list of [Schema][google.cloud.discoveryengine.v1.Schema]s.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSchemasRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListSchemasResponse |
The response to send back to the client (wrapped by a task). |
UpdateSchema(UpdateSchemaRequest, ServerCallContext)
public virtual Task<Operation> UpdateSchema(UpdateSchemaRequest request, ServerCallContext context)Updates a [Schema][google.cloud.discoveryengine.v1.Schema].
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSchemaRequestThe 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). |