Google Cloud Migration Center V1 Client - Class AggregateAssetsValuesRequest (1.0.1)

Reference documentation and code samples for the Google Cloud Migration Center V1 Client class AggregateAssetsValuesRequest.

A request to aggregate one or more values.

Generated from protobuf message google.cloud.migrationcenter.v1.AggregateAssetsValuesRequest

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Parent value for AggregateAssetsValuesRequest.

↳ aggregations array<Aggregation>

Array of aggregations to perform. Up to 25 aggregations can be defined.

↳ filter string

The aggregation will be performed on assets that match the provided filter.

getParent

Required. Parent value for AggregateAssetsValuesRequest.

Returns
Type Description
string

setParent

Required. Parent value for AggregateAssetsValuesRequest.

Parameter
Name Description
var string
Returns
Type Description
$this

getAggregations

Array of aggregations to perform.

Up to 25 aggregations can be defined.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAggregations

Array of aggregations to perform.

Up to 25 aggregations can be defined.

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

getFilter

The aggregation will be performed on assets that match the provided filter.

Returns
Type Description
string

setFilter

The aggregation will be performed on assets that match the provided filter.

Parameter
Name Description
var string
Returns
Type Description
$this