Class: Liteguard::RateLimitDecision

Inherits:
Data
  • Object
show all
Defined in:
lib/liteguard/types.rb

Overview

RateLimitDecision (mirrors proto message).

Instance Attribute Summary collapse

Instance Attribute Details

#count_in_windowObject (readonly)

Returns the value of attribute count_in_window

Returns:

  • (Object)

    the current value of count_in_window



121
122
123
# File 'lib/liteguard/types.rb', line 121

def count_in_window
  @count_in_window
end

#dry_run_idObject (readonly)

Returns the value of attribute dry_run_id

Returns:

  • (Object)

    the current value of dry_run_id



121
122
123
# File 'lib/liteguard/types.rb', line 121

def dry_run_id
  @dry_run_id
end

#evaluation_targetObject (readonly)

Returns the value of attribute evaluation_target

Returns:

  • (Object)

    the current value of evaluation_target



121
122
123
# File 'lib/liteguard/types.rb', line 121

def evaluation_target
  @evaluation_target
end

#outcomeObject (readonly)

Returns the value of attribute outcome

Returns:

  • (Object)

    the current value of outcome



121
122
123
# File 'lib/liteguard/types.rb', line 121

def outcome
  @outcome
end

#partition_propertiesObject (readonly)

Returns the value of attribute partition_properties

Returns:

  • (Object)

    the current value of partition_properties



121
122
123
# File 'lib/liteguard/types.rb', line 121

def partition_properties
  @partition_properties
end

#partition_valuesObject (readonly)

Returns the value of attribute partition_values

Returns:

  • (Object)

    the current value of partition_values



121
122
123
# File 'lib/liteguard/types.rb', line 121

def partition_values
  @partition_values
end

#requests_per_minuteObject (readonly)

Returns the value of attribute requests_per_minute

Returns:

  • (Object)

    the current value of requests_per_minute



121
122
123
# File 'lib/liteguard/types.rb', line 121

def requests_per_minute
  @requests_per_minute
end