Class: Google::Apis::MigrationcenterV1::GuestConfigDetails

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GuestConfigDetails

Returns a new instance of GuestConfigDetails.



1617
1618
1619
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1617

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

Instance Attribute Details

#fstabGoogle::Apis::MigrationcenterV1::FstabEntryList

Fstab content. Corresponds to the JSON property fstab



1595
1596
1597
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1595

def fstab
  @fstab
end

#hostsGoogle::Apis::MigrationcenterV1::HostsEntryList

Hosts content. Corresponds to the JSON property hosts



1600
1601
1602
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1600

def hosts
  @hosts
end

#issueString

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

Returns:

  • (String)


1605
1606
1607
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1605

def issue
  @issue
end

#nfs_exportsGoogle::Apis::MigrationcenterV1::NfsExportList

NFS exports. Corresponds to the JSON property nfsExports



1610
1611
1612
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1610

def nfs_exports
  @nfs_exports
end

#selinux_modeString

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

Returns:

  • (String)


1615
1616
1617
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1615

def selinux_mode
  @selinux_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1622
1623
1624
1625
1626
1627
1628
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1622

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