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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ InstructionOutput

Returns a new instance of InstructionOutput



4373
4374
4375
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4373

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>)


4366
4367
4368
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4366

def codec
  @codec
end

#nameString

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

Returns:

  • (String)


4371
4372
4373
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4371

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)


4347
4348
4349
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4347

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)


4360
4361
4362
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4360

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)


4341
4342
4343
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4341

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)


4354
4355
4356
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4354

def system_name
  @system_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4378
4379
4380
4381
4382
4383
4384
4385
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4378

def update!(**args)
  @original_name = args[:original_name] if args.key?(:original_name)
  @only_count_key_bytes = args[:only_count_key_bytes] if args.key?(:only_count_key_bytes)
  @system_name = args[:system_name] if args.key?(:system_name)
  @only_count_value_bytes = args[:only_count_value_bytes] if args.key?(:only_count_value_bytes)
  @codec = args[:codec] if args.key?(:codec)
  @name = args[:name] if args.key?(:name)
end