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.
629 630 631 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 629 def initialize(**args) update!(**args) end |
Instance Attribute Details
#path ⇒ String
Root path to transfer files.
Corresponds to the JSON property path
627 628 629 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 627 def path @path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
634 635 636 |
# File 'lib/google/apis/storagetransfer_v1/classes.rb', line 634 def update!(**args) @path = args[:path] if args.key?(:path) end |