Class: Google::Apis::MigrationcenterV1alpha1::FstabEntry
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::FstabEntry
- 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
-
#file ⇒ String
The mount point for the filesystem.
-
#freq ⇒ Fixnum
Used by dump to determine which filesystems need to be dumped.
-
#mntops ⇒ String
Mount options associated with the filesystem.
-
#passno ⇒ Fixnum
Used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time.
-
#spec ⇒ String
The block special device or remote filesystem to be mounted.
-
#vfstype ⇒ String
The type of the filesystem.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FstabEntry
constructor
A new instance of FstabEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FstabEntry
Returns a new instance of FstabEntry.
1545 1546 1547 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1545 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file ⇒ String
The mount point for the filesystem.
Corresponds to the JSON property file
1517 1518 1519 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1517 def file @file end |
#freq ⇒ Fixnum
Used by dump to determine which filesystems need to be dumped.
Corresponds to the JSON property freq
1522 1523 1524 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1522 def freq @freq end |
#mntops ⇒ String
Mount options associated with the filesystem.
Corresponds to the JSON property mntops
1527 1528 1529 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1527 def mntops @mntops end |
#passno ⇒ Fixnum
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
1533 1534 1535 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1533 def passno @passno end |
#spec ⇒ String
The block special device or remote filesystem to be mounted.
Corresponds to the JSON property spec
1538 1539 1540 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1538 def spec @spec end |
#vfstype ⇒ String
The type of the filesystem.
Corresponds to the JSON property vfstype
1543 1544 1545 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1543 def vfstype @vfstype end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1550 1551 1552 1553 1554 1555 1556 1557 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1550 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 |