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

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

The response message to aggregate a fleet by some group by fields.

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

Namespace

Google \ Cloud \ DatabaseCenter \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ rows array<AggregateFleetRow>

Represents a row grouped by the fields in the input.

↳ resource_groups_total_count int

Count of all resource groups in the fleet. This includes counts from all pages.

↳ resource_total_count int

Count of all resources in the fleet. This includes counts from all pages.

↳ 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 array

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

getRows

Represents a row grouped by the fields in the input.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRows

Represents a row grouped by the fields in the input.

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

getResourceGroupsTotalCount

Count of all resource groups in the fleet. This includes counts from all pages.

Returns
Type Description
int

setResourceGroupsTotalCount

Count of all resource groups in the fleet. This includes counts from all pages.

Parameter
Name Description
var int
Returns
Type Description
$this

getResourceTotalCount

Count of all resources in the fleet. This includes counts from all pages.

Returns
Type Description
int

setResourceTotalCount

Count of all resources in the fleet. This includes counts from all pages.

Parameter
Name Description
var int
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\Internal\RepeatedField

setUnreachable

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

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