Class: Google::Apis::MigrationcenterV1alpha1::GuestConfigDetails

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

Overview

Guest OS config information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GuestConfigDetails

Returns a new instance of GuestConfigDetails.



1816
1817
1818
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1816

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

Instance Attribute Details

#fstabGoogle::Apis::MigrationcenterV1alpha1::FstabEntryList

Fstab content. Corresponds to the JSON property fstab



1794
1795
1796
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1794

def fstab
  @fstab
end

#hostsGoogle::Apis::MigrationcenterV1alpha1::HostsEntryList

Hosts content. Corresponds to the JSON property hosts



1799
1800
1801
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1799

def hosts
  @hosts
end

#issueString

OS issue (typically /etc/issue in Linux). Corresponds to the JSON property issue

Returns:

  • (String)


1804
1805
1806
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1804

def issue
  @issue
end

#nfs_exportsGoogle::Apis::MigrationcenterV1alpha1::NfsExportList

NFS exports. Corresponds to the JSON property nfsExports



1809
1810
1811
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1809

def nfs_exports
  @nfs_exports
end

#selinuxGoogle::Apis::MigrationcenterV1alpha1::Selinux

SELinux details. Corresponds to the JSON property selinux



1814
1815
1816
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1814

def selinux
  @selinux
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1821
1822
1823
1824
1825
1826
1827
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1821

def update!(**args)
  @fstab = args[:fstab] if args.key?(:fstab)
  @hosts = args[:hosts] if args.key?(:hosts)
  @issue = args[:issue] if args.key?(:issue)
  @nfs_exports = args[:nfs_exports] if args.key?(:nfs_exports)
  @selinux = args[:selinux] if args.key?(:selinux)
end