public sealed class AlloyDBCSQLAdminClientImpl : AlloyDBCSQLAdminClient
Reference documentation and code samples for the AlloyDB v1alpha API class AlloyDBCSQLAdminClientImpl.
AlloyDBCSQLAdmin client wrapper implementation, for convenient use.
Namespace
Google.Cloud.AlloyDb.V1AlphaAssembly
Google.Cloud.AlloyDb.V1Alpha.dll
Remarks
Service for interactions with CloudSQL.
Constructors
AlloyDBCSQLAdminClientImpl(AlloyDBCSQLAdminClient, AlloyDBCSQLAdminSettings, ILogger)
public AlloyDBCSQLAdminClientImpl(AlloyDBCSQLAdmin.AlloyDBCSQLAdminClient grpcClient, AlloyDBCSQLAdminSettings settings, ILogger logger)
Constructs a client wrapper for the AlloyDBCSQLAdmin service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient |
AlloyDBCSQLAdminAlloyDBCSQLAdminClient The underlying gRPC client. |
settings |
AlloyDBCSQLAdminSettings The base AlloyDBCSQLAdminSettings used within this client. |
logger |
ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override AlloyDBCSQLAdmin.AlloyDBCSQLAdminClient GrpcClient { get; }
The underlying gRPC AlloyDBCSQLAdmin client
Property Value | |
---|---|
Type | Description |
AlloyDBCSQLAdminAlloyDBCSQLAdminClient |
IAMPolicyClient
public override IAMPolicyClient IAMPolicyClient { get; }
The IAMPolicyClient associated with this client.
Property Value | |
---|---|
Type | Description |
IAMPolicyClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
RestoreFromCloudSQLOperationsClient
public override OperationsClient RestoreFromCloudSQLOperationsClient { get; }
The long-running operations client for RestoreFromCloudSQL
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
RestoreFromCloudSQL(RestoreFromCloudSQLRequest, CallSettings)
public override Operation<Cluster, OperationMetadata> RestoreFromCloudSQL(RestoreFromCloudSQLRequest request, CallSettings callSettings = null)
Restores an AlloyDB cluster from a CloudSQL resource.
Parameters | |
---|---|
Name | Description |
request |
RestoreFromCloudSQLRequest 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 |
OperationClusterOperationMetadata |
The RPC response. |
RestoreFromCloudSQLAsync(RestoreFromCloudSQLRequest, CallSettings)
public override Task<Operation<Cluster, OperationMetadata>> RestoreFromCloudSQLAsync(RestoreFromCloudSQLRequest request, CallSettings callSettings = null)
Restores an AlloyDB cluster from a CloudSQL resource.
Parameters | |
---|---|
Name | Description |
request |
RestoreFromCloudSQLRequest 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 |
TaskOperationClusterOperationMetadata |
A Task containing the RPC response. |