Backup for GKE V1 API - Class Google::Cloud::GkeBackup::V1::DeleteBackupRequest (v0.4.0)

Reference documentation and code samples for the Backup for GKE V1 API class Google::Cloud::GkeBackup::V1::DeleteBackupRequest.

Request message for DeleteBackup.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#etag

def etag() -> ::String
Returns
  • (::String) — If provided, this value must match the current value of the target Backup's etag field or the request is rejected.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — If provided, this value must match the current value of the target Backup's etag field or the request is rejected.
Returns
  • (::String) — If provided, this value must match the current value of the target Backup's etag field or the request is rejected.

#force

def force() -> ::Boolean
Returns
  • (::Boolean) — If set to true, any VolumeBackups below this Backup will also be deleted. Otherwise, the request will only succeed if the Backup has no VolumeBackups.

#force=

def force=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If set to true, any VolumeBackups below this Backup will also be deleted. Otherwise, the request will only succeed if the Backup has no VolumeBackups.
Returns
  • (::Boolean) — If set to true, any VolumeBackups below this Backup will also be deleted. Otherwise, the request will only succeed if the Backup has no VolumeBackups.

#name

def name() -> ::String
Returns
  • (::String) — Required. Name of the Backup resource. Format: projects//locations//backupPlans//backups/

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. Name of the Backup resource. Format: projects//locations//backupPlans//backups/
Returns
  • (::String) — Required. Name of the Backup resource. Format: projects//locations//backupPlans//backups/