class Google::Apis::FirebaserulesV1::ValueCount

Tuple for how many times an Expression was evaluated to a particular ExpressionValue.

Attributes

count[RW]

The amount of times that expression returned. Corresponds to the JSON property `count` @return [Fixnum]

value[RW]

The return value of the expression Corresponds to the JSON property `value` @return [Object]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/firebaserules_v1/classes.rb, line 778
def update!(**args)
  @count = args[:count] if args.key?(:count)
  @value = args[:value] if args.key?(:value)
end