public sealed class DatabaseCenterClientImpl : DatabaseCenterClientReference documentation and code samples for the Database Center v1beta API class DatabaseCenterClientImpl.
DatabaseCenter client wrapper implementation, for convenient use.
Namespace
Google.Cloud.DatabaseCenter.V1BetaAssembly
Google.Cloud.DatabaseCenter.V1Beta.dll
Remarks
DatabaseCenter contains methods to query fleet view for database resources.
Constructors
DatabaseCenterClientImpl(DatabaseCenterClient, DatabaseCenterSettings, ILogger)
public DatabaseCenterClientImpl(DatabaseCenter.DatabaseCenterClient grpcClient, DatabaseCenterSettings settings, ILogger logger)Constructs a client wrapper for the DatabaseCenter service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
DatabaseCenterDatabaseCenterClientThe underlying gRPC client. |
settings |
DatabaseCenterSettingsThe base DatabaseCenterSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override DatabaseCenter.DatabaseCenterClient GrpcClient { get; }The underlying gRPC DatabaseCenter client
| Property Value | |
|---|---|
| Type | Description |
DatabaseCenterDatabaseCenterClient |
|
Methods
QueryProducts(QueryProductsRequest, CallSettings)
public override PagedEnumerable<QueryProductsResponse, Product> QueryProducts(QueryProductsRequest request, CallSettings callSettings = null)QueryProducts provides a list of all possible products which can be used to filter database resources.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryProductsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableQueryProductsResponseProduct |
A pageable sequence of Product resources. |
QueryProductsAsync(QueryProductsRequest, CallSettings)
public override PagedAsyncEnumerable<QueryProductsResponse, Product> QueryProductsAsync(QueryProductsRequest request, CallSettings callSettings = null)QueryProducts provides a list of all possible products which can be used to filter database resources.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryProductsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableQueryProductsResponseProduct |
A pageable asynchronous sequence of Product resources. |