Class: Google::Apis::MigrationcenterV1::GuestConfigDetails
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::GuestConfigDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/representations.rb
Overview
Guest OS config information.
Instance Attribute Summary collapse
-
#fstab ⇒ Google::Apis::MigrationcenterV1::FstabEntryList
Fstab content.
-
#hosts ⇒ Google::Apis::MigrationcenterV1::HostsEntryList
Hosts content.
-
#issue ⇒ String
OS issue (typically /etc/issue in Linux).
-
#nfs_exports ⇒ Google::Apis::MigrationcenterV1::NfsExportList
NFS exports.
-
#selinux_mode ⇒ String
Security-Enhanced Linux (SELinux) mode.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GuestConfigDetails
constructor
A new instance of GuestConfigDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GuestConfigDetails
Returns a new instance of GuestConfigDetails.
1778 1779 1780 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1778 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fstab ⇒ Google::Apis::MigrationcenterV1::FstabEntryList
Fstab content.
Corresponds to the JSON property fstab
1756 1757 1758 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1756 def fstab @fstab end |
#hosts ⇒ Google::Apis::MigrationcenterV1::HostsEntryList
Hosts content.
Corresponds to the JSON property hosts
1761 1762 1763 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1761 def hosts @hosts end |
#issue ⇒ String
OS issue (typically /etc/issue in Linux).
Corresponds to the JSON property issue
1766 1767 1768 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1766 def issue @issue end |
#nfs_exports ⇒ Google::Apis::MigrationcenterV1::NfsExportList
NFS exports.
Corresponds to the JSON property nfsExports
1771 1772 1773 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1771 def nfs_exports @nfs_exports end |
#selinux_mode ⇒ String
Security-Enhanced Linux (SELinux) mode.
Corresponds to the JSON property selinuxMode
1776 1777 1778 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1776 def selinux_mode @selinux_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1783 1784 1785 1786 1787 1788 1789 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1783 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_mode = args[:selinux_mode] if args.key?(:selinux_mode) end |