Google Cloud Database Center V1beta Client - Class IssueStats (0.3.1)

Reference documentation and code samples for the Google Cloud Database Center V1beta Client class IssueStats.

IssueStats holds stats for a particular signal category.

Generated from protobuf message google.cloud.databasecenter.v1beta.IssueStats

Namespace

Google \ Cloud \ DatabaseCenter \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ signal_type int

Type of signal which is an issue.

↳ resource_count int

Number of resources having issues of a given type.

↳ delta_details DeltaDetails

Optional. Delta counts and details of resources for which issue was raised or fixed.

↳ issue_severity int

Severity of the issue.

getSignalType

Type of signal which is an issue.

Returns
Type Description
int Enum of type SignalType.

setSignalType

Type of signal which is an issue.

Parameter
Name Description
var int

Enum of type SignalType.

Returns
Type Description
$this

getResourceCount

Number of resources having issues of a given type.

Returns
Type Description
int

setResourceCount

Number of resources having issues of a given type.

Parameter
Name Description
var int
Returns
Type Description
$this

getDeltaDetails

Optional. Delta counts and details of resources for which issue was raised or fixed.

Returns
Type Description
DeltaDetails|null

hasDeltaDetails

clearDeltaDetails

setDeltaDetails

Optional. Delta counts and details of resources for which issue was raised or fixed.

Parameter
Name Description
var DeltaDetails
Returns
Type Description
$this

getIssueSeverity

Severity of the issue.

Returns
Type Description
int

hasIssueSeverity

clearIssueSeverity

setIssueSeverity

Severity of the issue.

Parameter
Name Description
var int
Returns
Type Description
$this