The "sessions" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| delete ($userId, $sessionId, $optParams=array()) |
| Deletes a session specified by the given session ID.
|
|
| listUsersSessions ($userId, $optParams=array()) |
| Lists sessions previously created.
|
|
| update ($userId, $sessionId, Google_Service_Fitness_Session $postBody, $optParams=array()) |
| Updates or insert a given session.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "sessions" collection of methods.
Typical usage is: $fitnessService = new Google_Service_Fitness(...); $sessions = $fitnessService->sessions;
◆ 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
-
◆ delete()
Google_Service_Fitness_UsersSessions_Resource::delete |
( |
| $userId, |
|
|
| $sessionId, |
|
|
| $optParams = array() ) |
Deletes a session specified by the given session ID.
(sessions.delete)
- Parameters
-
string | $userId | Delete a session for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. |
string | $sessionId | The ID of the session to be deleted. |
array | $optParams | Optional parameters. |
@opt_param string currentTimeMillis The client's current time in milliseconds since epoch.
◆ listUsersSessions()
Google_Service_Fitness_UsersSessions_Resource::listUsersSessions |
( |
| $userId, |
|
|
| $optParams = array() ) |
Lists sessions previously created.
(sessions.listUsersSessions)
- Parameters
-
string | $userId | List sessions for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. |
array | $optParams | Optional parameters. |
@opt_param string pageToken The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response. @opt_param string endTime An RFC3339 timestamp. Only sessions ending between the start and end times will be included in the response. @opt_param bool includeDeleted If true, deleted sessions will be returned. When set to true, sessions returned in this response will only have an ID and will not have any other fields. @opt_param string startTime An RFC3339 timestamp. Only sessions ending between the start and end times will be included in the response.
- Return values
-
◆ update()
Updates or insert a given session.
(sessions.update)
- Parameters
-
string | $userId | Create sessions for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. |
string | $sessionId | The ID of the session to be created. |
Google_Session | $postBody | |
array | $optParams | Optional parameters. |
@opt_param string currentTimeMillis The client's current time in milliseconds since epoch.
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Fitness.php