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

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
NameDescription
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
TypeDescription
int

setLogCount

The total number of log entries replayed.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getUnchangedCount

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

Returns
TypeDescription
int

setUnchangedCount

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDifferenceCount

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

Returns
TypeDescription
int

setDifferenceCount

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getErrorCount

The number of log entries that could not be replayed.

Returns
TypeDescription
int

setErrorCount

The number of log entries that could not be replayed.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getOldestDate

The date of the oldest log entry replayed.

Returns
TypeDescription
Google\Type\Date|null

hasOldestDate

clearOldestDate

setOldestDate

The date of the oldest log entry replayed.

Parameter
NameDescription
var Google\Type\Date
Returns
TypeDescription
$this

getNewestDate

The date of the newest log entry replayed.

Returns
TypeDescription
Google\Type\Date|null

hasNewestDate

clearNewestDate

setNewestDate

The date of the newest log entry replayed.

Parameter
NameDescription
var Google\Type\Date
Returns
TypeDescription
$this