Class: Google::Apis::DataflowV1b3::ComponentSource

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 an interstitial value between transforms in an execution stage.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ComponentSource

Returns a new instance of ComponentSource.



391
392
393
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 391

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)


378
379
380
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 378

def name
  @name
end

#original_transform_or_collectionString

User name for the original user transform or collection with which this source is most closely associated. Corresponds to the JSON property originalTransformOrCollection

Returns:

  • (String)


384
385
386
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 384

def original_transform_or_collection
  @original_transform_or_collection
end

#user_nameString

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

Returns:

  • (String)


389
390
391
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 389

def user_name
  @user_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



396
397
398
399
400
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 396

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