Class: Google::Apis::DataflowV1b3::StageSource

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 input or output of an execution stage.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StageSource

Returns a new instance of StageSource.



5348
5349
5350
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5348

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)


5330
5331
5332
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5330

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)


5336
5337
5338
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5336

def original_transform_or_collection
  @original_transform_or_collection
end

#size_bytesFixnum

Size of the source, if measurable. Corresponds to the JSON property sizeBytes

Returns:

  • (Fixnum)


5341
5342
5343
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5341

def size_bytes
  @size_bytes
end

#user_nameString

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

Returns:

  • (String)


5346
5347
5348
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5346

def user_name
  @user_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5353
5354
5355
5356
5357
5358
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5353

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)
  @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
  @user_name = args[:user_name] if args.key?(:user_name)
end