Class: Google::Apis::DataflowV1b3::StageSource
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::StageSource
- 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
-
#name ⇒ String
Dataflow service generated name for this source.
-
#original_transform_or_collection ⇒ String
User name for the original user transform or collection with which this source is most closely associated.
-
#size_bytes ⇒ Fixnum
Size of the source, if measurable.
-
#user_name ⇒ String
Human-readable name for this source; may be user or system generated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StageSource
constructor
A new instance of StageSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StageSource
Returns a new instance of StageSource.
5682 5683 5684 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5682 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Dataflow service generated name for this source.
Corresponds to the JSON property name
5664 5665 5666 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5664 def name @name end |
#original_transform_or_collection ⇒ String
User name for the original user transform or collection with which this source
is most closely associated.
Corresponds to the JSON property originalTransformOrCollection
5670 5671 5672 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5670 def original_transform_or_collection @original_transform_or_collection end |
#size_bytes ⇒ Fixnum
Size of the source, if measurable.
Corresponds to the JSON property sizeBytes
5675 5676 5677 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5675 def size_bytes @size_bytes end |
#user_name ⇒ String
Human-readable name for this source; may be user or system generated.
Corresponds to the JSON property userName
5680 5681 5682 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5680 def user_name @user_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5687 5688 5689 5690 5691 5692 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5687 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 |