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 e6908ead7f6..5142b84f098 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-rev20260923-2.0.0 + v4-rev20260928-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-health:v4-rev20260923-2.0.0' + implementation 'com.google.apis:google-api-services-health:v4-rev20260928-2.0.0' } ``` diff --git a/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/GoogleHealthAPI.java b/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/GoogleHealthAPI.java index 18e16fda703..b5427657a47 100644 --- a/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/GoogleHealthAPI.java +++ b/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/GoogleHealthAPI.java @@ -4029,6 +4029,83 @@ public List setParent(java.lang.String parent) { return this; } + /** + * Optional. The data source family name to filter by. If empty, data points from all + * available data sources will be returned. Format: + * `users/me/dataSourceFamilies/{data_source_family}` The supported values are: - + * `users/me/dataSourceFamilies/all-sources` - Default value. Includes data from all + * available data sources. - `users/me/dataSourceFamilies/google-wearables` - Includes + * data from Google and Fitbit tracker devices (such as Fitbit trackers and Pixel Watch). + * Excludes manually logged data. - `users/me/dataSourceFamilies/google-sources` - + * Includes first-party Google data, such as data from tracker devices, manually logged + * data, and Health Connect. - `users/me/dataSourceFamilies/self-sources` - Includes only + * the data the calling client wrote through this API, that is, data points whose data + * source was registered through this API with the same OAuth client ID as the caller. + * Callers that were only granted write scopes for the requested data types may only read + * the data they wrote themselves: their requests are implicitly restricted to `self- + * sources`, and requesting any other data source family fails with `PERMISSION_DENIED`. + * If no data point matches the requested data source family, the response is an empty + * list rather than an error. Filtering by data source family is not supported for the + * `sleep`, `food` and `food-measurement-unit` data types, because the underlying listing + * implementation cannot restrict results by data source. Such requests fail with + * `INVALID_ARGUMENT` when the data source family is set explicitly, and with + * `PERMISSION_DENIED` when the restriction is only implied by the caller's scopes. For + * `sleep`, use ReconcileDataPoints instead. + */ + @com.google.api.client.util.Key + private java.lang.String dataSourceFamily; + + /** Optional. The data source family name to filter by. If empty, data points from all available data + sources will be returned. Format: `users/me/dataSourceFamilies/{data_source_family}` The supported + values are: - `users/me/dataSourceFamilies/all-sources` - Default value. Includes data from all + available data sources. - `users/me/dataSourceFamilies/google-wearables` - Includes data from + Google and Fitbit tracker devices (such as Fitbit trackers and Pixel Watch). Excludes manually + logged data. - `users/me/dataSourceFamilies/google-sources` - Includes first-party Google data, + such as data from tracker devices, manually logged data, and Health Connect. - + `users/me/dataSourceFamilies/self-sources` - Includes only the data the calling client wrote + through this API, that is, data points whose data source was registered through this API with the + same OAuth client ID as the caller. Callers that were only granted write scopes for the requested + data types may only read the data they wrote themselves: their requests are implicitly restricted + to `self-sources`, and requesting any other data source family fails with `PERMISSION_DENIED`. If + no data point matches the requested data source family, the response is an empty list rather than + an error. Filtering by data source family is not supported for the `sleep`, `food` and `food- + measurement-unit` data types, because the underlying listing implementation cannot restrict results + by data source. Such requests fail with `INVALID_ARGUMENT` when the data source family is set + explicitly, and with `PERMISSION_DENIED` when the restriction is only implied by the caller's + scopes. For `sleep`, use ReconcileDataPoints instead. + */ + public java.lang.String getDataSourceFamily() { + return dataSourceFamily; + } + + /** + * Optional. The data source family name to filter by. If empty, data points from all + * available data sources will be returned. Format: + * `users/me/dataSourceFamilies/{data_source_family}` The supported values are: - + * `users/me/dataSourceFamilies/all-sources` - Default value. Includes data from all + * available data sources. - `users/me/dataSourceFamilies/google-wearables` - Includes + * data from Google and Fitbit tracker devices (such as Fitbit trackers and Pixel Watch). + * Excludes manually logged data. - `users/me/dataSourceFamilies/google-sources` - + * Includes first-party Google data, such as data from tracker devices, manually logged + * data, and Health Connect. - `users/me/dataSourceFamilies/self-sources` - Includes only + * the data the calling client wrote through this API, that is, data points whose data + * source was registered through this API with the same OAuth client ID as the caller. + * Callers that were only granted write scopes for the requested data types may only read + * the data they wrote themselves: their requests are implicitly restricted to `self- + * sources`, and requesting any other data source family fails with `PERMISSION_DENIED`. + * If no data point matches the requested data source family, the response is an empty + * list rather than an error. Filtering by data source family is not supported for the + * `sleep`, `food` and `food-measurement-unit` data types, because the underlying listing + * implementation cannot restrict results by data source. Such requests fail with + * `INVALID_ARGUMENT` when the data source family is set explicitly, and with + * `PERMISSION_DENIED` when the restriction is only implied by the caller's scopes. For + * `sleep`, use ReconcileDataPoints instead. + */ + public List setDataSourceFamily(java.lang.String dataSourceFamily) { + this.dataSourceFamily = dataSourceFamily; + return this; + } + /** * Optional. Filter expression following https://google.aip.dev/160. A time range (either * physical or civil) can be specified. The supported filter fields are: - Interval start diff --git a/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/HeartRateVariability.java b/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/HeartRateVariability.java index bfb046e8125..3577f9c96ff 100644 --- a/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/HeartRateVariability.java +++ b/clients/google-api-services-health/v4/2.0.0/com/google/api/services/health/v4/model/HeartRateVariability.java @@ -32,7 +32,7 @@ public final class HeartRateVariability extends com.google.api.client.json.GenericJson { /** - * Optional. Metadata used in 1P surfaces. + * Optional. Additional information about the heart rate variability measurement. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -61,7 +61,7 @@ public final class HeartRateVariability extends com.google.api.client.json.Gener private java.lang.Double standardDeviationMilliseconds; /** - * Optional. Metadata used in 1P surfaces. + * Optional. Additional information about the heart rate variability measurement. * @return value or {@code null} for none */ public HeartRateVariabilityMetadata getMetadata() { @@ -69,7 +69,7 @@ public HeartRateVariabilityMetadata getMetadata() { } /** - * Optional. Metadata used in 1P surfaces. + * Optional. Additional information about the heart rate variability measurement. * @param metadata metadata or {@code null} for none */ public HeartRateVariability setMetadata(HeartRateVariabilityMetadata metadata) { 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 5f6ca1b106f..4f3f06fdf31 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-rev20260923-2.0.0 - Google Health API v4-rev20260923-2.0.0 + v4-rev20260928-2.0.0 + Google Health API v4-rev20260928-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 e6908ead7f6..5142b84f098 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-rev20260923-2.0.0 + v4-rev20260928-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-health:v4-rev20260923-2.0.0' + implementation 'com.google.apis:google-api-services-health:v4-rev20260928-2.0.0' } ``` diff --git a/clients/google-api-services-health/v4beta/2.0.0/README.md b/clients/google-api-services-health/v4beta/2.0.0/README.md index 34850fc3f9f..9c2bb70b71f 100644 --- a/clients/google-api-services-health/v4beta/2.0.0/README.md +++ b/clients/google-api-services-health/v4beta/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 - v4beta-rev20260923-2.0.0 + v4beta-rev20260928-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-health:v4beta-rev20260923-2.0.0' + implementation 'com.google.apis:google-api-services-health:v4beta-rev20260928-2.0.0' } ``` diff --git a/clients/google-api-services-health/v4beta/2.0.0/com/google/api/services/health/v4beta/GoogleHealthAPI.java b/clients/google-api-services-health/v4beta/2.0.0/com/google/api/services/health/v4beta/GoogleHealthAPI.java index 80d0fb0940f..9410adad713 100644 --- a/clients/google-api-services-health/v4beta/2.0.0/com/google/api/services/health/v4beta/GoogleHealthAPI.java +++ b/clients/google-api-services-health/v4beta/2.0.0/com/google/api/services/health/v4beta/GoogleHealthAPI.java @@ -4029,6 +4029,83 @@ public List setParent(java.lang.String parent) { return this; } + /** + * Optional. The data source family name to filter by. If empty, data points from all + * available data sources will be returned. Format: + * `users/me/dataSourceFamilies/{data_source_family}` The supported values are: - + * `users/me/dataSourceFamilies/all-sources` - Default value. Includes data from all + * available data sources. - `users/me/dataSourceFamilies/google-wearables` - Includes + * data from Google and Fitbit tracker devices (such as Fitbit trackers and Pixel Watch). + * Excludes manually logged data. - `users/me/dataSourceFamilies/google-sources` - + * Includes first-party Google data, such as data from tracker devices, manually logged + * data, and Health Connect. - `users/me/dataSourceFamilies/self-sources` - Includes only + * the data the calling client wrote through this API, that is, data points whose data + * source was registered through this API with the same OAuth client ID as the caller. + * Callers that were only granted write scopes for the requested data types may only read + * the data they wrote themselves: their requests are implicitly restricted to `self- + * sources`, and requesting any other data source family fails with `PERMISSION_DENIED`. + * If no data point matches the requested data source family, the response is an empty + * list rather than an error. Filtering by data source family is not supported for the + * `sleep`, `food` and `food-measurement-unit` data types, because the underlying listing + * implementation cannot restrict results by data source. Such requests fail with + * `INVALID_ARGUMENT` when the data source family is set explicitly, and with + * `PERMISSION_DENIED` when the restriction is only implied by the caller's scopes. For + * `sleep`, use ReconcileDataPoints instead. + */ + @com.google.api.client.util.Key + private java.lang.String dataSourceFamily; + + /** Optional. The data source family name to filter by. If empty, data points from all available data + sources will be returned. Format: `users/me/dataSourceFamilies/{data_source_family}` The supported + values are: - `users/me/dataSourceFamilies/all-sources` - Default value. Includes data from all + available data sources. - `users/me/dataSourceFamilies/google-wearables` - Includes data from + Google and Fitbit tracker devices (such as Fitbit trackers and Pixel Watch). Excludes manually + logged data. - `users/me/dataSourceFamilies/google-sources` - Includes first-party Google data, + such as data from tracker devices, manually logged data, and Health Connect. - + `users/me/dataSourceFamilies/self-sources` - Includes only the data the calling client wrote + through this API, that is, data points whose data source was registered through this API with the + same OAuth client ID as the caller. Callers that were only granted write scopes for the requested + data types may only read the data they wrote themselves: their requests are implicitly restricted + to `self-sources`, and requesting any other data source family fails with `PERMISSION_DENIED`. If + no data point matches the requested data source family, the response is an empty list rather than + an error. Filtering by data source family is not supported for the `sleep`, `food` and `food- + measurement-unit` data types, because the underlying listing implementation cannot restrict results + by data source. Such requests fail with `INVALID_ARGUMENT` when the data source family is set + explicitly, and with `PERMISSION_DENIED` when the restriction is only implied by the caller's + scopes. For `sleep`, use ReconcileDataPoints instead. + */ + public java.lang.String getDataSourceFamily() { + return dataSourceFamily; + } + + /** + * Optional. The data source family name to filter by. If empty, data points from all + * available data sources will be returned. Format: + * `users/me/dataSourceFamilies/{data_source_family}` The supported values are: - + * `users/me/dataSourceFamilies/all-sources` - Default value. Includes data from all + * available data sources. - `users/me/dataSourceFamilies/google-wearables` - Includes + * data from Google and Fitbit tracker devices (such as Fitbit trackers and Pixel Watch). + * Excludes manually logged data. - `users/me/dataSourceFamilies/google-sources` - + * Includes first-party Google data, such as data from tracker devices, manually logged + * data, and Health Connect. - `users/me/dataSourceFamilies/self-sources` - Includes only + * the data the calling client wrote through this API, that is, data points whose data + * source was registered through this API with the same OAuth client ID as the caller. + * Callers that were only granted write scopes for the requested data types may only read + * the data they wrote themselves: their requests are implicitly restricted to `self- + * sources`, and requesting any other data source family fails with `PERMISSION_DENIED`. + * If no data point matches the requested data source family, the response is an empty + * list rather than an error. Filtering by data source family is not supported for the + * `sleep`, `food` and `food-measurement-unit` data types, because the underlying listing + * implementation cannot restrict results by data source. Such requests fail with + * `INVALID_ARGUMENT` when the data source family is set explicitly, and with + * `PERMISSION_DENIED` when the restriction is only implied by the caller's scopes. For + * `sleep`, use ReconcileDataPoints instead. + */ + public List setDataSourceFamily(java.lang.String dataSourceFamily) { + this.dataSourceFamily = dataSourceFamily; + return this; + } + /** * Optional. Filter expression following https://google.aip.dev/160. A time range (either * physical or civil) can be specified. The supported filter fields are: - Interval start diff --git a/clients/google-api-services-health/v4beta/2.0.0/com/google/api/services/health/v4beta/model/HeartRateVariability.java b/clients/google-api-services-health/v4beta/2.0.0/com/google/api/services/health/v4beta/model/HeartRateVariability.java index 86c8f14d0c4..4ae28eb09a6 100644 --- a/clients/google-api-services-health/v4beta/2.0.0/com/google/api/services/health/v4beta/model/HeartRateVariability.java +++ b/clients/google-api-services-health/v4beta/2.0.0/com/google/api/services/health/v4beta/model/HeartRateVariability.java @@ -32,7 +32,7 @@ public final class HeartRateVariability extends com.google.api.client.json.GenericJson { /** - * Optional. Metadata used in 1P surfaces. + * Optional. Additional information about the heart rate variability measurement. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -61,7 +61,7 @@ public final class HeartRateVariability extends com.google.api.client.json.Gener private java.lang.Double standardDeviationMilliseconds; /** - * Optional. Metadata used in 1P surfaces. + * Optional. Additional information about the heart rate variability measurement. * @return value or {@code null} for none */ public HeartRateVariabilityMetadata getMetadata() { @@ -69,7 +69,7 @@ public HeartRateVariabilityMetadata getMetadata() { } /** - * Optional. Metadata used in 1P surfaces. + * Optional. Additional information about the heart rate variability measurement. * @param metadata metadata or {@code null} for none */ public HeartRateVariability setMetadata(HeartRateVariabilityMetadata metadata) { diff --git a/clients/google-api-services-health/v4beta/2.0.0/pom.xml b/clients/google-api-services-health/v4beta/2.0.0/pom.xml index d1121312250..55047beb45d 100644 --- a/clients/google-api-services-health/v4beta/2.0.0/pom.xml +++ b/clients/google-api-services-health/v4beta/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-health - v4beta-rev20260923-2.0.0 - Google Health API v4beta-rev20260923-2.0.0 + v4beta-rev20260928-2.0.0 + Google Health API v4beta-rev20260928-2.0.0 jar 2011 diff --git a/clients/google-api-services-health/v4beta/README.md b/clients/google-api-services-health/v4beta/README.md index 34850fc3f9f..9c2bb70b71f 100644 --- a/clients/google-api-services-health/v4beta/README.md +++ b/clients/google-api-services-health/v4beta/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-health - v4beta-rev20260923-2.0.0 + v4beta-rev20260928-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-health:v4beta-rev20260923-2.0.0' + implementation 'com.google.apis:google-api-services-health:v4beta-rev20260928-2.0.0' } ```