Class SchemaServiceClient (2.3.0)

public abstract class SchemaServiceClient

SchemaService client wrapper, for convenient use.

Inheritance

System.Object > SchemaServiceClient

Namespace

Google.Cloud.PubSub.V1

Assembly

Google.Cloud.PubSub.V1.dll

Properties

DefaultEndpoint

public static string DefaultEndpoint { get; }

The default endpoint for the SchemaService service, which is a host of "pubsub.googleapis.com" and a port of 443.

Property Value
TypeDescription
System.String

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default SchemaService scopes.

Property Value
TypeDescription
System.Collections.Generic.IReadOnlyList<System.String>
Remarks

GrpcClient

public virtual SchemaService.SchemaServiceClient GrpcClient { get; }

The underlying gRPC SchemaService client

Property Value
TypeDescription
SchemaService.SchemaServiceClient

Methods

Create()

public static SchemaServiceClient Create()

Synchronously creates a SchemaServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use SchemaServiceClientBuilder.

Returns
TypeDescription
SchemaServiceClient

The created SchemaServiceClient.

CreateAsync(CancellationToken)

public static Task<SchemaServiceClient> CreateAsync(CancellationToken cancellationToken = default(CancellationToken))

Asynchronously creates a SchemaServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use SchemaServiceClientBuilder.

Parameter
NameDescription
cancellationTokenSystem.Threading.CancellationToken

The System.Threading.CancellationToken to use while creating the client.

Returns
TypeDescription
System.Threading.Tasks.Task<SchemaServiceClient>

The task representing the created SchemaServiceClient.

CreateSchema(ProjectName, Schema, String, CallSettings)

public virtual Schema CreateSchema(ProjectName parent, Schema schema, string schemaId, CallSettings callSettings = null)

Creates a schema.

Parameters
NameDescription
parentGoogle.Api.Gax.ResourceNames.ProjectName

Required. The name of the project in which to create the schema. Format is projects/{project-id}.

schemaSchema

Required. The schema object to create.

This schema's name parameter is ignored. The schema object returned by CreateSchema will have a name made using the given parent and schema_id.

schemaIdSystem.String

The ID to use for the schema, which will become the final component of the schema's resource name.

See https://cloud.google.com/pubsub/docs/admin#resource_names for resource name constraints.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Schema

The RPC response.

CreateSchema(CreateSchemaRequest, CallSettings)

public virtual Schema CreateSchema(CreateSchemaRequest request, CallSettings callSettings = null)

Creates a schema.

Parameters
NameDescription
requestCreateSchemaRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Schema

The RPC response.

CreateSchema(String, Schema, String, CallSettings)

public virtual Schema CreateSchema(string parent, Schema schema, string schemaId, CallSettings callSettings = null)

Creates a schema.

Parameters
NameDescription
parentSystem.String

Required. The name of the project in which to create the schema. Format is projects/{project-id}.

schemaSchema

Required. The schema object to create.

This schema's name parameter is ignored. The schema object returned by CreateSchema will have a name made using the given parent and schema_id.

schemaIdSystem.String

The ID to use for the schema, which will become the final component of the schema's resource name.

See https://cloud.google.com/pubsub/docs/admin#resource_names for resource name constraints.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Schema

The RPC response.

CreateSchemaAsync(ProjectName, Schema, String, CallSettings)

public virtual Task<Schema> CreateSchemaAsync(ProjectName parent, Schema schema, string schemaId, CallSettings callSettings = null)

Creates a schema.

Parameters
NameDescription
parentGoogle.Api.Gax.ResourceNames.ProjectName

Required. The name of the project in which to create the schema. Format is projects/{project-id}.

schemaSchema

Required. The schema object to create.

This schema's name parameter is ignored. The schema object returned by CreateSchema will have a name made using the given parent and schema_id.

schemaIdSystem.String

The ID to use for the schema, which will become the final component of the schema's resource name.

See https://cloud.google.com/pubsub/docs/admin#resource_names for resource name constraints.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Schema>

