Class: Google::Apis::DataformV1beta1::DataPreparation

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

Defines a compiled Data Preparation entity

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DataPreparation

Returns a new instance of DataPreparation.



771
772
773
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 771

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

Instance Attribute Details

#contentsString

The data preparation definition, stored as a binary encoded proto. Corresponds to the JSON property contents NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


753
754
755
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 753

def contents
  @contents
end

#dependency_targetsArray<Google::Apis::DataformV1beta1::Target>

A list of actions that this action depends on. Corresponds to the JSON property dependencyTargets



758
759
760
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 758

def dependency_targets
  @dependency_targets
end

#disabledBoolean Also known as: disabled?

Whether this action is disabled (i.e. should not be run). Corresponds to the JSON property disabled

Returns:

  • (Boolean)


763
764
765
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 763

def disabled
  @disabled
end

#tagsArray<String>

Arbitrary, user-defined tags on this action. Corresponds to the JSON property tags

Returns:

  • (Array<String>)


769
770
771
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 769

def tags
  @tags
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



776
777
778
779
780
781
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 776

def update!(**args)
  @contents = args[:contents] if args.key?(:contents)
  @dependency_targets = args[:dependency_targets] if args.key?(:dependency_targets)
  @disabled = args[:disabled] if args.key?(:disabled)
  @tags = args[:tags] if args.key?(:tags)
end