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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/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

Constructor Details

#initialize(**args) ⇒ ComponentTransform

Returns a new instance of ComponentTransform.



365
366
367
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 365

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)


352
353
354
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 352

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)


358
359
360
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 358

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)


363
364
365
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 363

def user_name
  @user_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



370
371
372
373
374
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 370

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