diff --git a/clients/google-api-services-health/v4/2.0.0/README.md b/clients/google-api-services-health/v4/2.0.0/README.md index 79fe973efda..b8855dee3a0 100644 --- a/clients/google-api-services-health/v4/2.0.0/README.md +++ b/clients/google-api-services-health/v4/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-health - v4-rev20260713-2.0.0 + v4-rev20260729-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-health:v4-rev20260713-2.0.0' + implementation 'com.google.apis:google-api-services-health:v4-rev20260729-2.0.0' } ``` diff --git a/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/GoogleHealthAPIScopes.java b/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/GoogleHealthAPIScopes.java index c22f93cdbda..c0aecb0387b 100644 --- a/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/GoogleHealthAPIScopes.java +++ b/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/GoogleHealthAPIScopes.java @@ -50,6 +50,12 @@ public class GoogleHealthAPIScopes { /** Add exercise GPS location data to Google Health, and edit or delete the data it adds.. */ public static final String GOOGLEHEALTH_LOCATION_WRITEONLY = "https://www.googleapis.com/auth/googlehealth.location.writeonly"; + /** Add logged symptoms data to Google Health, and edit or delete the data it adds. */ + public static final String GOOGLEHEALTH_LOGGED_SYMPTOMS_WRITEONLY = "https://www.googleapis.com/auth/googlehealth.logged_symptoms.writeonly"; + + /** Add mindfulness data to Google Health, and edit or delete the data it adds. */ + public static final String GOOGLEHEALTH_MINDFULNESS_WRITEONLY = "https://www.googleapis.com/auth/googlehealth.mindfulness.writeonly"; + /** Add nutrition data to Google Health, and edit or delete the data it adds.. */ public static final String GOOGLEHEALTH_NUTRITION_WRITEONLY = "https://www.googleapis.com/auth/googlehealth.nutrition.writeonly"; @@ -59,6 +65,9 @@ public class GoogleHealthAPIScopes { /** Add profile data to Google Health, and edit or delete the data it adds.. */ public static final String GOOGLEHEALTH_PROFILE_WRITEONLY = "https://www.googleapis.com/auth/googlehealth.profile.writeonly"; + /** Add reproductive health data to Google Health, and edit or delete the data it adds. */ + public static final String GOOGLEHEALTH_REPRODUCTIVE_HEALTH_WRITEONLY = "https://www.googleapis.com/auth/googlehealth.reproductive_health.writeonly"; + /** See your Google Health settings. */ public static final String GOOGLEHEALTH_SETTINGS_READONLY = "https://www.googleapis.com/auth/googlehealth.settings.readonly"; @@ -87,9 +96,12 @@ public static java.util.Set all() { set.add(GOOGLEHEALTH_IRN_READONLY); set.add(GOOGLEHEALTH_LOCATION_READONLY); set.add(GOOGLEHEALTH_LOCATION_WRITEONLY); + set.add(GOOGLEHEALTH_LOGGED_SYMPTOMS_WRITEONLY); + set.add(GOOGLEHEALTH_MINDFULNESS_WRITEONLY); set.add(GOOGLEHEALTH_NUTRITION_WRITEONLY); set.add(GOOGLEHEALTH_PROFILE_READONLY); set.add(GOOGLEHEALTH_PROFILE_WRITEONLY); + set.add(GOOGLEHEALTH_REPRODUCTIVE_HEALTH_WRITEONLY); set.add(GOOGLEHEALTH_SETTINGS_READONLY); set.add(GOOGLEHEALTH_SETTINGS_WRITEONLY); set.add(GOOGLEHEALTH_SLEEP_READONLY); diff --git a/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/Sleep.java b/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/Sleep.java index 30c9ede0b6e..1770cfe491a 100644 --- a/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/Sleep.java +++ b/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/Sleep.java @@ -44,7 +44,7 @@ public final class Sleep extends com.google.api.client.json.GenericJson { private SessionTimeInterval interval; /** - * Optional. Sleep metadata: processing, main, manually edited, stages status. + * Optional. Sleep metadata: `processed`, `main_sleep`, `manually_edited`, and `stages_status`. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -126,7 +126,7 @@ public Sleep setInterval(SessionTimeInterval interval) { } /** - * Optional. Sleep metadata: processing, main, manually edited, stages status. + * Optional. Sleep metadata: `processed`, `main_sleep`, `manually_edited`, and `stages_status`. * @return value or {@code null} for none */ public SleepMetadata getMetadata() { @@ -134,7 +134,7 @@ public SleepMetadata getMetadata() { } /** - * Optional. Sleep metadata: processing, main, manually edited, stages status. + * Optional. Sleep metadata: `processed`, `main_sleep`, `manually_edited`, and `stages_status`. * @param metadata metadata or {@code null} for none */ public Sleep setMetadata(SleepMetadata metadata) { diff --git a/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/SleepMetadata.java b/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/SleepMetadata.java index ddf428c683c..fc1f9526c56 100644 --- a/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/SleepMetadata.java +++ b/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/SleepMetadata.java @@ -36,6 +36,15 @@ public final class SleepMetadata extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private java.lang.String externalId; + /** + * 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. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean mainSleep; + /** * Output only. Some sleeps autodetected by algorithms can be manually edited by users. * The value may be {@code null}. @@ -83,6 +92,27 @@ public SleepMetadata setExternalId(java.lang.String externalId) { return this; } + /** + * 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. + * @return value or {@code null} for none + */ + public java.lang.Boolean getMainSleep() { + return mainSleep; + } + + /** + * 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. + * @param mainSleep mainSleep or {@code null} for none + */ + public SleepMetadata setMainSleep(java.lang.Boolean mainSleep) { + this.mainSleep = mainSleep; + return this; + } + /** * Output only. Some sleeps autodetected by algorithms can be manually edited by users. * @return value or {@code null} for none diff --git a/clients/google-api-services-health/v4/2.0.0/pom.xml b/clients/google-api-services-health/v4/2.0.0/pom.xml index f75236858f7..e21faf86c0b 100644 --- a/clients/google-api-services-health/v4/2.0.0/pom.xml +++ b/clients/google-api-services-health/v4/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-health - v4-rev20260713-2.0.0 - Google Health API v4-rev20260713-2.0.0 + v4-rev20260729-2.0.0 + Google Health API v4-rev20260729-2.0.0 jar 2011 diff --git a/clients/google-api-services-health/v4/README.md b/clients/google-api-services-health/v4/README.md index 79fe973efda..b8855dee3a0 100644 --- a/clients/google-api-services-health/v4/README.md +++ b/clients/google-api-services-health/v4/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-health - v4-rev20260713-2.0.0 + v4-rev20260729-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-health:v4-rev20260713-2.0.0' + implementation 'com.google.apis:google-api-services-health:v4-rev20260729-2.0.0' } ```