public class AlloyDBCSQLAdmin.AlloyDBCSQLAdminClient : ClientBase<AlloyDBCSQLAdmin.AlloyDBCSQLAdminClient>Reference documentation and code samples for the AlloyDB v1 API class AlloyDBCSQLAdmin.AlloyDBCSQLAdminClient.
Client for AlloyDBCSQLAdmin
Inheritance
object > ClientBase > ClientBaseAlloyDBCSQLAdminAlloyDBCSQLAdminClient > AlloyDBCSQLAdmin.AlloyDBCSQLAdminClientNamespace
Google.Cloud.AlloyDb.V1Assembly
Google.Cloud.AlloyDb.V1.dll
Constructors
AlloyDBCSQLAdminClient()
protected AlloyDBCSQLAdminClient()Protected parameterless constructor to allow creation of test doubles.
AlloyDBCSQLAdminClient(CallInvoker)
public AlloyDBCSQLAdminClient(CallInvoker callInvoker)Creates a new client for AlloyDBCSQLAdmin that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description | 
callInvoker | 
        CallInvokerThe callInvoker to use to make remote calls.  | 
      
AlloyDBCSQLAdminClient(ChannelBase)
public AlloyDBCSQLAdminClient(ChannelBase channel)Creates a new client for AlloyDBCSQLAdmin
| Parameter | |
|---|---|
| Name | Description | 
channel | 
        ChannelBaseThe channel to use to make remote calls.  | 
      
AlloyDBCSQLAdminClient(ClientBaseConfiguration)
protected AlloyDBCSQLAdminClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description | 
configuration | 
        ClientBaseClientBaseConfigurationThe client configuration.  | 
      
Methods
CreateIAMPolicyClient()
public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description | 
IAMPolicyIAMPolicyClient | 
        A new IAMPolicy.IAMPolicyClient for the same target as this client.  | 
      
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description | 
LocationsLocationsClient | 
        A new Locations.LocationsClient for the same target as this client.  | 
      
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description | 
OperationsOperationsClient | 
        A new Operations client for the same target as this client.  | 
      
NewInstance(ClientBaseConfiguration)
protected override AlloyDBCSQLAdmin.AlloyDBCSQLAdminClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description | 
configuration | 
        ClientBaseClientBaseConfiguration | 
      
| Returns | |
|---|---|
| Type | Description | 
AlloyDBCSQLAdminAlloyDBCSQLAdminClient | 
        |
RestoreFromCloudSQL(RestoreFromCloudSQLRequest, CallOptions)
public virtual Operation RestoreFromCloudSQL(RestoreFromCloudSQLRequest request, CallOptions options)Restores an AlloyDB cluster from a CloudSQL resource.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        RestoreFromCloudSQLRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Operation | 
        The response received from the server.  | 
      
RestoreFromCloudSQL(RestoreFromCloudSQLRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation RestoreFromCloudSQL(RestoreFromCloudSQLRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Restores an AlloyDB cluster from a CloudSQL resource.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        RestoreFromCloudSQLRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
Operation | 
        The response received from the server.  | 
      
RestoreFromCloudSQLAsync(RestoreFromCloudSQLRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> RestoreFromCloudSQLAsync(RestoreFromCloudSQLRequest request, CallOptions options)Restores an AlloyDB cluster from a CloudSQL resource.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        RestoreFromCloudSQLRequestThe request to send to the server.  | 
      
options | 
        CallOptionsThe options for the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallOperation | 
        The call object.  | 
      
RestoreFromCloudSQLAsync(RestoreFromCloudSQLRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> RestoreFromCloudSQLAsync(RestoreFromCloudSQLRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Restores an AlloyDB cluster from a CloudSQL resource.
| Parameters | |
|---|---|
| Name | Description | 
request | 
        RestoreFromCloudSQLRequestThe request to send to the server.  | 
      
headers | 
        MetadataThe initial metadata to send with the call. This parameter is optional.  | 
      
deadline | 
        System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit.  | 
      
cancellationToken | 
        CancellationTokenAn optional token for canceling the call.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AsyncUnaryCallOperation | 
        The call object.  |