Discovery Engine v1beta API - Class SchemaService.SchemaServiceBase (1.0.0-beta11)

[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

Inheritance

object > SchemaService.SchemaServiceBase

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

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
NameDescription
requestCreateSchemaRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestDeleteSchemaRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestGetSchemaRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestListSchemasRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestUpdateSchemaRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).