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.



539
540
541
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 539

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

Instance Attribute Details

#directoryString

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

Returns:

  • (String)


532
533
534
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 532

def directory
  @directory
end

#fileString

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

Returns:

  • (String)


537
538
539
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 537

def file
  @file
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



544
545
546
547
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 544

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