Send feedback
  
   
 
  
    
      Class /GOOG/CL_FITNESS_V1
    
    
      
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
  
   
  
    
  
  
    
    
  
  
  
  
  On-premises or any cloud edition v1.12keyboard_arrow_down  
  
 
  
  
Class 
/GOOG/CL_FITNESS_V1 
Inheriting from:/GOOG/CL_HTTP_CLIENT 
Description:Fitness API v1   
For general information about a class in ABAP SDK for Google Cloud,
see 
API client stub .
Types 
Type 
Description 
Visibility 
 
 
TY_001AggregateBucketPUBLIC 
 
TY_002AggregateByPUBLIC 
 
TY_003AggregateRequestPUBLIC 
 
TY_004AggregateResponsePUBLIC 
 
TY_005ApplicationPUBLIC 
 
TY_006BucketByActivityPUBLIC 
 
TY_007BucketBySessionPUBLIC 
 
TY_008BucketByTimePUBLIC 
 
TY_009BucketByTimePeriodPUBLIC 
 
TY_010DataPointPUBLIC 
 
TY_011DataSourcePUBLIC 
 
TY_012DataTypePUBLIC 
 
TY_013DataTypeFieldPUBLIC 
 
TY_014DatasetPUBLIC 
 
TY_015DevicePUBLIC 
 
TY_016ListDataPointChangesResponsePUBLIC 
 
TY_017ListDataSourcesResponsePUBLIC 
 
TY_018ListSessionsResponsePUBLIC 
 
TY_019MapValuePUBLIC 
 
TY_020SessionPUBLIC 
 
TY_021ValuePUBLIC 
 
TY_022ValueMapValEntryPUBLIC 
 
TY_T_001AggregateBucketPUBLIC 
 
TY_T_002AggregateByPUBLIC 
 
TY_T_010DataPointPUBLIC 
 
TY_T_011DataSourcePUBLIC 
 
TY_T_013DataTypeFieldPUBLIC 
 
TY_T_014DatasetPUBLIC 
 
TY_T_020SessionPUBLIC 
 
TY_T_021ValuePUBLIC 
 
TY_T_022ValueMapValEntryPUBLIC 
 
TY_T_STRINGTable of StringsPUBLIC 
 
Constants 
Name 
Type 
Description 
Value 
Visibility 
 
 
C_CLOUD_VERSION/GOOG/SDK_VERSIONLowest Cloud Version 
PUBLIC 
 
C_ON_PREM_VERSION/GOOG/SDK_VERSIONLowest On-premises Version 
1.7 
PUBLIC 
 
C_REVISION_DATEDATUMDiscovery Document revision Date 
20250305 
PUBLIC 
 
C_ROOT_URLSTRINGAPI Root URL 
https://fitness.googleapis.com 
PUBLIC 
 
C_SERVICE_NAME/GOOG/SERVICE_NAMEGoogle Service Name 
fitness:v1 
PUBLIC 
 
C_SUPPORTED_AUTH/GOOG/SUPP_AUTHSupported Auth Types 
IJIJWW 
PUBLIC 
 
C_PATH_PREFIXSTRINGAPI Path Prefix 
/fitness/v1/users/ 
PUBLIC 
 
Methods 
For general information about a method in ABAP SDK for Google Cloud,
see 
API method .
CONSTRUCTOR 
Description: Constructor  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_KEY_NAMEIMPORTING 
/GOOG/KEYNAMEGoogle Cloud Key Name 
 
IV_LOG_OBJIMPORTING 
BALOBJ_DApplication log: Object name (Application code) 
 
IV_LOG_SUBOBJIMPORTING 
BALSUBOBJApplication Log: Subobject 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDKABAP SDK for Google Cloud: Exception Class 
 
AGGREGATE_DATASET 
Description: fitness.users.dataset.aggregate  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_P_USER_IDIMPORTING 
STRINGuserId 
 
IS_INPUTIMPORTING 
TY_003AggregateRequest 
 
ES_RAWEXPORTING 
DATARaw Output Data 
 
ES_OUTPUTEXPORTING 
TY_004AggregateResponse 
 
EV_RET_CODEEXPORTING 
IReturn Code 
 
EV_ERR_TEXTEXPORTING 
STRINGError Text 
 
ES_ERR_RESPEXPORTING 
/GOOG/ERR_RESPError Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDKABAP SDK for Google Cloud: Exception Class 
 
CREATE_DATA_SOURCES 
Description: fitness.users.dataSources.create  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_P_USER_IDIMPORTING 
STRINGuserId 
 
IS_INPUTIMPORTING 
TY_011DataSource 
 
ES_RAWEXPORTING 
DATARaw Output Data 
 
ES_OUTPUTEXPORTING 
TY_011DataSource 
 
EV_RET_CODEEXPORTING 
IReturn Code 
 
EV_ERR_TEXTEXPORTING 
STRINGError Text 
 
ES_ERR_RESPEXPORTING 
/GOOG/ERR_RESPError Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDKABAP SDK for Google Cloud: Exception Class 
 
DELETE_DATASETS 
Description: fitness.users.dataSources.datasets.delete  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_P_DATA_SOURCE_IDIMPORTING 
STRINGdataSourceId 
 
IV_P_DATASET_IDIMPORTING 
STRINGdatasetId 
 
IV_P_USER_IDIMPORTING 
STRINGuserId 
 
ES_RAWEXPORTING 
DATARaw Output Data 
 
EV_RET_CODEEXPORTING 
IReturn Code 
 
EV_ERR_TEXTEXPORTING 
STRINGError Text 
 
ES_ERR_RESPEXPORTING 
/GOOG/ERR_RESPError Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDKABAP SDK for Google Cloud: Exception Class 
 
DELETE_DATA_SOURCES 
Description: fitness.users.dataSources.delete  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_P_DATA_SOURCE_IDIMPORTING 
STRINGdataSourceId 
 
IV_P_USER_IDIMPORTING 
STRINGuserId 
 
ES_RAWEXPORTING 
DATARaw Output Data 
 
ES_OUTPUTEXPORTING 
TY_011DataSource 
 
EV_RET_CODEEXPORTING 
IReturn Code 
 
EV_ERR_TEXTEXPORTING 
STRINGError Text 
 
ES_ERR_RESPEXPORTING 
/GOOG/ERR_RESPError Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDKABAP SDK for Google Cloud: Exception Class 
 
DELETE_SESSIONS 
Description: fitness.users.sessions.delete  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_P_SESSION_IDIMPORTING 
STRINGsessionId 
 
IV_P_USER_IDIMPORTING 
STRINGuserId 
 
ES_RAWEXPORTING 
DATARaw Output Data 
 
EV_RET_CODEEXPORTING 
IReturn Code 
 
EV_ERR_TEXTEXPORTING 
STRINGError Text 
 
ES_ERR_RESPEXPORTING 
/GOOG/ERR_RESPError Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDKABAP SDK for Google Cloud: Exception Class 
 
GET_DATASETS 
Description: fitness.users.dataSources.datasets.get  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_Q_LIMITIMPORTING 
STRINGlimit 
 
IV_Q_PAGETOKENIMPORTING 
STRINGpageToken 
 
IV_P_DATA_SOURCE_IDIMPORTING 
STRINGdataSourceId 
 
IV_P_DATASET_IDIMPORTING 
STRINGdatasetId 
 
IV_P_USER_IDIMPORTING 
STRINGuserId 
 
ES_RAWEXPORTING 
DATARaw Output Data 
 
ES_OUTPUTEXPORTING 
TY_014Dataset 
 
EV_RET_CODEEXPORTING 
IReturn Code 
 
EV_ERR_TEXTEXPORTING 
STRINGError Text 
 
ES_ERR_RESPEXPORTING 
/GOOG/ERR_RESPError Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDKABAP SDK for Google Cloud: Exception Class 
 
GET_DATA_SOURCES 
Description: fitness.users.dataSources.get  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_P_DATA_SOURCE_IDIMPORTING 
STRINGdataSourceId 
 
IV_P_USER_IDIMPORTING 
STRINGuserId 
 
ES_RAWEXPORTING 
DATARaw Output Data 
 
ES_OUTPUTEXPORTING 
TY_011DataSource 
 
EV_RET_CODEEXPORTING 
IReturn Code 
 
EV_ERR_TEXTEXPORTING 
STRINGError Text 
 
ES_ERR_RESPEXPORTING 
/GOOG/ERR_RESPError Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDKABAP SDK for Google Cloud: Exception Class 
 
LIST_DATA_POINT_CHANGES 
Description: fitness.users.dataSources.dataPointChanges.list  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_Q_LIMITIMPORTING 
STRINGlimit 
 
IV_Q_PAGETOKENIMPORTING 
STRINGpageToken 
 
IV_P_DATA_SOURCE_IDIMPORTING 
STRINGdataSourceId 
 
IV_P_USER_IDIMPORTING 
STRINGuserId 
 
ES_RAWEXPORTING 
DATARaw Output Data 
 
ES_OUTPUTEXPORTING 
TY_016ListDataPointChangesResponse 
 
