Skip to content

Commit 981929b

Browse files
feat(fitness): update the api
#### fitness:v1 The following keys were deleted: - resources.users.resources.dataSources.resources.datasets.methods.delete.parameters.currentTimeMillis (Total Keys: 3) - resources.users.resources.dataSources.resources.datasets.methods.delete.parameters.modifiedTimeMillis (Total Keys: 3) - resources.users.resources.dataSources.resources.datasets.methods.patch.parameters.currentTimeMillis (Total Keys: 3) - resources.users.resources.sessions.methods.delete.parameters.currentTimeMillis (Total Keys: 3) - resources.users.resources.sessions.methods.update.parameters.currentTimeMillis (Total Keys: 3)
1 parent 314fd70 commit 981929b

File tree

3 files changed

+9
-44
lines changed

3 files changed

+9
-44
lines changed

docs/dyn/fitness_v1.users.dataSources.datasets.html

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h2>Instance Methods</h2>
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
81-
<code><a href="#delete">delete(userId, dataSourceId, datasetId, currentTimeMillis=None, modifiedTimeMillis=None, x__xgafv=None)</a></code></p>
81+
<code><a href="#delete">delete(userId, dataSourceId, datasetId, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Performs an inclusive delete of all data points whose start and end times have any overlap with the time range specified by the dataset ID. For most data types, the entire data point will be deleted. For data types where the time span represents a consistent value (such as com.google.activity.segment), and a data point straddles either end point of the dataset, only the overlapping portion of the data point will be deleted.</p>
8383
<p class="toc_element">
8484
<code><a href="#get">get(userId, dataSourceId, datasetId, limit=None, pageToken=None, x__xgafv=None)</a></code></p>
@@ -87,7 +87,7 @@ <h2>Instance Methods</h2>
8787
<code><a href="#get_next">get_next(previous_request, previous_response)</a></code></p>
8888
<p class="firstline">Retrieves the next page of results.</p>
8989
<p class="toc_element">
90-
<code><a href="#patch">patch(userId, dataSourceId, datasetId, body=None, currentTimeMillis=None, x__xgafv=None)</a></code></p>
90+
<code><a href="#patch">patch(userId, dataSourceId, datasetId, body=None, x__xgafv=None)</a></code></p>
9191
<p class="firstline">Adds data points to a dataset. The dataset need not be previously created. All points within the given dataset will be returned with subsquent calls to retrieve this dataset. Data points can belong to more than one dataset. This method does not use patch semantics: the data points provided are merely inserted, with no existing data replaced.</p>
9292
<p class="toc_element">
9393
<code><a href="#patch_next">patch_next(previous_request, previous_response)</a></code></p>
@@ -99,15 +99,13 @@ <h3>Method Details</h3>
9999
</div>
100100

101101
<div class="method">
102-
<code class="details" id="delete">delete(userId, dataSourceId, datasetId, currentTimeMillis=None, modifiedTimeMillis=None, x__xgafv=None)</code>
102+
<code class="details" id="delete">delete(userId, dataSourceId, datasetId, x__xgafv=None)</code>
103103
<pre>Performs an inclusive delete of all data points whose start and end times have any overlap with the time range specified by the dataset ID. For most data types, the entire data point will be deleted. For data types where the time span represents a consistent value (such as com.google.activity.segment), and a data point straddles either end point of the dataset, only the overlapping portion of the data point will be deleted.
104104

105105
Args:
106106
userId: string, Delete a dataset for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. (required)
107107
dataSourceId: string, The data stream ID of the data source that created the dataset. (required)
108108
datasetId: string, Dataset identifier that is a composite of the minimum data point start time and maximum data point end time represented as nanoseconds from the epoch. The ID is formatted like: &quot;startTime-endTime&quot; where startTime and endTime are 64 bit integers. (required)
109-
currentTimeMillis: string, The client&#x27;s current time in milliseconds since epoch.
110-
modifiedTimeMillis: string, When the operation was performed on the client.
111109
x__xgafv: string, V1 error format.
112110
Allowed values
113111
1 - v1 error format
@@ -182,7 +180,7 @@ <h3>Method Details</h3>
182180
</div>
183181

184182
<div class="method">
185-
<code class="details" id="patch">patch(userId, dataSourceId, datasetId, body=None, currentTimeMillis=None, x__xgafv=None)</code>
183+
<code class="details" id="patch">patch(userId, dataSourceId, datasetId, body=None, x__xgafv=None)</code>
186184
<pre>Adds data points to a dataset. The dataset need not be previously created. All points within the given dataset will be returned with subsquent calls to retrieve this dataset. Data points can belong to more than one dataset. This method does not use patch semantics: the data points provided are merely inserted, with no existing data replaced.
187185

188186
Args:
@@ -225,7 +223,6 @@ <h3>Method Details</h3>
225223
],
226224
}
227225

228-
currentTimeMillis: string, The client&#x27;s current time in milliseconds since epoch. Note that the minStartTimeNs and maxEndTimeNs properties in the request body are in nanoseconds instead of milliseconds.
229226
x__xgafv: string, V1 error format.
230227
Allowed values
231228
1 - v1 error format

