class Google::Apis::DataflowV1b3::CounterUpdate

An update to a Counter sent from a worker.

Attributes

boolean[RW]

Boolean value for And, Or. Corresponds to the JSON property `boolean` @return [Boolean]

boolean?[RW]

Boolean value for And, Or. Corresponds to the JSON property `boolean` @return [Boolean]

cumulative[RW]

True if this counter is reported as the total cumulative aggregate value accumulated since the worker started working on this WorkItem. By default this is false, indicating that this counter is reported as a delta. Corresponds to the JSON property `cumulative` @return [Boolean]

cumulative?[RW]

True if this counter is reported as the total cumulative aggregate value accumulated since the worker started working on this WorkItem. By default this is false, indicating that this counter is reported as a delta. Corresponds to the JSON property `cumulative` @return [Boolean]

distribution[RW]

A metric value representing a distribution. Corresponds to the JSON property `distribution` @return [Google::Apis::DataflowV1b3::DistributionUpdate]

floating_point[RW]

Floating point value for Sum, Max, Min. Corresponds to the JSON property `floatingPoint` @return [Float]

floating_point_list[RW]

A metric value representing a list of floating point numbers. Corresponds to the JSON property `floatingPointList` @return [Google::Apis::DataflowV1b3::FloatingPointList]

floating_point_mean[RW]

A representation of a floating point mean metric contribution. Corresponds to the JSON property `floatingPointMean` @return [Google::Apis::DataflowV1b3::FloatingPointMean]

integer[RW]

A representation of an int64, n, that is immune to precision loss when encoded in JSON. Corresponds to the JSON property `integer` @return [Google::Apis::DataflowV1b3::SplitInt64]

integer_gauge[RW]

A metric value representing temporal values of a variable. Corresponds to the JSON property `integerGauge` @return [Google::Apis::DataflowV1b3::IntegerGauge]

integer_list[RW]

A metric value representing a list of integers. Corresponds to the JSON property `integerList` @return [Google::Apis::DataflowV1b3::IntegerList]

integer_mean[RW]

A representation of an integer mean metric contribution. Corresponds to the JSON property `integerMean` @return [Google::Apis::DataflowV1b3::IntegerMean]

internal[RW]

Value for internally-defined counters used by the Dataflow service. Corresponds to the JSON property `internal` @return [Object]

name_and_kind[RW]

Basic metadata about a counter. Corresponds to the JSON property `nameAndKind` @return [Google::Apis::DataflowV1b3::NameAndKind]

short_id[RW]

The service-generated short identifier for this counter. The short_id -> (name, metadata) mapping is constant for the lifetime of a job. Corresponds to the JSON property `shortId` @return [Fixnum]

string_list[RW]

A metric value representing a list of strings. Corresponds to the JSON property `stringList` @return [Google::Apis::DataflowV1b3::StringList]

structured_name_and_metadata[RW]

A single message which encapsulates structured name and metadata for a given counter. Corresponds to the JSON property `structuredNameAndMetadata` @return [Google::Apis::DataflowV1b3::CounterStructuredNameAndMetadata]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataflow_v1b3/classes.rb, line 723
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dataflow_v1b3/classes.rb, line 728
def update!(**args)
  @boolean = args[:boolean] if args.key?(:boolean)
  @cumulative = args[:cumulative] if args.key?(:cumulative)
  @distribution = args[:distribution] if args.key?(:distribution)
  @floating_point = args[:floating_point] if args.key?(:floating_point)
  @floating_point_list = args[:floating_point_list] if args.key?(:floating_point_list)
  @floating_point_mean = args[:floating_point_mean] if args.key?(:floating_point_mean)
  @integer = args[:integer] if args.key?(:integer)
  @integer_gauge = args[:integer_gauge] if args.key?(:integer_gauge)
  @integer_list = args[:integer_list] if args.key?(:integer_list)
  @integer_mean = args[:integer_mean] if args.key?(:integer_mean)
  @internal = args[:internal] if args.key?(:internal)
  @name_and_kind = args[:name_and_kind] if args.key?(:name_and_kind)
  @short_id = args[:short_id] if args.key?(:short_id)
  @string_list = args[:string_list] if args.key?(:string_list)
  @structured_name_and_metadata = args[:structured_name_and_metadata] if args.key?(:structured_name_and_metadata)
end