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.



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

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

Instance Attribute Details

#fileString

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

Returns:

  • (String)


2892
2893
2894
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2892

def file
  @file
end

#freqFixnum

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

Returns:

  • (Fixnum)


2897
2898
2899
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2897

def freq
  @freq
end

#mntopsString

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

Returns:

  • (String)


2902
2903
2904
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2902

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)


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

def passno
  @passno
end

#specString

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

Returns:

  • (String)


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

def spec
  @spec
end

#vfstypeString

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

Returns:

  • (String)


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

def vfstype
  @vfstype
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2925
2926
2927
2928
2929
2930
2931
2932
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2925

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