Class: Google::Apis::DataflowV1b3::InstructionOutput
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::InstructionOutput
- 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
An output of an instruction.
Instance Attribute Summary collapse
-
#codec ⇒ Hash<String,Object>
The codec to use to encode data being written via this output.
-
#name ⇒ String
The user-provided name of this output.
-
#only_count_key_bytes ⇒ Boolean
(also: #only_count_key_bytes?)
For system-generated byte and mean byte metrics, certain instructions should only report the key size.
-
#only_count_value_bytes ⇒ Boolean
(also: #only_count_value_bytes?)
For system-generated byte and mean byte metrics, certain instructions should only report the value size.
-
#original_name ⇒ String
System-defined name for this output in the original workflow graph.
-
#system_name ⇒ String
System-defined name of this output.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstructionOutput
constructor
A new instance of InstructionOutput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ InstructionOutput
Returns a new instance of InstructionOutput
1475 1476 1477 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1475 def initialize(**args) update!(**args) end |
Instance Attribute Details
#codec ⇒ Hash<String,Object>
The codec to use to encode data being written via this output.
Corresponds to the JSON property codec
1442 1443 1444 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1442 def codec @codec end |
#name ⇒ String
The user-provided name of this output.
Corresponds to the JSON property name
1447 1448 1449 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1447 def name @name end |
#only_count_key_bytes ⇒ Boolean Also known as: only_count_key_bytes?
For system-generated byte and mean byte metrics, certain instructions
should only report the key size.
Corresponds to the JSON property onlyCountKeyBytes
1453 1454 1455 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1453 def only_count_key_bytes @only_count_key_bytes end |
#only_count_value_bytes ⇒ Boolean Also known as: only_count_value_bytes?
For system-generated byte and mean byte metrics, certain instructions
should only report the value size.
Corresponds to the JSON property onlyCountValueBytes
1460 1461 1462 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1460 def only_count_value_bytes @only_count_value_bytes end |
#original_name ⇒ String
System-defined name for this output in the original workflow graph.
Outputs that do not contribute to an original instruction do not set this.
Corresponds to the JSON property originalName
1467 1468 1469 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1467 def original_name @original_name end |
#system_name ⇒ String
System-defined name of this output.
Unique across the workflow.
Corresponds to the JSON property systemName
1473 1474 1475 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1473 def system_name @system_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1480 1481 1482 1483 1484 1485 1486 1487 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1480 def update!(**args) @codec = args[:codec] if args.key?(:codec) @name = args[:name] if args.key?(:name) @only_count_key_bytes = args[:only_count_key_bytes] if args.key?(:only_count_key_bytes) @only_count_value_bytes = args[:only_count_value_bytes] if args.key?(:only_count_value_bytes) @original_name = args[:original_name] if args.key?(:original_name) @system_name = args[:system_name] if args.key?(:system_name) end |