Discovery Engine v1beta API - Class SchemaServiceClientImpl (1.0.0-beta06)

public sealed class SchemaServiceClientImpl : SchemaServiceClient

Reference documentation and code samples for the Discovery Engine v1beta API class SchemaServiceClientImpl.

SchemaService client wrapper implementation, for convenient use.

Inheritance

object > SchemaServiceClient > SchemaServiceClientImpl

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Remarks

Service for managing [Schema][google.cloud.discoveryengine.v1beta.Schema]s.

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

The underlying gRPC client.

settingsSchemaServiceSettings

The base SchemaServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateSchemaOperationsClient

public override OperationsClient CreateSchemaOperationsClient { get; }

The long-running operations client for CreateSchema.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteSchemaOperationsClient

public override OperationsClient DeleteSchemaOperationsClient { get; }

The long-running operations client for DeleteSchema.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override SchemaService.SchemaServiceClient GrpcClient { get; }

The underlying gRPC SchemaService client

Property Value
TypeDescription
SchemaServiceSchemaServiceClient
Overrides

UpdateSchemaOperationsClient

public override OperationsClient UpdateSchemaOperationsClient { get; }

The long-running operations client for UpdateSchema.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

CreateSchema(CreateSchemaRequest, CallSettings)

public override Operation<Schema, CreateSchemaMetadata> CreateSchema(CreateSchemaRequest request, CallSettings callSettings = null)

Creates a [Schema][google.cloud.discoveryengine.v1beta.Schema].

Parameters
NameDescription
requestCreateSchemaRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationSchemaCreateSchemaMetadata

The RPC response.

Overrides

CreateSchemaAsync(CreateSchemaRequest, CallSettings)

public override Task<Operation<Schema, CreateSchemaMetadata>> CreateSchemaAsync(CreateSchemaRequest request, CallSettings callSettings = null)

Creates a [Schema][google.cloud.discoveryengine.v1beta.Schema].

Parameters
NameDescription
requestCreateSchemaRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationSchemaCreateSchemaMetadata

A Task containing the RPC response.

Overrides

DeleteSchema(DeleteSchemaRequest, CallSettings)

public override Operation<Empty, DeleteSchemaMetadata> DeleteSchema(DeleteSchemaRequest request, CallSettings callSettings = null)

Deletes a [Schema][google.cloud.discoveryengine.v1beta.Schema].

Parameters
NameDescription
requestDeleteSchemaRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationEmptyDeleteSchemaMetadata

The RPC response.

Overrides

DeleteSchemaAsync(DeleteSchemaRequest, CallSettings)

public override Task<Operation<Empty, DeleteSchemaMetadata>> DeleteSchemaAsync(DeleteSchemaRequest request, CallSettings callSettings = null)

Deletes a [Schema][google.cloud.discoveryengine.v1beta.Schema].

Parameters
NameDescription
requestDeleteSchemaRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyDeleteSchemaMetadata

A Task containing the RPC response.

Overrides

GetSchema(GetSchemaRequest, CallSettings)

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

Gets a [Schema][google.cloud.discoveryengine.v1beta.Schema].

Parameters
NameDescription
requestGetSchemaRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Schema

The RPC response.

Overrides

GetSchemaAsync(GetSchemaRequest, CallSettings)

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

Gets a [Schema][google.cloud.discoveryengine.v1beta.Schema].

Parameters
NameDescription
requestGetSchemaRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskSchema

A Task containing the RPC response.

Overrides

ListSchemas(ListSchemasRequest, CallSettings)

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

Gets a list of [Schema][google.cloud.discoveryengine.v1beta.Schema]s.

Parameters
NameDescription
requestListSchemasRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListSchemasResponseSchema

A pageable sequence of Schema resources.

Overrides

ListSchemasAsync(ListSchemasRequest, CallSettings)

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

Gets a list of [Schema][google.cloud.discoveryengine.v1beta.Schema]s.

Parameters
NameDescription
requestListSchemasRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListSchemasResponseSchema

A pageable asynchronous sequence of Schema resources.

Overrides

UpdateSchema(UpdateSchemaRequest, CallSettings)

public override Operation<Schema, UpdateSchemaMetadata> UpdateSchema(UpdateSchemaRequest request, CallSettings callSettings = null)

Updates a [Schema][google.cloud.discoveryengine.v1beta.Schema].

Parameters
NameDescription
requestUpdateSchemaRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationSchemaUpdateSchemaMetadata

The RPC response.

Overrides

UpdateSchemaAsync(UpdateSchemaRequest, CallSettings)

public override Task<Operation<Schema, UpdateSchemaMetadata>> UpdateSchemaAsync(UpdateSchemaRequest request, CallSettings callSettings = null)

Updates a [Schema][google.cloud.discoveryengine.v1beta.Schema].

Parameters
NameDescription
requestUpdateSchemaRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationSchemaUpdateSchemaMetadata

A Task containing the RPC response.

Overrides