NetApp V1 API - Class Google::Cloud::NetApp::V1::Backup (v2.6.1)

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_region

defbackup_region()->::String
Returns
  • (::String) — Output only. Region in which backup is stored. Format: projects/{project_id}/locations/{location}

#backup_type

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

#chain_storage_bytes

defchain_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

defcreate_time()->::Google::Protobuf::Timestamp
Returns

#description

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

#description=

defdescription=(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.

#enforced_retention_end_time

defenforced_retention_end_time()->::Google::Protobuf::Timestamp
Returns

#labels

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

#labels=

deflabels=(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

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

#name=

defname=(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}.

#satisfies_pzi

defsatisfies_pzi()->::Boolean
Returns
  • (::Boolean) — Output only. Reserved for future use

#satisfies_pzs

defsatisfies_pzs()->::Boolean
Returns
  • (::Boolean) — Output only. Reserved for future use

#source_snapshot

defsource_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=

defsource_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

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

#source_volume=

defsource_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

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

#volume_region

defvolume_region()->::String
Returns
  • (::String) — Output only. Region of the volume from which the backup was created. Format: projects/{project_id}/locations/{location}

#volume_usage_bytes

defvolume_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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.