Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2BackupDisasterRecovery

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb

Overview

Information related to Google Cloud Backup and DR Service findings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2BackupDisasterRecovery

Returns a new instance of GoogleCloudSecuritycenterV2BackupDisasterRecovery.



3061
3062
3063
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3061

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#applianceString

The name of the Backup and DR appliance that captures, moves, and manages the lifecycle of backup data. For example, “backup-server-57137”. Corresponds to the JSON property appliance

Returns:

  • (String)


2991
2992
2993
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2991

def appliance
  @appliance
end

#applicationsArray<String>

The names of Backup and DR applications. An application is a VM, database, or file system on a managed host monitored by a backup and recovery appliance. For example, “centos7-01-vol00”, “centos7-01-vol01”, “centos7-01-vol02”. Corresponds to the JSON property applications

Returns:

  • (Array<String>)


2998
2999
3000
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2998

def applications
  @applications
end

#backup_create_timeString

The timestamp at which the Backup and DR backup was created. Corresponds to the JSON property backupCreateTime

Returns:

  • (String)


3003
3004
3005
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3003

def backup_create_time
  @backup_create_time
end

#backup_templateString

The name of a Backup and DR template which comprises one or more backup policies. See the Backup and DR documentation for more information. For example, “snap-ov”. Corresponds to the JSON property backupTemplate

Returns:

  • (String)


3011
3012
3013
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3011

def backup_template
  @backup_template
end

#backup_typeString

The backup type of the Backup and DR image. For example, “Snapshot”, “Remote Snapshot”, “OnVault”. Corresponds to the JSON property backupType

Returns:

  • (String)


3017
3018
3019
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3017

def backup_type
  @backup_type
end

#hostString

The name of a Backup and DR host, which is managed by the backup and recovery appliance and known to the management console. The host can be of type Generic (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.), vCenter, or an ESX server. See the Backup and DR documentation on hosts for more information. For example, “centos7-01”. Corresponds to the JSON property host

Returns:

  • (String)


3027
3028
3029
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3027

def host
  @host
end

#policiesArray<String>

The names of Backup and DR policies that are associated with a template and that define when to run a backup, how frequently to run a backup, and how long to retain the backup image. For example, “onvaults”. Corresponds to the JSON property policies

Returns:

  • (Array<String>)


3034
3035
3036
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3034

def policies
  @policies
end

#policy_optionsArray<String>

The names of Backup and DR advanced policy options of a policy applying to an application. See the Backup and DR documentation on policy options. For example, “skipofflineappsincongrp, nounmap”. Corresponds to the JSON property policyOptions

Returns:

  • (Array<String>)


3042
3043
3044
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3042

def policy_options
  @policy_options
end

#profileString

The name of the Backup and DR resource profile that specifies the storage media for backups of application and VM data. See the Backup and DR documentation on profiles. For example, “GCP”. Corresponds to the JSON property profile

Returns:

  • (String)


3050
3051
3052
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3050

def profile
  @profile
end

#storage_poolString

The name of the Backup and DR storage pool that the backup and recovery appliance is storing data in. The storage pool could be of type Cloud, Primary, Snapshot, or OnVault. See the Backup and DR documentation on storage pools. For example, “DiskPoolOne”. Corresponds to the JSON property storagePool

Returns:

  • (String)


3059
3060
3061
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3059

def storage_pool
  @storage_pool
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3066

def update!(**args)
  @appliance = args[:appliance] if args.key?(:appliance)
  @applications = args[:applications] if args.key?(:applications)
  @backup_create_time = args[:backup_create_time] if args.key?(:backup_create_time)
  @backup_template = args[:backup_template] if args.key?(:backup_template)
  @backup_type = args[:backup_type] if args.key?(:backup_type)
  @host = args[:host] if args.key?(:host)
  @policies = args[:policies] if args.key?(:policies)
  @policy_options = args[:policy_options] if args.key?(:policy_options)
  @profile = args[:profile] if args.key?(:profile)
  @storage_pool = args[:storage_pool] if args.key?(:storage_pool)
end