blob: 12c7c836da4d208051c0cf5d8f81579af1fb7721 [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070075<h1><a href="fitness_v1.html">Fitness API</a> . <a href="fitness_v1.users.html">users</a> . <a href="fitness_v1.users.dataSources.html">dataSources</a> . <a href="fitness_v1.users.dataSources.dataPointChanges.html">dataPointChanges</a></h1>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070076<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
81 <code><a href="#list">list(userId, dataSourceId, limit=None, pageToken=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070082<p class="firstline">Queries for user's data point changes for a particular data source.</p>
83<p class="toc_element">
84 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
85<p class="firstline">Retrieves the next page of results.</p>
86<h3>Method Details</h3>
87<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070088 <code class="details" id="close">close()</code>
89 <pre>Close httplib2 connections.</pre>
90</div>
91
92<div class="method">
93 <code class="details" id="list">list(userId, dataSourceId, limit=None, pageToken=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -070094 <pre>Queries for user&#x27;s data point changes for a particular data source.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070095
96Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070097 userId: string, List data points for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070098 dataSourceId: string, The data stream ID of the data source that created the dataset. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070099 limit: integer, If specified, no more than this many data point changes will be included in the response.
100 pageToken: string, The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700101 x__xgafv: string, V1 error format.
102 Allowed values
103 1 - v1 error format
104 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700105
106Returns:
107 An object of the form:
108
109 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700110 &quot;insertedDataPoint&quot;: [ # Inserted data points for the user.
111 { # Represents a single data point, generated by a particular data source. A data point holds a value for each field, an end timestamp and an optional start time. The exact semantics of each of these attributes are specified in the documentation for the particular data type. A data point can represent an instantaneous measurement, reading or input observation, as well as averages or aggregates over a time interval. Check the data type documentation to determine which is the case for a particular data type. Data points always contain one value for each field of the data type.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800112 &quot;dataTypeName&quot;: &quot;A String&quot;, # The data type defining the format of the values in this data point.
113 &quot;rawTimestampNanos&quot;: &quot;A String&quot;, # The raw timestamp from the original SensorEvent.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800114 &quot;computationTimeMillis&quot;: &quot;A String&quot;, # DO NOT USE THIS FIELD. It is ignored, and not stored.
115 &quot;modifiedTimeMillis&quot;: &quot;A String&quot;, # Indicates the last time this data point was modified. Useful only in contexts where we are listing the data changes, rather than representing the current state of the data.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800116 &quot;originDataSourceId&quot;: &quot;A String&quot;, # If the data point is contained in a dataset for a derived data source, this field will be populated with the data source stream ID that created the data point originally. WARNING: do not rely on this field for anything other than debugging. The value of this field, if it is set at all, is an implementation detail and is not guaranteed to remain consistent.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800117 &quot;endTimeNanos&quot;: &quot;A String&quot;, # The end time of the interval represented by this data point, in nanoseconds since epoch.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800118 &quot;startTimeNanos&quot;: &quot;A String&quot;, # The start time of the interval represented by this data point, in nanoseconds since epoch.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700119 &quot;value&quot;: [ # Values of each data type field for the data point. It is expected that each value corresponding to a data type field will occur in the same order that the field is listed with in the data type specified in a data source. Only one of integer and floating point fields will be populated, depending on the format enum value within data source&#x27;s type field.
120 { # Holder object for the value of a single field in a data point. A field value has a particular format and is only ever set to one of an integer or a floating point value.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800121 &quot;stringVal&quot;: &quot;A String&quot;, # String value. When this is set, other values must not be set. Strings should be kept small whenever possible. Data streams with large string values and high data frequency may be down sampled.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700122 &quot;mapVal&quot;: [ # Map value. The valid key space and units for the corresponding value of each entry should be documented as part of the data type definition. Keys should be kept small whenever possible. Data streams with large keys and high data frequency may be down sampled.
123 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700124 &quot;key&quot;: &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700125 &quot;value&quot;: { # Holder object for the value of an entry in a map field of a data point. A map value supports a subset of the formats that the regular Value supports.
126 &quot;fpVal&quot;: 3.14, # Floating point value.
127 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700128 },
129 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800130 &quot;fpVal&quot;: 3.14, # Floating point value. When this is set, other values must not be set.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800131 &quot;intVal&quot;: 42, # Integer value. When this is set, other values must not be set.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700132 },
133 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800134 },
135 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800136 &quot;nextPageToken&quot;: &quot;A String&quot;, # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
137 &quot;dataSourceId&quot;: &quot;A String&quot;, # The data stream ID of the data source with data point changes.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800138 &quot;deletedDataPoint&quot;: [ # Deleted data points for the user. Note, for modifications this should be parsed before handling insertions.
139 { # Represents a single data point, generated by a particular data source. A data point holds a value for each field, an end timestamp and an optional start time. The exact semantics of each of these attributes are specified in the documentation for the particular data type. A data point can represent an instantaneous measurement, reading or input observation, as well as averages or aggregates over a time interval. Check the data type documentation to determine which is the case for a particular data type. Data points always contain one value for each field of the data type.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800140 &quot;dataTypeName&quot;: &quot;A String&quot;, # The data type defining the format of the values in this data point.
141 &quot;rawTimestampNanos&quot;: &quot;A String&quot;, # The raw timestamp from the original SensorEvent.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800142 &quot;computationTimeMillis&quot;: &quot;A String&quot;, # DO NOT USE THIS FIELD. It is ignored, and not stored.
143 &quot;modifiedTimeMillis&quot;: &quot;A String&quot;, # Indicates the last time this data point was modified. Useful only in contexts where we are listing the data changes, rather than representing the current state of the data.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800144 &quot;originDataSourceId&quot;: &quot;A String&quot;, # If the data point is contained in a dataset for a derived data source, this field will be populated with the data source stream ID that created the data point originally. WARNING: do not rely on this field for anything other than debugging. The value of this field, if it is set at all, is an implementation detail and is not guaranteed to remain consistent.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800145 &quot;endTimeNanos&quot;: &quot;A String&quot;, # The end time of the interval represented by this data point, in nanoseconds since epoch.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800146 &quot;startTimeNanos&quot;: &quot;A String&quot;, # The start time of the interval represented by this data point, in nanoseconds since epoch.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800147 &quot;value&quot;: [ # Values of each data type field for the data point. It is expected that each value corresponding to a data type field will occur in the same order that the field is listed with in the data type specified in a data source. Only one of integer and floating point fields will be populated, depending on the format enum value within data source&#x27;s type field.
148 { # Holder object for the value of a single field in a data point. A field value has a particular format and is only ever set to one of an integer or a floating point value.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800149 &quot;stringVal&quot;: &quot;A String&quot;, # String value. When this is set, other values must not be set. Strings should be kept small whenever possible. Data streams with large string values and high data frequency may be down sampled.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800150 &quot;mapVal&quot;: [ # Map value. The valid key space and units for the corresponding value of each entry should be documented as part of the data type definition. Keys should be kept small whenever possible. Data streams with large keys and high data frequency may be down sampled.
151 {
152 &quot;key&quot;: &quot;A String&quot;,
153 &quot;value&quot;: { # Holder object for the value of an entry in a map field of a data point. A map value supports a subset of the formats that the regular Value supports.
154 &quot;fpVal&quot;: 3.14, # Floating point value.
155 },
156 },
157 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800158 &quot;fpVal&quot;: 3.14, # Floating point value. When this is set, other values must not be set.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800159 &quot;intVal&quot;: 42, # Integer value. When this is set, other values must not be set.
160 },
161 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700162 },
163 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700164 }</pre>
165</div>
166
167<div class="method">
168 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
169 <pre>Retrieves the next page of results.
170
171Args:
172 previous_request: The request for the previous page. (required)
173 previous_response: The response from the request for the previous page. (required)
174
175Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700176 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700177 page. Returns None if there are no more items in the collection.
178 </pre>
179</div>
180
181</body></html>