AlloyDB v1alpha API - Class AlloyDBCSQLAdminClientImpl (1.0.0-alpha11)

public sealed class AlloyDBCSQLAdminClientImpl : AlloyDBCSQLAdminClient

Reference documentation and code samples for the AlloyDB v1alpha API class AlloyDBCSQLAdminClientImpl.

AlloyDBCSQLAdmin client wrapper implementation, for convenient use.

Inheritance

object > AlloyDBCSQLAdminClient > AlloyDBCSQLAdminClientImpl

Namespace

Google.Cloud.AlloyDb.V1Alpha

Assembly

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
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
Type Description
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

RestoreFromCloudSQLOperationsClient

public override OperationsClient RestoreFromCloudSQLOperationsClient { get; }

The long-running operations client for RestoreFromCloudSQL.

Property Value
Type Description
OperationsClient
Overrides

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.

Overrides

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.

Overrides