Class: Google::Apis::BackupdrV1::BackupApplianceBackupConfig

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

Overview

BackupApplianceBackupConfig captures the backup configuration for applications that are protected by Backup Appliances.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BackupApplianceBackupConfig

Returns a new instance of BackupApplianceBackupConfig.



622
623
624
# File 'lib/google/apis/backupdr_v1/classes.rb', line 622

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

Instance Attribute Details

#application_nameString

The name of the application. Corresponds to the JSON property applicationName

Returns:

  • (String)


590
591
592
# File 'lib/google/apis/backupdr_v1/classes.rb', line 590

def application_name
  @application_name
end

#backup_appliance_idFixnum

The ID of the backup appliance. Corresponds to the JSON property backupApplianceId

Returns:

  • (Fixnum)


595
596
597
# File 'lib/google/apis/backupdr_v1/classes.rb', line 595

def backup_appliance_id
  @backup_appliance_id
end

#backup_appliance_nameString

The name of the backup appliance. Corresponds to the JSON property backupApplianceName

Returns:

  • (String)


600
601
602
# File 'lib/google/apis/backupdr_v1/classes.rb', line 600

def backup_appliance_name
  @backup_appliance_name
end

#host_nameString

The name of the host where the application is running. Corresponds to the JSON property hostName

Returns:

  • (String)


605
606
607
# File 'lib/google/apis/backupdr_v1/classes.rb', line 605

def host_name
  @host_name
end

#sla_idFixnum

The ID of the SLA of this application. Corresponds to the JSON property slaId

Returns:

  • (Fixnum)


610
611
612
# File 'lib/google/apis/backupdr_v1/classes.rb', line 610

def sla_id
  @sla_id
end

#slp_nameString

The name of the SLP associated with the application. Corresponds to the JSON property slpName

Returns:

  • (String)


615
616
617
# File 'lib/google/apis/backupdr_v1/classes.rb', line 615

def slp_name
  @slp_name
end

#slt_nameString

The name of the SLT associated with the application. Corresponds to the JSON property sltName

Returns:

  • (String)


620
621
622
# File 'lib/google/apis/backupdr_v1/classes.rb', line 620

def slt_name
  @slt_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



627
628
629
630
631
632
633
634
635
# File 'lib/google/apis/backupdr_v1/classes.rb', line 627

def update!(**args)
  @application_name = args[:application_name] if args.key?(:application_name)
  @backup_appliance_id = args[:backup_appliance_id] if args.key?(:backup_appliance_id)
  @backup_appliance_name = args[:backup_appliance_name] if args.key?(:backup_appliance_name)
  @host_name = args[:host_name] if args.key?(:host_name)
  @sla_id = args[:sla_id] if args.key?(:sla_id)
  @slp_name = args[:slp_name] if args.key?(:slp_name)
  @slt_name = args[:slt_name] if args.key?(:slt_name)
end