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.



689
690
691
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 689

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

Instance Attribute Details

#directoryString

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

Returns:

  • (String)


682
683
684
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 682

def directory
  @directory
end

#fileString

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

Returns:

  • (String)


687
688
689
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 687

def file
  @file
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



694
695
696
697
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 694

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