Class: Google::Apis::DataformV1beta1::DirectoryEntry

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

Represents a single entry in a directory.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DirectoryEntry

Returns a new instance of DirectoryEntry.



640
641
642
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 640

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

Instance Attribute Details

#directoryString

A child directory in the directory. Corresponds to the JSON property directory

Returns:

  • (String)


633
634
635
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 633

def directory
  @directory
end

#fileString

A file in the directory. Corresponds to the JSON property file

Returns:

  • (String)


638
639
640
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 638

def file
  @file
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



645
646
647
648
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 645

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