NetApp V1 API - Class Google::Cloud::NetApp::V1::Backup (v0.5.2)

Reference documentation and code samples for the NetApp V1 API class Google::Cloud::NetApp::V1::Backup.

A NetApp Backup.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#backup_type

def backup_type() -> ::Google::Cloud::NetApp::V1::Backup::Type
Returns

#chain_storage_bytes

def chain_storage_bytes() -> ::Integer
Returns
  • (::Integer) — Output only. Total size of all backups in a chain in bytes = baseline backup size + sum(incremental backup size)

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#description

def description() -> ::String
Returns
  • (::String) — A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected.
Returns
  • (::String) — A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Resource labels to represent user provided metadata.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Resource labels to represent user provided metadata.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Resource labels to represent user provided metadata.

#name

def name() -> ::String
Returns
  • (::String) — Identifier. The resource name of the backup. Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. The resource name of the backup. Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}.
Returns
  • (::String) — Identifier. The resource name of the backup. Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}.

#source_snapshot

def source_snapshot() -> ::String
Returns
  • (::String) — If specified, backup will be created from the given snapshot. If not specified, there will be a new snapshot taken to initiate the backup creation. Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}

#source_snapshot=

def source_snapshot=(value) -> ::String
Parameter
  • value (::String) — If specified, backup will be created from the given snapshot. If not specified, there will be a new snapshot taken to initiate the backup creation. Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}
Returns
  • (::String) — If specified, backup will be created from the given snapshot. If not specified, there will be a new snapshot taken to initiate the backup creation. Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}

#source_volume

def source_volume() -> ::String
Returns
  • (::String) — Volume full name of this backup belongs to. Format: projects/{projects_id}/locations/{location}/volumes/{volume_id}

#source_volume=

def source_volume=(value) -> ::String
Parameter
  • value (::String) — Volume full name of this backup belongs to. Format: projects/{projects_id}/locations/{location}/volumes/{volume_id}
Returns
  • (::String) — Volume full name of this backup belongs to. Format: projects/{projects_id}/locations/{location}/volumes/{volume_id}

#state

def state() -> ::Google::Cloud::NetApp::V1::Backup::State
Returns

#volume_usage_bytes

def volume_usage_bytes() -> ::Integer
Returns
  • (::Integer) — Output only. Size of the file system when the backup was created. When creating a new volume from the backup, the volume capacity will have to be at least as big.