Class: Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1ReplayResultsSummary
- Inherits:
-
Object
- Object
- Google::Apis::PolicysimulatorV1beta1::GoogleCloudPolicysimulatorV1ReplayResultsSummary
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/policysimulator_v1beta1/classes.rb,
lib/google/apis/policysimulator_v1beta1/representations.rb,
lib/google/apis/policysimulator_v1beta1/representations.rb
Overview
Summary statistics about the replayed log entries.
Instance Attribute Summary collapse
-
#difference_count ⇒ Fixnum
The number of replayed log entries with a difference between baseline and simulated policies.
-
#error_count ⇒ Fixnum
The number of log entries that could not be replayed.
-
#log_count ⇒ Fixnum
The total number of log entries replayed.
-
#newest_date ⇒ Google::Apis::PolicysimulatorV1beta1::GoogleTypeDate
The date of the newest log entry replayed.
-
#oldest_date ⇒ Google::Apis::PolicysimulatorV1beta1::GoogleTypeDate
The date of the oldest log entry replayed.
-
#unchanged_count ⇒ Fixnum
The number of replayed log entries with no difference between baseline and simulated policies.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1ReplayResultsSummary
constructor
A new instance of GoogleCloudPolicysimulatorV1ReplayResultsSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1ReplayResultsSummary
Returns a new instance of GoogleCloudPolicysimulatorV1ReplayResultsSummary.
154 155 156 |
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 154 def initialize(**args) update!(**args) end |
Instance Attribute Details
#difference_count ⇒ Fixnum
The number of replayed log entries with a difference between baseline and
simulated policies.
Corresponds to the JSON property differenceCount
126 127 128 |
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 126 def difference_count @difference_count end |
#error_count ⇒ Fixnum
The number of log entries that could not be replayed.
Corresponds to the JSON property errorCount
131 132 133 |
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 131 def error_count @error_count end |
#log_count ⇒ Fixnum
The total number of log entries replayed.
Corresponds to the JSON property logCount
136 137 138 |
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 136 def log_count @log_count end |
#newest_date ⇒ Google::Apis::PolicysimulatorV1beta1::GoogleTypeDate
The date of the newest log entry replayed.
Corresponds to the JSON property newestDate
141 142 143 |
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 141 def newest_date @newest_date end |
#oldest_date ⇒ Google::Apis::PolicysimulatorV1beta1::GoogleTypeDate
The date of the oldest log entry replayed.
Corresponds to the JSON property oldestDate
146 147 148 |
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 146 def oldest_date @oldest_date end |
#unchanged_count ⇒ Fixnum
The number of replayed log entries with no difference between baseline and
simulated policies.
Corresponds to the JSON property unchangedCount
152 153 154 |
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 152 def unchanged_count @unchanged_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
159 160 161 162 163 164 165 166 |
# File 'lib/google/apis/policysimulator_v1beta1/classes.rb', line 159 def update!(**args) @difference_count = args[:difference_count] if args.key?(:difference_count) @error_count = args[:error_count] if args.key?(:error_count) @log_count = args[:log_count] if args.key?(:log_count) @newest_date = args[:newest_date] if args.key?(:newest_date) @oldest_date = args[:oldest_date] if args.key?(:oldest_date) @unchanged_count = args[:unchanged_count] if args.key?(:unchanged_count) end |