A Task containing the RPC response.

CreateSchemaAsync(ProjectName, Schema, String, CancellationToken)

public virtual Task<Schema> CreateSchemaAsync(ProjectName parent, Schema schema, string schemaId, CancellationToken cancellationToken)

Creates a schema.

Parameters
NameDescription
parentGoogle.Api.Gax.ResourceNames.ProjectName

Required. The name of the project in which to create the schema. Format is projects/{project-id}.

schemaSchema

Required. The schema object to create.

This schema's name parameter is ignored. The schema object returned by CreateSchema will have a name made using the given parent and schema_id.

schemaIdSystem.String

The ID to use for the schema, which will become the final component of the schema's resource name.

See https://cloud.google.com/pubsub/docs/admin#resource_names for resource name constraints.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Schema>

A Task containing the RPC response.

CreateSchemaAsync(CreateSchemaRequest, CallSettings)

public virtual Task<Schema> CreateSchemaAsync(CreateSchemaRequest request, CallSettings callSettings = null)

Creates a schema.

Parameters
NameDescription
requestCreateSchemaRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Schema>

A Task containing the RPC response.

CreateSchemaAsync(CreateSchemaRequest, CancellationToken)

public virtual Task<Schema> CreateSchemaAsync(CreateSchemaRequest request, CancellationToken cancellationToken)

Creates a schema.

Parameters
NameDescription
requestCreateSchemaRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Schema>

A Task containing the RPC response.

CreateSchemaAsync(String, Schema, String, CallSettings)

public virtual Task<Schema> CreateSchemaAsync(string parent, Schema schema, string schemaId, CallSettings callSettings = null)

Creates a schema.

Parameters
NameDescription
parentSystem.String

Required. The name of the project in which to create the schema. Format is projects/{project-id}.

schemaSchema

Required. The schema object to create.

This schema's name parameter is ignored. The schema object returned by CreateSchema will have a name made using the given parent and schema_id.

schemaIdSystem.String

The ID to use for the schema, which will become the final component of the schema's resource name.

See https://cloud.google.com/pubsub/docs/admin#resource_names for resource name constraints.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Schema>

A Task containing the RPC response.

CreateSchemaAsync(String, Schema, String, CancellationToken)

public virtual Task<Schema> CreateSchemaAsync(string parent, Schema schema, string schemaId, CancellationToken cancellationToken)

Creates a schema.

Parameters
NameDescription
parentSystem.String

Required. The name of the project in which to create the schema. Format is projects/{project-id}.

schemaSchema

Required. The schema object to create.

This schema's name parameter is ignored. The schema object returned by CreateSchema will have a name made using the given parent and schema_id.

schemaIdSystem.String

The ID to use for the schema, which will become the final component of the schema's resource name.

See https://cloud.google.com/pubsub/docs/admin#resource_names for resource name constraints.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Schema>

A Task containing the RPC response.

DeleteSchema(DeleteSchemaRequest, CallSettings)

public virtual void DeleteSchema(DeleteSchemaRequest request, CallSettings callSettings = null)

Deletes a schema.

Parameters
NameDescription
requestDeleteSchemaRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

DeleteSchema(SchemaName, CallSettings)

public virtual void DeleteSchema(SchemaName name, CallSettings callSettings = null)

Deletes a schema.

Parameters
NameDescription
nameSchemaName

Required. Name of the schema to delete. Format is projects/{project}/schemas/{schema}.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

DeleteSchema(String, CallSettings)

public virtual void DeleteSchema(string name, CallSettings callSettings = null)

Deletes a schema.

Parameters
NameDescription
nameSystem.String

Required. Name of the schema to delete. Format is projects/{project}/schemas/{schema}.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

DeleteSchemaAsync(DeleteSchemaRequest, CallSettings)

public virtual Task DeleteSchemaAsync(DeleteSchemaRequest request, CallSettings callSettings = null)

Deletes a schema.

