Class: Google::Apis::BackupdrV1::DataSourceBackupApplianceApplication

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

BackupApplianceApplication describes a Source Resource when it is an application backed up by a BackupAppliance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DataSourceBackupApplianceApplication

Returns a new instance of DataSourceBackupApplianceApplication.



1844
1845
1846
# File 'lib/google/apis/backupdr_v1/classes.rb', line 1844

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

Instance Attribute Details

#appliance_idFixnum

Appliance Id of the Backup Appliance. Corresponds to the JSON property applianceId

Returns:

  • (Fixnum)


1812
1813
1814
# File 'lib/google/apis/backupdr_v1/classes.rb', line 1812

def appliance_id
  @appliance_id
end

#application_idFixnum

The appid field of the application within the Backup Appliance. Corresponds to the JSON property applicationId

Returns:

  • (Fixnum)


1817
1818
1819
# File 'lib/google/apis/backupdr_v1/classes.rb', line 1817

def application_id
  @application_id
end

#application_nameString

The name of the Application as known to the Backup Appliance. Corresponds to the JSON property applicationName

Returns:

  • (String)


1822
1823
1824
# File 'lib/google/apis/backupdr_v1/classes.rb', line 1822

def application_name
  @application_name
end

#backup_applianceString

Appliance name. Corresponds to the JSON property backupAppliance

Returns:

  • (String)


1827
1828
1829
# File 'lib/google/apis/backupdr_v1/classes.rb', line 1827

def backup_appliance
  @backup_appliance
end

#host_idFixnum

Hostid of the application host. Corresponds to the JSON property hostId

Returns:

  • (Fixnum)


1832
1833
1834
# File 'lib/google/apis/backupdr_v1/classes.rb', line 1832

def host_id
  @host_id
end

#hostnameString

Hostname of the host where the application is running. Corresponds to the JSON property hostname

Returns:

  • (String)


1837
1838
1839
# File 'lib/google/apis/backupdr_v1/classes.rb', line 1837

def hostname
  @hostname
end

#typeString

The type of the application. e.g. VMBackup Corresponds to the JSON property type

Returns:

  • (String)


1842
1843
1844
# File 'lib/google/apis/backupdr_v1/classes.rb', line 1842

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1849
1850
1851
1852
1853
1854
1855
1856
1857
# File 'lib/google/apis/backupdr_v1/classes.rb', line 1849

def update!(**args)
  @appliance_id = args[:appliance_id] if args.key?(:appliance_id)
  @application_id = args[:application_id] if args.key?(:application_id)
  @application_name = args[:application_name] if args.key?(:application_name)
  @backup_appliance = args[:backup_appliance] if args.key?(:backup_appliance)
  @host_id = args[:host_id] if args.key?(:host_id)
  @hostname = args[:hostname] if args.key?(:hostname)
  @type = args[:type] if args.key?(:type)
end