chore: regens API reference docs (#889)
diff --git a/docs/dyn/fitness_v1.users.dataSources.html b/docs/dyn/fitness_v1.users.dataSources.html
index b944e3e..6e1d78c 100644
--- a/docs/dyn/fitness_v1.users.dataSources.html
+++ b/docs/dyn/fitness_v1.users.dataSources.html
@@ -85,8 +85,8 @@
<p class="firstline">Returns the datasets Resource.</p>
<p class="toc_element">
- <code><a href="#create">create(userId, body)</a></code></p>
-<p class="firstline">Creates a new data source that is unique across all data sources belonging to this user. The data stream ID field can be omitted and will be generated by the server with the correct format. The data stream ID is an ordered combination of some fields from the data source. In addition to the data source fields reflected into the data source ID, the developer project number that is authenticated when creating the data source is included. This developer project number is obfuscated when read by any other developer reading public data types.</p>
+ <code><a href="#create">create(userId, body=None)</a></code></p>
+<p class="firstline">Creates a new data source that is unique across all data sources belonging to this user.</p>
<p class="toc_element">
<code><a href="#delete">delete(userId, dataSourceId)</a></code></p>
<p class="firstline">Deletes the specified data source. The request will fail if the data source contains any data points.</p>
@@ -97,16 +97,26 @@
<code><a href="#list">list(userId, dataTypeName=None)</a></code></p>
<p class="firstline">Lists all data sources that are visible to the developer, using the OAuth scopes provided. The list is not exhaustive; the user may have private data sources that are only visible to other developers, or calls using other scopes.</p>
<p class="toc_element">
- <code><a href="#update">update(userId, dataSourceId, body)</a></code></p>
+ <code><a href="#update">update(userId, dataSourceId, body=None)</a></code></p>
<p class="firstline">Updates the specified data source. The dataStreamId, dataType, type, dataStreamName, and device properties with the exception of version, cannot be modified.</p>
<h3>Method Details</h3>
<div class="method">
- <code class="details" id="create">create(userId, body)</code>
- <pre>Creates a new data source that is unique across all data sources belonging to this user. The data stream ID field can be omitted and will be generated by the server with the correct format. The data stream ID is an ordered combination of some fields from the data source. In addition to the data source fields reflected into the data source ID, the developer project number that is authenticated when creating the data source is included. This developer project number is obfuscated when read by any other developer reading public data types.
+ <code class="details" id="create">create(userId, body=None)</code>
+ <pre>Creates a new data source that is unique across all data sources belonging to this user.
+
+A data source is a unique source of sensor data. Data sources can expose raw data coming from hardware sensors on local or companion devices. They can also expose derived data, created by transforming or merging other data sources. Multiple data sources can exist for the same data type. Every data point in every dataset inserted into or read from the Fitness API has an associated data source.
+
+Each data source produces a unique stream of dataset updates, with a unique data source identifier. Not all changes to data source affect the data stream ID, so that data collected by updated versions of the same application/device can still be considered to belong to the same data source.
+
+Data sources are identified using a string generated by the server, based on the contents of the source being created. The dataStreamId field should not be set when invoking this method. It will be automatically generated by the server with the correct format. If a dataStreamId is set, it must match the format that the server would generate. This format is a combination of some fields from the data source, and has a specific order. If it doesn't match, the request will fail with an error.
+
+Specifying a DataType which is not a known type (beginning with "com.google.") will create a DataSource with a custom data type. Custom data types are only readable by the application that created them. Custom data types are deprecated; use standard data types instead.
+
+In addition to the data source fields included in the data source ID, the developer project number that is authenticated when creating the data source is included. This developer project number is obfuscated when read by any other developer reading public data types.
Args:
userId: string, Create the data source for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. (required)
- body: object, The request body. (required)
+ body: object, The request body.
The object takes the form of:
{ # Definition of a unique source of sensor data. Data sources can expose raw data coming from hardware sensors on local or companion devices. They can also expose derived data, created by transforming or merging other data sources. Multiple data sources can exist for the same data type. Every data point inserted into or read from this service has an associated data source.
@@ -148,6 +158,8 @@
"version": "A String", # Version string for the device hardware/software.
"type": "A String", # A constant representing the type of the device.
"uid": "A String", # The serial number or other unique ID for the hardware. This field is obfuscated when read by any REST or Android client that did not create the data source. Only the data source creator will see the uid field in clear and normal form.
+ #
+ # The obfuscation preserves equality; that is, given two IDs, if id1 == id2, obfuscated(id1) == obfuscated(id2).
"manufacturer": "A String", # Manufacturer of the product/hardware.
},
"dataStreamId": "A String", # A unique identifier for the data stream produced by this data source. The identifier includes:
@@ -164,7 +176,7 @@
#
# When any of the optional fields that make up the data stream ID are absent, they will be omitted from the data stream ID. The minimum viable data stream ID would be: type:dataType.name:developer project number
#
- # Finally, the developer project number is obfuscated when read by any REST or Android client that did not create the data source. Only the data source creator will see the developer project number in clear and normal form.
+ # Finally, the developer project number and device UID are obfuscated when read by any REST or Android client that did not create the data source. Only the data source creator will see the developer project number in clear and normal form. This means a client will see a different set of data_stream_ids than another client with different credentials.
"type": "A String", # A constant describing the type of this data source. Indicates whether this data source produces raw or derived data.
}
@@ -211,6 +223,8 @@
"version": "A String", # Version string for the device hardware/software.
"type": "A String", # A constant representing the type of the device.
"uid": "A String", # The serial number or other unique ID for the hardware. This field is obfuscated when read by any REST or Android client that did not create the data source. Only the data source creator will see the uid field in clear and normal form.
+ #
+ # The obfuscation preserves equality; that is, given two IDs, if id1 == id2, obfuscated(id1) == obfuscated(id2).
"manufacturer": "A String", # Manufacturer of the product/hardware.
},
"dataStreamId": "A String", # A unique identifier for the data stream produced by this data source. The identifier includes:
@@ -227,7 +241,7 @@
#
# When any of the optional fields that make up the data stream ID are absent, they will be omitted from the data stream ID. The minimum viable data stream ID would be: type:dataType.name:developer project number
#
- # Finally, the developer project number is obfuscated when read by any REST or Android client that did not create the data source. Only the data source creator will see the developer project number in clear and normal form.
+ # Finally, the developer project number and device UID are obfuscated when read by any REST or Android client that did not create the data source. Only the data source creator will see the developer project number in clear and normal form. This means a client will see a different set of data_stream_ids than another client with different credentials.
"type": "A String", # A constant describing the type of this data source. Indicates whether this data source produces raw or derived data.
}</pre>
</div>
@@ -282,6 +296,8 @@
"version": "A String", # Version string for the device hardware/software.
"type": "A String", # A constant representing the type of the device.
"uid": "A String", # The serial number or other unique ID for the hardware. This field is obfuscated when read by any REST or Android client that did not create the data source. Only the data source creator will see the uid field in clear and normal form.
+ #
+ # The obfuscation preserves equality; that is, given two IDs, if id1 == id2, obfuscated(id1) == obfuscated(id2).
"manufacturer": "A String", # Manufacturer of the product/hardware.
},
"dataStreamId": "A String", # A unique identifier for the data stream produced by this data source. The identifier includes:
@@ -298,7 +314,7 @@
#
# When any of the optional fields that make up the data stream ID are absent, they will be omitted from the data stream ID. The minimum viable data stream ID would be: type:dataType.name:developer project number
#
- # Finally, the developer project number is obfuscated when read by any REST or Android client that did not create the data source. Only the data source creator will see the developer project number in clear and normal form.
+ # Finally, the developer project number and device UID are obfuscated when read by any REST or Android client that did not create the data source. Only the data source creator will see the developer project number in clear and normal form. This means a client will see a different set of data_stream_ids than another client with different credentials.
"type": "A String", # A constant describing the type of this data source. Indicates whether this data source produces raw or derived data.
}</pre>
</div>
@@ -353,6 +369,8 @@
"version": "A String", # Version string for the device hardware/software.
"type": "A String", # A constant representing the type of the device.
"uid": "A String", # The serial number or other unique ID for the hardware. This field is obfuscated when read by any REST or Android client that did not create the data source. Only the data source creator will see the uid field in clear and normal form.
+ #
+ # The obfuscation preserves equality; that is, given two IDs, if id1 == id2, obfuscated(id1) == obfuscated(id2).
"manufacturer": "A String", # Manufacturer of the product/hardware.
},
"dataStreamId": "A String", # A unique identifier for the data stream produced by this data source. The identifier includes:
@@ -369,7 +387,7 @@
#
# When any of the optional fields that make up the data stream ID are absent, they will be omitted from the data stream ID. The minimum viable data stream ID would be: type:dataType.name:developer project number
#
- # Finally, the developer project number is obfuscated when read by any REST or Android client that did not create the data source. Only the data source creator will see the developer project number in clear and normal form.
+ # Finally, the developer project number and device UID are obfuscated when read by any REST or Android client that did not create the data source. Only the data source creator will see the developer project number in clear and normal form. This means a client will see a different set of data_stream_ids than another client with different credentials.
"type": "A String", # A constant describing the type of this data source. Indicates whether this data source produces raw or derived data.
}</pre>
</div>
@@ -426,6 +444,8 @@
"version": "A String", # Version string for the device hardware/software.
"type": "A String", # A constant representing the type of the device.
"uid": "A String", # The serial number or other unique ID for the hardware. This field is obfuscated when read by any REST or Android client that did not create the data source. Only the data source creator will see the uid field in clear and normal form.
+ #
+ # The obfuscation preserves equality; that is, given two IDs, if id1 == id2, obfuscated(id1) == obfuscated(id2).
"manufacturer": "A String", # Manufacturer of the product/hardware.
},
"dataStreamId": "A String", # A unique identifier for the data stream produced by this data source. The identifier includes:
@@ -442,7 +462,7 @@
#
# When any of the optional fields that make up the data stream ID are absent, they will be omitted from the data stream ID. The minimum viable data stream ID would be: type:dataType.name:developer project number
#
- # Finally, the developer project number is obfuscated when read by any REST or Android client that did not create the data source. Only the data source creator will see the developer project number in clear and normal form.
+ # Finally, the developer project number and device UID are obfuscated when read by any REST or Android client that did not create the data source. Only the data source creator will see the developer project number in clear and normal form. This means a client will see a different set of data_stream_ids than another client with different credentials.
"type": "A String", # A constant describing the type of this data source. Indicates whether this data source produces raw or derived data.
},
],
@@ -450,7 +470,7 @@
</div>
<div class="method">
- <code class="details" id="update">update(userId, dataSourceId, body)</code>
+ <code class="details" id="update">update(userId, dataSourceId, body=None)</code>
<pre>Updates the specified data source. The dataStreamId, dataType, type, dataStreamName, and device properties with the exception of version, cannot be modified.
Data sources are identified by their dataStreamId.
@@ -458,7 +478,7 @@
Args:
userId: string, Update the data source for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. (required)
dataSourceId: string, The data stream ID of the data source to update. (required)
- body: object, The request body. (required)
+ body: object, The request body.
The object takes the form of:
{ # Definition of a unique source of sensor data. Data sources can expose raw data coming from hardware sensors on local or companion devices. They can also expose derived data, created by transforming or merging other data sources. Multiple data sources can exist for the same data type. Every data point inserted into or read from this service has an associated data source.
@@ -500,6 +520,8 @@
"version": "A String", # Version string for the device hardware/software.
"type": "A String", # A constant representing the type of the device.
"uid": "A String", # The serial number or other unique ID for the hardware. This field is obfuscated when read by any REST or Android client that did not create the data source. Only the data source creator will see the uid field in clear and normal form.
+ #
+ # The obfuscation preserves equality; that is, given two IDs, if id1 == id2, obfuscated(id1) == obfuscated(id2).
"manufacturer": "A String", # Manufacturer of the product/hardware.
},
"dataStreamId": "A String", # A unique identifier for the data stream produced by this data source. The identifier includes:
@@ -516,7 +538,7 @@
#
# When any of the optional fields that make up the data stream ID are absent, they will be omitted from the data stream ID. The minimum viable data stream ID would be: type:dataType.name:developer project number
#
- # Finally, the developer project number is obfuscated when read by any REST or Android client that did not create the data source. Only the data source creator will see the developer project number in clear and normal form.
+ # Finally, the developer project number and device UID are obfuscated when read by any REST or Android client that did not create the data source. Only the data source creator will see the developer project number in clear and normal form. This means a client will see a different set of data_stream_ids than another client with different credentials.
"type": "A String", # A constant describing the type of this data source. Indicates whether this data source produces raw or derived data.
}
@@ -563,6 +585,8 @@
"version": "A String", # Version string for the device hardware/software.
"type": "A String", # A constant representing the type of the device.
"uid": "A String", # The serial number or other unique ID for the hardware. This field is obfuscated when read by any REST or Android client that did not create the data source. Only the data source creator will see the uid field in clear and normal form.
+ #
+ # The obfuscation preserves equality; that is, given two IDs, if id1 == id2, obfuscated(id1) == obfuscated(id2).
"manufacturer": "A String", # Manufacturer of the product/hardware.
},
"dataStreamId": "A String", # A unique identifier for the data stream produced by this data source. The identifier includes:
@@ -579,7 +603,7 @@
#
# When any of the optional fields that make up the data stream ID are absent, they will be omitted from the data stream ID. The minimum viable data stream ID would be: type:dataType.name:developer project number
#
- # Finally, the developer project number is obfuscated when read by any REST or Android client that did not create the data source. Only the data source creator will see the developer project number in clear and normal form.
+ # Finally, the developer project number and device UID are obfuscated when read by any REST or Android client that did not create the data source. Only the data source creator will see the developer project number in clear and normal form. This means a client will see a different set of data_stream_ids than another client with different credentials.
"type": "A String", # A constant describing the type of this data source. Indicates whether this data source produces raw or derived data.
}</pre>
</div>