Parameters
NameDescription
requestDeleteSchemaRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteSchemaAsync(DeleteSchemaRequest, CancellationToken)

public virtual Task DeleteSchemaAsync(DeleteSchemaRequest request, CancellationToken cancellationToken)

Deletes a schema.

Parameters
NameDescription
requestDeleteSchemaRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteSchemaAsync(SchemaName, CallSettings)

public virtual Task DeleteSchemaAsync(SchemaName name, CallSettings callSettings = null)

Deletes a schema.

Parameters
NameDescription
nameSchemaName

Required. Name of the schema to delete. Format is projects/{project}/schemas/{schema}.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteSchemaAsync(SchemaName, CancellationToken)

public virtual Task DeleteSchemaAsync(SchemaName name, CancellationToken cancellationToken)

Deletes a schema.

Parameters
NameDescription
nameSchemaName

Required. Name of the schema to delete. Format is projects/{project}/schemas/{schema}.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteSchemaAsync(String, CallSettings)

public virtual Task DeleteSchemaAsync(string name, CallSettings callSettings = null)

Deletes a schema.

Parameters
NameDescription
nameSystem.String

Required. Name of the schema to delete. Format is projects/{project}/schemas/{schema}.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

DeleteSchemaAsync(String, CancellationToken)

public virtual Task DeleteSchemaAsync(string name, CancellationToken cancellationToken)

Deletes a schema.

Parameters
NameDescription
nameSystem.String

Required. Name of the schema to delete. Format is projects/{project}/schemas/{schema}.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

GetSchema(GetSchemaRequest, CallSettings)

public virtual Schema GetSchema(GetSchemaRequest request, CallSettings callSettings = null)

Gets a schema.

Parameters
NameDescription
requestGetSchemaRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Schema

The RPC response.

GetSchema(SchemaName, CallSettings)

public virtual Schema GetSchema(SchemaName name, CallSettings callSettings = null)

Gets a schema.

Parameters
NameDescription
nameSchemaName

Required. The name of the schema to get. Format is projects/{project}/schemas/{schema}.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Schema

The RPC response.

GetSchema(String, CallSettings)

public virtual Schema GetSchema(string name, CallSettings callSettings = null)

Gets a schema.

Parameters
NameDescription
nameSystem.String

Required. The name of the schema to get. Format is projects/{project}/schemas/{schema}.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Schema

The RPC response.

GetSchemaAsync(GetSchemaRequest, CallSettings)

public virtual Task<Schema> GetSchemaAsync(GetSchemaRequest request, CallSettings callSettings = null)

Gets a schema.

Parameters
NameDescription
requestGetSchemaRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Schema>

A Task containing the RPC response.

GetSchemaAsync(GetSchemaRequest, CancellationToken)

public virtual Task<Schema> GetSchemaAsync(GetSchemaRequest request, CancellationToken cancellationToken)

Gets a schema.

Parameters
NameDescription
requestGetSchemaRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Schema>

A Task containing the RPC response.

GetSchemaAsync(SchemaName, CallSettings)

public virtual Task<Schema> GetSchemaAsync(SchemaName name, CallSettings callSettings = null)

Gets a schema.

Parameters
NameDescription
nameSchemaName

Required. The name of the schema to get. Format is projects/{project}/schemas/{schema}.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Schema>

A Task containing the RPC response.

GetSchemaAsync(SchemaName, CancellationToken)

public virtual Task<Schema> GetSchemaAsync(SchemaName name, CancellationToken cancellationToken)

Gets a schema.

Parameters
NameDescription
nameSchemaName

Required. The name of the schema to get. Format is projects/{project}/schemas/{schema}.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Schema>

A Task containing the RPC response.

GetSchemaAsync(String, CallSettings)

public virtual Task<Schema> GetSchemaAsync(string name, CallSettings callSettings = null)

Gets a schema.

Parameters
NameDescription
nameSystem.String

Required. The name of the schema to get. Format is projects/{project}/schemas/{schema}.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Schema>

A Task containing the RPC response.

GetSchemaAsync(String, CancellationToken)

public virtual Task<Schema> GetSchemaAsync(string name, CancellationToken cancellationToken)

Gets a schema.

Parameters
NameDescription
nameSystem.String

Required. The name of the schema to get. Format is projects/{project}/schemas/{schema}.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<Schema>

A Task containing the RPC response.

ListSchemas(ProjectName, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListSchemasResponse, Schema> ListSchemas(ProjectName parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Lists schemas in a project.

Parameters
NameDescription
parentGoogle.Api.Gax.ResourceNames.ProjectName

Required. The name of the project in which to list schemas. Format is projects/{project-id}.

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListSchemasResponse, Schema>

A pageable sequence of Schema resources.

ListSchemas(ListSchemasRequest, CallSettings)

public virtual PagedEnumerable<ListSchemasResponse, Schema> ListSchemas(ListSchemasRequest request, CallSettings callSettings = null)

Lists schemas in a project.

Parameters
NameDescription
requestListSchemasRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListSchemasResponse, Schema>

A pageable sequence of Schema resources.

ListSchemas(String, String, Nullable<Int32>, CallSettings)

public virtual PagedEnumerable<ListSchemasResponse, Schema> ListSchemas(string parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Lists schemas in a project.

Parameters
NameDescription
parentSystem.String

Required. The name of the project in which to list schemas. Format is projects/{project-id}.

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListSchemasResponse, Schema>

A pageable sequence of Schema resources.

ListSchemasAsync(ProjectName, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListSchemasResponse, Schema> ListSchemasAsync(ProjectName parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Lists schemas in a project.

Parameters
NameDescription
parentGoogle.Api.Gax.ResourceNames.ProjectName

Required. The name of the project in which to list schemas. Format is projects/{project-id}.

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListSchemasResponse, Schema>

A pageable asynchronous sequence of Schema resources.

ListSchemasAsync(ListSchemasRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListSchemasResponse, Schema> ListSchemasAsync(ListSchemasRequest request, CallSettings callSettings = null)

Lists schemas in a project.

Parameters
NameDescription
requestListSchemasRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListSchemasResponse, Schema>

A pageable asynchronous sequence of Schema resources.

ListSchemasAsync(String, String, Nullable<Int32>, CallSettings)

public virtual PagedAsyncEnumerable<ListSchemasResponse, Schema> ListSchemasAsync(string parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)

Lists schemas in a project.

Parameters
NameDescription
parentSystem.String

Required. The name of the project in which to list schemas. Format is projects/{project-id}.

pageTokenSystem.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSizeSystem.Nullable<System.Int32>

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListSchemasResponse, Schema>

A pageable asynchronous sequence of Schema resources.

ShutdownDefaultChannelsAsync()

public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.

Returns
TypeDescription
System.Threading.Tasks.Task

A task representing the asynchronous shutdown operation.

Remarks

After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.

ValidateMessage(ValidateMessageRequest, CallSettings)

public virtual ValidateMessageResponse ValidateMessage(ValidateMessageRequest request, CallSettings callSettings = null)

Validates a message against a schema.

Parameters
NameDescription
requestValidateMessageRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ValidateMessageResponse

The RPC response.

ValidateMessageAsync(ValidateMessageRequest, CallSettings)

public virtual Task<ValidateMessageResponse> ValidateMessageAsync(ValidateMessageRequest request, CallSettings callSettings = null)

Validates a message against a schema.

Parameters
NameDescription
requestValidateMessageRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<ValidateMessageResponse>

A Task containing the RPC response.

ValidateMessageAsync(ValidateMessageRequest, CancellationToken)

public virtual Task<ValidateMessageResponse> ValidateMessageAsync(ValidateMessageRequest request, CancellationToken cancellationToken)

Validates a message against a schema.

Parameters
NameDescription
requestValidateMessageRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<ValidateMessageResponse>

A Task containing the RPC response.

ValidateSchema(ProjectName, Schema, CallSettings)

public virtual ValidateSchemaResponse ValidateSchema(ProjectName parent, Schema schema, CallSettings callSettings = null)

Validates a schema.

Parameters
NameDescription
parentGoogle.Api.Gax.ResourceNames.ProjectName

Required. The name of the project in which to validate schemas. Format is projects/{project-id}.

schemaSchema

Required. The schema object to validate.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ValidateSchemaResponse

The RPC response.

ValidateSchema(ValidateSchemaRequest, CallSettings)

public virtual ValidateSchemaResponse ValidateSchema(ValidateSchemaRequest request, CallSettings callSettings = null)

Validates a schema.

Parameters
NameDescription
requestValidateSchemaRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ValidateSchemaResponse

The RPC response.

ValidateSchema(String, Schema, CallSettings)

public virtual ValidateSchemaResponse ValidateSchema(string parent, Schema schema, CallSettings callSettings = null)

Validates a schema.

Parameters
NameDescription
parentSystem.String

Required. The name of the project in which to validate schemas. Format is projects/{project-id}.

schemaSchema

Required. The schema object to validate.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ValidateSchemaResponse

The RPC response.

ValidateSchemaAsync(ProjectName, Schema, CallSettings)

public virtual Task<ValidateSchemaResponse> ValidateSchemaAsync(ProjectName parent, Schema schema, CallSettings callSettings = null)

Validates a schema.

Parameters
NameDescription
parentGoogle.Api.Gax.ResourceNames.ProjectName

Required. The name of the project in which to validate schemas. Format is projects/{project-id}.

schemaSchema

Required. The schema object to validate.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<ValidateSchemaResponse>

A Task containing the RPC response.

ValidateSchemaAsync(ProjectName, Schema, CancellationToken)

public virtual Task<ValidateSchemaResponse> ValidateSchemaAsync(ProjectName parent, Schema schema, CancellationToken cancellationToken)

Validates a schema.

Parameters
NameDescription
parentGoogle.Api.Gax.ResourceNames.ProjectName

Required. The name of the project in which to validate schemas. Format is projects/{project-id}.

schemaSchema

Required. The schema object to validate.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<ValidateSchemaResponse>

A Task containing the RPC response.

ValidateSchemaAsync(ValidateSchemaRequest, CallSettings)

public virtual Task<ValidateSchemaResponse> ValidateSchemaAsync(ValidateSchemaRequest request, CallSettings callSettings = null)

Validates a schema.

Parameters
NameDescription
requestValidateSchemaRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<ValidateSchemaResponse>

A Task containing the RPC response.

ValidateSchemaAsync(ValidateSchemaRequest, CancellationToken)

public virtual Task<ValidateSchemaResponse> ValidateSchemaAsync(ValidateSchemaRequest request, CancellationToken cancellationToken)

Validates a schema.

Parameters
NameDescription
requestValidateSchemaRequest

The request object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<ValidateSchemaResponse>

A Task containing the RPC response.

ValidateSchemaAsync(String, Schema, CallSettings)

public virtual Task<ValidateSchemaResponse> ValidateSchemaAsync(string parent, Schema schema, CallSettings callSettings = null)

Validates a schema.

Parameters
NameDescription
parentSystem.String

Required. The name of the project in which to validate schemas. Format is projects/{project-id}.

schemaSchema

Required. The schema object to validate.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<ValidateSchemaResponse>

A Task containing the RPC response.

ValidateSchemaAsync(String, Schema, CancellationToken)

public virtual Task<ValidateSchemaResponse> ValidateSchemaAsync(string parent, Schema schema, CancellationToken cancellationToken)

Validates a schema.

Parameters
NameDescription
parentSystem.String

Required. The name of the project in which to validate schemas. Format is projects/{project-id}.

schemaSchema

Required. The schema object to validate.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<ValidateSchemaResponse>

A Task containing the RPC response.