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-rev20261002-2.0.0</version>
<version>v4-rev20261007-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-rev20261002-2.0.0'
implementation 'com.google.apis:google-api-services-health:v4-rev20261007-2.0.0'
}
```

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,20 @@ public final class DailyRollUpDataPointsRequest extends com.google.api.client.js

/**
* 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.
* - `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 type 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
* sources will be rolled up. Format: `users/{user}/dataSourceFamilies/{data_source_family}` The
* `{user}` can be either the alias `me` or the authenticated user's numeric Health User ID,
* retrieved via GetIdentity (e.g. `users/me/dataSourceFamilies/...` or
* `users/1234567890/dataSourceFamilies/...`). The supported values are: -
* `users/{user}/dataSourceFamilies/all-sources` - Default value. Includes data from all available
* data sources. - `users/{user}/dataSourceFamilies/google-wearables` - Includes data from Google
* and Fitbit tracker devices (such as Fitbit trackers and Pixel Watch). Excludes manually logged
* data. - `users/{user}/dataSourceFamilies/google-sources` - Includes first-party Google data,
* such as data from tracker devices, manually logged data, and Health Connect. -
* `users/{user}/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 type 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.
* The value may be {@code null}.
Expand Down Expand Up @@ -88,17 +91,20 @@ public final class DailyRollUpDataPointsRequest extends com.google.api.client.js

/**
* 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.
* - `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 type 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
* sources will be rolled up. Format: `users/{user}/dataSourceFamilies/{data_source_family}` The
* `{user}` can be either the alias `me` or the authenticated user's numeric Health User ID,
* retrieved via GetIdentity (e.g. `users/me/dataSourceFamilies/...` or
* `users/1234567890/dataSourceFamilies/...`). The supported values are: -
* `users/{user}/dataSourceFamilies/all-sources` - Default value. Includes data from all available
* data sources. - `users/{user}/dataSourceFamilies/google-wearables` - Includes data from Google
* and Fitbit tracker devices (such as Fitbit trackers and Pixel Watch). Excludes manually logged
* data. - `users/{user}/dataSourceFamilies/google-sources` - Includes first-party Google data,
* such as data from tracker devices, manually logged data, and Health Connect. -
* `users/{user}/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 type 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.
* @return value or {@code null} for none
Expand All @@ -109,17 +115,20 @@ public java.lang.String getDataSourceFamily() {

/**
* 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.
* - `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 type 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
* sources will be rolled up. Format: `users/{user}/dataSourceFamilies/{data_source_family}` The
* `{user}` can be either the alias `me` or the authenticated user's numeric Health User ID,
* retrieved via GetIdentity (e.g. `users/me/dataSourceFamilies/...` or
* `users/1234567890/dataSourceFamilies/...`). The supported values are: -
* `users/{user}/dataSourceFamilies/all-sources` - Default value. Includes data from all available
* data sources. - `users/{user}/dataSourceFamilies/google-wearables` - Includes data from Google
* and Fitbit tracker devices (such as Fitbit trackers and Pixel Watch). Excludes manually logged
* data. - `users/{user}/dataSourceFamilies/google-sources` - Includes first-party Google data,
* such as data from tracker devices, manually logged data, and Health Connect. -
* `users/{user}/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 type 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.
* @param dataSourceFamily dataSourceFamily or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,12 @@ public final class DataPoint extends com.google.api.client.json.GenericJson {
/**
* 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,
* would be empty. Format: `users/{user}/dataTypes/{data_type}/dataPoints/{data_point}` ##
* Examples: ## `users/me/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef`
* `users/1234567890/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef` The `{user}`
* can be either the alias `me` or the authenticated user's numeric Health User ID, which can be
* retrieved by calling GetIdentity (see 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.
Expand Down Expand Up @@ -864,10 +866,12 @@ public DataPoint setMoods(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
* 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,
* would be empty. Format: `users/{user}/dataTypes/{data_type}/dataPoints/{data_point}` ##
* Examples: ## `users/me/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef`
* `users/1234567890/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef` The `{user}`
* can be either the alias `me` or the authenticated user's numeric Health User ID, which can be
* retrieved by calling GetIdentity (see 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.
Expand All @@ -880,10 +884,12 @@ public java.lang.String getName() {
/**
* 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,
* would be empty. Format: `users/{user}/dataTypes/{data_type}/dataPoints/{data_point}` ##
* Examples: ## `users/me/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef`
* `users/1234567890/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef` The `{user}`
* can be either the alias `me` or the authenticated user's numeric Health User ID, which can be
* retrieved by calling GetIdentity (see 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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,31 @@
public final class GoogleDevicesandservicesHealthV4DataType extends com.google.api.client.json.GenericJson {

/**
* Identifier. The resource name of the data type. Format: `users/{user}/dataTypes/{data_type}`
* See DataPoint.name for examples and possible values.
* Identifier. The resource name of the data type. Format: `users/{user}/dataTypes/{data_type}`,
* e.g.: - `users/me/dataTypes/steps` - `users/1234567890/dataTypes/steps` The `{user}` can be
* either the alias `me` or the authenticated user's numeric Health User ID (retrieved via
* GetIdentity). See DataPoint.name for examples and possible values.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;

/**
* Identifier. The resource name of the data type. Format: `users/{user}/dataTypes/{data_type}`
* See DataPoint.name for examples and possible values.
* Identifier. The resource name of the data type. Format: `users/{user}/dataTypes/{data_type}`,
* e.g.: - `users/me/dataTypes/steps` - `users/1234567890/dataTypes/steps` The `{user}` can be
* either the alias `me` or the authenticated user's numeric Health User ID (retrieved via
* GetIdentity). See DataPoint.name for examples and possible values.
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}

/**
* Identifier. The resource name of the data type. Format: `users/{user}/dataTypes/{data_type}`
* See DataPoint.name for examples and possible values.
* Identifier. The resource name of the data type. Format: `users/{user}/dataTypes/{data_type}`,
* e.g.: - `users/me/dataTypes/steps` - `users/1234567890/dataTypes/steps` The `{user}` can be
* either the alias `me` or the authenticated user's numeric Health User ID (retrieved via
* GetIdentity). See DataPoint.name for examples and possible values.
* @param name name or {@code null} for none
*/
public GoogleDevicesandservicesHealthV4DataType setName(java.lang.String name) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,31 @@
public final class GoogleDevicesandservicesHealthV4betaDataType extends com.google.api.client.json.GenericJson {

/**
* Identifier. The resource name of the data type. Format: `users/{user}/dataTypes/{data_type}`
* See DataPoint.name for examples and possible values.
* Identifier. The resource name of the data type. Format: `users/{user}/dataTypes/{data_type}`,
* e.g.: - `users/me/dataTypes/steps` - `users/1234567890/dataTypes/steps` The `{user}` can be
* either the alias `me` or the authenticated user's numeric Health User ID (retrieved via
* GetIdentity). See DataPoint.name for examples and possible values.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;

/**
* Identifier. The resource name of the data type. Format: `users/{user}/dataTypes/{data_type}`
* See DataPoint.name for examples and possible values.
* Identifier. The resource name of the data type. Format: `users/{user}/dataTypes/{data_type}`,
* e.g.: - `users/me/dataTypes/steps` - `users/1234567890/dataTypes/steps` The `{user}` can be
* either the alias `me` or the authenticated user's numeric Health User ID (retrieved via
* GetIdentity). See DataPoint.name for examples and possible values.
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}

/**
* Identifier. The resource name of the data type. Format: `users/{user}/dataTypes/{data_type}`
* See DataPoint.name for examples and possible values.
* Identifier. The resource name of the data type. Format: `users/{user}/dataTypes/{data_type}`,
* e.g.: - `users/me/dataTypes/steps` - `users/1234567890/dataTypes/steps` The `{user}` can be
* either the alias `me` or the authenticated user's numeric Health User ID (retrieved via
* GetIdentity). See DataPoint.name for examples and possible values.
* @param name name or {@code null} for none
*/
public GoogleDevicesandservicesHealthV4betaDataType setName(java.lang.String name) {
Expand Down
Loading
Loading