Class: Google::Apis::DataflowV1b3::InstructionOutput

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

An output of an instruction.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstructionOutput

Returns a new instance of InstructionOutput.



1917
1918
1919
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1917

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#codecHash<String,Object>

The codec to use to encode data being written via this output. Corresponds to the JSON property codec

Returns:

  • (Hash<String,Object>)


1885
1886
1887
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1885

def codec
  @codec
end

#nameString

The user-provided name of this output. Corresponds to the JSON property name

Returns:

  • (String)


1890
1891
1892
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1890

def name
  @name
end

#only_count_key_bytesBoolean 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

Returns:

  • (Boolean)


1896
1897
1898
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1896

def only_count_key_bytes
  @only_count_key_bytes
end

#only_count_value_bytesBoolean 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

Returns:

  • (Boolean)


1903
1904
1905
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1903

def only_count_value_bytes
  @only_count_value_bytes
end

#original_nameString

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

Returns:

  • (String)


1910
1911
1912
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1910

def original_name
  @original_name
end

#system_nameString

System-defined name of this output. Unique across the workflow. Corresponds to the JSON property systemName

Returns:

  • (String)


1915
1916
1917
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1915

def system_name
  @system_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1922
1923
1924
1925
1926
1927
1928
1929
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1922

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