Google Cloud Policy Simulator V1 Client - Class ResultsSummary (1.0.2)

Reference documentation and code samples for the Google Cloud Policy Simulator V1 Client class ResultsSummary.

Summary statistics about the replayed log entries.

Generated from protobuf message google.cloud.policysimulator.v1.Replay.ResultsSummary

Namespace

Google \ Cloud \ PolicySimulator \ V1 \ Replay

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ log_count int

The total number of log entries replayed.

↳ unchanged_count int

The number of replayed log entries with no difference between baseline and simulated policies.

↳ difference_count int

The number of replayed log entries with a difference between baseline and simulated policies.

↳ error_count int

The number of log entries that could not be replayed.

↳ oldest_date Google\Type\Date

The date of the oldest log entry replayed.

↳ newest_date Google\Type\Date

The date of the newest log entry replayed.

getLogCount

The total number of log entries replayed.

Returns
Type Description
int

setLogCount

The total number of log entries replayed.

Parameter
Name Description
var int
Returns
Type Description
$this

getUnchangedCount

The number of replayed log entries with no difference between baseline and simulated policies.

Returns
Type Description
int

setUnchangedCount

The number of replayed log entries with no difference between baseline and simulated policies.

Parameter
Name Description
var int
Returns
Type Description
$this

getDifferenceCount

The number of replayed log entries with a difference between baseline and simulated policies.

Returns
Type Description
int

setDifferenceCount

The number of replayed log entries with a difference between baseline and simulated policies.

Parameter
Name Description
var int
Returns
Type Description
$this

getErrorCount

The number of log entries that could not be replayed.

Returns
Type Description
int

setErrorCount

The number of log entries that could not be replayed.

Parameter
Name Description
var int
Returns
Type Description
$this

getOldestDate

The date of the oldest log entry replayed.

Returns
Type Description
Google\Type\Date|null

hasOldestDate

clearOldestDate

setOldestDate

The date of the oldest log entry replayed.

Parameter
Name Description
var Google\Type\Date
Returns
Type Description
$this

getNewestDate

The date of the newest log entry replayed.

Returns
Type Description
Google\Type\Date|null

hasNewestDate

clearNewestDate

setNewestDate

The date of the newest log entry replayed.

Parameter
Name Description
var Google\Type\Date
Returns
Type Description
$this