EV_RET_CODEEXPORTING 
IReturn Code 
 
EV_ERR_TEXTEXPORTING 
STRINGError Text 
 
ES_ERR_RESPEXPORTING 
/GOOG/ERR_RESPError Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDKABAP SDK for Google Cloud: Exception Class 
 
LIST_DATA_SOURCES 
Description: fitness.users.dataSources.list  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_Q_DATATYPENAMEIMPORTING 
STRINGdataTypeName 
 
IV_P_USER_IDIMPORTING 
STRINGuserId 
 
ES_RAWEXPORTING 
DATARaw Output Data 
 
ES_OUTPUTEXPORTING 
TY_017ListDataSourcesResponse 
 
EV_RET_CODEEXPORTING 
IReturn Code 
 
EV_ERR_TEXTEXPORTING 
STRINGError Text 
 
ES_ERR_RESPEXPORTING 
/GOOG/ERR_RESPError Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDKABAP SDK for Google Cloud: Exception Class 
 
LIST_SESSIONS 
Description: fitness.users.sessions.list  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_Q_ACTIVITYTYPEIMPORTING 
STRINGactivityType 
 
IV_Q_ENDTIMEIMPORTING 
STRINGendTime 
 
IV_Q_INCLUDEDELETEDIMPORTING 
STRINGincludeDeleted 
 
IV_Q_PAGETOKENIMPORTING 
STRINGpageToken 
 
IV_Q_STARTTIMEIMPORTING 
STRINGstartTime 
 
IV_P_USER_IDIMPORTING 
STRINGuserId 
 
ES_RAWEXPORTING 
DATARaw Output Data 
 
ES_OUTPUTEXPORTING 
TY_018ListSessionsResponse 
 
EV_RET_CODEEXPORTING 
IReturn Code 
 
EV_ERR_TEXTEXPORTING 
STRINGError Text 
 
ES_ERR_RESPEXPORTING 
/GOOG/ERR_RESPError Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDKABAP SDK for Google Cloud: Exception Class 
 
PATCH_DATASETS 
Description: fitness.users.dataSources.datasets.patch  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_P_DATA_SOURCE_IDIMPORTING 
STRINGdataSourceId 
 
IV_P_DATASET_IDIMPORTING 
STRINGdatasetId 
 
IV_P_USER_IDIMPORTING 
STRINGuserId 
 
IS_INPUTIMPORTING 
TY_014Dataset 
 
ES_RAWEXPORTING 
DATARaw Output Data 
 
ES_OUTPUTEXPORTING 
TY_014Dataset 
 
EV_RET_CODEEXPORTING 
IReturn Code 
 
EV_ERR_TEXTEXPORTING 
STRINGError Text 
 
ES_ERR_RESPEXPORTING 
/GOOG/ERR_RESPError Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDKABAP SDK for Google Cloud: Exception Class 
 
UPDATE_DATA_SOURCES 
Description: fitness.users.dataSources.update  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_P_DATA_SOURCE_IDIMPORTING 
STRINGdataSourceId 
 
IV_P_USER_IDIMPORTING 
STRINGuserId 
 
IS_INPUTIMPORTING 
TY_011DataSource 
 
ES_RAWEXPORTING 
DATARaw Output Data 
 
ES_OUTPUTEXPORTING 
TY_011DataSource 
 
EV_RET_CODEEXPORTING 
IReturn Code 
 
EV_ERR_TEXTEXPORTING 
STRINGError Text 
 
ES_ERR_RESPEXPORTING 
/GOOG/ERR_RESPError Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDKABAP SDK for Google Cloud: Exception Class 
 
UPDATE_SESSIONS 
Description: fitness.users.sessions.update  
Visibility: PUBLIC  
 
Parameters 
Name 
Category 
Type 
Description 
 
 
IV_P_SESSION_IDIMPORTING 
STRINGsessionId 
 
IV_P_USER_IDIMPORTING 
STRINGuserId 
 
IS_INPUTIMPORTING 
TY_020Session 
 
ES_RAWEXPORTING 
DATARaw Output Data 
 
ES_OUTPUTEXPORTING 
TY_020Session 
 
EV_RET_CODEEXPORTING 
IReturn Code 
 
EV_ERR_TEXTEXPORTING 
STRINGError Text 
 
ES_ERR_RESPEXPORTING 
/GOOG/ERR_RESPError Response 
 
Exception 
Name 
Description 
 
  
/GOOG/CX_SDKABAP SDK for Google Cloud: Exception Class 
 
CLOSE 
Description: Close Connection  
Visibility: PUBLIC  
 
  
  
  
     
  
    
    
      
    
     
  
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-28 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]