public sealed class SampleQueryServiceClientImpl : SampleQueryServiceClientReference documentation and code samples for the Discovery Engine v1beta API class SampleQueryServiceClientImpl.
SampleQueryService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Remarks
Service for managing [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s,
Constructors
SampleQueryServiceClientImpl(SampleQueryServiceClient, SampleQueryServiceSettings, ILogger)
public SampleQueryServiceClientImpl(SampleQueryService.SampleQueryServiceClient grpcClient, SampleQueryServiceSettings settings, ILogger logger)Constructs a client wrapper for the SampleQueryService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
SampleQueryServiceSampleQueryServiceClientThe underlying gRPC client. |
settings |
SampleQueryServiceSettingsThe base SampleQueryServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override SampleQueryService.SampleQueryServiceClient GrpcClient { get; }The underlying gRPC SampleQueryService client
| Property Value | |
|---|---|
| Type | Description |
SampleQueryServiceSampleQueryServiceClient |
|
ImportSampleQueriesOperationsClient
public override OperationsClient ImportSampleQueriesOperationsClient { get; }The long-running operations client for ImportSampleQueries.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
Methods
CreateSampleQuery(CreateSampleQueryRequest, CallSettings)
public override SampleQuery CreateSampleQuery(CreateSampleQueryRequest request, CallSettings callSettings = null)Creates a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]
| Parameters | |
|---|---|
| Name | Description |
request |
CreateSampleQueryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
SampleQuery |
The RPC response. |
CreateSampleQueryAsync(CreateSampleQueryRequest, CallSettings)
public override Task<SampleQuery> CreateSampleQueryAsync(CreateSampleQueryRequest request, CallSettings callSettings = null)Creates a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]
| Parameters | |
|---|---|
| Name | Description |
request |
CreateSampleQueryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSampleQuery |
A Task containing the RPC response. |
DeleteSampleQuery(DeleteSampleQueryRequest, CallSettings)
public override void DeleteSampleQuery(DeleteSampleQueryRequest request, CallSettings callSettings = null)Deletes a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteSampleQueryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteSampleQueryAsync(DeleteSampleQueryRequest, CallSettings)
public override Task DeleteSampleQueryAsync(DeleteSampleQueryRequest request, CallSettings callSettings = null)Deletes a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteSampleQueryRequestThe 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. |
GetSampleQuery(GetSampleQueryRequest, CallSettings)
public override SampleQuery GetSampleQuery(GetSampleQueryRequest request, CallSettings callSettings = null)Gets a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery].
| Parameters | |
|---|---|
| Name | Description |
request |
GetSampleQueryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
SampleQuery |
The RPC response. |
GetSampleQueryAsync(GetSampleQueryRequest, CallSettings)
public override Task<SampleQuery> GetSampleQueryAsync(GetSampleQueryRequest request, CallSettings callSettings = null)Gets a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery].
| Parameters | |
|---|---|
| Name | Description |
request |
GetSampleQueryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSampleQuery |
A Task containing the RPC response. |
ImportSampleQueries(ImportSampleQueriesRequest, CallSettings)
public override Operation<ImportSampleQueriesResponse, ImportSampleQueriesMetadata> ImportSampleQueries(ImportSampleQueriesRequest request, CallSettings callSettings = null)Bulk import of multiple [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s. Sample queries that already exist may be deleted.
Note: It is possible for a subset of the [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s to be successfully imported.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportSampleQueriesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationImportSampleQueriesResponseImportSampleQueriesMetadata |
The RPC response. |
ImportSampleQueriesAsync(ImportSampleQueriesRequest, CallSettings)
public override Task<Operation<ImportSampleQueriesResponse, ImportSampleQueriesMetadata>> ImportSampleQueriesAsync(ImportSampleQueriesRequest request, CallSettings callSettings = null)Bulk import of multiple [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s. Sample queries that already exist may be deleted.
Note: It is possible for a subset of the [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s to be successfully imported.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportSampleQueriesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationImportSampleQueriesResponseImportSampleQueriesMetadata |
A Task containing the RPC response. |
ListSampleQueries(ListSampleQueriesRequest, CallSettings)
public override PagedEnumerable<ListSampleQueriesResponse, SampleQuery> ListSampleQueries(ListSampleQueriesRequest request, CallSettings callSettings = null)Gets a list of [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSampleQueriesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListSampleQueriesResponseSampleQuery |
A pageable sequence of SampleQuery resources. |
ListSampleQueriesAsync(ListSampleQueriesRequest, CallSettings)
public override PagedAsyncEnumerable<ListSampleQueriesResponse, SampleQuery> ListSampleQueriesAsync(ListSampleQueriesRequest request, CallSettings callSettings = null)Gets a list of [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSampleQueriesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListSampleQueriesResponseSampleQuery |
A pageable asynchronous sequence of SampleQuery resources. |
UpdateSampleQuery(UpdateSampleQueryRequest, CallSettings)
public override SampleQuery UpdateSampleQuery(UpdateSampleQueryRequest request, CallSettings callSettings = null)Updates a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery].
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSampleQueryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
SampleQuery |
The RPC response. |
UpdateSampleQueryAsync(UpdateSampleQueryRequest, CallSettings)
public override Task<SampleQuery> UpdateSampleQueryAsync(UpdateSampleQueryRequest request, CallSettings callSettings = null)Updates a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery].
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSampleQueryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSampleQuery |
A Task containing the RPC response. |