Class: Google::Apis::DataformV1beta1::Notebook

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 notebook.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Notebook

Returns a new instance of Notebook.



2320
2321
2322
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2320

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

Instance Attribute Details

#contentsString

The contents of the notebook. Corresponds to the JSON property contents

Returns:

  • (String)


2302
2303
2304
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2302

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



2307
2308
2309
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2307

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)


2312
2313
2314
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2312

def disabled
  @disabled
end

#tagsArray<String>

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

Returns:

  • (Array<String>)


2318
2319
2320
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2318

def tags
  @tags
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2325
2326
2327
2328
2329
2330
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 2325

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