Google Cloud Database Center V1beta Client - Class DatabaseResourceGroup (0.4.1)

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

DatabaseResourceGroup represents all resources that serve a common data set.

It is considered notionally as a single entity, powered by any number of units of compute and storage.

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

Namespace

Google \ Cloud \ DatabaseCenter \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ root_resources array<DatabaseResource>

A database resource that serves as a root of the group of database resources. It is repeated just in case we have the concept of multiple roots in the future, however, it will only be populated with a single value for now.

↳ signal_groups array<IssueCount>

The filtered signal groups and the count of issues associated with the resources that have been filtered in.

getRootResources

A database resource that serves as a root of the group of database resources. It is repeated just in case we have the concept of multiple roots in the future, however, it will only be populated with a single value for now.

Returns
Type Description
Google\Protobuf\RepeatedField<DatabaseResource>

setRootResources

A database resource that serves as a root of the group of database resources. It is repeated just in case we have the concept of multiple roots in the future, however, it will only be populated with a single value for now.

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

getSignalGroups

The filtered signal groups and the count of issues associated with the resources that have been filtered in.

Returns
Type Description
Google\Protobuf\RepeatedField<IssueCount>

setSignalGroups

The filtered signal groups and the count of issues associated with the resources that have been filtered in.

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