public sealed class ServingConfigServiceClientImpl : ServingConfigServiceClient
Reference documentation and code samples for the Discovery Engine v1beta API class ServingConfigServiceClientImpl.
ServingConfigService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Remarks
Service for operations related to [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig].
Constructors
ServingConfigServiceClientImpl(ServingConfigServiceClient, ServingConfigServiceSettings, ILogger)
public ServingConfigServiceClientImpl(ServingConfigService.ServingConfigServiceClient grpcClient, ServingConfigServiceSettings settings, ILogger logger)
Constructs a client wrapper for the ServingConfigService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient |
ServingConfigServiceServingConfigServiceClient The underlying gRPC client. |
settings |
ServingConfigServiceSettings The base ServingConfigServiceSettings used within this client. |
logger |
ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override ServingConfigService.ServingConfigServiceClient GrpcClient { get; }
The underlying gRPC ServingConfigService client
Property Value | |
---|---|
Type | Description |
ServingConfigServiceServingConfigServiceClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
Methods
GetServingConfig(GetServingConfigRequest, CallSettings)
public override ServingConfig GetServingConfig(GetServingConfigRequest request, CallSettings callSettings = null)
Gets a ServingConfig.
Returns a NotFound error if the ServingConfig does not exist.
Parameters | |
---|---|
Name | Description |
request |
GetServingConfigRequest 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 |
ServingConfig |
The RPC response. |
GetServingConfigAsync(GetServingConfigRequest, CallSettings)
public override Task<ServingConfig> GetServingConfigAsync(GetServingConfigRequest request, CallSettings callSettings = null)
Gets a ServingConfig.
Returns a NotFound error if the ServingConfig does not exist.
Parameters | |
---|---|
Name | Description |
request |
GetServingConfigRequest 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 |
TaskServingConfig |
A Task containing the RPC response. |
ListServingConfigs(ListServingConfigsRequest, CallSettings)
public override PagedEnumerable<ListServingConfigsResponse, ServingConfig> ListServingConfigs(ListServingConfigsRequest request, CallSettings callSettings = null)
Lists all ServingConfigs linked to this dataStore.
Parameters | |
---|---|
Name | Description |
request |
ListServingConfigsRequest 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 |
PagedEnumerableListServingConfigsResponseServingConfig |
A pageable sequence of ServingConfig resources. |
ListServingConfigsAsync(ListServingConfigsRequest, CallSettings)
public override PagedAsyncEnumerable<ListServingConfigsResponse, ServingConfig> ListServingConfigsAsync(ListServingConfigsRequest request, CallSettings callSettings = null)
Lists all ServingConfigs linked to this dataStore.
Parameters | |
---|---|
Name | Description |
request |
ListServingConfigsRequest 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 |
PagedAsyncEnumerableListServingConfigsResponseServingConfig |
A pageable asynchronous sequence of ServingConfig resources. |
UpdateServingConfig(UpdateServingConfigRequest, CallSettings)
public override ServingConfig UpdateServingConfig(UpdateServingConfigRequest request, CallSettings callSettings = null)
Updates a ServingConfig.
Returns a NOT_FOUND error if the ServingConfig does not exist.
Parameters | |
---|---|
Name | Description |
request |
UpdateServingConfigRequest 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 |
ServingConfig |
The RPC response. |
UpdateServingConfigAsync(UpdateServingConfigRequest, CallSettings)
public override Task<ServingConfig> UpdateServingConfigAsync(UpdateServingConfigRequest request, CallSettings callSettings = null)
Updates a ServingConfig.
Returns a NOT_FOUND error if the ServingConfig does not exist.
Parameters | |
---|---|
Name | Description |
request |
UpdateServingConfigRequest 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 |
TaskServingConfig |
A Task containing the RPC response. |