Skip to content

Commit b8c52da

Browse files
1 parent c206758 commit b8c52da

6 files changed

Lines changed: 43 additions & 29 deletions

File tree

src/GoogleHealthAPI.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,6 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
207207
'type' => 'string',
208208
'required' => true,
209209
],
210-
'updateMask' => [
211-
'location' => 'query',
212-
'type' => 'string',
213-
],
214210
],
215211
],'reconcile' => [
216212
'path' => 'v4/{+parent}/dataPoints:reconcile',

src/GoogleHealthAPI/Application.php

Lines changed: 32 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,28 +20,42 @@
2020
class Application extends \Google\Model
2121
{
2222
/**
23-
* Output only. Captures the client ID of the entity that recorded the data.
23+
* Output only. The Google OAuth 2.0 client ID of the web application or
24+
* service that recorded the data. This is the client ID used during the
25+
* Google OAuth flow to obtain user credentials. This field is system-
26+
* populated when the data is uploaded from Google Web API.
2427
*
2528
* @var string
2629
*/
2730
public $googleWebClientId;
2831
/**
29-
* Output only. A unique ID from an external data source. A unique identifier
30-
* of the mobile application, e.g. `com.google.fitbit`
32+
* Output only. A unique identifier for the mobile application that was the
33+
* source of the data. This is typically the application's package name on
34+
* Android (e.g., `com.google.fitbit`) or the bundle ID on iOS. This field is
35+
* informational and helps trace data origin. This field is system-populated
36+
* when the data is uploaded from the Fitbit mobile application, Health
37+
* Connect or Health Kit.
3138
*
3239
* @var string
3340
*/
3441
public $packageName;
3542
/**
36-
* Output only. Captures the client ID of the web application that recorded
37-
* the data.
43+
* Output only. The client ID of the application that recorded the data. This
44+
* ID is a legacy Fitbit API client ID, which is different from a Google OAuth
45+
* client ID. Example format: `ABC123`. This field is system-populated and
46+
* used for tracing data from legacy Fitbit API integrations. This field is
47+
* system-populated when the data is uploaded from a legacy Fitbit API
48+
* integration.
3849
*
3950
* @var string
4051
*/
4152
public $webClientId;
4253

4354
/**
44-
* Output only. Captures the client ID of the entity that recorded the data.
55+
* Output only. The Google OAuth 2.0 client ID of the web application or
56+
* service that recorded the data. This is the client ID used during the
57+
* Google OAuth flow to obtain user credentials. This field is system-
58+
* populated when the data is uploaded from Google Web API.
4559
*
4660
* @param string $googleWebClientId
4761
*/
@@ -57,8 +71,12 @@ public function getGoogleWebClientId()
5771
return $this->googleWebClientId;
5872
}
5973
/**
60-
* Output only. A unique ID from an external data source. A unique identifier
61-
* of the mobile application, e.g. `com.google.fitbit`
74+
* Output only. A unique identifier for the mobile application that was the
75+
* source of the data. This is typically the application's package name on
76+
* Android (e.g., `com.google.fitbit`) or the bundle ID on iOS. This field is
77+
* informational and helps trace data origin. This field is system-populated
78+
* when the data is uploaded from the Fitbit mobile application, Health
79+
* Connect or Health Kit.
6280
*
6381
* @param string $packageName
6482
*/
@@ -74,8 +92,12 @@ public function getPackageName()
7492
return $this->packageName;
7593
}
7694
/**
77-
* Output only. Captures the client ID of the web application that recorded
78-
* the data.
95+
* Output only. The client ID of the application that recorded the data. This
96+
* ID is a legacy Fitbit API client ID, which is different from a Google OAuth
97+
* client ID. Example format: `ABC123`. This field is system-populated and
98+
* used for tracing data from legacy Fitbit API integrations. This field is
99+
* system-populated when the data is uploaded from a legacy Fitbit API
100+
* integration.
79101
*
80102
* @param string $webClientId
81103
*/

