@googleapis/health 2.0.0 → 3.1.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/build/v4.d.ts CHANGED
@@ -68,6 +68,7 @@ export declare namespace health_v4 {
68
68
  export class Health {
69
69
  context: APIRequestContext;
70
70
  projects: Resource$Projects;
71
+ shl: Resource$Shl;
71
72
  users: Resource$Users;
72
73
  constructor(options: GlobalOptions, google?: GoogleConfigurable);
73
74
  }
@@ -700,7 +701,7 @@ export declare namespace health_v4 {
700
701
  */
701
702
  export interface Schema$DailyRollUpDataPointsRequest {
702
703
  /**
703
- * 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 - `users/me/dataSourceFamilies/google-wearables` - tracker devices - `users/me/dataSourceFamilies/google-sources` - Google first party sources
704
+ * 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.
704
705
  */
705
706
  dataSourceFamily?: string | null;
706
707
  /**
@@ -892,13 +893,25 @@ export declare namespace health_v4 {
892
893
  */
893
894
  irregularRhythmNotification?: Schema$IrregularRhythmNotification;
894
895
  /**
895
- * Identifier. Data point name, only supported for the subset of identifiable data types. For the majority of the data types, individual data points do not need to be identified and this field would be empty. Format: `users/{user\}/dataTypes/{data_type\}/dataPoints/{data_point\}` Example: `users/abcd1234/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef` The `{user\}` ID is a system-generated identifier, as described in Identity.health_user_id. The `{data_type\}` ID corresponds to the kebab-case version of the field names in the DataPoint data union field, e.g. `total-calories` for the `total_calories` field. The `{data_point\}` ID can be client-provided or system-generated. If client-provided, it must be a string of 4-63 characters, containing only lowercase letters, numbers, and hyphens.
896
+ * Optional. Data for points in the `menstrual-period` interval data type collection.
897
+ */
898
+ menstrualPeriod?: Schema$MenstrualPeriod;
899
+ /**
900
+ * Optional. Data for points in the `moods` sample data type collection.
901
+ */
902
+ moods?: Schema$Moods;
903
+ /**
904
+ * Identifier. Data point name, only supported for the subset of identifiable data types. For the majority of the data types, individual data points do not need to be identified and this field would be empty. Format: `users/{user\}/dataTypes/{data_type\}/dataPoints/{data_point\}` Example: `users/abcd1234/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef` The `{user\}` ID is a system-generated identifier, as described in Identity.health_user_id. The `{data_type\}` ID corresponds to the kebab-case version of the field names in the DataPoint data union field, e.g. `heart-rate` for the `heart_rate` field. The `{data_point\}` ID can be client-provided or system-generated. If client-provided, it must be a string of 4-63 characters, containing only lowercase letters, numbers, and hyphens.
896
905
  */
897
906
  name?: string | null;
898
907
  /**
899
908
  * Optional. Data for points in the `nutrition-log` session data type collection.
900
909
  */
901
910
  nutritionLog?: Schema$NutritionLog;
911
+ /**
912
+ * Optional. Data for points in the `ovulation-test` sample data type collection.
913
+ */
914
+ ovulationTest?: Schema$OvulationTest;
902
915
  /**
903
916
  * Optional. Data for points in the `oxygen-saturation` sample data type collection.
904
917
  */
@@ -927,6 +940,10 @@ export declare namespace health_v4 {
927
940
  * Optional. Data for points in the `swim-lengths-data` interval data type collection.
928
941
  */
929
942
  swimLengthsData?: Schema$SwimLengthsData;
943
+ /**
944
+ * Optional. Data for points in the `symptoms` sample data type collection.
945
+ */
946
+ symptoms?: Schema$Symptoms;
930
947
  /**
931
948
  * Optional. Data for points in the `time-in-heart-rate-zone` interval data type collection.
932
949
  */
@@ -1101,7 +1118,7 @@ export declare namespace health_v4 {
1101
1118
  export interface Schema$Empty {
1102
1119
  }
1103
1120
  /**
1104
- * Authorization mechanism for a subscriber endpoint. For all requests sent by the Webhooks service, the JSON payload is cryptographically signed. The signature is delivered in the `X-HEALTHAPI-SIGNATURE` HTTP header. This is an ECDSA (NIST P256) signature of the JSON payload. Clients must verify this signature using Google Health API's public key to confirm the payload was sent by the Health API.
1121
+ * Authorization mechanism for a subscriber endpoint. For all requests sent by the Webhooks service, the JSON payload is cryptographically signed. The signature is delivered in the `GOOGLE-HEALTH-API-SIGNATURE` HTTP header. This is an ECDSA (NIST P256) signature of the JSON payload. Clients must verify this signature using Google Health API's public key to confirm the payload was sent by the Health API.
1105
1122
  */
1106
1123
  export interface Schema$EndpointAuthorization {
1107
1124
  /**
@@ -1118,7 +1135,7 @@ export declare namespace health_v4 {
1118
1135
  */
1119
1136
  export interface Schema$EnergyQuantity {
1120
1137
  /**
1121
- * Required. Value representing the energy in kilocalories.
1138
+ * Required. The energy value in kilocalories.
1122
1139
  */
1123
1140
  kcal?: number | null;
1124
1141
  /**
@@ -1152,7 +1169,7 @@ export declare namespace health_v4 {
1152
1169
  */
1153
1170
  createTime?: string | null;
1154
1171
  /**
1155
- * Required. Exercise display name.
1172
+ * Required. The localized, human-readable name of the exercise. For all exercise types other than `OTHER`, the system ignores client input and overrides this field with a generated name based on `exercise_type` (e.g., "Walking" for `WALKING`). If `exercise_type` is `OTHER`, this field can contain the user's custom, free-form display name.
1156
1173
  */
1157
1174
  displayName?: string | null;
1158
1175
  /**
@@ -1365,6 +1382,15 @@ export declare namespace health_v4 {
1365
1382
  */
1366
1383
  name?: string | null;
1367
1384
  }
1385
+ /**
1386
+ * Represents a user in the Google Health API. It matches the parent resource of collections owned by the user. Clients currently do not need to interact with this resource directly.
1387
+ */
1388
+ export interface Schema$GoogleDevicesandservicesHealthV4User {
1389
+ /**
1390
+ * Identifier. The resource name of the user. The `{user\}` ID is a system-generated identifier, as described in Identity.health_user_id. Format: `users/{user\}`
1391
+ */
1392
+ name?: string | null;
1393
+ }
1368
1394
  /**
1369
1395
  * Log message for a webhook notification sent by the Google Health API to a subscriber's endpoint. Includes the HTTP response received from the endpoint.
1370
1396
  */
@@ -1502,6 +1528,25 @@ export declare namespace health_v4 {
1502
1528
  */
1503
1529
  sampleTime?: Schema$ObservationSampleTime;
1504
1530
  }
1531
+ /**
1532
+ * Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; \} service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); \} Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); \} Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.
1533
+ */
1534
+ export interface Schema$HttpBody {
1535
+ /**
1536
+ * The HTTP Content-Type header value specifying the content type of the body.
1537
+ */
1538
+ contentType?: string | null;
1539
+ /**
1540
+ * The HTTP request/response body as raw binary.
1541
+ */
1542
+ data?: string | null;
1543
+ /**
1544
+ * Application specific response metadata. Must be set in the first response for streaming APIs.
1545
+ */
1546
+ extensions?: Array<{
1547
+ [key: string]: any;
1548
+ }> | null;
1549
+ }
1505
1550
  /**
1506
1551
  * Represents an HTTP header.
1507
1552
  */
@@ -1682,6 +1727,23 @@ export declare namespace health_v4 {
1682
1727
  */
1683
1728
  subscriptions?: Schema$Subscription[];
1684
1729
  }
1730
+ /**
1731
+ * Represents the POST body contained in a GetShlManifestRequest This message is nested to represent that See https://build.fhir.org/ig/HL7/smart-health-cards-and-links/links-specification.html#smart-health-link-manifest-request
1732
+ */
1733
+ export interface Schema$ManifestParams {
1734
+ /**
1735
+ * Optional. Integer upper bound on the length of embedded payloads
1736
+ */
1737
+ embeddedLengthMax?: number | null;
1738
+ /**
1739
+ * Optional.
1740
+ */
1741
+ passcode?: string | null;
1742
+ /**
1743
+ * Required. A string describing the recipient (e.g.,the name of an organization or person) suitable for display to the Receiving User
1744
+ */
1745
+ recipient?: string | null;
1746
+ }
1685
1747
  /**
1686
1748
  * Software as Medical Device (SaMD) metadata. Used to construct the Unique Device Identifier (UDI).
1687
1749
  */
@@ -1707,6 +1769,19 @@ export declare namespace health_v4 {
1707
1769
  */
1708
1770
  serviceVersion?: string | null;
1709
1771
  }
1772
+ /**
1773
+ * Menstrual period record.
1774
+ */
1775
+ export interface Schema$MenstrualPeriod {
1776
+ /**
1777
+ * Required. Observed interval.
1778
+ */
1779
+ interval?: Schema$ObservationTimeInterval;
1780
+ /**
1781
+ * Optional. Standard free-form notes captured at manual logging.
1782
+ */
1783
+ notes?: string | null;
1784
+ }
1710
1785
  /**
1711
1786
  * Summary metrics for an exercise.
1712
1787
  */
@@ -1785,16 +1860,33 @@ export declare namespace health_v4 {
1785
1860
  */
1786
1861
  avgVerticalRatio?: number | null;
1787
1862
  }
1863
+ /**
1864
+ * Moods record.
1865
+ */
1866
+ export interface Schema$Moods {
1867
+ /**
1868
+ * Required. The moods logged.
1869
+ */
1870
+ moods?: string[] | null;
1871
+ /**
1872
+ * Required. The time at which moods were measured.
1873
+ */
1874
+ sampleTime?: Schema$ObservationSampleTime;
1875
+ /**
1876
+ * Optional. The valences.
1877
+ */
1878
+ valences?: string[] | null;
1879
+ }
1788
1880
  /**
1789
1881
  * Represents the quantity of a nutrient.
1790
1882
  */
1791
1883
  export interface Schema$NutrientQuantity {
1792
1884
  /**
1793
- * Required. Value representing the nutrient.
1885
+ * Required. The nutrient type.
1794
1886
  */
1795
1887
  nutrient?: string | null;
1796
1888
  /**
1797
- * Required. Value representing the quantity of the nutrient.
1889
+ * Required. The quantity of the nutrient, measured in grams.
1798
1890
  */
1799
1891
  quantity?: Schema$WeightQuantity;
1800
1892
  }
@@ -1812,47 +1904,47 @@ export declare namespace health_v4 {
1812
1904
  quantity?: Schema$WeightQuantityRollup;
1813
1905
  }
1814
1906
  /**
1815
- * Holds information about a user logged food. There are two ways of creating a nutrition log based on the food type: 1. Identified food: Using the food field, which is a reference to a Food resource. In this case fields `nutrients`, `energy`, `energy_from_fat`, `total_carbohydrate`, `total_fat`, `food_display_name` will be populated based on the referenced food. 2. Anonymous food: Using the `food_display_name` field and setting the `nutrients`, `energy`, `energy_from_fat`, `total_carbohydrate`, `total_fat` fields manually. The identified food is preferred over the anonymous food. Nutrition logs created from anonymous food are not be editable.
1907
+ * Holds information about food logged by a user. There are two ways of creating a nutrition log based on the food type: 1. Identified food: Using the food field, which is a reference to a Food resource. In this case fields `nutrients`, `energy`, `energy_from_fat`, `total_carbohydrate`, `total_fat`, `food_display_name` will be populated based on the referenced food. 2. Anonymous food: Using the `food_display_name` field and setting the `nutrients`, `energy`, `energy_from_fat`, `total_carbohydrate`, `total_fat` fields manually. The identified food is preferred over the anonymous food. Nutrition logs created from anonymous food are not editable.
1816
1908
  */
1817
1909
  export interface Schema$NutritionLog {
1818
1910
  /**
1819
- * Optional. Value representing the energy of the nutrition log. For nutrition logs created from an identified food, this field will be populated based on the referenced food. For anonymous food, this field will be populated manually.
1911
+ * Optional. The total energy of the food, measured in kilocalories (`kcal`).
1820
1912
  */
1821
1913
  energy?: Schema$EnergyQuantity;
1822
1914
  /**
1823
- * Optional. Value representing the energy from fat of the nutrition log. For nutrition logs created from an identified food, this field will be populated based on the referenced food. For anonymous food, this field will be populated manually.
1915
+ * Optional. The energy from fat, measured in kilocalories (`kcal`).
1824
1916
  */
1825
1917
  energyFromFat?: Schema$EnergyQuantity;
1826
1918
  /**
1827
- * Required. Represents the food ID.
1919
+ * Optional. The resource name of the Food item. Required when creating a nutrition log from an identified food. For anonymous food logs, use the `food_display_name` field instead.
1828
1920
  */
1829
1921
  food?: string | null;
1830
1922
  /**
1831
- * Value representing the display name of the food. For nutrition logs created from an identified food, this field will be populated based on the referenced food. For anonymous food, this field will be populated manually.
1923
+ * The display name of the food. For identified food logs, this is populated automatically from the referenced food.
1832
1924
  */
1833
1925
  foodDisplayName?: string | null;
1834
1926
  /**
1835
- * Required. Observed interval.
1927
+ * Required. The time window when the food was logged.
1836
1928
  */
1837
1929
  interval?: Schema$SessionTimeInterval;
1838
1930
  /**
1839
- * Optional. Value representing the meal type of the nutrition log.
1931
+ * Optional. The meal category. One of `BREAKFAST`, `LUNCH`, `DINNER`, or `SNACK`.
1840
1932
  */
1841
1933
  mealType?: string | null;
1842
1934
  /**
1843
- * Optional. Value representing the nutrients of the nutrition log.
1935
+ * Optional. An array of individual nutrient values for the nutrition log.
1844
1936
  */
1845
1937
  nutrients?: Schema$NutrientQuantity[];
1846
1938
  /**
1847
- * Optional. Value representing the nutrition log serving.
1939
+ * Optional. The serving information for the logged food.
1848
1940
  */
1849
1941
  serving?: Schema$Serving;
1850
1942
  /**
1851
- * Optional. Value representing the total carbohydrate of the nutrition log. For nutrition logs created from an identified food, this field will be populated based on the referenced food. For anonymous food, this field will be populated manually.
1943
+ * Optional. The total carbohydrate content, measured in grams.
1852
1944
  */
1853
1945
  totalCarbohydrate?: Schema$WeightQuantity;
1854
1946
  /**
1855
- * Optional. Value representing the total fat of the nutrition log. For nutrition logs created from an identified food, this field will be populated based on the referenced food. For anonymous food, this field will be populated manually.
1947
+ * Optional. The total fat content, measured in grams.
1856
1948
  */
1857
1949
  totalFat?: Schema$WeightQuantity;
1858
1950
  }
@@ -1977,6 +2069,19 @@ export declare namespace health_v4 {
1977
2069
  */
1978
2070
  startUtcOffset?: string | null;
1979
2071
  }
2072
+ /**
2073
+ * Ovulation test record.
2074
+ */
2075
+ export interface Schema$OvulationTest {
2076
+ /**
2077
+ * Required. The result of the ovulation test.
2078
+ */
2079
+ result?: string | null;
2080
+ /**
2081
+ * Required. The time at which ovulation test was measured.
2082
+ */
2083
+ sampleTime?: Schema$ObservationSampleTime;
2084
+ }
1980
2085
  /**
1981
2086
  * Captures the user's instantaneous oxygen saturation percentage (SpO2).
1982
2087
  */
@@ -2142,7 +2247,7 @@ export declare namespace health_v4 {
2142
2247
  */
2143
2248
  dailyVo2Max?: Schema$DailyVO2Max;
2144
2249
  /**
2145
- * Identifier. Data point name, only supported for the subset of identifiable data types. For the majority of the data types, individual data points do not need to be identified and this field would be empty. Format: `users/{user\}/dataTypes/{data_type\}/dataPoints/{data_point\}` Example: `users/abcd1234/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef` The `{user\}` ID is a system-generated identifier, as described in Identity.health_user_id. The `{data_type\}` ID corresponds to the kebab-case version of the field names in the DataPoint data union field, e.g. `total-calories` for the `total_calories` field. The `{data_point\}` ID can be client-provided or system-generated. If client-provided, it must be a string of 4-63 characters, containing only lowercase letters, numbers, and hyphens.
2250
+ * Identifier. Data point name, only supported for the subset of identifiable data types. For the majority of the data types, individual data points do not need to be identified and this field would be empty. Format: `users/{user\}/dataTypes/{data_type\}/dataPoints/{data_point\}` Example: `users/abcd1234/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef` The `{user\}` ID is a system-generated identifier, as described in Identity.health_user_id. The `{data_type\}` ID corresponds to the kebab-case version of the field names in the DataPoint data union field, e.g. `heart-rate` for the `heart_rate` field. The `{data_point\}` ID can be client-provided or system-generated. If client-provided, it must be a string of 4-63 characters, containing only lowercase letters, numbers, and hyphens.
2146
2251
  */
2147
2252
  dataPointName?: string | null;
2148
2253
  /**
@@ -2375,7 +2480,7 @@ export declare namespace health_v4 {
2375
2480
  */
2376
2481
  export interface Schema$RollUpDataPointsRequest {
2377
2482
  /**
2378
- * 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 - `users/me/dataSourceFamilies/google-wearables` - tracker devices - `users/me/dataSourceFamilies/google-sources` - Google first party sources
2483
+ * 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.
2379
2484
  */
2380
2485
  dataSourceFamily?: string | null;
2381
2486
  /**
@@ -2391,7 +2496,7 @@ export declare namespace health_v4 {
2391
2496
  */
2392
2497
  range?: Schema$Interval;
2393
2498
  /**
2394
- * Required. The size of the time window to group data points into before applying the aggregation functions.
2499
+ * Required. The size of the time window to group data points into before applying the aggregation functions. Must be at least 1 second.
2395
2500
  */
2396
2501
  windowSize?: string | null;
2397
2502
  }
@@ -2461,7 +2566,7 @@ export declare namespace health_v4 {
2461
2566
  */
2462
2567
  export interface Schema$Serving {
2463
2568
  /**
2464
- * Optional. Amount of food consumed, fractional values are supported.
2569
+ * Optional. The number of servings.
2465
2570
  */
2466
2571
  amount?: number | null;
2467
2572
  /**
@@ -2511,7 +2616,7 @@ export declare namespace health_v4 {
2511
2616
  */
2512
2617
  autoStrideEnabled?: boolean | null;
2513
2618
  /**
2514
- * Optional. The measurement unit defined in the user's account settings. Updates to this field are currently not supported.
2619
+ * Optional. The measurement unit defined in the user's account settings.
2515
2620
  */
2516
2621
  distanceUnit?: string | null;
2517
2622
  /**
@@ -2580,13 +2685,17 @@ export declare namespace health_v4 {
2580
2685
  */
2581
2686
  interval?: Schema$SessionTimeInterval;
2582
2687
  /**
2583
- * Optional. Sleep metadata: processing, main, manually edited, stages status.
2688
+ * Optional. Sleep metadata: `processed`, `main_sleep`, `manually_edited`, and `stages_status`.
2584
2689
  */
2585
2690
  metadata?: Schema$SleepMetadata;
2586
2691
  /**
2587
2692
  * Optional. “Out of bed” segments that can overlap with sleep stages.
2588
2693
  */
2589
2694
  outOfBedSegments?: Schema$OutOfBedSegment[];
2695
+ /**
2696
+ * Output only. List of short awake segments (under a set threshold) that are part of the sleep session. These can overlap with sleep stages.
2697
+ */
2698
+ shortAwakenings?: Schema$SleepStage[];
2590
2699
  /**
2591
2700
  * Optional. List of non-overlapping contiguous sleep stage segments that cover the sleep period.
2592
2701
  */
@@ -2612,6 +2721,10 @@ export declare namespace health_v4 {
2612
2721
  * Optional. Sleep identifier relevant in the context of the data source.
2613
2722
  */
2614
2723
  externalId?: string | null;
2724
+ /**
2725
+ * Output only. `main_sleep`: the longest sleep session with stages within one day. If no sleep session has stages, then the longest sleep is the `main_sleep`. If there are multiple days of sleep in the response, there is one `main_sleep` per day.
2726
+ */
2727
+ mainSleep?: boolean | null;
2615
2728
  /**
2616
2729
  * Output only. Some sleeps autodetected by algorithms can be manually edited by users.
2617
2730
  */
@@ -2621,7 +2734,7 @@ export declare namespace health_v4 {
2621
2734
  */
2622
2735
  nap?: boolean | null;
2623
2736
  /**
2624
- * Output only. Sleep and sleep stages algorithms finished processing.
2737
+ * Output only. Sleep and sleep stages algorithms finished processing. A `true` value indicates whether all data processing for the session is complete. A `false` value means sleep period is detected but sleep stages is still processing.
2625
2738
  */
2626
2739
  processed?: boolean | null;
2627
2740
  /**
@@ -2833,7 +2946,7 @@ export declare namespace health_v4 {
2833
2946
  */
2834
2947
  export interface Schema$Subscription {
2835
2948
  /**
2836
- * Optional. Data types subscribed to. A subscriber will only receive notifications for data types that are declared here. A subscription can only subscribe to the data types of the subscriber. Supported data types are: "altitude", "distance", "floors", "sleep", "steps", "weight".
2949
+ * Optional. Data types subscribed to. A subscriber will only receive notifications for data types that are declared here. A subscription can only subscribe to the data types of the subscriber. The values should be in the format "users/{health_user_id\}/dataTypes/{data_type\}" where `{data_type\}` is one of "altitude", "distance", "floors", "sleep", "steps", "weight".
2837
2950
  */
2838
2951
  dataTypes?: string[] | null;
2839
2952
  /**
@@ -2871,6 +2984,19 @@ export declare namespace health_v4 {
2871
2984
  */
2872
2985
  strokeCountSum?: string | null;
2873
2986
  }
2987
+ /**
2988
+ * Symptoms logged by the user.
2989
+ */
2990
+ export interface Schema$Symptoms {
2991
+ /**
2992
+ * Required. Time when the symptoms were logged.
2993
+ */
2994
+ sampleTime?: Schema$ObservationSampleTime;
2995
+ /**
2996
+ * Required. List of symptoms experienced.
2997
+ */
2998
+ symptoms?: string[] | null;
2999
+ }
2874
3000
  /**
2875
3001
  * Time in heart rate zone record. It's an interval spent in specific heart rate zone.
2876
3002
  */
@@ -2962,7 +3088,7 @@ export declare namespace health_v4 {
2962
3088
  version?: string | null;
2963
3089
  }
2964
3090
  /**
2965
- * Represents the result of the rollup of the user's total calories.
3091
+ * Represents the result of the rollup of the user's total calories. Note: Queries for the `total-calories` data type must include a time interval filter (such as `total_calories.interval.start_time` or `total_calories.interval.civil_start_time`). The maximum range is 14 days. Example filter query: `total_calories.interval.start_time \>= "2026-04-20T00:00:00Z" AND total_calories.interval.start_time < "2026-04-21T00:00:00Z"`
2966
3092
  */
2967
3093
  export interface Schema$TotalCaloriesRollupValue {
2968
3094
  /**
@@ -3035,7 +3161,7 @@ export declare namespace health_v4 {
3035
3161
  */
3036
3162
  export interface Schema$WeightQuantity {
3037
3163
  /**
3038
- * Required. Value representing the weight in grams.
3164
+ * Required. The weight value in grams.
3039
3165
  */
3040
3166
  grams?: number | null;
3041
3167
  /**
@@ -3105,7 +3231,7 @@ export declare namespace health_v4 {
3105
3231
  *
3106
3232
  * // Do the magic
3107
3233
  * const res = await health.projects.subscribers.create({
3108
- * // Required. The parent resource where this subscriber will be created. Format: projects/{project\} Example: projects/my-project-123
3234
+ * // Required. The parent resource where this subscriber will be created. Format: projects/{project_number\} Example: projects/1234567890
3109
3235
  * parent: 'projects/my-project',
3110
3236
  * // Optional. The ID to use for the subscriber, which will become the final component of the subscriber's resource name. This value should be 4-36 characters, and valid characters are /[a-z]([a-z0-9-]{2,34\}[a-z0-9])/.
3111
3237
  * subscriberId: 'placeholder-value',
@@ -3365,7 +3491,7 @@ export declare namespace health_v4 {
3365
3491
  }
3366
3492
  export interface Params$Resource$Projects$Subscribers$Create extends StandardParameters {
3367
3493
  /**
3368
- * Required. The parent resource where this subscriber will be created. Format: projects/{project\} Example: projects/my-project-123
3494
+ * Required. The parent resource where this subscriber will be created. Format: projects/{project_number\} Example: projects/1234567890
3369
3495
  */
3370
3496
  parent?: string;
3371
3497
  /**
@@ -3580,7 +3706,7 @@ export declare namespace health_v4 {
3580
3706
  *
3581
3707
  * // Do the magic
3582
3708
  * const res = await health.projects.subscribers.subscriptions.list({
3583
- * // Optional. A filter to apply to the list of subscriptions. The filter syntax is described in https://google.aip.dev/160. The filter can be applied to the following fields: - `user` - `data_type` The `user` identifier (e.g., `user1` in `users/user1`) refers to the public `healthUserId` Example: user = "users/user1" Example: user = "users/user1" OR user = "users/user2" Example: user = "users/user1" AND (data_type = "sleep" OR data_type = "weight")
3709
+ * // Optional. A filter to apply to the list of subscriptions. The filter syntax is described in https://google.aip.dev/160. The filter can be applied to the following fields: - `user` - `data_type` The `user` identifier (e.g., `user1` in `users/user1`) refers to the public `health_user_id` Example: user = "users/user1" Example: user = "users/user1" OR user = "users/user2" Example: user = "users/user1" AND (data_type = "sleep" OR data_type = "weight")
3584
3710
  * filter: 'placeholder-value',
3585
3711
  * // Optional. The maximum number of subscriptions to return. The service may return fewer than this value. If unspecified, at most 50 subscriptions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
3586
3712
  * pageSize: 'placeholder-value',
@@ -3713,7 +3839,7 @@ export declare namespace health_v4 {
3713
3839
  }
3714
3840
  export interface Params$Resource$Projects$Subscribers$Subscriptions$List extends StandardParameters {
3715
3841
  /**
3716
- * Optional. A filter to apply to the list of subscriptions. The filter syntax is described in https://google.aip.dev/160. The filter can be applied to the following fields: - `user` - `data_type` The `user` identifier (e.g., `user1` in `users/user1`) refers to the public `healthUserId` Example: user = "users/user1" Example: user = "users/user1" OR user = "users/user2" Example: user = "users/user1" AND (data_type = "sleep" OR data_type = "weight")
3842
+ * Optional. A filter to apply to the list of subscriptions. The filter syntax is described in https://google.aip.dev/160. The filter can be applied to the following fields: - `user` - `data_type` The `user` identifier (e.g., `user1` in `users/user1`) refers to the public `health_user_id` Example: user = "users/user1" Example: user = "users/user1" OR user = "users/user2" Example: user = "users/user1" AND (data_type = "sleep" OR data_type = "weight")
3717
3843
  */
3718
3844
  filter?: string;
3719
3845
  /**
@@ -3743,6 +3869,176 @@ export declare namespace health_v4 {
3743
3869
  */
3744
3870
  requestBody?: Schema$Subscription;
3745
3871
  }
3872
+ export class Resource$Shl {
3873
+ context: APIRequestContext;
3874
+ m: Resource$Shl$M;
3875
+ r: Resource$Shl$R;
3876
+ constructor(context: APIRequestContext);
3877
+ }
3878
+ export class Resource$Shl$M {
3879
+ context: APIRequestContext;
3880
+ constructor(context: APIRequestContext);
3881
+ /**
3882
+ * Forward a manifest request for a given SHL
3883
+ * @example
3884
+ * ```js
3885
+ * // Before running the sample:
3886
+ * // - Enable the API at:
3887
+ * // https://console.developers.google.com/apis/api/health.googleapis.com
3888
+ * // - Login into gcloud by running:
3889
+ * // ```sh
3890
+ * // $ gcloud auth application-default login
3891
+ * // ```
3892
+ * // - Install the npm module by running:
3893
+ * // ```sh
3894
+ * // $ npm install googleapis
3895
+ * // ```
3896
+ *
3897
+ * const {google} = require('googleapis');
3898
+ * const health = google.health('v4');
3899
+ *
3900
+ * async function main() {
3901
+ * const auth = new google.auth.GoogleAuth({
3902
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
3903
+ * scopes: [],
3904
+ * });
3905
+ *
3906
+ * // Acquire an auth client, and bind it to all future calls
3907
+ * const authClient = await auth.getClient();
3908
+ * google.options({auth: authClient});
3909
+ *
3910
+ * // Do the magic
3911
+ * const res = await health.shl.m.getShlManifest({
3912
+ * // Required. External ID mapping to a ShlSharedLinkCapabilityToken object See https://docs.google.com/document/d/1Pch20pxJHRbsaMxp0EYgs3ZU0Gu7QTUznk8LhvbQvfY/edit?tab=t.0#heading=h.17wg41voij6q
3913
+ * externalShlId: 'placeholder-value',
3914
+ *
3915
+ * // Request body metadata
3916
+ * requestBody: {
3917
+ * // request body parameters
3918
+ * // {
3919
+ * // "embeddedLengthMax": 0,
3920
+ * // "passcode": "my_passcode",
3921
+ * // "recipient": "my_recipient"
3922
+ * // }
3923
+ * },
3924
+ * });
3925
+ * console.log(res.data);
3926
+ *
3927
+ * // Example response
3928
+ * // {
3929
+ * // "contentType": "my_contentType",
3930
+ * // "data": "my_data",
3931
+ * // "extensions": []
3932
+ * // }
3933
+ * }
3934
+ *
3935
+ * main().catch(e => {
3936
+ * console.error(e);
3937
+ * throw e;
3938
+ * });
3939
+ *
3940
+ * ```
3941
+ *
3942
+ * @param params - Parameters for request
3943
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3944
+ * @param callback - Optional callback that handles the response.
3945
+ * @returns A promise if used with async/await, or void if used with a callback.
3946
+ */
3947
+ getShlManifest(params: Params$Resource$Shl$M$Getshlmanifest, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3948
+ getShlManifest(params?: Params$Resource$Shl$M$Getshlmanifest, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$HttpBody>>;
3949
+ getShlManifest(params: Params$Resource$Shl$M$Getshlmanifest, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3950
+ getShlManifest(params: Params$Resource$Shl$M$Getshlmanifest, options: MethodOptions | BodyResponseCallback<Schema$HttpBody>, callback: BodyResponseCallback<Schema$HttpBody>): void;
3951
+ getShlManifest(params: Params$Resource$Shl$M$Getshlmanifest, callback: BodyResponseCallback<Schema$HttpBody>): void;
3952
+ getShlManifest(callback: BodyResponseCallback<Schema$HttpBody>): void;
3953
+ }
3954
+ export interface Params$Resource$Shl$M$Getshlmanifest extends StandardParameters {
3955
+ /**
3956
+ * Required. External ID mapping to a ShlSharedLinkCapabilityToken object See https://docs.google.com/document/d/1Pch20pxJHRbsaMxp0EYgs3ZU0Gu7QTUznk8LhvbQvfY/edit?tab=t.0#heading=h.17wg41voij6q
3957
+ */
3958
+ externalShlId?: string;
3959
+ /**
3960
+ * Request body metadata
3961
+ */
3962
+ requestBody?: Schema$ManifestParams;
3963
+ }
3964
+ export class Resource$Shl$R {
3965
+ context: APIRequestContext;
3966
+ constructor(context: APIRequestContext);
3967
+ /**
3968
+ * Forward a resource request for a given SHL
3969
+ * @example
3970
+ * ```js
3971
+ * // Before running the sample:
3972
+ * // - Enable the API at:
3973
+ * // https://console.developers.google.com/apis/api/health.googleapis.com
3974
+ * // - Login into gcloud by running:
3975
+ * // ```sh
3976
+ * // $ gcloud auth application-default login
3977
+ * // ```
3978
+ * // - Install the npm module by running:
3979
+ * // ```sh
3980
+ * // $ npm install googleapis
3981
+ * // ```
3982
+ *
3983
+ * const {google} = require('googleapis');
3984
+ * const health = google.health('v4');
3985
+ *
3986
+ * async function main() {
3987
+ * const auth = new google.auth.GoogleAuth({
3988
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
3989
+ * scopes: [],
3990
+ * });
3991
+ *
3992
+ * // Acquire an auth client, and bind it to all future calls
3993
+ * const authClient = await auth.getClient();
3994
+ * google.options({auth: authClient});
3995
+ *
3996
+ * // Do the magic
3997
+ * const res = await health.shl.r.get({
3998
+ * // Required. External ID mapping to a ShlSharedLinkCapabilityToken object See https://docs.google.com/document/d/1Pch20pxJHRbsaMxp0EYgs3ZU0Gu7QTUznk8LhvbQvfY/edit?tab=t.0#heading=h.17wg41voij6q
3999
+ * externalShlId: 'placeholder-value',
4000
+ * // Required. Encoded, encrypted message containing resource access details
4001
+ * resourceToken: 'placeholder-value',
4002
+ * });
4003
+ * console.log(res.data);
4004
+ *
4005
+ * // Example response
4006
+ * // {
4007
+ * // "contentType": "my_contentType",
4008
+ * // "data": "my_data",
4009
+ * // "extensions": []
4010
+ * // }
4011
+ * }
4012
+ *
4013
+ * main().catch(e => {
4014
+ * console.error(e);
4015
+ * throw e;
4016
+ * });
4017
+ *
4018
+ * ```
4019
+ *
4020
+ * @param params - Parameters for request
4021
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4022
+ * @param callback - Optional callback that handles the response.
4023
+ * @returns A promise if used with async/await, or void if used with a callback.
4024
+ */
4025
+ get(params: Params$Resource$Shl$R$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4026
+ get(params?: Params$Resource$Shl$R$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$HttpBody>>;
4027
+ get(params: Params$Resource$Shl$R$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4028
+ get(params: Params$Resource$Shl$R$Get, options: MethodOptions | BodyResponseCallback<Schema$HttpBody>, callback: BodyResponseCallback<Schema$HttpBody>): void;
4029
+ get(params: Params$Resource$Shl$R$Get, callback: BodyResponseCallback<Schema$HttpBody>): void;
4030
+ get(callback: BodyResponseCallback<Schema$HttpBody>): void;
4031
+ }
4032
+ export interface Params$Resource$Shl$R$Get extends StandardParameters {
4033
+ /**
4034
+ * Required. External ID mapping to a ShlSharedLinkCapabilityToken object See https://docs.google.com/document/d/1Pch20pxJHRbsaMxp0EYgs3ZU0Gu7QTUznk8LhvbQvfY/edit?tab=t.0#heading=h.17wg41voij6q
4035
+ */
4036
+ externalShlId?: string;
4037
+ /**
4038
+ * Required. Encoded, encrypted message containing resource access details
4039
+ */
4040
+ resourceToken?: string;
4041
+ }
3746
4042
  export class Resource$Users {
3747
4043
  context: APIRequestContext;
3748
4044
  dataTypes: Resource$Users$Datatypes;
@@ -3772,7 +4068,9 @@ export declare namespace health_v4 {
3772
4068
  * // Scopes can be specified either as an array or as a single, space-delimited string.
3773
4069
  * scopes: [
3774
4070
  * 'https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly',
4071
+ * 'https://www.googleapis.com/auth/googlehealth.ecg.readonly',
3775
4072
  * 'https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly',
4073
+ * 'https://www.googleapis.com/auth/googlehealth.irn.readonly',
3776
4074
  * 'https://www.googleapis.com/auth/googlehealth.profile.readonly',
3777
4075
  * 'https://www.googleapis.com/auth/googlehealth.settings.readonly',
3778
4076
  * 'https://www.googleapis.com/auth/googlehealth.sleep.readonly',
@@ -4041,7 +4339,7 @@ export declare namespace health_v4 {
4041
4339
  * async function main() {
4042
4340
  * const auth = new google.auth.GoogleAuth({
4043
4341
  * // Scopes can be specified either as an array or as a single, space-delimited string.
4044
- * scopes: [],
4342
+ * scopes: ['https://www.googleapis.com/auth/googlehealth.profile.writeonly'],
4045
4343
  * });
4046
4344
  *
4047
4345
  * // Acquire an auth client, and bind it to all future calls
@@ -4123,7 +4421,7 @@ export declare namespace health_v4 {
4123
4421
  * async function main() {
4124
4422
  * const auth = new google.auth.GoogleAuth({
4125
4423
  * // Scopes can be specified either as an array or as a single, space-delimited string.
4126
- * scopes: [],
4424
+ * scopes: ['https://www.googleapis.com/auth/googlehealth.settings.writeonly'],
4127
4425
  * });
4128
4426
  *
4129
4427
  * // Acquire an auth client, and bind it to all future calls
@@ -4282,7 +4580,16 @@ export declare namespace health_v4 {
4282
4580
  * async function main() {
4283
4581
  * const auth = new google.auth.GoogleAuth({
4284
4582
  * // Scopes can be specified either as an array or as a single, space-delimited string.
4285
- * scopes: [],
4583
+ * scopes: [
4584
+ * 'https://www.googleapis.com/auth/googlehealth.activity_and_fitness.writeonly',
4585
+ * 'https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.writeonly',
4586
+ * 'https://www.googleapis.com/auth/googlehealth.location.writeonly',
4587
+ * 'https://www.googleapis.com/auth/googlehealth.logged_symptoms.writeonly',
4588
+ * 'https://www.googleapis.com/auth/googlehealth.mindfulness.writeonly',
4589
+ * 'https://www.googleapis.com/auth/googlehealth.nutrition.writeonly',
4590
+ * 'https://www.googleapis.com/auth/googlehealth.reproductive_health.writeonly',
4591
+ * 'https://www.googleapis.com/auth/googlehealth.sleep.writeonly',
4592
+ * ],
4286
4593
  * });
4287
4594
  *
4288
4595
  * // Acquire an auth client, and bind it to all future calls
@@ -4354,7 +4661,16 @@ export declare namespace health_v4 {
4354
4661
  * async function main() {
4355
4662
  * const auth = new google.auth.GoogleAuth({
4356
4663
  * // Scopes can be specified either as an array or as a single, space-delimited string.
4357
- * scopes: [],
4664
+ * scopes: [
4665
+ * 'https://www.googleapis.com/auth/googlehealth.activity_and_fitness.writeonly',
4666
+ * 'https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.writeonly',
4667
+ * 'https://www.googleapis.com/auth/googlehealth.location.writeonly',
4668
+ * 'https://www.googleapis.com/auth/googlehealth.logged_symptoms.writeonly',
4669
+ * 'https://www.googleapis.com/auth/googlehealth.mindfulness.writeonly',
4670
+ * 'https://www.googleapis.com/auth/googlehealth.nutrition.writeonly',
4671
+ * 'https://www.googleapis.com/auth/googlehealth.reproductive_health.writeonly',
4672
+ * 'https://www.googleapis.com/auth/googlehealth.sleep.writeonly',
4673
+ * ],
4358
4674
  * });
4359
4675
  *
4360
4676
  * // Acquire an auth client, and bind it to all future calls
@@ -4398,8 +4714,11 @@ export declare namespace health_v4 {
4398
4714
  * // "height": {},
4399
4715
  * // "hydrationLog": {},
4400
4716
  * // "irregularRhythmNotification": {},
4717
+ * // "menstrualPeriod": {},
4718
+ * // "moods": {},
4401
4719
  * // "name": "my_name",
4402
4720
  * // "nutritionLog": {},
4721
+ * // "ovulationTest": {},
4403
4722
  * // "oxygenSaturation": {},
4404
4723
  * // "respiratoryRateSleepSummary": {},
4405
4724
  * // "runVo2Max": {},
@@ -4407,6 +4726,7 @@ export declare namespace health_v4 {
4407
4726
  * // "sleep": {},
4408
4727
  * // "steps": {},
4409
4728
  * // "swimLengthsData": {},
4729
+ * // "symptoms": {},
4410
4730
  * // "timeInHeartRateZone": {},
4411
4731
  * // "vo2Max": {},
4412
4732
  * // "weight": {}
@@ -4656,8 +4976,11 @@ export declare namespace health_v4 {
4656
4976
  * // "height": {},
4657
4977
  * // "hydrationLog": {},
4658
4978
  * // "irregularRhythmNotification": {},
4979
+ * // "menstrualPeriod": {},
4980
+ * // "moods": {},
4659
4981
  * // "name": "my_name",
4660
4982
  * // "nutritionLog": {},
4983
+ * // "ovulationTest": {},
4661
4984
  * // "oxygenSaturation": {},
4662
4985
  * // "respiratoryRateSleepSummary": {},
4663
4986
  * // "runVo2Max": {},
@@ -4665,6 +4988,7 @@ export declare namespace health_v4 {
4665
4988
  * // "sleep": {},
4666
4989
  * // "steps": {},
4667
4990
  * // "swimLengthsData": {},
4991
+ * // "symptoms": {},
4668
4992
  * // "timeInHeartRateZone": {},
4669
4993
  * // "vo2Max": {},
4670
4994
  * // "weight": {}
@@ -4783,7 +5107,16 @@ export declare namespace health_v4 {
4783
5107
  * async function main() {
4784
5108
  * const auth = new google.auth.GoogleAuth({
4785
5109
  * // Scopes can be specified either as an array or as a single, space-delimited string.
4786
- * scopes: [],
5110
+ * scopes: [
5111
+ * 'https://www.googleapis.com/auth/googlehealth.activity_and_fitness.writeonly',
5112
+ * 'https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.writeonly',
5113
+ * 'https://www.googleapis.com/auth/googlehealth.location.writeonly',
5114
+ * 'https://www.googleapis.com/auth/googlehealth.logged_symptoms.writeonly',
5115
+ * 'https://www.googleapis.com/auth/googlehealth.mindfulness.writeonly',
5116
+ * 'https://www.googleapis.com/auth/googlehealth.nutrition.writeonly',
5117
+ * 'https://www.googleapis.com/auth/googlehealth.reproductive_health.writeonly',
5118
+ * 'https://www.googleapis.com/auth/googlehealth.sleep.writeonly',
5119
+ * ],
4787
5120
  * });
4788
5121
  *
4789
5122
  * // Acquire an auth client, and bind it to all future calls
@@ -4792,7 +5125,7 @@ export declare namespace health_v4 {
4792
5125
  *
4793
5126
  * // Do the magic
4794
5127
  * const res = await health.users.dataTypes.dataPoints.patch({
4795
- * // Identifier. Data point name, only supported for the subset of identifiable data types. For the majority of the data types, individual data points do not need to be identified and this field would be empty. Format: `users/{user\}/dataTypes/{data_type\}/dataPoints/{data_point\}` Example: `users/abcd1234/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef` The `{user\}` ID is a system-generated identifier, as described in Identity.health_user_id. The `{data_type\}` ID corresponds to the kebab-case version of the field names in the DataPoint data union field, e.g. `total-calories` for the `total_calories` field. The `{data_point\}` ID can be client-provided or system-generated. If client-provided, it must be a string of 4-63 characters, containing only lowercase letters, numbers, and hyphens.
5128
+ * // Identifier. Data point name, only supported for the subset of identifiable data types. For the majority of the data types, individual data points do not need to be identified and this field would be empty. Format: `users/{user\}/dataTypes/{data_type\}/dataPoints/{data_point\}` Example: `users/abcd1234/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef` The `{user\}` ID is a system-generated identifier, as described in Identity.health_user_id. The `{data_type\}` ID corresponds to the kebab-case version of the field names in the DataPoint data union field, e.g. `heart-rate` for the `heart_rate` field. The `{data_point\}` ID can be client-provided or system-generated. If client-provided, it must be a string of 4-63 characters, containing only lowercase letters, numbers, and hyphens.
4796
5129
  * name: 'users/my-user/dataTypes/my-dataType/dataPoints/my-dataPoint',
4797
5130
  *
4798
5131
  * // Request body metadata
@@ -4827,8 +5160,11 @@ export declare namespace health_v4 {
4827
5160
  * // "height": {},
4828
5161
  * // "hydrationLog": {},
4829
5162
  * // "irregularRhythmNotification": {},
5163
+ * // "menstrualPeriod": {},
5164
+ * // "moods": {},
4830
5165
  * // "name": "my_name",
4831
5166
  * // "nutritionLog": {},
5167
+ * // "ovulationTest": {},
4832
5168
  * // "oxygenSaturation": {},
4833
5169
  * // "respiratoryRateSleepSummary": {},
4834
5170
  * // "runVo2Max": {},
@@ -4836,6 +5172,7 @@ export declare namespace health_v4 {
4836
5172
  * // "sleep": {},
4837
5173
  * // "steps": {},
4838
5174
  * // "swimLengthsData": {},
5175
+ * // "symptoms": {},
4839
5176
  * // "timeInHeartRateZone": {},
4840
5177
  * // "vo2Max": {},
4841
5178
  * // "weight": {}
@@ -4896,9 +5233,17 @@ export declare namespace health_v4 {
4896
5233
  * // Scopes can be specified either as an array or as a single, space-delimited string.
4897
5234
  * scopes: [
4898
5235
  * 'https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly',
5236
+ * 'https://www.googleapis.com/auth/googlehealth.activity_and_fitness.writeonly',
4899
5237
  * 'https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly',
5238
+ * 'https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.writeonly',
4900
5239
  * 'https://www.googleapis.com/auth/googlehealth.location.readonly',
5240
+ * 'https://www.googleapis.com/auth/googlehealth.location.writeonly',
5241
+ * 'https://www.googleapis.com/auth/googlehealth.logged_symptoms.writeonly',
5242
+ * 'https://www.googleapis.com/auth/googlehealth.mindfulness.writeonly',
5243
+ * 'https://www.googleapis.com/auth/googlehealth.nutrition.writeonly',
5244
+ * 'https://www.googleapis.com/auth/googlehealth.reproductive_health.writeonly',
4901
5245
  * 'https://www.googleapis.com/auth/googlehealth.sleep.readonly',
5246
+ * 'https://www.googleapis.com/auth/googlehealth.sleep.writeonly',
4902
5247
  * ],
4903
5248
  * });
4904
5249
  *
@@ -4908,7 +5253,7 @@ export declare namespace health_v4 {
4908
5253
  *
4909
5254
  * // Do the magic
4910
5255
  * const res = await health.users.dataTypes.dataPoints.reconcile({
4911
- * // 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\}` The supported values are: - `users/me/dataSourceFamilies/all-sources` - default value - `users/me/dataSourceFamilies/google-wearables` - tracker devices - `users/me/dataSourceFamilies/google-sources` - Google first party sources
5256
+ * // 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.
4912
5257
  * dataSourceFamily: 'placeholder-value',
4913
5258
  * // 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.
4914
5259
  * filter: 'placeholder-value',
@@ -5091,7 +5436,7 @@ export declare namespace health_v4 {
5091
5436
  }
5092
5437
  export interface Params$Resource$Users$Datatypes$Datapoints$Patch extends StandardParameters {
5093
5438
  /**
5094
- * Identifier. Data point name, only supported for the subset of identifiable data types. For the majority of the data types, individual data points do not need to be identified and this field would be empty. Format: `users/{user\}/dataTypes/{data_type\}/dataPoints/{data_point\}` Example: `users/abcd1234/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef` The `{user\}` ID is a system-generated identifier, as described in Identity.health_user_id. The `{data_type\}` ID corresponds to the kebab-case version of the field names in the DataPoint data union field, e.g. `total-calories` for the `total_calories` field. The `{data_point\}` ID can be client-provided or system-generated. If client-provided, it must be a string of 4-63 characters, containing only lowercase letters, numbers, and hyphens.
5439
+ * Identifier. Data point name, only supported for the subset of identifiable data types. For the majority of the data types, individual data points do not need to be identified and this field would be empty. Format: `users/{user\}/dataTypes/{data_type\}/dataPoints/{data_point\}` Example: `users/abcd1234/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef` The `{user\}` ID is a system-generated identifier, as described in Identity.health_user_id. The `{data_type\}` ID corresponds to the kebab-case version of the field names in the DataPoint data union field, e.g. `heart-rate` for the `heart_rate` field. The `{data_point\}` ID can be client-provided or system-generated. If client-provided, it must be a string of 4-63 characters, containing only lowercase letters, numbers, and hyphens.
5095
5440
  */
5096
5441
  name?: string;
5097
5442
  /**
@@ -5101,7 +5446,7 @@ export declare namespace health_v4 {
5101
5446
  }
5102
5447
  export interface Params$Resource$Users$Datatypes$Datapoints$Reconcile extends StandardParameters {
5103
5448
  /**
5104
- * 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\}` The supported values are: - `users/me/dataSourceFamilies/all-sources` - default value - `users/me/dataSourceFamilies/google-wearables` - tracker devices - `users/me/dataSourceFamilies/google-sources` - Google first party sources
5449
+ * 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.
5105
5450
  */
5106
5451
  dataSourceFamily?: string;
5107
5452
  /**