public sealed class SchemaServiceClientImpl : SchemaServiceClient
Reference documentation and code samples for the Discovery Engine v1 API class SchemaServiceClientImpl.
SchemaService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Remarks
Service for managing [Schema][google.cloud.discoveryengine.v1.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 | |
---|---|
Name | Description |
grpcClient |
SchemaServiceSchemaServiceClient The underlying gRPC client. |
settings |
SchemaServiceSettings The base SchemaServiceSettings used within this client. |
logger |
ILogger Optional ILogger to use within this client. |
Properties
CreateSchemaOperationsClient
public override OperationsClient CreateSchemaOperationsClient { get; }
The long-running operations client for CreateSchema
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteSchemaOperationsClient
public override OperationsClient DeleteSchemaOperationsClient { get; }
The long-running operations client for DeleteSchema
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override SchemaService.SchemaServiceClient GrpcClient { get; }
The underlying gRPC SchemaService client
Property Value | |
---|---|
Type | Description |
SchemaServiceSchemaServiceClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
UpdateSchemaOperationsClient
public override OperationsClient UpdateSchemaOperationsClient { get; }
The long-running operations client for UpdateSchema
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
CreateSchema(CreateSchemaRequest, CallSettings)
public override Operation<Schema, CreateSchemaMetadata> CreateSchema(CreateSchemaRequest request, CallSettings callSettings = null)
Creates a [Schema][google.cloud.discoveryengine.v1.Schema].
Parameters | |
---|---|
Name | Description |
request |
CreateSchemaRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationSchemaCreateSchemaMetadata |
The RPC response. |
CreateSchemaAsync(CreateSchemaRequest, CallSettings)
public override Task<Operation<Schema, CreateSchemaMetadata>> CreateSchemaAsync(CreateSchemaRequest request, CallSettings callSettings = null)
Creates a [Schema][google.cloud.discoveryengine.v1.Schema].
Parameters | |
---|---|
Name | Description |
request |
CreateSchemaRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationSchemaCreateSchemaMetadata |
A Task containing the RPC response. |
DeleteSchema(DeleteSchemaRequest, CallSettings)
public override Operation<Empty, DeleteSchemaMetadata> DeleteSchema(DeleteSchemaRequest request, CallSettings callSettings = null)
Deletes a [Schema][google.cloud.discoveryengine.v1.Schema].
Parameters | |
---|---|
Name | Description |
request |
DeleteSchemaRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyDeleteSchemaMetadata |
The RPC response. |
DeleteSchemaAsync(DeleteSchemaRequest, CallSettings)
public override Task<Operation<Empty, DeleteSchemaMetadata>> DeleteSchemaAsync(DeleteSchemaRequest request, CallSettings callSettings = null)
Deletes a [Schema][google.cloud.discoveryengine.v1.Schema].
Parameters | |
---|---|
Name | Description |
request |
DeleteSchemaRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyDeleteSchemaMetadata |
A Task containing the RPC response. |
GetSchema(GetSchemaRequest, CallSettings)
public override Schema GetSchema(GetSchemaRequest request, CallSettings callSettings = null)
Gets a [Schema][google.cloud.discoveryengine.v1.Schema].
Parameters | |
---|---|
Name | Description |
request |
GetSchemaRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If 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][google.cloud.discoveryengine.v1.Schema].
Parameters | |
---|---|
Name | Description |
request |
GetSchemaRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskSchema |
A Task containing the RPC response. |
ListSchemas(ListSchemasRequest, CallSettings)
public override PagedEnumerable<ListSchemasResponse, Schema> ListSchemas(ListSchemasRequest request, CallSettings callSettings = null)
Gets a list of [Schema][google.cloud.discoveryengine.v1.Schema]s.
Parameters | |
---|---|
Name | Description |
request |
ListSchemasRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If 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)
Gets a list of [Schema][google.cloud.discoveryengine.v1.Schema]s.
Parameters | |
---|---|
Name | Description |
request |
ListSchemasRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListSchemasResponseSchema |
A pageable asynchronous sequence of Schema resources. |
UpdateSchema(UpdateSchemaRequest, CallSettings)
public override Operation<Schema, UpdateSchemaMetadata> UpdateSchema(UpdateSchemaRequest request, CallSettings callSettings = null)
Updates a [Schema][google.cloud.discoveryengine.v1.Schema].
Parameters | |
---|---|
Name | Description |
request |
UpdateSchemaRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationSchemaUpdateSchemaMetadata |
The RPC response. |
UpdateSchemaAsync(UpdateSchemaRequest, CallSettings)
public override Task<Operation<Schema, UpdateSchemaMetadata>> UpdateSchemaAsync(UpdateSchemaRequest request, CallSettings callSettings = null)
Updates a [Schema][google.cloud.discoveryengine.v1.Schema].
Parameters | |
---|---|
Name | Description |
request |
UpdateSchemaRequest The request object containing all of the parameters for the API call. |
callSettings |
CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationSchemaUpdateSchemaMetadata |
A Task containing the RPC response. |