Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-health/v4/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-health</artifactId>
<version>v4-rev20260729-2.0.0</version>
<version>v4-rev20260731-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}.
Expand Down Expand Up @@ -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}.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -151,15 +154,21 @@ 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() {
return displayName;
}

/**
* 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) {
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @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();
}

}
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @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<java.lang.String> 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<java.lang.String> valences;

/**
* Required. The moods logged.
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getMoods() {
return moods;
}

/**
* Required. The moods logged.
* @param moods moods or {@code null} for none
*/
public Moods setMoods(java.util.List<java.lang.String> 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<java.lang.String> getValences() {
return valences;
}

/**
* Optional. The valences.
* @param valences valences or {@code null} for none
*/
public Moods setValences(java.util.List<java.lang.String> 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();
}

}
Loading
Loading