dataSourceId = $dataSourceId; } /** * @return string */ public function getDataSourceId() { return $this->dataSourceId; } /** * The data type to aggregate. All data sources providing this data type will * contribute data to the aggregation. The response will contain a single * dataset for this data type name. The dataset will have a data source ID of * derived::com.google.android.gms:aggregated. If the user has no data for * this data type, an empty data set will be returned. Note: Data can be * aggregated by either the dataTypeName or the dataSourceId, not both. * * @param string $dataTypeName */ public function setDataTypeName($dataTypeName) { $this->dataTypeName = $dataTypeName; } /** * @return string */ public function getDataTypeName() { return $this->dataTypeName; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(AggregateBy::class, 'Google_Service_Fitness_AggregateBy');