Class: Google::Apis::DataformV1beta1::MoveDirectoryRequest

Inherits:
Object
  • Object
show all
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

MoveDirectory request message.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MoveDirectoryRequest

Returns a new instance of MoveDirectoryRequest.



1610
1611
1612
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1610

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

Instance Attribute Details

#new_pathString

Required. The new path for the directory including directory name, rooted at workspace root. Corresponds to the JSON property newPath

Returns:

  • (String)


1602
1603
1604
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1602

def new_path
  @new_path
end

#pathString

Required. The directory's full path including directory name, relative to the workspace root. Corresponds to the JSON property path

Returns:

  • (String)


1608
1609
1610
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1608

def path
  @path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1615
1616
1617
1618
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1615

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