Class: Google::Apis::StoragetransferV1::HdfsData
- Inherits:
-
Object
- Object
- Google::Apis::StoragetransferV1::HdfsData
- 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
An HdfsData resource specifies a path within an HDFS entity (e.g. a cluster). All cluster-specific settings, such as namenodes and ports, are configured on the transfer agents servicing requests, so HdfsData only contains the root path to the data in our transfer.
Instance Attribute Summary collapse
-
#path ⇒ String
Root path to transfer files.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HdfsData
constructor
A new instance of HdfsData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HdfsData
Returns a new instance of HdfsData.
568 569 570 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 568 def initialize(**args) update!(**args) end |
Instance Attribute Details
#path ⇒ String
Root path to transfer files.
Corresponds to the JSON property path
566 567 568 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 566 def path @path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
573 574 575 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 573 def update!(**args) @path = args[:path] if args.key?(:path) end |