Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
Google_Service_Fitness Class Reference
Inheritance diagram for Google_Service_Fitness:
Google_Service

Public Member Functions

 __construct (Google_Client $client)
 Constructs the internal representation of the Fitness service.
 
 createBatch ()
 Create a new HTTP Batch handler for this service.
 
 getClient ()
 

Public Attributes

 $availableScopes
 
 $batchPath
 
 $resource
 
 $rootUrl
 
 $servicePath
 
 $users_dataset
 
 $users_dataSources
 
 $users_dataSources_datasets
 
 $users_sessions
 
 $version
 
const FITNESS_ACTIVITY_READ
 View your activity information in Google Fit.
 
const FITNESS_ACTIVITY_WRITE
 View and store your activity information in Google Fit.
 
const FITNESS_BODY_READ
 View body sensor information in Google Fit.
 
const FITNESS_BODY_WRITE
 View and store body sensor data in Google Fit.
 
const FITNESS_LOCATION_READ
 View your stored location data in Google Fit.
 
const FITNESS_LOCATION_WRITE
 View and store your location data in Google Fit.
 

Constructor & Destructor Documentation

◆ __construct()

Google_Service_Fitness::__construct ( Google_Client $client)

Constructs the internal representation of the Fitness service.

Parameters
Google_Client$client

Reimplemented from Google_Service.

Member Function Documentation

◆ createBatch()

Google_Service::createBatch ( )
inherited

Create a new HTTP Batch handler for this service.

Return values
Google_Http_Batch

Member Data Documentation

◆ FITNESS_ACTIVITY_READ

const Google_Service_Fitness::FITNESS_ACTIVITY_READ
Initial value:
=
"https://www.googleapis.com/auth/fitness.activity.read"

View your activity information in Google Fit.

◆ FITNESS_ACTIVITY_WRITE

const Google_Service_Fitness::FITNESS_ACTIVITY_WRITE
Initial value:
=
"https://www.googleapis.com/auth/fitness.activity.write"

View and store your activity information in Google Fit.

◆ FITNESS_BODY_READ

const Google_Service_Fitness::FITNESS_BODY_READ
Initial value:
=
"https://www.googleapis.com/auth/fitness.body.read"

View body sensor information in Google Fit.

◆ FITNESS_BODY_WRITE

const Google_Service_Fitness::FITNESS_BODY_WRITE
Initial value:
=
"https://www.googleapis.com/auth/fitness.body.write"

View and store body sensor data in Google Fit.

◆ FITNESS_LOCATION_READ

const Google_Service_Fitness::FITNESS_LOCATION_READ
Initial value:
=
"https://www.googleapis.com/auth/fitness.location.read"

View your stored location data in Google Fit.

◆ FITNESS_LOCATION_WRITE

const Google_Service_Fitness::FITNESS_LOCATION_WRITE
Initial value:
=
"https://www.googleapis.com/auth/fitness.location.write"

View and store your location data in Google Fit.


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