public sealed class SchemaServiceClientImpl : SchemaServiceClientReference documentation and code samples for the Cloud Pub/Sub v1 API class SchemaServiceClientImpl.
SchemaService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.PubSub.V1Assembly
Google.Cloud.PubSub.V1.dll
Remarks
Service for doing schema-related operations.
Constructors
SchemaServiceClientImpl(SchemaServiceClient, SchemaServiceSettings, ILogger)
public SchemaServiceClientImpl(SchemaService.SchemaServiceClient grpcClient, SchemaServiceSettings settings, ILogger logger)Constructs a client wrapper for the SchemaService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description | 
grpcClient | 
        SchemaServiceSchemaServiceClientThe underlying gRPC client.  | 
      
settings | 
        SchemaServiceSettingsThe base SchemaServiceSettings used within this client.  | 
      
logger | 
        ILoggerOptional ILogger to use within this client.  | 
      
Properties
GrpcClient
public override SchemaService.SchemaServiceClient GrpcClient { get; }The underlying gRPC SchemaService client
| Property Value | |
|---|---|
| Type | Description | 
SchemaServiceSchemaServiceClient | 
        |
IAMPolicyClient
public override IAMPolicyClient IAMPolicyClient { get; }The IAMPolicyClient associated with this client.
| Property Value | |
|---|---|
| Type | Description | 
IAMPolicyClient | 
        |
Methods
CommitSchema(CommitSchemaRequest, CallSettings)
public override Schema CommitSchema(CommitSchemaRequest request, CallSettings callSettings = null)Commits a new schema revision to an existing schema.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        CommitSchemaRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Schema | 
        The RPC response.  | 
      
CommitSchemaAsync(CommitSchemaRequest, CallSettings)
public override Task<Schema> CommitSchemaAsync(CommitSchemaRequest request, CallSettings callSettings = null)Commits a new schema revision to an existing schema.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        CommitSchemaRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskSchema | 
        A Task containing the RPC response.  | 
      
CreateSchema(CreateSchemaRequest, CallSettings)
public override Schema CreateSchema(CreateSchemaRequest request, CallSettings callSettings = null)Creates a schema.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        CreateSchemaRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Schema | 
        The RPC response.  | 
      
CreateSchemaAsync(CreateSchemaRequest, CallSettings)
public override Task<Schema> CreateSchemaAsync(CreateSchemaRequest request, CallSettings callSettings = null)Creates a schema.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        CreateSchemaRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskSchema | 
        A Task containing the RPC response.  | 
      
DeleteSchema(DeleteSchemaRequest, CallSettings)
public override void DeleteSchema(DeleteSchemaRequest request, CallSettings callSettings = null)Deletes a schema.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        DeleteSchemaRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
DeleteSchemaAsync(DeleteSchemaRequest, CallSettings)
public override Task DeleteSchemaAsync(DeleteSchemaRequest request, CallSettings callSettings = null)Deletes a schema.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        DeleteSchemaRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Task | 
        A Task containing the RPC response.  | 
      
DeleteSchemaRevision(DeleteSchemaRevisionRequest, CallSettings)
public override Schema DeleteSchemaRevision(DeleteSchemaRevisionRequest request, CallSettings callSettings = null)Deletes a specific schema revision.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        DeleteSchemaRevisionRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Schema | 
        The RPC response.  | 
      
DeleteSchemaRevisionAsync(DeleteSchemaRevisionRequest, CallSettings)
public override Task<Schema> DeleteSchemaRevisionAsync(DeleteSchemaRevisionRequest request, CallSettings callSettings = null)Deletes a specific schema revision.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        DeleteSchemaRevisionRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskSchema | 
        A Task containing the RPC response.  | 
      
GetSchema(GetSchemaRequest, CallSettings)
public override Schema GetSchema(GetSchemaRequest request, CallSettings callSettings = null)Gets a schema.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetSchemaRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Schema | 
        The RPC response.  | 
      
