[BindServiceMethod(typeof(SchemaService), "BindService")]
public abstract class SchemaService.SchemaServiceBaseReference documentation and code samples for the Cloud Pub/Sub v1 API class SchemaService.SchemaServiceBase.
Base class for server-side implementations of SchemaService
Namespace
Google.Cloud.PubSub.V1Assembly
Google.Cloud.PubSub.V1.dll
Methods
CommitSchema(CommitSchemaRequest, ServerCallContext)
public virtual Task<Schema> CommitSchema(CommitSchemaRequest request, ServerCallContext context)Commits a new schema revision to an existing schema.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        CommitSchemaRequestThe 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).  | 
      
CreateSchema(CreateSchemaRequest, ServerCallContext)
public virtual Task<Schema> CreateSchema(CreateSchemaRequest request, ServerCallContext context)Creates a 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 | 
TaskSchema | 
        The response to send back to the client (wrapped by a task).  | 
      
DeleteSchema(DeleteSchemaRequest, ServerCallContext)
public virtual Task<Empty> DeleteSchema(DeleteSchemaRequest request, ServerCallContext context)Deletes a 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 | 
TaskEmpty | 
        The response to send back to the client (wrapped by a task).  | 
      
DeleteSchemaRevision(DeleteSchemaRevisionRequest, ServerCallContext)
public virtual Task<Schema> DeleteSchemaRevision(DeleteSchemaRevisionRequest request, ServerCallContext context)Deletes a specific schema revision.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        DeleteSchemaRevisionRequestThe 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).  | 
      
GetSchema(GetSchemaRequest, ServerCallContext)
public virtual Task<Schema> GetSchema(GetSchemaRequest request, ServerCallContext context)Gets a 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).  | 
      
ListSchemaRevisions(ListSchemaRevisionsRequest, ServerCallContext)
public virtual Task<ListSchemaRevisionsResponse> ListSchemaRevisions(ListSchemaRevisionsRequest request, ServerCallContext context)Lists all schema revisions for the named schema.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListSchemaRevisionsRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskListSchemaRevisionsResponse | 
        The response to send back to the client (wrapped by a task).  | 
      
ListSchemas(ListSchemasRequest, ServerCallContext)
public virtual Task<ListSchemasResponse> ListSchemas(ListSchemasRequest request, ServerCallContext context)Lists schemas in a project.
| 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).  | 
      
RollbackSchema(RollbackSchemaRequest, ServerCallContext)
public virtual Task<Schema> RollbackSchema(RollbackSchemaRequest request, ServerCallContext context)Creates a new schema revision that is a copy of the provided revision_id.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        RollbackSchemaRequestThe 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).  | 
      
ValidateMessage(ValidateMessageRequest, ServerCallContext)
public virtual Task<ValidateMessageResponse> ValidateMessage(ValidateMessageRequest request, ServerCallContext context)Validates a message against a schema.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ValidateMessageRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskValidateMessageResponse | 
        The response to send back to the client (wrapped by a task).  | 
      
ValidateSchema(ValidateSchemaRequest, ServerCallContext)
public virtual Task<ValidateSchemaResponse> ValidateSchema(ValidateSchemaRequest request, ServerCallContext context)Validates a schema.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ValidateSchemaRequestThe request received from the client.  | 
      
context | 
        ServerCallContextThe context of the server-side call handler being invoked.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskValidateSchemaResponse | 
        The response to send back to the client (wrapped by a task).  |