src/GoogleHealthAPI/DataPoint.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class DataPoint extends \Google\Model
6464
* `users/{user}/dataTypes/{data_type}/dataPoints/{data_point}` Example: `user
6565
* s/abcd1234/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef`
6666
* The `{user}` ID is a system-generated identifier, as described in
67-
* Profile.encoded_id. The `{data_type}` ID corresponds to the kebab-case
67+
* Identity.health_user_id. The `{data_type}` ID corresponds to the kebab-case
6868
* version of the field names in the DataPoint data union field, e.g. `total-
6969
* calories` for the `total_calories` field. The `{data_point}` ID can be
7070
* client-provided or system-generated. If client-provided, it must be a
@@ -416,7 +416,7 @@ public function getHydrationLog()
416416
* `users/{user}/dataTypes/{data_type}/dataPoints/{data_point}` Example: `user
417417
* s/abcd1234/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef`
418418
* The `{user}` ID is a system-generated identifier, as described in
419-
* Profile.encoded_id. The `{data_type}` ID corresponds to the kebab-case
419+
* Identity.health_user_id. The `{data_type}` ID corresponds to the kebab-case
420420
* version of the field names in the DataPoint data union field, e.g. `total-
421421
* calories` for the `total_calories` field. The `{data_point}` ID can be
422422
* client-provided or system-generated. If client-provided, it must be a

src/GoogleHealthAPI/ReconciledDataPoint.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class ReconciledDataPoint extends \Google\Model
5050
* `users/{user}/dataTypes/{data_type}/dataPoints/{data_point}` Example: `user
5151
* s/abcd1234/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef`
5252
* The `{user}` ID is a system-generated identifier, as described in
53-
* Profile.encoded_id. The `{data_type}` ID corresponds to the kebab-case
53+
* Identity.health_user_id. The `{data_type}` ID corresponds to the kebab-case
5454
* version of the field names in the DataPoint data union field, e.g. `total-
5555
* calories` for the `total_calories` field. The `{data_point}` ID can be
5656
* client-provided or system-generated. If client-provided, it must be a
@@ -295,7 +295,7 @@ public function getDailyVo2Max()
295295
* `users/{user}/dataTypes/{data_type}/dataPoints/{data_point}` Example: `user
296296
* s/abcd1234/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-567890abcdef`
297297
* The `{user}` ID is a system-generated identifier, as described in
298-
* Profile.encoded_id. The `{data_type}` ID corresponds to the kebab-case
298+
* Identity.health_user_id. The `{data_type}` ID corresponds to the kebab-case
299299
* version of the field names in the DataPoint data union field, e.g. `total-
300300
* calories` for the `total_calories` field. The `{data_point}` ID can be
301301
* client-provided or system-generated. If client-provided, it must be a

src/GoogleHealthAPI/Resource/UsersDataTypesDataPoints.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -208,15 +208,13 @@ public function listUsersDataTypesDataPoints($parent, $optParams = [])
208208
* empty. Format: `users/{user}/dataTypes/{data_type}/dataPoints/{data_point}`
209209
* Example: `users/abcd1234/dataTypes/sleep/dataPoints/a1b2c3d4-e5f6-7890-1234-
210210
* 567890abcdef` The `{user}` ID is a system-generated identifier, as described
211-
* in Profile.encoded_id. The `{data_type}` ID corresponds to the kebab-case
212-
* version of the field names in the DataPoint data union field, e.g. `total-
213-
* calories` for the `total_calories` field. The `{data_point}` ID can be
211+
* in Identity.health_user_id. The `{data_type}` ID corresponds to the kebab-
212+
* case version of the field names in the DataPoint data union field, e.g.
213+
* `total-calories` for the `total_calories` field. The `{data_point}` ID can be
214214
* client-provided or system-generated. If client-provided, it must be a string
215215
* of 4-63 characters, containing only lowercase letters, numbers, and hyphens.
216216
* @param DataPoint $postBody
217217
* @param array $optParams Optional parameters.
218-
*
219-
* @opt_param string updateMask Optional. The list of fields to update.
220218
* @return Operation
221219
* @throws \Google\Service\Exception
222220
*/

src/GoogleHealthAPI/Settings.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,8 @@ class Settings extends \Google\Model
222222
*/
223223
public $timeZone;
224224
/**
225-
* Optional. The duration of the offset from UTC in milliseconds. This offset
226-
* is the difference between the user's current local time and UTC. Updates to
227-
* this field are currently not supported.
225+
* Optional. The user's timezone offset relative to UTC. Updates to this field
226+
* are currently not supported.
228227
*
229228
* @var string
230229
*/
@@ -453,9 +452,8 @@ public function getTimeZone()
453452
return $this->timeZone;
454453
}
455454
/**
456-
* Optional. The duration of the offset from UTC in milliseconds. This offset
457-
* is the difference between the user's current local time and UTC. Updates to
458-
* this field are currently not supported.
455+
* Optional. The user's timezone offset relative to UTC. Updates to this field
456+
* are currently not supported.
459457
*
460458
* @param string $utcOffset
461459
*/

0 commit comments

Comments
 (0)