Class: Google::Apis::DataformV1beta1::MoveFileRequest
- Inherits:
-
Object
- Object
- Google::Apis::DataformV1beta1::MoveFileRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataform_v1beta1/classes.rb,
lib/google/apis/dataform_v1beta1/representations.rb,
lib/google/apis/dataform_v1beta1/representations.rb
Overview
MoveFile request message.
Instance Attribute Summary collapse
-
#new_path ⇒ String
Required.
-
#path ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MoveFileRequest
constructor
A new instance of MoveFileRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MoveFileRequest
Returns a new instance of MoveFileRequest.
1508 1509 1510 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1508 def initialize(**args) update!(**args) end |
Instance Attribute Details
#new_path ⇒ String
Required. The file's new path including filename, relative to the workspace
root.
Corresponds to the JSON property newPath
1500 1501 1502 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1500 def new_path @new_path end |
#path ⇒ String
Required. The file's full path including filename, relative to the workspace
root.
Corresponds to the JSON property path
1506 1507 1508 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1506 def path @path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1513 1514 1515 1516 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1513 def update!(**args) @new_path = args[:new_path] if args.key?(:new_path) @path = args[:path] if args.key?(:path) end |