Class: Google::Apis::DataflowV1b3::ComponentTransform

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dataflow_v1b3/classes.rb,
generated/google/apis/dataflow_v1b3/representations.rb,
generated/google/apis/dataflow_v1b3/representations.rb

Overview

Description of a transform executed as part of an execution stage.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ComponentTransform

Returns a new instance of ComponentTransform



368
369
370
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 368

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

Instance Attribute Details

#nameString

Dataflow service generated name for this source. Corresponds to the JSON property name

Returns:

  • (String)


355
356
357
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 355

def name
  @name
end

#original_transformString

User name for the original user transform with which this transform is most closely associated. Corresponds to the JSON property originalTransform

Returns:

  • (String)


361
362
363
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 361

def original_transform
  @original_transform
end

#user_nameString

Human-readable name for this transform; may be user or system generated. Corresponds to the JSON property userName

Returns:

  • (String)


366
367
368
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 366

def user_name
  @user_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



373
374
375
376
377
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 373

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @original_transform = args[:original_transform] if args.key?(:original_transform)
  @user_name = args[:user_name] if args.key?(:user_name)
end