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.



1719
1720
1721
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1719

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

Instance Attribute Details

#fstabGoogle::Apis::MigrationcenterV1alpha1::FstabEntryList

Fstab content. Corresponds to the JSON property fstab



1697
1698
1699
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1697

def fstab
  @fstab
end

#hostsGoogle::Apis::MigrationcenterV1alpha1::HostsEntryList

Hosts content. Corresponds to the JSON property hosts



1702
1703
1704
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1702

def hosts
  @hosts
end

#issueString

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

Returns:

  • (String)


1707
1708
1709
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1707

def issue
  @issue
end

#nfs_exportsGoogle::Apis::MigrationcenterV1alpha1::NfsExportList

NFS exports. Corresponds to the JSON property nfsExports



1712
1713
1714
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1712

def nfs_exports
  @nfs_exports
end

#selinuxGoogle::Apis::MigrationcenterV1alpha1::Selinux

SELinux details. Corresponds to the JSON property selinux



1717
1718
1719
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1717

def selinux
  @selinux
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1724
1725
1726
1727
1728
1729
1730
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1724

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