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

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

QueryDatabaseResourceGroupsResponse represents the response message containing a list of resource groups.

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

Namespace

Google \ Cloud \ DatabaseCenter \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ resource_groups array<DatabaseResourceGroup>

List of database resource groups that pass the filter.

↳ next_page_token string

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

↳ unreachable string[]

Unordered list. List of unreachable regions from where data could not be retrieved.

getResourceGroups

List of database resource groups that pass the filter.

Returns
Type Description
Google\Protobuf\RepeatedField<DatabaseResourceGroup>

setResourceGroups

List of database resource groups that pass the filter.

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

getNextPageToken

A token that can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Returns
Type Description
string

setNextPageToken

A token that can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Parameter
Name Description
var string
Returns
Type Description
$this

getUnreachable

Unordered list. List of unreachable regions from where data could not be retrieved.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setUnreachable

Unordered list. List of unreachable regions from where data could not be retrieved.

Parameter
Name Description
var string[]
Returns
Type Description
$this