REST Resource: projects.locations.backupVaults.dataSources

Resource: DataSource

Message describing a DataSource object. Datasource object used to represent Datasource details for both admin and basic view.

JSON representation
{
  "name": string,
  "state": enum (State),
  "labels": {
    string: string,
    ...
  },
  "configState": enum (BackupConfigState),
  "backupConfigInfo": {
    object (BackupConfigInfo)
  },
  "backupBlockedByVaultAccessRestriction": boolean,

  // Union field source_resource can be only one of the following:
  "dataSourceGcpResource": {
    object (DataSourceGcpResource)
  },
  "dataSourceBackupApplianceApplication": {
    object (DataSourceBackupApplianceApplication)
  }
  // End of list of possible types for union field source_resource.
  "createTime": string,
  "updateTime": string,
  "backupCount": string,
  "etag": string,
  "totalStoredBytes": string
}
Fields
name

string

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.

state

enum (State)

Output only. The DataSource resource instance state.

labels

map (key: string, value: string)

Optional. Resource labels to represent user provided metadata. No labels currently defined:

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

configState

enum (BackupConfigState)

Output only. The backup configuration state.

backupConfigInfo

object (BackupConfigInfo)

Output only. Details of how the resource is configured for backup.

backupBlockedByVaultAccessRestriction

boolean

Output only. This field is set to true if the backup is blocked by vault access restriction.

Union field source_resource. The source resource that is represented by this DataSource. It can be a Google Cloud resource, or one backed up by a Backup Appliance. source_resource can be only one of the following:
dataSourceGcpResource

object (DataSourceGcpResource)

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.

dataSourceBackupApplianceApplication

object (DataSourceBackupApplianceApplication)

The backed up resource is a backup appliance application.

createTime

string (Timestamp format)

Output only. The time when the instance was created.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

updateTime

string (Timestamp format)

Output only. The time when the instance was updated.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

backupCount

string (int64 format)

Number of backups in the data source.

etag

string

Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other.