GetSchemaAsync(GetSchemaRequest, CallSettings)
public override Task<Schema> GetSchemaAsync(GetSchemaRequest request, CallSettings callSettings = null)Gets a schema.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        GetSchemaRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskSchema | 
        A Task containing the RPC response.  | 
      
ListSchemaRevisions(ListSchemaRevisionsRequest, CallSettings)
public override PagedEnumerable<ListSchemaRevisionsResponse, Schema> ListSchemaRevisions(ListSchemaRevisionsRequest request, CallSettings callSettings = null)Lists all schema revisions for the named schema.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListSchemaRevisionsRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PagedEnumerableListSchemaRevisionsResponseSchema | 
        A pageable sequence of Schema resources.  | 
      
ListSchemaRevisionsAsync(ListSchemaRevisionsRequest, CallSettings)
public override PagedAsyncEnumerable<ListSchemaRevisionsResponse, Schema> ListSchemaRevisionsAsync(ListSchemaRevisionsRequest request, CallSettings callSettings = null)Lists all schema revisions for the named schema.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListSchemaRevisionsRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PagedAsyncEnumerableListSchemaRevisionsResponseSchema | 
        A pageable asynchronous sequence of Schema resources.  | 
      
ListSchemas(ListSchemasRequest, CallSettings)
public override PagedEnumerable<ListSchemasResponse, Schema> ListSchemas(ListSchemasRequest request, CallSettings callSettings = null)Lists schemas in a project.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListSchemasRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PagedEnumerableListSchemasResponseSchema | 
        A pageable sequence of Schema resources.  | 
      
ListSchemasAsync(ListSchemasRequest, CallSettings)
public override PagedAsyncEnumerable<ListSchemasResponse, Schema> ListSchemasAsync(ListSchemasRequest request, CallSettings callSettings = null)Lists schemas in a project.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ListSchemasRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
PagedAsyncEnumerableListSchemasResponseSchema | 
        A pageable asynchronous sequence of Schema resources.  | 
      
RollbackSchema(RollbackSchemaRequest, CallSettings)
public override Schema RollbackSchema(RollbackSchemaRequest request, CallSettings callSettings = null)Creates a new schema revision that is a copy of the provided revision_id.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        RollbackSchemaRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Schema | 
        The RPC response.  | 
      
RollbackSchemaAsync(RollbackSchemaRequest, CallSettings)
public override Task<Schema> RollbackSchemaAsync(RollbackSchemaRequest request, CallSettings callSettings = null)Creates a new schema revision that is a copy of the provided revision_id.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        RollbackSchemaRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskSchema | 
        A Task containing the RPC response.  | 
      
ValidateMessage(ValidateMessageRequest, CallSettings)
public override ValidateMessageResponse ValidateMessage(ValidateMessageRequest request, CallSettings callSettings = null)Validates a message against a schema.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ValidateMessageRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ValidateMessageResponse | 
        The RPC response.  | 
      
ValidateMessageAsync(ValidateMessageRequest, CallSettings)
public override Task<ValidateMessageResponse> ValidateMessageAsync(ValidateMessageRequest request, CallSettings callSettings = null)Validates a message against a schema.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ValidateMessageRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskValidateMessageResponse | 
        A Task containing the RPC response.  | 
      
ValidateSchema(ValidateSchemaRequest, CallSettings)
public override ValidateSchemaResponse ValidateSchema(ValidateSchemaRequest request, CallSettings callSettings = null)Validates a schema.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ValidateSchemaRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ValidateSchemaResponse | 
        The RPC response.  | 
      
ValidateSchemaAsync(ValidateSchemaRequest, CallSettings)
public override Task<ValidateSchemaResponse> ValidateSchemaAsync(ValidateSchemaRequest request, CallSettings callSettings = null)Validates a schema.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        ValidateSchemaRequestThe request object containing all of the parameters for the API call.  | 
      
callSettings | 
        CallSettingsIf not null, applies overrides to this RPC call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TaskValidateSchemaResponse | 
        A Task containing the RPC response.  |