Class: Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayResultsSummary
- Inherits:
-
Object
- Object
- Google::Apis::PolicysimulatorV1beta::GoogleCloudPolicysimulatorV1betaReplayResultsSummary
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/policysimulator_v1beta/classes.rb,
lib/google/apis/policysimulator_v1beta/representations.rb,
lib/google/apis/policysimulator_v1beta/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::PolicysimulatorV1beta::GoogleTypeDate
Represents a whole or partial calendar date, such as a birthday.
-
#oldest_date ⇒ Google::Apis::PolicysimulatorV1beta::GoogleTypeDate
Represents a whole or partial calendar date, such as a birthday.
-
#unchanged_count ⇒ Fixnum
The number of replayed log entries with no difference between baseline and simulated policies.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1betaReplayResultsSummary
constructor
A new instance of GoogleCloudPolicysimulatorV1betaReplayResultsSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPolicysimulatorV1betaReplayResultsSummary
Returns a new instance of GoogleCloudPolicysimulatorV1betaReplayResultsSummary.
1713 1714 1715 |
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1713 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
1671 1672 1673 |
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1671 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
1676 1677 1678 |
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1676 def error_count @error_count end |
#log_count ⇒ Fixnum
The total number of log entries replayed.
Corresponds to the JSON property logCount
1681 1682 1683 |
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1681 def log_count @log_count end |
#newest_date ⇒ Google::Apis::PolicysimulatorV1beta::GoogleTypeDate
Represents a whole or partial calendar date, such as a birthday. The time of
day and time zone are either specified elsewhere or are insignificant. The
date is relative to the Gregorian Calendar. This can represent one of the
following: * A full date, with non-zero year, month, and day values. * A month
and day, with a zero year (for example, an anniversary). * A year on its own,
with a zero month and a zero day. * A year and month, with a zero day (for
example, a credit card expiration date). Related types: * google.type.
TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
Corresponds to the JSON property newestDate
1693 1694 1695 |
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1693 def newest_date @newest_date end |
#oldest_date ⇒ Google::Apis::PolicysimulatorV1beta::GoogleTypeDate
Represents a whole or partial calendar date, such as a birthday. The time of
day and time zone are either specified elsewhere or are insignificant. The
date is relative to the Gregorian Calendar. This can represent one of the
following: * A full date, with non-zero year, month, and day values. * A month
and day, with a zero year (for example, an anniversary). * A year on its own,
with a zero month and a zero day. * A year and month, with a zero day (for
example, a credit card expiration date). Related types: * google.type.
TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
Corresponds to the JSON property oldestDate
1705 1706 1707 |
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1705 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
1711 1712 1713 |
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1711 def unchanged_count @unchanged_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1718 1719 1720 1721 1722 1723 1724 1725 |
# File 'lib/google/apis/policysimulator_v1beta/classes.rb', line 1718 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 |