Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Google_Service_Fitness_UsersDataset_Resource Class Reference

The "dataset" collection of methods. More...

Inheritance diagram for Google_Service_Fitness_UsersDataset_Resource:
Google_Service_Resource

Public Member Functions

 aggregate ($userId, Google_Service_Fitness_AggregateRequest $postBody, $optParams=array())
 Aggregates data of a certain type or stream into buckets divided by a given type of boundary.
 
 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "dataset" collection of methods.

Typical usage is: $fitnessService = new Google_Service_Fitness(...); $dataset = $fitnessService->dataset;

Member Function Documentation

◆ aggregate()

Google_Service_Fitness_UsersDataset_Resource::aggregate ( $userId,
Google_Service_Fitness_AggregateRequest $postBody,
$optParams = array() )

Aggregates data of a certain type or stream into buckets divided by a given type of boundary.

Multiple data sets of multiple types and from multiple sources can be aggreated into exactly one bucket type per request. (dataset.aggregate)

Parameters
string$userIdAggregate data for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.
Google_AggregateRequest$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Fitness_AggregateResponse

◆ call()

Google_Service_Resource::call ( $name,
$arguments,
$expected_class = null )
inherited

TODO: This function needs simplifying.

Parameters
$name
$arguments
$expected_class- optional, the expected class name
Return values
Google_Http_Request|expected_class
Exceptions
Google_Exception

The documentation for this class was generated from the following file: