Class: Google::Apis::SecuritycenterV1::BackupDisasterRecovery

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BackupDisasterRecovery

Returns a new instance of BackupDisasterRecovery.



1212
1213
1214
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1212

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

Instance Attribute Details

#applianceString

Corresponds to the JSON property appliance

Returns:

  • (String)


1165
1166
1167
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1165

def appliance
  @appliance
end

#applicationsArray<String>

Corresponds to the JSON property applications

Returns:

  • (Array<String>)


1170
1171
1172
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1170

def applications
  @applications
end

#backup_create_timeString

Corresponds to the JSON property backupCreateTime

Returns:

  • (String)


1175
1176
1177
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1175

def backup_create_time
  @backup_create_time
end

#backup_templateString

Corresponds to the JSON property backupTemplate

Returns:

  • (String)


1180
1181
1182
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1180

def backup_template
  @backup_template
end

#backup_typeString

Corresponds to the JSON property backupType

Returns:

  • (String)


1185
1186
1187
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1185

def backup_type
  @backup_type
end

#hostString

Corresponds to the JSON property host

Returns:

  • (String)


1190
1191
1192
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1190

def host
  @host
end

#policiesArray<String>

Corresponds to the JSON property policies

Returns:

  • (Array<String>)


1195
1196
1197
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1195

def policies
  @policies
end

#policy_optionsArray<String>

Corresponds to the JSON property policyOptions

Returns:

  • (Array<String>)


1200
1201
1202
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1200

def policy_options
  @policy_options
end

#profileString

Corresponds to the JSON property profile

Returns:

  • (String)


1205
1206
1207
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1205

def profile
  @profile
end

#storage_poolString

Corresponds to the JSON property storagePool

Returns:

  • (String)


1210
1211
1212
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1210

def storage_pool
  @storage_pool
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1217

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