Class: Google::Apis::StoragetransferV1::PosixFilesystem

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/storagetransfer_v1/classes.rb,
lib/google/apis/storagetransfer_v1/representations.rb,
lib/google/apis/storagetransfer_v1/representations.rb

Overview

A POSIX filesystem resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PosixFilesystem

Returns a new instance of PosixFilesystem.



1049
1050
1051
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1049

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

Instance Attribute Details

#root_directoryString

Root directory path to the filesystem. Corresponds to the JSON property rootDirectory

Returns:

  • (String)


1047
1048
1049
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1047

def root_directory
  @root_directory
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1054
1055
1056
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 1054

def update!(**args)
  @root_directory = args[:root_directory] if args.key?(:root_directory)
end