[BindServiceMethod(typeof(SecretOperationsService), "BindService")]
public abstract class SecretOperationsService.SecretOperationsServiceBaseReference documentation and code samples for the Secret Manager v1 API class SecretOperationsService.SecretOperationsServiceBase.
Base class for server-side implementations of SecretOperationsService
Namespace
Google.Cloud.SecretManager.V1Assembly
Google.Cloud.SecretManager.V1.dll
Methods
CreateBackup(CreateBackupRequest, ServerCallContext)
public virtual Task<Operation> CreateBackup(CreateBackupRequest request, ServerCallContext context)Creates a new Backup in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateBackupRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
DeleteBackup(DeleteBackupRequest, ServerCallContext)
public virtual Task<Operation> DeleteBackup(DeleteBackupRequest request, ServerCallContext context)Deletes a single Backup.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteBackupRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
GetBackup(GetBackupRequest, ServerCallContext)
public virtual Task<Backup> GetBackup(GetBackupRequest request, ServerCallContext context)Gets details of a single Backup.
| Parameters | |
|---|---|
| Name | Description |
request |
GetBackupRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskBackup |
The response to send back to the client (wrapped by a task). |
ListBackups(ListBackupsRequest, ServerCallContext)
public virtual Task<ListBackupsResponse> ListBackups(ListBackupsRequest request, ServerCallContext context)Lists Backups in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListBackupsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListBackupsResponse |
The response to send back to the client (wrapped by a task). |
RestoreBackup(RestoreBackupRequest, ServerCallContext)
public virtual Task<Operation> RestoreBackup(RestoreBackupRequest request, ServerCallContext context)Restores a [Secret][google.cloud.secretmanager.v1.Secret] from the given [Backup][google.cloud.secretmanager.v1.Backup]. This creates a new [Secret][google.cloud.secretmanager.v1.Secret] resource. The LRO tracks the restoration process, and the result of the LRO is the newly created Secret.
| Parameters | |
|---|---|
| Name | Description |
request |
RestoreBackupRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
UpdateBackup(UpdateBackupRequest, ServerCallContext)
public virtual Task<Operation> UpdateBackup(UpdateBackupRequest request, ServerCallContext context)Updates the parameters of a single Backup.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateBackupRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |