Class: Google::Apis::MigrationcenterV1alpha1::GuestConfigDetails
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::GuestConfigDetails
- 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
-
#fstab ⇒ Google::Apis::MigrationcenterV1alpha1::FstabEntryList
Fstab content.
-
#hosts ⇒ Google::Apis::MigrationcenterV1alpha1::HostsEntryList
Hosts content.
-
#issue ⇒ String
OS issue (typically /etc/issue in Linux).
-
#nfs_exports ⇒ Google::Apis::MigrationcenterV1alpha1::NfsExportList
NFS exports.
-
#selinux ⇒ Google::Apis::MigrationcenterV1alpha1::Selinux
SELinux details.
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.
3136 3137 3138 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3136 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fstab ⇒ Google::Apis::MigrationcenterV1alpha1::FstabEntryList
Fstab content.
Corresponds to the JSON property fstab
3114 3115 3116 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3114 def fstab @fstab end |
#hosts ⇒ Google::Apis::MigrationcenterV1alpha1::HostsEntryList
Hosts content.
Corresponds to the JSON property hosts
3119 3120 3121 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3119 def hosts @hosts end |
#issue ⇒ String
OS issue (typically /etc/issue in Linux).
Corresponds to the JSON property issue
3124 3125 3126 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3124 def issue @issue end |
#nfs_exports ⇒ Google::Apis::MigrationcenterV1alpha1::NfsExportList
NFS exports.
Corresponds to the JSON property nfsExports
3129 3130 3131 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3129 def nfs_exports @nfs_exports end |
#selinux ⇒ Google::Apis::MigrationcenterV1alpha1::Selinux
SELinux details.
Corresponds to the JSON property selinux
3134 3135 3136 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3134 def selinux @selinux end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3141 3142 3143 3144 3145 3146 3147 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3141 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 |