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.



4115
4116
4117
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4115

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

Instance Attribute Details

#fstabGoogle::Apis::MigrationcenterV1alpha1::FstabEntryList

Fstab content. Corresponds to the JSON property fstab



4088
4089
4090
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4088

def fstab
  @fstab
end

#hostsGoogle::Apis::MigrationcenterV1alpha1::HostsEntryList

Hosts content. Corresponds to the JSON property hosts



4093
4094
4095
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4093

def hosts
  @hosts
end

#issueString

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

Returns:

  • (String)


4098
4099
4100
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4098

def issue
  @issue
end

#nfs_exportsGoogle::Apis::MigrationcenterV1alpha1::NfsExportList

NFS exports. Corresponds to the JSON property nfsExports



4103
4104
4105
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4103

def nfs_exports
  @nfs_exports
end

#selinuxGoogle::Apis::MigrationcenterV1alpha1::Selinux

SELinux details. Corresponds to the JSON property selinux



4108
4109
4110
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4108

def selinux
  @selinux
end

#selinux_modeString

Security-Enhanced Linux (SELinux) mode. Corresponds to the JSON property selinuxMode

Returns:

  • (String)


4113
4114
4115
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4113

def selinux_mode
  @selinux_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4120
4121
4122
4123
4124
4125
4126
4127
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4120

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)
  @selinux_mode = args[:selinux_mode] if args.key?(:selinux_mode)
end