Class ProjectsResource.LocationsResource.BackupVaultsResource.DataSourcesResource
The "dataSources" collection of methods.
Inherited Members
Namespace: Google.Apis.Backupdr.v1
Assembly: Google.Apis.Backupdr.v1.dll
Syntax
public class ProjectsResource.LocationsResource.BackupVaultsResource.DataSourcesResource
Constructors
DataSourcesResource(IClientService)
Constructs a new resource.
Declaration
public DataSourcesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Backups
Gets the Backups resource.
Declaration
public virtual ProjectsResource.LocationsResource.BackupVaultsResource.DataSourcesResource.BackupsResource Backups { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.BackupVaultsResource.DataSourcesResource.BackupsResource |
Methods
AbandonBackup(AbandonBackupRequest, string)
Internal only. Abandons a backup.
Declaration
public virtual ProjectsResource.LocationsResource.BackupVaultsResource.DataSourcesResource.AbandonBackupRequest AbandonBackup(AbandonBackupRequest body, string dataSource)
Parameters
Type | Name | Description |
---|---|---|
AbandonBackupRequest | body | The body of the request. |
string | dataSource | Required. The resource name of the instance, in the format 'projects//locations//backupVaults/*/dataSources/'. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BackupVaultsResource.DataSourcesResource.AbandonBackupRequest |
FetchAccessToken(FetchAccessTokenRequest, string)
Internal only. Fetch access token for a given data source.
Declaration
public virtual ProjectsResource.LocationsResource.BackupVaultsResource.DataSourcesResource.FetchAccessTokenRequest FetchAccessToken(FetchAccessTokenRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
FetchAccessTokenRequest | body | The body of the request. |
string | name | Required. The resource name for the location for which static IPs should be returned. Must be in the format 'projects//locations//backupVaults/*/dataSources'. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BackupVaultsResource.DataSourcesResource.FetchAccessTokenRequest |
FinalizeBackup(FinalizeBackupRequest, string)
Internal only. Finalize a backup that was started by a call to InitiateBackup.
Declaration
public virtual ProjectsResource.LocationsResource.BackupVaultsResource.DataSourcesResource.FinalizeBackupRequest FinalizeBackup(FinalizeBackupRequest body, string dataSource)
Parameters
Type | Name | Description |
---|---|---|
FinalizeBackupRequest | body | The body of the request. |
string | dataSource | Required. The resource name of the instance, in the format 'projects//locations//backupVaults/*/dataSources/'. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BackupVaultsResource.DataSourcesResource.FinalizeBackupRequest |
Get(string)
Gets details of a DataSource.
Declaration
public virtual ProjectsResource.LocationsResource.BackupVaultsResource.DataSourcesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the data source resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}/dataSource/{resource_name}' |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BackupVaultsResource.DataSourcesResource.GetRequest |
InitiateBackup(InitiateBackupRequest, string)
Internal only. Initiates a backup.
Declaration
public virtual ProjectsResource.LocationsResource.BackupVaultsResource.DataSourcesResource.InitiateBackupRequest InitiateBackup(InitiateBackupRequest body, string dataSource)
Parameters
Type | Name | Description |
---|---|---|
InitiateBackupRequest | body | The body of the request. |
string | dataSource | Required. The resource name of the instance, in the format 'projects//locations//backupVaults/*/dataSources/'. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BackupVaultsResource.DataSourcesResource.InitiateBackupRequest |
List(string)
Lists DataSources in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.BackupVaultsResource.DataSourcesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The project and location for which to retrieve data sources information, in the format 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example us-central1. To retrieve data sources for all locations, use "-" for the '{location}' value. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BackupVaultsResource.DataSourcesResource.ListRequest |
Patch(DataSource, string)
Updates the settings of a DataSource.
Declaration
public virtual ProjectsResource.LocationsResource.BackupVaultsResource.DataSourcesResource.PatchRequest Patch(DataSource body, string name)
Parameters
Type | Name | Description |
---|---|---|
DataSource | body | The body of the request. |
string | name | Output only. Identifier. Name of the datasource to create. It must have the
format |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BackupVaultsResource.DataSourcesResource.PatchRequest |
Remove(RemoveDataSourceRequest, string)
Deletes a DataSource. This is a custom method instead of a standard delete method because external clients will not delete DataSources except for BackupDR backup appliances.
Declaration
public virtual ProjectsResource.LocationsResource.BackupVaultsResource.DataSourcesResource.RemoveRequest Remove(RemoveDataSourceRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
RemoveDataSourceRequest | body | The body of the request. |
string | name | Required. Name of the resource. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BackupVaultsResource.DataSourcesResource.RemoveRequest |
SetInternalStatus(SetInternalStatusRequest, string)
Sets the internal status of a DataSource.
Declaration
public virtual ProjectsResource.LocationsResource.BackupVaultsResource.DataSourcesResource.SetInternalStatusRequest SetInternalStatus(SetInternalStatusRequest body, string dataSource)
Parameters
Type | Name | Description |
---|---|---|
SetInternalStatusRequest | body | The body of the request. |
string | dataSource | Required. The resource name of the instance, in the format 'projects//locations//backupVaults/*/dataSources/'. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.BackupVaultsResource.DataSourcesResource.SetInternalStatusRequest |