class Google::Apis::GamesV1::AggregateStats

This is a JSON template for aggregate stats.

Attributes

count[RW]

The number of messages sent between a pair of peers. Corresponds to the JSON property `count` @return [String]

kind[RW]

Uniquely identifies the type of this resource. Value is always the fixed string games#aggregateStats. Corresponds to the JSON property `kind` @return [String]

max[RW]

The maximum amount. Corresponds to the JSON property `max` @return [String]

min[RW]

The minimum amount. Corresponds to the JSON property `min` @return [String]

sum[RW]

The total number of bytes sent for messages between a pair of peers. Corresponds to the JSON property `sum` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/games_v1/classes.rb, line 480
def update!(**args)
  @count = args[:count] if args.key?(:count)
  @kind = args[:kind] if args.key?(:kind)
  @max = args[:max] if args.key?(:max)
  @min = args[:min] if args.key?(:min)
  @sum = args[:sum] if args.key?(:sum)
end