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

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

IssueGroupStats refers to stats for a particulare combination of relevant health issues of database resources.

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

Namespace

Google \ Cloud \ DatabaseCenter \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ display_name string

Database resource level health card name. This will corresponds to one of the requested input group names.

↳ resource_groups_count int

Total count of the groups of resources returned by the filter that also have one or more resources for which any of the specified issues are applicable.

↳ resources_count int

Total count of resources returned by the filter for which any of the specified issues are applicable.

↳ healthy_resource_groups_count int

The number of resource groups from the total groups as defined above that are healthy with respect to all of the specified issues.

↳ healthy_resources_count int

The number of resources from the total defined above in field total_resources_count that are healthy with respect to all of the specified issues.

↳ issue_stats array<IssueStats>

List of issues stats containing count of resources having particular issue category.

getDisplayName

Database resource level health card name. This will corresponds to one of the requested input group names.

Returns
Type Description
string

setDisplayName

Database resource level health card name. This will corresponds to one of the requested input group names.

Parameter
Name Description
var string
Returns
Type Description
$this

getResourceGroupsCount

Total count of the groups of resources returned by the filter that also have one or more resources for which any of the specified issues are applicable.

Returns
Type Description
int

setResourceGroupsCount

Total count of the groups of resources returned by the filter that also have one or more resources for which any of the specified issues are applicable.

Parameter
Name Description
var int
Returns
Type Description
$this

getResourcesCount

Total count of resources returned by the filter for which any of the specified issues are applicable.

Returns
Type Description
int

setResourcesCount

Total count of resources returned by the filter for which any of the specified issues are applicable.

Parameter
Name Description
var int
Returns
Type Description
$this

getHealthyResourceGroupsCount

The number of resource groups from the total groups as defined above that are healthy with respect to all of the specified issues.

Returns
Type Description
int

setHealthyResourceGroupsCount

The number of resource groups from the total groups as defined above that are healthy with respect to all of the specified issues.

Parameter
Name Description
var int
Returns
Type Description
$this

getHealthyResourcesCount

The number of resources from the total defined above in field total_resources_count that are healthy with respect to all of the specified issues.

Returns
Type Description
int

setHealthyResourcesCount

The number of resources from the total defined above in field total_resources_count that are healthy with respect to all of the specified issues.

Parameter
Name Description
var int
Returns
Type Description
$this

getIssueStats

List of issues stats containing count of resources having particular issue category.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setIssueStats

List of issues stats containing count of resources having particular issue category.

Parameter
Name Description
var array<IssueStats>
Returns
Type Description
$this