Class: Google::Apis::MigrationcenterV1alpha1::FstabEntry

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

Single fstab entry.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FstabEntry

Returns a new instance of FstabEntry.



1762
1763
1764
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1762

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

Instance Attribute Details

#fileString

The mount point for the filesystem. Corresponds to the JSON property file

Returns:

  • (String)


1734
1735
1736
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1734

def file
  @file
end

#freqFixnum

Used by dump to determine which filesystems need to be dumped. Corresponds to the JSON property freq

Returns:

  • (Fixnum)


1739
1740
1741
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1739

def freq
  @freq
end

#mntopsString

Mount options associated with the filesystem. Corresponds to the JSON property mntops

Returns:

  • (String)


1744
1745
1746
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1744

def mntops
  @mntops
end

#passnoFixnum

Used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time. Corresponds to the JSON property passno

Returns:

  • (Fixnum)


1750
1751
1752
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1750

def passno
  @passno
end

#specString

The block special device or remote filesystem to be mounted. Corresponds to the JSON property spec

Returns:

  • (String)


1755
1756
1757
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1755

def spec
  @spec
end

#vfstypeString

The type of the filesystem. Corresponds to the JSON property vfstype

Returns:

  • (String)


1760
1761
1762
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1760

def vfstype
  @vfstype
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1767
1768
1769
1770
1771
1772
1773
1774
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1767

def update!(**args)
  @file = args[:file] if args.key?(:file)
  @freq = args[:freq] if args.key?(:freq)
  @mntops = args[:mntops] if args.key?(:mntops)
  @passno = args[:passno] if args.key?(:passno)
  @spec = args[:spec] if args.key?(:spec)
  @vfstype = args[:vfstype] if args.key?(:vfstype)
end