public sealed class DataSource : IMessage<DataSource>, IEquatable<DataSource>, IDeepCloneable<DataSource>, IBufferMessage, IMessage
Reference documentation and code samples for the Backup and DR Service v1 API class DataSource.
Message describing a DataSource object. Datasource object used to represent Datasource details for both admin and basic view.
Implements
IMessageDataSource, IEquatableDataSource, IDeepCloneableDataSource, IBufferMessage, IMessageNamespace
Google.Cloud.BackupDR.V1Assembly
Google.Cloud.BackupDR.V1.dll
Constructors
DataSource()
public DataSource()
DataSource(DataSource)
public DataSource(DataSource other)
Parameter | |
---|---|
Name | Description |
other |
DataSource |
Properties
BackupConfigInfo
public BackupConfigInfo BackupConfigInfo { get; set; }
Output only. Details of how the resource is configured for backup.
Property Value | |
---|---|
Type | Description |
BackupConfigInfo |
BackupCount
public long BackupCount { get; set; }
Number of backups in the data source.
Property Value | |
---|---|
Type | Description |
long |
ConfigState
public BackupConfigState ConfigState { get; set; }
Output only. The backup configuration state.
Property Value | |
---|---|
Type | Description |
BackupConfigState |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The time when the instance was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
DataSourceBackupApplianceApplication
public DataSourceBackupApplianceApplication DataSourceBackupApplianceApplication { get; set; }
The backed up resource is a backup appliance application.
Property Value | |
---|---|
Type | Description |
DataSourceBackupApplianceApplication |
DataSourceGcpResource
public DataSourceGcpResource DataSourceGcpResource { get; set; }
The backed up resource is a Google Cloud resource. The word 'DataSource' was included in the names to indicate that this is the representation of the Google Cloud resource used within the DataSource object.
Property Value | |
---|---|
Type | Description |
DataSourceGcpResource |
DataSourceName
public DataSourceName DataSourceName { get; set; }
DataSourceName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
DataSourceName |
Etag
public string Etag { get; set; }
Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other.
Property Value | |
---|---|
Type | Description |
string |
HasBackupCount
public bool HasBackupCount { get; }
Gets whether the "backup_count" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasEtag
public bool HasEtag { get; }
Gets whether the "etag" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasTotalStoredBytes
public bool HasTotalStoredBytes { get; }
Gets whether the "total_stored_bytes" field is set
Property Value | |
---|---|
Type | Description |
bool |
Labels
public MapField<string, string> Labels { get; }
Optional. Resource labels to represent user provided metadata. No labels currently defined:
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
Name
public string Name { get; set; }
Output only. Identifier. Name of the datasource to create.
It must have the
format"projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}"
.
{datasource}
cannot be changed after creation. It must be between 3-63
characters long and must be unique within the backup vault.
Property Value | |
---|---|
Type | Description |
string |
SourceResourceCase
public DataSource.SourceResourceOneofCase SourceResourceCase { get; }
Property Value | |
---|---|
Type | Description |
DataSourceSourceResourceOneofCase |
State
public DataSource.Types.State State { get; set; }
Output only. The DataSource resource instance state.
Property Value | |
---|---|
Type | Description |
DataSourceTypesState |
TotalStoredBytes
public long TotalStoredBytes { get; set; }
The number of bytes (metadata and data) stored in this datasource.
Property Value | |
---|---|
Type | Description |
long |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The time when the instance was updated.
Property Value | |
---|---|
Type | Description |
Timestamp |