From 660c5343c47a4374a2e050651c03d71fa400b581 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Mon, 3 Aug 2026 18:09:34 -0700 Subject: [PATCH] chore: regenerate health client --- .../v4/2.0.0/README.md | 4 +- .../services/health/v4/model/DataPoint.java | 96 +++++++++++++++ .../services/health/v4/model/Exercise.java | 15 ++- .../health/v4/model/MenstrualPeriod.java | 90 ++++++++++++++ .../api/services/health/v4/model/Moods.java | 114 ++++++++++++++++++ .../health/v4/model/OvulationTest.java | 90 ++++++++++++++ .../services/health/v4/model/Symptoms.java | 90 ++++++++++++++ .../v4/2.0.0/pom.xml | 4 +- .../google-api-services-health/v4/README.md | 4 +- 9 files changed, 498 insertions(+), 9 deletions(-) create mode 100644 clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/MenstrualPeriod.java create mode 100644 clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/Moods.java create mode 100644 clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/OvulationTest.java create mode 100644 clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/Symptoms.java 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 b8855dee3a0..d57c963f350 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-rev20260729-2.0.0 + v4-rev20260731-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-health:v4-rev20260729-2.0.0' + implementation 'com.google.apis:google-api-services-health:v4-rev20260731-2.0.0' } ``` diff --git a/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/DataPoint.java b/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/DataPoint.java index f1952181cc1..f4d57305ef0 100644 --- a/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/DataPoint.java +++ b/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/DataPoint.java @@ -227,6 +227,20 @@ public final class DataPoint extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private IrregularRhythmNotification irregularRhythmNotification; + /** + * Optional. Data for points in the `menstrual-period` interval data type collection. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private MenstrualPeriod menstrualPeriod; + + /** + * Optional. Data for points in the `moods` sample data type collection. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Moods moods; + /** * 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 @@ -249,6 +263,13 @@ public final class DataPoint extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private NutritionLog nutritionLog; + /** + * Optional. Data for points in the `ovulation-test` sample data type collection. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private OvulationTest ovulationTest; + /** * Optional. Data for points in the `oxygen-saturation` sample data type collection. * The value may be {@code null}. @@ -298,6 +319,13 @@ public final class DataPoint extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private SwimLengthsData swimLengthsData; + /** + * Optional. Data for points in the `symptoms` sample data type collection. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Symptoms symptoms; + /** * Optional. Data for points in the `time-in-heart-rate-zone` interval data type collection. * The value may be {@code null}. @@ -799,6 +827,40 @@ public DataPoint setIrregularRhythmNotification(IrregularRhythmNotification irre return this; } + /** + * Optional. Data for points in the `menstrual-period` interval data type collection. + * @return value or {@code null} for none + */ + public MenstrualPeriod getMenstrualPeriod() { + return menstrualPeriod; + } + + /** + * Optional. Data for points in the `menstrual-period` interval data type collection. + * @param menstrualPeriod menstrualPeriod or {@code null} for none + */ + public DataPoint setMenstrualPeriod(MenstrualPeriod menstrualPeriod) { + this.menstrualPeriod = menstrualPeriod; + return this; + } + + /** + * Optional. Data for points in the `moods` sample data type collection. + * @return value or {@code null} for none + */ + public Moods getMoods() { + return moods; + } + + /** + * Optional. Data for points in the `moods` sample data type collection. + * @param moods moods or {@code null} for none + */ + public DataPoint setMoods(Moods moods) { + this.moods = moods; + return this; + } + /** * 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 @@ -849,6 +911,23 @@ public DataPoint setNutritionLog(NutritionLog nutritionLog) { return this; } + /** + * Optional. Data for points in the `ovulation-test` sample data type collection. + * @return value or {@code null} for none + */ + public OvulationTest getOvulationTest() { + return ovulationTest; + } + + /** + * Optional. Data for points in the `ovulation-test` sample data type collection. + * @param ovulationTest ovulationTest or {@code null} for none + */ + public DataPoint setOvulationTest(OvulationTest ovulationTest) { + this.ovulationTest = ovulationTest; + return this; + } + /** * Optional. Data for points in the `oxygen-saturation` sample data type collection. * @return value or {@code null} for none @@ -968,6 +1047,23 @@ public DataPoint setSwimLengthsData(SwimLengthsData swimLengthsData) { return this; } + /** + * Optional. Data for points in the `symptoms` sample data type collection. + * @return value or {@code null} for none + */ + public Symptoms getSymptoms() { + return symptoms; + } + + /** + * Optional. Data for points in the `symptoms` sample data type collection. + * @param symptoms symptoms or {@code null} for none + */ + public DataPoint setSymptoms(Symptoms symptoms) { + this.symptoms = symptoms; + return this; + } + /** * Optional. Data for points in the `time-in-heart-rate-zone` interval data type collection. * @return value or {@code null} for none diff --git a/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/Exercise.java b/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/Exercise.java index e3ff3d29277..f21123eb14e 100644 --- a/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/Exercise.java +++ b/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/Exercise.java @@ -44,7 +44,10 @@ public final class Exercise extends com.google.api.client.json.GenericJson { private String createTime; /** - * Required. Exercise display name. + * 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. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -151,7 +154,10 @@ public Exercise setCreateTime(String createTime) { } /** - * Required. Exercise display name. + * 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. * @return value or {@code null} for none */ public java.lang.String getDisplayName() { @@ -159,7 +165,10 @@ public java.lang.String getDisplayName() { } /** - * Required. Exercise display name. + * 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. * @param displayName displayName or {@code null} for none */ public Exercise setDisplayName(java.lang.String displayName) { diff --git a/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/MenstrualPeriod.java b/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/MenstrualPeriod.java new file mode 100644 index 00000000000..8e7a6f0ed5b --- /dev/null +++ b/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/MenstrualPeriod.java @@ -0,0 +1,90 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.health.v4.model; + +/** + * Menstrual period record. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Google Health API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class MenstrualPeriod extends com.google.api.client.json.GenericJson { + + /** + * Required. Observed interval. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ObservationTimeInterval interval; + + /** + * Optional. Standard free-form notes captured at manual logging. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String notes; + + /** + * Required. Observed interval. + * @return value or {@code null} for none + */ + public ObservationTimeInterval getInterval() { + return interval; + } + + /** + * Required. Observed interval. + * @param interval interval or {@code null} for none + */ + public MenstrualPeriod setInterval(ObservationTimeInterval interval) { + this.interval = interval; + return this; + } + + /** + * Optional. Standard free-form notes captured at manual logging. + * @return value or {@code null} for none + */ + public java.lang.String getNotes() { + return notes; + } + + /** + * Optional. Standard free-form notes captured at manual logging. + * @param notes notes or {@code null} for none + */ + public MenstrualPeriod setNotes(java.lang.String notes) { + this.notes = notes; + return this; + } + + @Override + public MenstrualPeriod set(String fieldName, Object value) { + return (MenstrualPeriod) super.set(fieldName, value); + } + + @Override + public MenstrualPeriod clone() { + return (MenstrualPeriod) super.clone(); + } + +} diff --git a/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/Moods.java b/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/Moods.java new file mode 100644 index 00000000000..6b2abf46980 --- /dev/null +++ b/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/Moods.java @@ -0,0 +1,114 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.health.v4.model; + +/** + * Moods record. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Google Health API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class Moods extends com.google.api.client.json.GenericJson { + + /** + * Required. The moods logged. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List moods; + + /** + * Required. The time at which moods were measured. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ObservationSampleTime sampleTime; + + /** + * Optional. The valences. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List valences; + + /** + * Required. The moods logged. + * @return value or {@code null} for none + */ + public java.util.List getMoods() { + return moods; + } + + /** + * Required. The moods logged. + * @param moods moods or {@code null} for none + */ + public Moods setMoods(java.util.List moods) { + this.moods = moods; + return this; + } + + /** + * Required. The time at which moods were measured. + * @return value or {@code null} for none + */ + public ObservationSampleTime getSampleTime() { + return sampleTime; + } + + /** + * Required. The time at which moods were measured. + * @param sampleTime sampleTime or {@code null} for none + */ + public Moods setSampleTime(ObservationSampleTime sampleTime) { + this.sampleTime = sampleTime; + return this; + } + + /** + * Optional. The valences. + * @return value or {@code null} for none + */ + public java.util.List getValences() { + return valences; + } + + /** + * Optional. The valences. + * @param valences valences or {@code null} for none + */ + public Moods setValences(java.util.List valences) { + this.valences = valences; + return this; + } + + @Override + public Moods set(String fieldName, Object value) { + return (Moods) super.set(fieldName, value); + } + + @Override + public Moods clone() { + return (Moods) super.clone(); + } + +} diff --git a/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/OvulationTest.java b/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/OvulationTest.java new file mode 100644 index 00000000000..1a42759ffe1 --- /dev/null +++ b/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/OvulationTest.java @@ -0,0 +1,90 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.health.v4.model; + +/** + * Ovulation test record. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Google Health API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class OvulationTest extends com.google.api.client.json.GenericJson { + + /** + * Required. The result of the ovulation test. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String result; + + /** + * Required. The time at which ovulation test was measured. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ObservationSampleTime sampleTime; + + /** + * Required. The result of the ovulation test. + * @return value or {@code null} for none + */ + public java.lang.String getResult() { + return result; + } + + /** + * Required. The result of the ovulation test. + * @param result result or {@code null} for none + */ + public OvulationTest setResult(java.lang.String result) { + this.result = result; + return this; + } + + /** + * Required. The time at which ovulation test was measured. + * @return value or {@code null} for none + */ + public ObservationSampleTime getSampleTime() { + return sampleTime; + } + + /** + * Required. The time at which ovulation test was measured. + * @param sampleTime sampleTime or {@code null} for none + */ + public OvulationTest setSampleTime(ObservationSampleTime sampleTime) { + this.sampleTime = sampleTime; + return this; + } + + @Override + public OvulationTest set(String fieldName, Object value) { + return (OvulationTest) super.set(fieldName, value); + } + + @Override + public OvulationTest clone() { + return (OvulationTest) super.clone(); + } + +} diff --git a/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/Symptoms.java b/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/Symptoms.java new file mode 100644 index 00000000000..9e0b0676ba5 --- /dev/null +++ b/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/Symptoms.java @@ -0,0 +1,90 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.health.v4.model; + +/** + * Symptoms logged by the user. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Google Health API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class Symptoms extends com.google.api.client.json.GenericJson { + + /** + * Required. Time when the symptoms were logged. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ObservationSampleTime sampleTime; + + /** + * Required. List of symptoms experienced. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List symptoms; + + /** + * Required. Time when the symptoms were logged. + * @return value or {@code null} for none + */ + public ObservationSampleTime getSampleTime() { + return sampleTime; + } + + /** + * Required. Time when the symptoms were logged. + * @param sampleTime sampleTime or {@code null} for none + */ + public Symptoms setSampleTime(ObservationSampleTime sampleTime) { + this.sampleTime = sampleTime; + return this; + } + + /** + * Required. List of symptoms experienced. + * @return value or {@code null} for none + */ + public java.util.List getSymptoms() { + return symptoms; + } + + /** + * Required. List of symptoms experienced. + * @param symptoms symptoms or {@code null} for none + */ + public Symptoms setSymptoms(java.util.List symptoms) { + this.symptoms = symptoms; + return this; + } + + @Override + public Symptoms set(String fieldName, Object value) { + return (Symptoms) super.set(fieldName, value); + } + + @Override + public Symptoms clone() { + return (Symptoms) super.clone(); + } + +} 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 e21faf86c0b..cabb78e5939 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-rev20260729-2.0.0 - Google Health API v4-rev20260729-2.0.0 + v4-rev20260731-2.0.0 + Google Health API v4-rev20260731-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 b8855dee3a0..d57c963f350 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-rev20260729-2.0.0 + v4-rev20260731-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-health:v4-rev20260729-2.0.0' + implementation 'com.google.apis:google-api-services-health:v4-rev20260731-2.0.0' } ```