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.



2931
2932
2933
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2931

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

Instance Attribute Details

#fstabGoogle::Apis::MigrationcenterV1alpha1::FstabEntryList

Fstab content. Corresponds to the JSON property fstab



2909
2910
2911
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2909

def fstab
  @fstab
end

#hostsGoogle::Apis::MigrationcenterV1alpha1::HostsEntryList

Hosts content. Corresponds to the JSON property hosts



2914
2915
2916
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2914

def hosts
  @hosts
end

#issueString

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

Returns:

  • (String)


2919
2920
2921
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2919

def issue
  @issue
end

#nfs_exportsGoogle::Apis::MigrationcenterV1alpha1::NfsExportList

NFS exports. Corresponds to the JSON property nfsExports



2924
2925
2926
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2924

def nfs_exports
  @nfs_exports
end

#selinuxGoogle::Apis::MigrationcenterV1alpha1::Selinux

SELinux details. Corresponds to the JSON property selinux



2929
2930
2931
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2929

def selinux
  @selinux
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2936
2937
2938
2939
2940
2941
2942
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2936

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