[BindServiceMethod(typeof(SchemaService), "BindService")]
public abstract class SchemaService.SchemaServiceBase
Reference documentation and code samples for the Discovery Engine v1beta API class SchemaService.SchemaServiceBase.
Base class for server-side implementations of SchemaService
Namespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Methods
CreateSchema(CreateSchemaRequest, ServerCallContext)
public virtual Task<Operation> CreateSchema(CreateSchemaRequest request, ServerCallContext context)
Creates a [Schema][google.cloud.discoveryengine.v1beta.Schema].
Parameters | |
---|---|
Name | Description |
request |
CreateSchemaRequest The request received from the client. |
context |
ServerCallContext The 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.v1beta.Schema].
Parameters | |
---|---|
Name | Description |
request |
DeleteSchemaRequest The request received from the client. |
context |
ServerCallContext The 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.v1beta.Schema].
Parameters | |
---|---|
Name | Description |
request |
GetSchemaRequest The request received from the client. |
context |
ServerCallContext The 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.v1beta.Schema]s.
Parameters | |
---|---|
Name | Description |
request |
ListSchemasRequest The request received from the client. |
context |
ServerCallContext The 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.v1beta.Schema].
Parameters | |
---|---|
Name | Description |
request |
UpdateSchemaRequest The request received from the client. |
context |
ServerCallContext The 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). |