docs/dyn/fitness_v1.users.sessions.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h2>Instance Methods</h2>
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
81-
<code><a href="#delete">delete(userId, sessionId, currentTimeMillis=None, x__xgafv=None)</a></code></p>
81+
<code><a href="#delete">delete(userId, sessionId, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Deletes a session specified by the given session ID.</p>
8383
<p class="toc_element">
8484
<code><a href="#list">list(userId, activityType=None, endTime=None, includeDeleted=None, pageToken=None, startTime=None, x__xgafv=None)</a></code></p>
@@ -87,7 +87,7 @@ <h2>Instance Methods</h2>
8787
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
8888
<p class="firstline">Retrieves the next page of results.</p>
8989
<p class="toc_element">
90-
<code><a href="#update">update(userId, sessionId, body=None, currentTimeMillis=None, x__xgafv=None)</a></code></p>
90+
<code><a href="#update">update(userId, sessionId, body=None, x__xgafv=None)</a></code></p>
9191
<p class="firstline">Updates or insert a given session.</p>
9292
<h3>Method Details</h3>
9393
<div class="method">
@@ -96,13 +96,12 @@ <h3>Method Details</h3>
9696
</div>
9797

9898
<div class="method">
99-
<code class="details" id="delete">delete(userId, sessionId, currentTimeMillis=None, x__xgafv=None)</code>
99+
<code class="details" id="delete">delete(userId, sessionId, x__xgafv=None)</code>
100100
<pre>Deletes a session specified by the given session ID.
101101

102102
Args:
103103
userId: string, Delete a session for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. (required)
104104
sessionId: string, The ID of the session to be deleted. (required)
105-
currentTimeMillis: string, The client&#x27;s current time in milliseconds since epoch.
106105
x__xgafv: string, V1 error format.
107106
Allowed values
108107
1 - v1 error format
@@ -186,7 +185,7 @@ <h3>Method Details</h3>
186185
</div>
187186

188187
<div class="method">
189-
<code class="details" id="update">update(userId, sessionId, body=None, currentTimeMillis=None, x__xgafv=None)</code>
188+
<code class="details" id="update">update(userId, sessionId, body=None, x__xgafv=None)</code>
190189
<pre>Updates or insert a given session.
191190

192191
Args:
@@ -212,7 +211,6 @@ <h3>Method Details</h3>
212211
&quot;startTimeMillis&quot;: &quot;A String&quot;, # A start time, in milliseconds since epoch, inclusive.
213212
}
214213

215-
currentTimeMillis: string, The client&#x27;s current time in milliseconds since epoch.
216214
x__xgafv: string, V1 error format.
217215
Allowed values
218216
1 - v1 error format

googleapiclient/discovery_cache/documents/fitness.v1.json

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -477,12 +477,6 @@
477477
"datasetId"
478478
],
479479
"parameters": {
480-
"currentTimeMillis": {
481-
"description": "The client's current time in milliseconds since epoch.",
482-
"format": "int64",
483-
"location": "query",
484-
"type": "string"
485-
},
486480
"dataSourceId": {
487481
"description": "The data stream ID of the data source that created the dataset.",
488482
"location": "path",
@@ -495,12 +489,6 @@
495489
"required": true,
496490
"type": "string"
497491
},
498-
"modifiedTimeMillis": {
499-
"description": "When the operation was performed on the client.",
500-
"format": "int64",
501-
"location": "query",
502-
"type": "string"
503-
},
504492
"userId": {
505493
"description": "Delete a dataset for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
506494
"location": "path",
@@ -604,12 +592,6 @@
604592
"datasetId"
605593
],
606594
"parameters": {
607-
"currentTimeMillis": {
608-
"description": "The client's current time in milliseconds since epoch. Note that the minStartTimeNs and maxEndTimeNs properties in the request body are in nanoseconds instead of milliseconds.",
609-
"format": "int64",
610-
"location": "query",
611-
"type": "string"
612-
},
613595
"dataSourceId": {
614596
"description": "The data stream ID of the data source that created the dataset.",
615597
"location": "path",
@@ -718,12 +700,6 @@
718700
"sessionId"
719701
],
720702
"parameters": {
721-
"currentTimeMillis": {
722-
"description": "The client's current time in milliseconds since epoch.",
723-
"format": "int64",
724-
"location": "query",
725-
"type": "string"
726-
},
727703
"sessionId": {
728704
"description": "The ID of the session to be deleted.",
729705
"location": "path",
@@ -825,12 +801,6 @@
825801
"sessionId"
826802
],
827803
"parameters": {
828-
"currentTimeMillis": {
829-
"description": "The client's current time in milliseconds since epoch.",
830-
"format": "int64",
831-
"location": "query",
832-
"type": "string"
833-
},
834804
"sessionId": {
835805
"description": "The ID of the session to be created.",
836806
"location": "path",
@@ -861,7 +831,7 @@
861831
}
862832
}
863833
},
864-
"revision": "20210115",
834+
"revision": "20210310",
865835
"rootUrl": "https://fitness.googleapis.com/",
866836
"schemas": {
867837
"AggregateBucket": {

0 commit comments

Comments
 (0)