@googleapis/health 6.0.1 → 6.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/v4beta.ts CHANGED
@@ -137,7 +137,7 @@ export namespace health_v4beta {
137
137
  */
138
138
  interval?: Schema$ObservationTimeInterval;
139
139
  /**
140
- * Required. Energy burned during an activity, measured in kilocalories.
140
+ * Required. Energy burned during an activity, measured in kilocalories. Must be in the range `[0, 1000000]`.
141
141
  */
142
142
  kcal?: number | null;
143
143
  }
@@ -309,7 +309,7 @@ export namespace health_v4beta {
309
309
  */
310
310
  export interface Schema$Altitude {
311
311
  /**
312
- * Required. Altitude gain in millimeters over the observed interval.
312
+ * Required. Altitude gain in millimeters over the observed interval. Must be in the range `[-1000000000, 1000000000]`.
313
313
  */
314
314
  gainMillimeters?: string | null;
315
315
  /**
@@ -370,7 +370,7 @@ export namespace health_v4beta {
370
370
  */
371
371
  export interface Schema$BloodGlucose {
372
372
  /**
373
- * Required. Blood glucose level concentration in mg/dL.
373
+ * Required. Blood glucose level concentration in mg/dL. Must be in the range `[0, 900]`.
374
374
  */
375
375
  bloodGlucoseMilligramsPerDeciliter?: number | null;
376
376
  /**
@@ -412,7 +412,7 @@ export namespace health_v4beta {
412
412
  */
413
413
  export interface Schema$BodyFat {
414
414
  /**
415
- * Required. Body fat percentage, in range [0, 100].
415
+ * Required. Body fat percentage. Must be in the range `[0, 100]`.
416
416
  */
417
417
  percentage?: number | null;
418
418
  /**
@@ -494,7 +494,7 @@ export namespace health_v4beta {
494
494
  */
495
495
  sampleTime?: Schema$ObservationSampleTime;
496
496
  /**
497
- * Required. The core body temperature in Celsius.
497
+ * Required. The core body temperature in Celsius. Must be in the range `[0, 100]`.
498
498
  */
499
499
  temperatureCelsius?: number | null;
500
500
  }
@@ -588,7 +588,7 @@ export namespace health_v4beta {
588
588
  */
589
589
  export interface Schema$DailyOxygenSaturation {
590
590
  /**
591
- * Required. The average value of the oxygen saturation samples during the sleep.
591
+ * Required. The average value of the oxygen saturation samples during the sleep. Must be in the range `[0, 100]`.
592
592
  */
593
593
  averagePercentage?: number | null;
594
594
  /**
@@ -596,7 +596,7 @@ export namespace health_v4beta {
596
596
  */
597
597
  date?: Schema$Date;
598
598
  /**
599
- * Required. The lower bound of the confidence interval of oxygen saturation samples during sleep.
599
+ * Required. The lower bound of the confidence interval of oxygen saturation samples during sleep. Must be in the range `[0, 100]`.
600
600
  */
601
601
  lowerBoundPercentage?: number | null;
602
602
  /**
@@ -604,7 +604,7 @@ export namespace health_v4beta {
604
604
  */
605
605
  standardDeviationPercentage?: number | null;
606
606
  /**
607
- * Required. The upper bound of the confidence interval of oxygen saturation samples during sleep.
607
+ * Required. The upper bound of the confidence interval of oxygen saturation samples during sleep. Must be in the range `[0, 100]`.
608
608
  */
609
609
  upperBoundPercentage?: number | null;
610
610
  }
@@ -731,6 +731,10 @@ export namespace health_v4beta {
731
731
  * Returned by default when rolling up data points from the `sedentary-period` data type, or when requested explicitly using the `sedentary-period` rollup type identifier.
732
732
  */
733
733
  sedentaryPeriod?: Schema$SedentaryPeriodRollupValue;
734
+ /**
735
+ * Returned by default when rolling up data points from the `skin-temperature` data type.
736
+ */
737
+ skinTemperature?: Schema$SkinTemperatureRollupValue;
734
738
  /**
735
739
  * Returned by default when rolling up data points from the `steps` data type, or when requested explicitly using the `steps` rollup type identifier.
736
740
  */
@@ -757,7 +761,7 @@ export namespace health_v4beta {
757
761
  */
758
762
  export interface Schema$DailyRollUpDataPointsRequest {
759
763
  /**
760
- * Optional. The data source family name to roll up. If empty, data points from all available data sources will be rolled up. Format: `users/me/dataSourceFamilies/{data_source_family\}` The supported values are: - `users/me/dataSourceFamilies/all-sources` - Default value. Includes data from all available data sources. - `users/me/dataSourceFamilies/google-wearables` - Includes data from Google and Fitbit tracker devices (such as Fitbit trackers and Pixel Watch). Excludes manually logged data. - `users/me/dataSourceFamilies/google-sources` - Includes first-party Google data, such as data from tracker devices, manually logged data, and Health Connect.
764
+ * Optional. The data source family name to roll up. If empty, data points from all available data sources will be rolled up. Format: `users/me/dataSourceFamilies/{data_source_family\}` The supported values are: - `users/me/dataSourceFamilies/all-sources` - Default value. Includes data from all available data sources. - `users/me/dataSourceFamilies/google-wearables` - Includes data from Google and Fitbit tracker devices (such as Fitbit trackers and Pixel Watch). Excludes manually logged data. - `users/me/dataSourceFamilies/google-sources` - Includes first-party Google data, such as data from tracker devices, manually logged data, and Health Connect. - `users/me/dataSourceFamilies/self-sources` - Includes only the data the calling client wrote through this API, that is, data points whose data source was registered through this API with the same OAuth client ID as the caller. Callers that were only granted write scopes for the requested data type may only read the data they wrote themselves: their requests are implicitly restricted to `self-sources`, and requesting any other data source family fails with `PERMISSION_DENIED`. If no data point matches the requested data source family, the response is an empty list rather than an error.
761
765
  */
762
766
  dataSourceFamily?: string | null;
763
767
  /**
@@ -765,7 +769,7 @@ export namespace health_v4beta {
765
769
  */
766
770
  pageSize?: number | null;
767
771
  /**
768
- * Optional. The `next_page_token` from a previous request, if any. All other request fields need to be the same as in the initial request when the page token is specified.
772
+ * Optional. The next_page_token from a previous request, if any. All other request fields need to be the same as in the initial request when the page token is specified.
769
773
  */
770
774
  pageToken?: string | null;
771
775
  /**
@@ -781,6 +785,10 @@ export namespace health_v4beta {
781
785
  * Response containing the list of rolled up data points.
782
786
  */
783
787
  export interface Schema$DailyRollUpDataPointsResponse {
788
+ /**
789
+ * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
790
+ */
791
+ nextPageToken?: string | null;
784
792
  /**
785
793
  * Values for each aggregation time window.
786
794
  */
@@ -824,7 +832,7 @@ export namespace health_v4beta {
824
832
  */
825
833
  estimated?: boolean | null;
826
834
  /**
827
- * Required. Daily VO2 max value measured as in ml consumed oxygen / kg of body weight / min.
835
+ * Required. Daily VO2 max value measured as in ml consumed oxygen / kg of body weight / min. Must be in the range `[0, 100]`.
828
836
  */
829
837
  vo2Max?: number | null;
830
838
  /**
@@ -984,6 +992,14 @@ export namespace health_v4beta {
984
992
  * Optional. Data for points in the `sedentary-period` interval data type collection.
985
993
  */
986
994
  sedentaryPeriod?: Schema$SedentaryPeriod;
995
+ /**
996
+ * Optional. Data for points in the `skin-temperature` sample data type collection.
997
+ */
998
+ skinTemperature?: Schema$SkinTemperature;
999
+ /**
1000
+ * Optional. Data for points in the `skin-temperature-sensors` sample data type collection.
1001
+ */
1002
+ skinTemperatureSensors?: Schema$SkinTemperatureSensors;
987
1003
  /**
988
1004
  * Optional. Data for points in the `sleep` session data type collection.
989
1005
  */
@@ -1118,7 +1134,7 @@ export namespace health_v4beta {
1118
1134
  */
1119
1135
  interval?: Schema$ObservationTimeInterval;
1120
1136
  /**
1121
- * Required. Distance in millimeters over the observed interval.
1137
+ * Required. Distance in millimeters over the observed interval. Must be in the range `[0, 1000000000]`.
1122
1138
  */
1123
1139
  millimeters?: string | null;
1124
1140
  }
@@ -1190,7 +1206,7 @@ export namespace health_v4beta {
1190
1206
  */
1191
1207
  export interface Schema$EnergyQuantity {
1192
1208
  /**
1193
- * Required. The energy value in kilocalories.
1209
+ * Required. The energy value in kilocalories. Must be in the range `[0, 100000]`.
1194
1210
  */
1195
1211
  kcal?: number | null;
1196
1212
  /**
@@ -1308,7 +1324,7 @@ export namespace health_v4beta {
1308
1324
  */
1309
1325
  export interface Schema$Floors {
1310
1326
  /**
1311
- * Required. Number of floors in the recorded interval
1327
+ * Required. Number of floors in the recorded interval. Must be in the range `[0, 1000000]`.
1312
1328
  */
1313
1329
  count?: string | null;
1314
1330
  /**
@@ -1508,7 +1524,7 @@ export namespace health_v4beta {
1508
1524
  */
1509
1525
  export interface Schema$HeartRate {
1510
1526
  /**
1511
- * Required. The heart rate value in beats per minute.
1527
+ * Required. The heart rate value in beats per minute. Must be in the range `[1, 300]`.
1512
1528
  */
1513
1529
  beatsPerMinute?: string | null;
1514
1530
  /**
@@ -1555,11 +1571,11 @@ export namespace health_v4beta {
1555
1571
  */
1556
1572
  export interface Schema$HeartRateVariability {
1557
1573
  /**
1558
- * Optional. Metadata used in 1P surfaces.
1574
+ * Optional. Additional information about the heart rate variability measurement.
1559
1575
  */
1560
1576
  metadata?: Schema$HeartRateVariabilityMetadata;
1561
1577
  /**
1562
- * Optional. The root mean square of successive differences between normal heartbeats. This is a measure of heart rate variability used by Google Health.
1578
+ * Optional. The root mean square of successive differences between normal heartbeats. This is a measure of heart rate variability used by Google Health. Must be in the range `[1, 200]`.
1563
1579
  */
1564
1580
  rootMeanSquareOfSuccessiveDifferencesMilliseconds?: number | null;
1565
1581
  /**
@@ -1619,7 +1635,7 @@ export namespace health_v4beta {
1619
1635
  */
1620
1636
  export interface Schema$Height {
1621
1637
  /**
1622
- * Required. Height of the user in millimeters.
1638
+ * Required. Height of the user in millimeters. Must be in the range `[0, 3000]`.
1623
1639
  */
1624
1640
  heightMillimeters?: string | null;
1625
1641
  /**
@@ -2180,7 +2196,7 @@ export namespace health_v4beta {
2180
2196
  */
2181
2197
  export interface Schema$OxygenSaturation {
2182
2198
  /**
2183
- * Required. The oxygen saturation percentage. Valid values are from 0 to 100.
2199
+ * Required. The oxygen saturation percentage. Must be in the range `[0, 100]`.
2184
2200
  */
2185
2201
  percentage?: number | null;
2186
2202
  /**
@@ -2246,7 +2262,7 @@ export namespace health_v4beta {
2246
2262
  */
2247
2263
  membershipStartDate?: Schema$Date;
2248
2264
  /**
2249
- * Identifier. The resource name of this Profile resource. Format: `users/{user\}/profile` Example: `users/1234567890/profile` or `users/me/profile` The {user\} ID is a system-generated Google Health API user ID, a string of 1-63 characters consisting of lowercase and uppercase letters, numbers, and hyphens. The literal `me` can also be used to refer to the authenticated user.
2265
+ * Identifier. The resource name of this Profile resource. Format: `users/{user\}/profile` Example: `users/1234567890/profile` or `users/me/profile` The {user\} ID is a system-generated Google Health API user ID, a string of 1-63 characters consisting of lowercase and uppercase letters, numbers, and hyphens. The literal `me` can also be used to refer to the authenticated user. This field is read-only.
2250
2266
  */
2251
2267
  name?: string | null;
2252
2268
  /**
@@ -2391,6 +2407,14 @@ export namespace health_v4beta {
2391
2407
  * Data for points in the `sedentary-period` interval data type collection.
2392
2408
  */
2393
2409
  sedentaryPeriod?: Schema$SedentaryPeriod;
2410
+ /**
2411
+ * Data for points in the `skin-temperature` sample data type collection.
2412
+ */
2413
+ skinTemperature?: Schema$SkinTemperature;
2414
+ /**
2415
+ * Data for points in the `skin-temperature-sensors` sample data type collection.
2416
+ */
2417
+ skinTemperatureSensors?: Schema$SkinTemperatureSensors;
2394
2418
  /**
2395
2419
  * Data for points in the `sleep` session data type collection.
2396
2420
  */
@@ -2543,6 +2567,10 @@ export namespace health_v4beta {
2543
2567
  * Returned by default when rolling up data points from the `sedentary-period` data type, or when requested explicitly using the `sedentary-period` rollup type identifier.
2544
2568
  */
2545
2569
  sedentaryPeriod?: Schema$SedentaryPeriodRollupValue;
2570
+ /**
2571
+ * Returned by default when rolling up data points from the `skin-temperature` data type.
2572
+ */
2573
+ skinTemperature?: Schema$SkinTemperatureRollupValue;
2546
2574
  /**
2547
2575
  * Start time of the window this value aggregates over
2548
2576
  */
@@ -2573,7 +2601,7 @@ export namespace health_v4beta {
2573
2601
  */
2574
2602
  export interface Schema$RollUpDataPointsRequest {
2575
2603
  /**
2576
- * Optional. The data source family name to roll up. If empty, data points from all available data sources will be rolled up. Format: `users/me/dataSourceFamilies/{data_source_family\}` The supported values are: - `users/me/dataSourceFamilies/all-sources` - Default value. Includes data from all available data sources. - `users/me/dataSourceFamilies/google-wearables` - Includes data from Google and Fitbit tracker devices (such as Fitbit trackers and Pixel Watch). Excludes manually logged data. - `users/me/dataSourceFamilies/google-sources` - Includes first-party Google data, such as data from tracker devices, manually logged data, and Health Connect.
2604
+ * Optional. The data source family name to roll up. If empty, data points from all available data sources will be rolled up. Format: `users/me/dataSourceFamilies/{data_source_family\}` The supported values are: - `users/me/dataSourceFamilies/all-sources` - Default value. Includes data from all available data sources. - `users/me/dataSourceFamilies/google-wearables` - Includes data from Google and Fitbit tracker devices (such as Fitbit trackers and Pixel Watch). Excludes manually logged data. - `users/me/dataSourceFamilies/google-sources` - Includes first-party Google data, such as data from tracker devices, manually logged data, and Health Connect. - `users/me/dataSourceFamilies/self-sources` - Includes only the data the calling client wrote through this API, that is, data points whose data source was registered through this API with the same OAuth client ID as the caller. Callers that were only granted write scopes for the requested data type may only read the data they wrote themselves: their requests are implicitly restricted to `self-sources`, and requesting any other data source family fails with `PERMISSION_DENIED`. If no data point matches the requested data source family, the response is an empty list rather than an error.
2577
2605
  */
2578
2606
  dataSourceFamily?: string | null;
2579
2607
  /**
@@ -2611,7 +2639,7 @@ export namespace health_v4beta {
2611
2639
  */
2612
2640
  export interface Schema$RunVO2Max {
2613
2641
  /**
2614
- * Required. Run VO2 max value in ml/kg/min.
2642
+ * Required. Run VO2 max value in ml/kg/min. Must be in the range `[0, 100]`.
2615
2643
  */
2616
2644
  runVo2Max?: number | null;
2617
2645
  /**
@@ -2654,6 +2682,36 @@ export namespace health_v4beta {
2654
2682
  */
2655
2683
  durationSum?: string | null;
2656
2684
  }
2685
+ /**
2686
+ * Individual sensor reading and metadata.
2687
+ */
2688
+ export interface Schema$SensorData {
2689
+ /**
2690
+ * Optional. Metadata for the sensor reading.
2691
+ */
2692
+ metadata?: Schema$SensorMetadata;
2693
+ /**
2694
+ * Required. The temperature reading in Celsius.
2695
+ */
2696
+ temperatureCelsius?: number | null;
2697
+ }
2698
+ /**
2699
+ * Metadata for the sensor measurement.
2700
+ */
2701
+ export interface Schema$SensorMetadata {
2702
+ /**
2703
+ * Optional. The location of the sensor measurement.
2704
+ */
2705
+ measurementLocation?: string | null;
2706
+ /**
2707
+ * Optional. The motion state of the sensor measurement.
2708
+ */
2709
+ measurementState?: string | null;
2710
+ /**
2711
+ * Optional. The type of the sensor.
2712
+ */
2713
+ sensorType?: string | null;
2714
+ }
2657
2715
  /**
2658
2716
  * Represents different properties and information about the serving of a specific food.
2659
2717
  */
@@ -2729,7 +2787,7 @@ export namespace health_v4beta {
2729
2787
  */
2730
2788
  languageLocale?: string | null;
2731
2789
  /**
2732
- * Identifier. The resource name of this Settings resource. Format: `users/{user\}/settings` Example: `users/1234567890/settings` or `users/me/settings` The {user\} ID is a system-generated Google Health API user ID, a string of 1-63 characters consisting of lowercase and uppercase letters, numbers, and hyphens. The literal `me` can also be used to refer to the authenticated user.
2790
+ * Identifier. The resource name of this Settings resource. Format: `users/{user\}/settings` Example: `users/1234567890/settings` or `users/me/settings` The {user\} ID is a system-generated Google Health API user ID, a string of 1-63 characters consisting of lowercase and uppercase letters, numbers, and hyphens. The literal `me` can also be used to refer to the authenticated user. This field is read-only.
2733
2791
  */
2734
2792
  name?: string | null;
2735
2793
  /**
@@ -2765,6 +2823,70 @@ export namespace health_v4beta {
2765
2823
  */
2766
2824
  weightUnit?: string | null;
2767
2825
  }
2826
+ /**
2827
+ * ////////////////////////////////////////////////////////////////////////// SkinTemperature ////////////////////////////////////////////////////////////////////////// Skin temperature measurement.
2828
+ */
2829
+ export interface Schema$SkinTemperature {
2830
+ /**
2831
+ * Required. The baseline skin temperature in Celsius. Must be in the range `[0, 100]`.
2832
+ */
2833
+ baselineTemperatureCelsius?: number | null;
2834
+ /**
2835
+ * Optional. Metadata for the skin temperature measurement.
2836
+ */
2837
+ metadata?: Schema$SkinTemperatureMetadata;
2838
+ /**
2839
+ * Required. The time at which skin temperature was measured.
2840
+ */
2841
+ sampleTime?: Schema$ObservationSampleTime;
2842
+ /**
2843
+ * Required. The skin temperature in Celsius. Must be in the range `[0, 100]`.
2844
+ */
2845
+ temperatureCelsius?: number | null;
2846
+ }
2847
+ /**
2848
+ * Metadata for the skin temperature measurement.
2849
+ */
2850
+ export interface Schema$SkinTemperatureMetadata {
2851
+ /**
2852
+ * Optional. The location of the skin temperature measurement.
2853
+ */
2854
+ measurementLocation?: string | null;
2855
+ /**
2856
+ * Optional. The motion state of the skin temperature measurement.
2857
+ */
2858
+ measurementState?: string | null;
2859
+ }
2860
+ /**
2861
+ * Represents the result of the rollup of the skin temperature data type.
2862
+ */
2863
+ export interface Schema$SkinTemperatureRollupValue {
2864
+ /**
2865
+ * Average skin temperature in Celsius.
2866
+ */
2867
+ temperatureCelsiusAvg?: number | null;
2868
+ /**
2869
+ * Maximum skin temperature in Celsius.
2870
+ */
2871
+ temperatureCelsiusMax?: number | null;
2872
+ /**
2873
+ * Minimum skin temperature in Celsius.
2874
+ */
2875
+ temperatureCelsiusMin?: number | null;
2876
+ }
2877
+ /**
2878
+ * Skin temperature sensor data containing multi-sensor readings.
2879
+ */
2880
+ export interface Schema$SkinTemperatureSensors {
2881
+ /**
2882
+ * Required. The observation sample time.
2883
+ */
2884
+ sampleTime?: Schema$ObservationSampleTime;
2885
+ /**
2886
+ * Required. Repeated sensor data readings for this sample.
2887
+ */
2888
+ sensorData?: Schema$SensorData[];
2889
+ }
2768
2890
  /**
2769
2891
  * A sleep session possibly including stages.
2770
2892
  */
@@ -2969,7 +3091,7 @@ export namespace health_v4beta {
2969
3091
  */
2970
3092
  export interface Schema$Steps {
2971
3093
  /**
2972
- * Required. Number of steps in the recorded interval.
3094
+ * Required. Number of steps in the recorded interval. Must be in the range `[0, 1000000]`.
2973
3095
  */
2974
3096
  count?: string | null;
2975
3097
  /**
@@ -3200,7 +3322,7 @@ export namespace health_v4beta {
3200
3322
  */
3201
3323
  sampleTime?: Schema$ObservationSampleTime;
3202
3324
  /**
3203
- * Required. VO2 max value measured as in ml consumed oxygen / kg of body weight / min.
3325
+ * Required. VO2 max value measured as in ml consumed oxygen / kg of body weight / min. Must be in the range `[0, 100]`.
3204
3326
  */
3205
3327
  vo2Max?: number | null;
3206
3328
  }
@@ -3209,7 +3331,7 @@ export namespace health_v4beta {
3209
3331
  */
3210
3332
  export interface Schema$VolumeQuantity {
3211
3333
  /**
3212
- * Required. Value representing the volume in milliliters.
3334
+ * Required. Value representing the volume in milliliters. Must be in the range `[0, 100000]`.
3213
3335
  */
3214
3336
  milliliters?: number | null;
3215
3337
  /**
@@ -3243,7 +3365,7 @@ export namespace health_v4beta {
3243
3365
  */
3244
3366
  sampleTime?: Schema$ObservationSampleTime;
3245
3367
  /**
3246
- * Required. Weight of a user in grams.
3368
+ * Required. Weight of a user in grams. Must be in the range `[0, 1000000]`.
3247
3369
  */
3248
3370
  weightGrams?: number | null;
3249
3371
  }
@@ -3252,7 +3374,7 @@ export namespace health_v4beta {
3252
3374
  */
3253
3375
  export interface Schema$WeightQuantity {
3254
3376
  /**
3255
- * Required. The weight value in grams.
3377
+ * Required. The weight value in grams. Must be in the range `[0, 100000]`.
3256
3378
  */
3257
3379
  grams?: number | null;
3258
3380
  /**
@@ -5528,7 +5650,7 @@ export namespace health_v4beta {
5528
5650
  *
5529
5651
  * // Do the magic
5530
5652
  * const res = await health.users.updateProfile({
5531
- * // Identifier. The resource name of this Profile resource. Format: `users/{user\}/profile` Example: `users/1234567890/profile` or `users/me/profile` The {user\} ID is a system-generated Google Health API user ID, a string of 1-63 characters consisting of lowercase and uppercase letters, numbers, and hyphens. The literal `me` can also be used to refer to the authenticated user.
5653
+ * // Identifier. The resource name of this Profile resource. Format: `users/{user\}/profile` Example: `users/1234567890/profile` or `users/me/profile` The {user\} ID is a system-generated Google Health API user ID, a string of 1-63 characters consisting of lowercase and uppercase letters, numbers, and hyphens. The literal `me` can also be used to refer to the authenticated user. This field is read-only.
5532
5654
  * name: 'users/my-user/profile',
5533
5655
  * // Optional. The list of fields to be updated.
5534
5656
  * updateMask: 'placeholder-value',
@@ -5683,7 +5805,7 @@ export namespace health_v4beta {
5683
5805
  *
5684
5806
  * // Do the magic
5685
5807
  * const res = await health.users.updateSettings({
5686
- * // Identifier. The resource name of this Settings resource. Format: `users/{user\}/settings` Example: `users/1234567890/settings` or `users/me/settings` The {user\} ID is a system-generated Google Health API user ID, a string of 1-63 characters consisting of lowercase and uppercase letters, numbers, and hyphens. The literal `me` can also be used to refer to the authenticated user.
5808
+ * // Identifier. The resource name of this Settings resource. Format: `users/{user\}/settings` Example: `users/1234567890/settings` or `users/me/settings` The {user\} ID is a system-generated Google Health API user ID, a string of 1-63 characters consisting of lowercase and uppercase letters, numbers, and hyphens. The literal `me` can also be used to refer to the authenticated user. This field is read-only.
5687
5809
  * name: 'users/my-user/settings',
5688
5810
  * // Optional. The list of fields to be updated.
5689
5811
  * updateMask: 'placeholder-value',
@@ -5850,7 +5972,7 @@ export namespace health_v4beta {
5850
5972
  }
5851
5973
  export interface Params$Resource$Users$Updateprofile extends StandardParameters {
5852
5974
  /**
5853
- * Identifier. The resource name of this Profile resource. Format: `users/{user\}/profile` Example: `users/1234567890/profile` or `users/me/profile` The {user\} ID is a system-generated Google Health API user ID, a string of 1-63 characters consisting of lowercase and uppercase letters, numbers, and hyphens. The literal `me` can also be used to refer to the authenticated user.
5975
+ * Identifier. The resource name of this Profile resource. Format: `users/{user\}/profile` Example: `users/1234567890/profile` or `users/me/profile` The {user\} ID is a system-generated Google Health API user ID, a string of 1-63 characters consisting of lowercase and uppercase letters, numbers, and hyphens. The literal `me` can also be used to refer to the authenticated user. This field is read-only.
5854
5976
  */
5855
5977
  name?: string;
5856
5978
  /**
@@ -5865,7 +5987,7 @@ export namespace health_v4beta {
5865
5987
  }
5866
5988
  export interface Params$Resource$Users$Updatesettings extends StandardParameters {
5867
5989
  /**
5868
- * Identifier. The resource name of this Settings resource. Format: `users/{user\}/settings` Example: `users/1234567890/settings` or `users/me/settings` The {user\} ID is a system-generated Google Health API user ID, a string of 1-63 characters consisting of lowercase and uppercase letters, numbers, and hyphens. The literal `me` can also be used to refer to the authenticated user.
5990
+ * Identifier. The resource name of this Settings resource. Format: `users/{user\}/settings` Example: `users/1234567890/settings` or `users/me/settings` The {user\} ID is a system-generated Google Health API user ID, a string of 1-63 characters consisting of lowercase and uppercase letters, numbers, and hyphens. The literal `me` can also be used to refer to the authenticated user. This field is read-only.
5869
5991
  */
5870
5992
  name?: string;
5871
5993
  /**
@@ -6133,6 +6255,8 @@ export namespace health_v4beta {
6133
6255
  * // "respiratoryRateSleepSummary": {},
6134
6256
  * // "runVo2Max": {},
6135
6257
  * // "sedentaryPeriod": {},
6258
+ * // "skinTemperature": {},
6259
+ * // "skinTemperatureSensors": {},
6136
6260
  * // "sleep": {},
6137
6261
  * // "steps": {},
6138
6262
  * // "swimLengthsData": {},
@@ -6274,8 +6398,10 @@ export namespace health_v4beta {
6274
6398
  * scopes: [
6275
6399
  * 'https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly',
6276
6400
  * 'https://www.googleapis.com/auth/googlehealth.activity_and_fitness.writeonly',
6401
+ * 'https://www.googleapis.com/auth/googlehealth.ecg.readonly',
6277
6402
  * 'https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly',
6278
6403
  * 'https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.writeonly',
6404
+ * 'https://www.googleapis.com/auth/googlehealth.irn.readonly',
6279
6405
  * 'https://www.googleapis.com/auth/googlehealth.location.readonly',
6280
6406
  * 'https://www.googleapis.com/auth/googlehealth.logged_symptoms.readonly',
6281
6407
  * 'https://www.googleapis.com/auth/googlehealth.logged_symptoms.writeonly',
@@ -6314,6 +6440,7 @@ export namespace health_v4beta {
6314
6440
  *
6315
6441
  * // Example response
6316
6442
  * // {
6443
+ * // "nextPageToken": "my_nextPageToken",
6317
6444
  * // "rollupDataPoints": []
6318
6445
  * // }
6319
6446
  * }
@@ -6590,8 +6717,10 @@ export namespace health_v4beta {
6590
6717
  * scopes: [
6591
6718
  * 'https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly',
6592
6719
  * 'https://www.googleapis.com/auth/googlehealth.activity_and_fitness.writeonly',
6720
+ * 'https://www.googleapis.com/auth/googlehealth.ecg.readonly',
6593
6721
  * 'https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly',
6594
6722
  * 'https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.writeonly',
6723
+ * 'https://www.googleapis.com/auth/googlehealth.irn.readonly',
6595
6724
  * 'https://www.googleapis.com/auth/googlehealth.location.readonly',
6596
6725
  * 'https://www.googleapis.com/auth/googlehealth.logged_symptoms.readonly',
6597
6726
  * 'https://www.googleapis.com/auth/googlehealth.logged_symptoms.writeonly',
@@ -6655,6 +6784,8 @@ export namespace health_v4beta {
6655
6784
  * // "respiratoryRateSleepSummary": {},
6656
6785
  * // "runVo2Max": {},
6657
6786
  * // "sedentaryPeriod": {},
6787
+ * // "skinTemperature": {},
6788
+ * // "skinTemperatureSensors": {},
6658
6789
  * // "sleep": {},
6659
6790
  * // "steps": {},
6660
6791
  * // "swimLengthsData": {},
@@ -6781,8 +6912,10 @@ export namespace health_v4beta {
6781
6912
  * scopes: [
6782
6913
  * 'https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly',
6783
6914
  * 'https://www.googleapis.com/auth/googlehealth.activity_and_fitness.writeonly',
6915
+ * 'https://www.googleapis.com/auth/googlehealth.ecg.readonly',
6784
6916
  * 'https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly',
6785
6917
  * 'https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.writeonly',
6918
+ * 'https://www.googleapis.com/auth/googlehealth.irn.readonly',
6786
6919
  * 'https://www.googleapis.com/auth/googlehealth.location.readonly',
6787
6920
  * 'https://www.googleapis.com/auth/googlehealth.logged_symptoms.readonly',
6788
6921
  * 'https://www.googleapis.com/auth/googlehealth.logged_symptoms.writeonly',
@@ -6802,6 +6935,8 @@ export namespace health_v4beta {
6802
6935
  *
6803
6936
  * // Do the magic
6804
6937
  * const res = await health.users.dataTypes.dataPoints.list({
6938
+ * // Optional. The data source family name to filter by. If empty, data points from all available data sources will be returned. Format: `users/me/dataSourceFamilies/{data_source_family\}` The supported values are: - `users/me/dataSourceFamilies/all-sources` - Default value. Includes data from all available data sources. - `users/me/dataSourceFamilies/google-wearables` - Includes data from Google and Fitbit tracker devices (such as Fitbit trackers and Pixel Watch). Excludes manually logged data. - `users/me/dataSourceFamilies/google-sources` - Includes first-party Google data, such as data from tracker devices, manually logged data, and Health Connect. - `users/me/dataSourceFamilies/self-sources` - Includes only the data the calling client wrote through this API, that is, data points whose data source was registered through this API with the same OAuth client ID as the caller. Callers that were only granted write scopes for the requested data types may only read the data they wrote themselves: their requests are implicitly restricted to `self-sources`, and requesting any other data source family fails with `PERMISSION_DENIED`. If no data point matches the requested data source family, the response is an empty list rather than an error. Filtering by data source family is not supported for the `sleep`, `food` and `food-measurement-unit` data types, because the underlying listing implementation cannot restrict results by data source. Such requests fail with `INVALID_ARGUMENT` when the data source family is set explicitly, and with `PERMISSION_DENIED` when the restriction is only implied by the caller's scopes. For `sleep`, use ReconcileDataPoints instead.
6939
+ * dataSourceFamily: 'placeholder-value',
6805
6940
  * // Optional. Filter expression following https://google.aip.dev/160. A time range (either physical or civil) can be specified. The supported filter fields are: - Interval start time: - Pattern: `{interval_data_type\}.interval.start_time` - Supported comparison operators: `\>=`, `<` - Timestamp literal expected in RFC-3339 format - Supported logical operators: `AND` - Example: - `steps.interval.start_time \>= "2023-11-24T00:00:00Z" AND steps.interval.start_time < "2023-11-25T00:00:00Z"` - `distance.interval.start_time \>= "2024-08-14T12:34:56Z"` - Interval civil start time: - Pattern: `{interval_data_type\}.interval.civil_start_time` - Supported comparison operators: `\>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND` - Example: - `steps.interval.civil_start_time \>= "2023-11-24" AND steps.interval.civil_start_time < "2023-11-25"` - `distance.interval.civil_start_time \>= "2024-08-14T12:34:56"` - Sample observation physical time: - Pattern: `{sample_data_type\}.sample_time.physical_time` - Supported comparison operators: `\>=`, `<` - Timestamp literal expected in RFC-3339 format - Supported logical operators: `AND` - Example: - `weight.sample_time.physical_time \>= "2023-11-24T00:00:00Z" AND weight.sample_time.physical_time < "2023-11-25T00:00:00Z"` - `weight.sample_time.physical_time \>= "2024-08-14T12:34:56Z"` - Sample observation civil time: - Pattern: `{sample_data_type\}.sample_time.civil_time` - Supported comparison operators: `\>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND` - Example: - `weight.sample_time.civil_time \>= "2023-11-24" AND weight.sample_time.civil_time < "2023-11-25"` - `weight.sample_time.civil_time \>= "2024-08-14T12:34:56"` - Daily summary date: - Pattern: `{daily_summary_data_type\}.date` - Supported comparison operators: `\>=`, `<` - Date literal expected in ISO 8601 `YYYY-MM-DD` format - Supported logical operators: `AND` - Example: - `daily_heart_rate_variability.date < "2024-08-15"` - Session civil start time (**Excluding Sleep and ECG**): - Pattern: `{session_data_type\}.interval.civil_start_time` - Supported comparison operators: `\>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND` - Example: - `exercise.interval.civil_start_time \>= "2023-11-24" AND exercise.interval.civil_start_time < "2023-11-25"` - `exercise.interval.civil_start_time \>= "2024-08-14T12:34:56"` - Session start time (**ECG specific**): - Pattern: `electrocardiogram.interval.start_time` - Supported comparison operators: `\>=` - Timestamp literal expected in RFC-3339 format - Example: - `electrocardiogram.interval.start_time \>= "2024-08-14T12:34:56Z"` - Note: Only filtering by start time is supported for ECG. Filtering by end time (e.g., `electrocardiogram.interval.end_time`) is not supported. - Session end time (**Sleep specific**): - Pattern: `sleep.interval.end_time` - Supported comparison operators: `\>=`, `<` - Timestamp literal expected in RFC-3339 format - Supported logical operators: `AND`, `OR` - Example: - `sleep.interval.end_time \>= "2023-11-24T00:00:00Z" AND sleep.interval.end_time < "2023-11-25T00:00:00Z"` - Session civil end time (**Sleep specific**): - Pattern: `sleep.interval.civil_end_time` - Supported comparison operators: `\>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND`, `OR` - Example: - `sleep.interval.civil_end_time \>= "2023-11-24" AND sleep.interval.civil_end_time < "2023-11-25"` Data points in the response will be ordered by the interval start time in descending order.
6806
6941
  * filter: 'placeholder-value',
6807
6942
  * // Optional. The maximum number of data points to return. If unspecified, at most 1440 data points will be returned. The maximum page size is 10000; values above that will be truncated accordingly. For `exercise` and `sleep` the default page size is 25. The maximum page size for `exercise` and `sleep` is 25.
@@ -6999,6 +7134,8 @@ export namespace health_v4beta {
6999
7134
  * // "respiratoryRateSleepSummary": {},
7000
7135
  * // "runVo2Max": {},
7001
7136
  * // "sedentaryPeriod": {},
7137
+ * // "skinTemperature": {},
7138
+ * // "skinTemperatureSensors": {},
7002
7139
  * // "sleep": {},
7003
7140
  * // "steps": {},
7004
7141
  * // "swimLengthsData": {},
@@ -7137,8 +7274,10 @@ export namespace health_v4beta {
7137
7274
  * scopes: [
7138
7275
  * 'https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly',
7139
7276
  * 'https://www.googleapis.com/auth/googlehealth.activity_and_fitness.writeonly',
7277
+ * 'https://www.googleapis.com/auth/googlehealth.ecg.readonly',
7140
7278
  * 'https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly',
7141
7279
  * 'https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.writeonly',
7280
+ * 'https://www.googleapis.com/auth/googlehealth.irn.readonly',
7142
7281
  * 'https://www.googleapis.com/auth/googlehealth.location.readonly',
7143
7282
  * 'https://www.googleapis.com/auth/googlehealth.logged_symptoms.readonly',
7144
7283
  * 'https://www.googleapis.com/auth/googlehealth.logged_symptoms.writeonly',
@@ -7158,7 +7297,7 @@ export namespace health_v4beta {
7158
7297
  *
7159
7298
  * // Do the magic
7160
7299
  * const res = await health.users.dataTypes.dataPoints.reconcile({
7161
- * // Optional. The data source family name to reconcile. If empty, data points from all data sources will be reconciled. Format: `users/me/dataSourceFamilies/{data_source_family\}` - `users/me/dataSourceFamilies/all-sources` - Default value. Includes data from all available data sources. - `users/me/dataSourceFamilies/google-wearables` - Includes data from Google and Fitbit tracker devices (such as Fitbit trackers and Pixel Watch). Excludes manually logged data. - `users/me/dataSourceFamilies/google-sources` - Includes first-party Google data, such as data from tracker devices, manually logged data, and Health Connect.
7300
+ * // Optional. The data source family name to reconcile. If empty, data points from all data sources will be reconciled. Format: `users/me/dataSourceFamilies/{data_source_family\}` - `users/me/dataSourceFamilies/all-sources` - Default value. Includes data from all available data sources. - `users/me/dataSourceFamilies/google-wearables` - Includes data from Google and Fitbit tracker devices (such as Fitbit trackers and Pixel Watch). Excludes manually logged data. - `users/me/dataSourceFamilies/google-sources` - Includes first-party Google data, such as data from tracker devices, manually logged data, and Health Connect. - `users/me/dataSourceFamilies/self-sources` - Includes only the data the calling client wrote through this API, that is, data points whose data source was registered through this API with the same OAuth client ID as the caller. Callers that were only granted write scopes for the requested data type may only read the data they wrote themselves: their requests are implicitly restricted to `self-sources`, and requesting any other data source family fails with `PERMISSION_DENIED`. If no data point matches the requested data source family, the response is an empty list rather than an error.
7162
7301
  * dataSourceFamily: 'placeholder-value',
7163
7302
  * // Optional. Filter expression based on https://aip.dev/160. A time range, either physical or civil, can be specified. See the ListDataPointsRequest.filter for the supported fields and syntax.
7164
7303
  * filter: 'placeholder-value',
@@ -7302,8 +7441,10 @@ export namespace health_v4beta {
7302
7441
  * scopes: [
7303
7442
  * 'https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly',
7304
7443
  * 'https://www.googleapis.com/auth/googlehealth.activity_and_fitness.writeonly',
7444
+ * 'https://www.googleapis.com/auth/googlehealth.ecg.readonly',
7305
7445
  * 'https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly',
7306
7446
  * 'https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.writeonly',
7447
+ * 'https://www.googleapis.com/auth/googlehealth.irn.readonly',
7307
7448
  * 'https://www.googleapis.com/auth/googlehealth.location.readonly',
7308
7449
  * 'https://www.googleapis.com/auth/googlehealth.logged_symptoms.readonly',
7309
7450
  * 'https://www.googleapis.com/auth/googlehealth.logged_symptoms.writeonly',
@@ -7496,6 +7637,10 @@ export namespace health_v4beta {
7496
7637
  name?: string;
7497
7638
  }
7498
7639
  export interface Params$Resource$Users$Datatypes$Datapoints$List extends StandardParameters {
7640
+ /**
7641
+ * Optional. The data source family name to filter by. If empty, data points from all available data sources will be returned. Format: `users/me/dataSourceFamilies/{data_source_family\}` The supported values are: - `users/me/dataSourceFamilies/all-sources` - Default value. Includes data from all available data sources. - `users/me/dataSourceFamilies/google-wearables` - Includes data from Google and Fitbit tracker devices (such as Fitbit trackers and Pixel Watch). Excludes manually logged data. - `users/me/dataSourceFamilies/google-sources` - Includes first-party Google data, such as data from tracker devices, manually logged data, and Health Connect. - `users/me/dataSourceFamilies/self-sources` - Includes only the data the calling client wrote through this API, that is, data points whose data source was registered through this API with the same OAuth client ID as the caller. Callers that were only granted write scopes for the requested data types may only read the data they wrote themselves: their requests are implicitly restricted to `self-sources`, and requesting any other data source family fails with `PERMISSION_DENIED`. If no data point matches the requested data source family, the response is an empty list rather than an error. Filtering by data source family is not supported for the `sleep`, `food` and `food-measurement-unit` data types, because the underlying listing implementation cannot restrict results by data source. Such requests fail with `INVALID_ARGUMENT` when the data source family is set explicitly, and with `PERMISSION_DENIED` when the restriction is only implied by the caller's scopes. For `sleep`, use ReconcileDataPoints instead.
7642
+ */
7643
+ dataSourceFamily?: string;
7499
7644
  /**
7500
7645
  * Optional. Filter expression following https://google.aip.dev/160. A time range (either physical or civil) can be specified. The supported filter fields are: - Interval start time: - Pattern: `{interval_data_type\}.interval.start_time` - Supported comparison operators: `\>=`, `<` - Timestamp literal expected in RFC-3339 format - Supported logical operators: `AND` - Example: - `steps.interval.start_time \>= "2023-11-24T00:00:00Z" AND steps.interval.start_time < "2023-11-25T00:00:00Z"` - `distance.interval.start_time \>= "2024-08-14T12:34:56Z"` - Interval civil start time: - Pattern: `{interval_data_type\}.interval.civil_start_time` - Supported comparison operators: `\>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND` - Example: - `steps.interval.civil_start_time \>= "2023-11-24" AND steps.interval.civil_start_time < "2023-11-25"` - `distance.interval.civil_start_time \>= "2024-08-14T12:34:56"` - Sample observation physical time: - Pattern: `{sample_data_type\}.sample_time.physical_time` - Supported comparison operators: `\>=`, `<` - Timestamp literal expected in RFC-3339 format - Supported logical operators: `AND` - Example: - `weight.sample_time.physical_time \>= "2023-11-24T00:00:00Z" AND weight.sample_time.physical_time < "2023-11-25T00:00:00Z"` - `weight.sample_time.physical_time \>= "2024-08-14T12:34:56Z"` - Sample observation civil time: - Pattern: `{sample_data_type\}.sample_time.civil_time` - Supported comparison operators: `\>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND` - Example: - `weight.sample_time.civil_time \>= "2023-11-24" AND weight.sample_time.civil_time < "2023-11-25"` - `weight.sample_time.civil_time \>= "2024-08-14T12:34:56"` - Daily summary date: - Pattern: `{daily_summary_data_type\}.date` - Supported comparison operators: `\>=`, `<` - Date literal expected in ISO 8601 `YYYY-MM-DD` format - Supported logical operators: `AND` - Example: - `daily_heart_rate_variability.date < "2024-08-15"` - Session civil start time (**Excluding Sleep and ECG**): - Pattern: `{session_data_type\}.interval.civil_start_time` - Supported comparison operators: `\>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND` - Example: - `exercise.interval.civil_start_time \>= "2023-11-24" AND exercise.interval.civil_start_time < "2023-11-25"` - `exercise.interval.civil_start_time \>= "2024-08-14T12:34:56"` - Session start time (**ECG specific**): - Pattern: `electrocardiogram.interval.start_time` - Supported comparison operators: `\>=` - Timestamp literal expected in RFC-3339 format - Example: - `electrocardiogram.interval.start_time \>= "2024-08-14T12:34:56Z"` - Note: Only filtering by start time is supported for ECG. Filtering by end time (e.g., `electrocardiogram.interval.end_time`) is not supported. - Session end time (**Sleep specific**): - Pattern: `sleep.interval.end_time` - Supported comparison operators: `\>=`, `<` - Timestamp literal expected in RFC-3339 format - Supported logical operators: `AND`, `OR` - Example: - `sleep.interval.end_time \>= "2023-11-24T00:00:00Z" AND sleep.interval.end_time < "2023-11-25T00:00:00Z"` - Session civil end time (**Sleep specific**): - Pattern: `sleep.interval.civil_end_time` - Supported comparison operators: `\>=`, `<` - Date with optional time literal expected in ISO 8601 `YYYY-MM-DD[THH:mm:ss]` format - Supported logical operators: `AND`, `OR` - Example: - `sleep.interval.civil_end_time \>= "2023-11-24" AND sleep.interval.civil_end_time < "2023-11-25"` Data points in the response will be ordered by the interval start time in descending order.
7501
7646
  */
@@ -7526,7 +7671,7 @@ export namespace health_v4beta {
7526
7671
  }
7527
7672
  export interface Params$Resource$Users$Datatypes$Datapoints$Reconcile extends StandardParameters {
7528
7673
  /**
7529
- * Optional. The data source family name to reconcile. If empty, data points from all data sources will be reconciled. Format: `users/me/dataSourceFamilies/{data_source_family\}` - `users/me/dataSourceFamilies/all-sources` - Default value. Includes data from all available data sources. - `users/me/dataSourceFamilies/google-wearables` - Includes data from Google and Fitbit tracker devices (such as Fitbit trackers and Pixel Watch). Excludes manually logged data. - `users/me/dataSourceFamilies/google-sources` - Includes first-party Google data, such as data from tracker devices, manually logged data, and Health Connect.
7674
+ * Optional. The data source family name to reconcile. If empty, data points from all data sources will be reconciled. Format: `users/me/dataSourceFamilies/{data_source_family\}` - `users/me/dataSourceFamilies/all-sources` - Default value. Includes data from all available data sources. - `users/me/dataSourceFamilies/google-wearables` - Includes data from Google and Fitbit tracker devices (such as Fitbit trackers and Pixel Watch). Excludes manually logged data. - `users/me/dataSourceFamilies/google-sources` - Includes first-party Google data, such as data from tracker devices, manually logged data, and Health Connect. - `users/me/dataSourceFamilies/self-sources` - Includes only the data the calling client wrote through this API, that is, data points whose data source was registered through this API with the same OAuth client ID as the caller. Callers that were only granted write scopes for the requested data type may only read the data they wrote themselves: their requests are implicitly restricted to `self-sources`, and requesting any other data source family fails with `PERMISSION_DENIED`. If no data point matches the requested data source family, the response is an empty list rather than an error.
7530
7675
  */
7531
7676
  dataSourceFamily?: string;
7532
7677
  /**