Update documentation
diff --git a/docs/dyn/fitness_v1.users.dataSources.html b/docs/dyn/fitness_v1.users.dataSources.html
index 9639ca5..2d9311e 100644
--- a/docs/dyn/fitness_v1.users.dataSources.html
+++ b/docs/dyn/fitness_v1.users.dataSources.html
@@ -84,19 +84,19 @@
<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>
<p class="toc_element">
<code><a href="#delete">delete(userId, dataSourceId)</a></code></p>
-<p class="firstline">Delete the data source if there are no datapoints associated with it</p>
+<p class="firstline">Deletes the specified data source. The request will fail if the data source contains any data points.</p>
<p class="toc_element">
<code><a href="#get">get(userId, dataSourceId)</a></code></p>
-<p class="firstline">Returns a data source identified by a data stream ID.</p>
+<p class="firstline">Returns the specified data source.</p>
<p class="toc_element">
<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="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="#patch">patch(userId, dataSourceId, body)</a></code></p>
-<p class="firstline">Updates a given data source. It is an error to modify the data source's data stream ID, data type, type, stream name or device information apart from the device version. Changing these fields would require a new unique data stream ID and separate data source.</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>
<p class="toc_element">
<code><a href="#update">update(userId, dataSourceId, body)</a></code></p>
-<p class="firstline">Updates a given data source. It is an error to modify the data source's data stream ID, data type, type, stream name or device information apart from the device version. Changing these fields would require a new unique data stream ID and separate data source.</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>
@@ -114,7 +114,7 @@
# Each data source produces a unique stream of data, with a unique identifier. Not all changes to data source affect the stream identifier, so that data collected by updated versions of the same application/device can still be considered to belong to the same data stream.
"name": "A String", # An end-user visible name for this data source.
"dataStreamName": "A String", # The stream name uniquely identifies this particular data source among other data sources of the same type from the same underlying producer. Setting the stream name is optional, but should be done whenever an application exposes two streams for the same data type, or when a device has two equivalent sensors.
- "dataType": { # See: google3/java/com/google/android/apps/heart/platform/api/DataType.java # The data type defines the schema for a stream of data being collected by, inserted into, or queried from the Fitness API.
+ "dataType": { # The data type defines the schema for a stream of data being collected by, inserted into, or queried from the Fitness API.
"field": [ # A field represents one dimension of a data type.
{ # In case of multi-dimensional data (such as an accelerometer with x, y, and z axes) each field represents one dimension. Each data type field has a unique name which identifies it. The field also defines the format of the data (int, float, etc.).
#
@@ -126,7 +126,10 @@
],
"name": "A String", # Each data type has a unique, namespaced, name. All data types in the com.google namespace are shared as part of the platform.
},
- "application": { # See: google3/java/com/google/android/apps/heart/platform/api/Application.java # Information about an application which feeds sensor data into the platform.
+ "dataQualityStandard": [
+ "A String",
+ ],
+ "application": { # Information about an application which feeds sensor data into the platform.
"packageName": "A String", # Package name for this application. This is used as a unique identifier when created by Android applications, but cannot be specified by REST clients. REST clients will have their developer project number reflected into the Data Source data stream IDs, instead of the packageName.
"version": "A String", # Version of the application. You should update this field whenever the application changes in a way that affects the computation of the data.
"name": "A String", # The name of this application. This is required for REST clients, but we do not enforce uniqueness of this name. It is provided as a matter of convenience for other developers who would like to identify which REST created an Application or Data Source.
@@ -174,7 +177,7 @@
# Each data source produces a unique stream of data, with a unique identifier. Not all changes to data source affect the stream identifier, so that data collected by updated versions of the same application/device can still be considered to belong to the same data stream.
"name": "A String", # An end-user visible name for this data source.
"dataStreamName": "A String", # The stream name uniquely identifies this particular data source among other data sources of the same type from the same underlying producer. Setting the stream name is optional, but should be done whenever an application exposes two streams for the same data type, or when a device has two equivalent sensors.
- "dataType": { # See: google3/java/com/google/android/apps/heart/platform/api/DataType.java # The data type defines the schema for a stream of data being collected by, inserted into, or queried from the Fitness API.
+ "dataType": { # The data type defines the schema for a stream of data being collected by, inserted into, or queried from the Fitness API.
"field": [ # A field represents one dimension of a data type.
{ # In case of multi-dimensional data (such as an accelerometer with x, y, and z axes) each field represents one dimension. Each data type field has a unique name which identifies it. The field also defines the format of the data (int, float, etc.).
#
@@ -186,7 +189,10 @@
],
"name": "A String", # Each data type has a unique, namespaced, name. All data types in the com.google namespace are shared as part of the platform.
},
- "application": { # See: google3/java/com/google/android/apps/heart/platform/api/Application.java # Information about an application which feeds sensor data into the platform.
+ "dataQualityStandard": [
+ "A String",
+ ],
+ "application": { # Information about an application which feeds sensor data into the platform.
"packageName": "A String", # Package name for this application. This is used as a unique identifier when created by Android applications, but cannot be specified by REST clients. REST clients will have their developer project number reflected into the Data Source data stream IDs, instead of the packageName.
"version": "A String", # Version of the application. You should update this field whenever the application changes in a way that affects the computation of the data.
"name": "A String", # The name of this application. This is required for REST clients, but we do not enforce uniqueness of this name. It is provided as a matter of convenience for other developers who would like to identify which REST created an Application or Data Source.
@@ -226,7 +232,7 @@
<div class="method">
<code class="details" id="delete">delete(userId, dataSourceId)</code>
- <pre>Delete the data source if there are no datapoints associated with it
+ <pre>Deletes the specified data source. The request will fail if the data source contains any data points.
Args:
userId: string, Retrieve a data source for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. (required)
@@ -242,7 +248,7 @@
# Each data source produces a unique stream of data, with a unique identifier. Not all changes to data source affect the stream identifier, so that data collected by updated versions of the same application/device can still be considered to belong to the same data stream.
"name": "A String", # An end-user visible name for this data source.
"dataStreamName": "A String", # The stream name uniquely identifies this particular data source among other data sources of the same type from the same underlying producer. Setting the stream name is optional, but should be done whenever an application exposes two streams for the same data type, or when a device has two equivalent sensors.
- "dataType": { # See: google3/java/com/google/android/apps/heart/platform/api/DataType.java # The data type defines the schema for a stream of data being collected by, inserted into, or queried from the Fitness API.
+ "dataType": { # The data type defines the schema for a stream of data being collected by, inserted into, or queried from the Fitness API.
"field": [ # A field represents one dimension of a data type.
{ # In case of multi-dimensional data (such as an accelerometer with x, y, and z axes) each field represents one dimension. Each data type field has a unique name which identifies it. The field also defines the format of the data (int, float, etc.).
#
@@ -254,7 +260,10 @@
],
"name": "A String", # Each data type has a unique, namespaced, name. All data types in the com.google namespace are shared as part of the platform.
},
- "application": { # See: google3/java/com/google/android/apps/heart/platform/api/Application.java # Information about an application which feeds sensor data into the platform.
+ "dataQualityStandard": [
+ "A String",
+ ],
+ "application": { # Information about an application which feeds sensor data into the platform.
"packageName": "A String", # Package name for this application. This is used as a unique identifier when created by Android applications, but cannot be specified by REST clients. REST clients will have their developer project number reflected into the Data Source data stream IDs, instead of the packageName.
"version": "A String", # Version of the application. You should update this field whenever the application changes in a way that affects the computation of the data.
"name": "A String", # The name of this application. This is required for REST clients, but we do not enforce uniqueness of this name. It is provided as a matter of convenience for other developers who would like to identify which REST created an Application or Data Source.
@@ -294,7 +303,7 @@
<div class="method">
<code class="details" id="get">get(userId, dataSourceId)</code>
- <pre>Returns a data source identified by a data stream ID.
+ <pre>Returns the specified data source.
Args:
userId: string, Retrieve a data source for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. (required)
@@ -310,7 +319,7 @@
# Each data source produces a unique stream of data, with a unique identifier. Not all changes to data source affect the stream identifier, so that data collected by updated versions of the same application/device can still be considered to belong to the same data stream.
"name": "A String", # An end-user visible name for this data source.
"dataStreamName": "A String", # The stream name uniquely identifies this particular data source among other data sources of the same type from the same underlying producer. Setting the stream name is optional, but should be done whenever an application exposes two streams for the same data type, or when a device has two equivalent sensors.
- "dataType": { # See: google3/java/com/google/android/apps/heart/platform/api/DataType.java # The data type defines the schema for a stream of data being collected by, inserted into, or queried from the Fitness API.
+ "dataType": { # The data type defines the schema for a stream of data being collected by, inserted into, or queried from the Fitness API.
"field": [ # A field represents one dimension of a data type.
{ # In case of multi-dimensional data (such as an accelerometer with x, y, and z axes) each field represents one dimension. Each data type field has a unique name which identifies it. The field also defines the format of the data (int, float, etc.).
#
@@ -322,7 +331,10 @@
],
"name": "A String", # Each data type has a unique, namespaced, name. All data types in the com.google namespace are shared as part of the platform.
},
- "application": { # See: google3/java/com/google/android/apps/heart/platform/api/Application.java # Information about an application which feeds sensor data into the platform.
+ "dataQualityStandard": [
+ "A String",
+ ],
+ "application": { # Information about an application which feeds sensor data into the platform.
"packageName": "A String", # Package name for this application. This is used as a unique identifier when created by Android applications, but cannot be specified by REST clients. REST clients will have their developer project number reflected into the Data Source data stream IDs, instead of the packageName.
"version": "A String", # Version of the application. You should update this field whenever the application changes in a way that affects the computation of the data.
"name": "A String", # The name of this application. This is required for REST clients, but we do not enforce uniqueness of this name. It is provided as a matter of convenience for other developers who would like to identify which REST created an Application or Data Source.
@@ -362,7 +374,7 @@
<div class="method">
<code class="details" id="list">list(userId, dataTypeName=None)</code>
- <pre>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.
+ <pre>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.
Args:
userId: string, List data sources for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. (required)
@@ -380,7 +392,7 @@
# Each data source produces a unique stream of data, with a unique identifier. Not all changes to data source affect the stream identifier, so that data collected by updated versions of the same application/device can still be considered to belong to the same data stream.
"name": "A String", # An end-user visible name for this data source.
"dataStreamName": "A String", # The stream name uniquely identifies this particular data source among other data sources of the same type from the same underlying producer. Setting the stream name is optional, but should be done whenever an application exposes two streams for the same data type, or when a device has two equivalent sensors.
- "dataType": { # See: google3/java/com/google/android/apps/heart/platform/api/DataType.java # The data type defines the schema for a stream of data being collected by, inserted into, or queried from the Fitness API.
+ "dataType": { # The data type defines the schema for a stream of data being collected by, inserted into, or queried from the Fitness API.
"field": [ # A field represents one dimension of a data type.
{ # In case of multi-dimensional data (such as an accelerometer with x, y, and z axes) each field represents one dimension. Each data type field has a unique name which identifies it. The field also defines the format of the data (int, float, etc.).
#
@@ -392,7 +404,10 @@
],
"name": "A String", # Each data type has a unique, namespaced, name. All data types in the com.google namespace are shared as part of the platform.
},
- "application": { # See: google3/java/com/google/android/apps/heart/platform/api/Application.java # Information about an application which feeds sensor data into the platform.
+ "dataQualityStandard": [
+ "A String",
+ ],
+ "application": { # Information about an application which feeds sensor data into the platform.
"packageName": "A String", # Package name for this application. This is used as a unique identifier when created by Android applications, but cannot be specified by REST clients. REST clients will have their developer project number reflected into the Data Source data stream IDs, instead of the packageName.
"version": "A String", # Version of the application. You should update this field whenever the application changes in a way that affects the computation of the data.
"name": "A String", # The name of this application. This is required for REST clients, but we do not enforce uniqueness of this name. It is provided as a matter of convenience for other developers who would like to identify which REST created an Application or Data Source.
@@ -434,9 +449,9 @@
<div class="method">
<code class="details" id="patch">patch(userId, dataSourceId, body)</code>
- <pre>Updates a given data source. It is an error to modify the data source's data stream ID, data type, type, stream name or device information apart from the device version. Changing these fields would require a new unique data stream ID and separate data source.
+ <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 data stream ID. This method supports patch semantics.
+Data sources are identified by their dataStreamId. This method supports patch semantics.
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)
@@ -451,7 +466,7 @@
# Each data source produces a unique stream of data, with a unique identifier. Not all changes to data source affect the stream identifier, so that data collected by updated versions of the same application/device can still be considered to belong to the same data stream.
"name": "A String", # An end-user visible name for this data source.
"dataStreamName": "A String", # The stream name uniquely identifies this particular data source among other data sources of the same type from the same underlying producer. Setting the stream name is optional, but should be done whenever an application exposes two streams for the same data type, or when a device has two equivalent sensors.
- "dataType": { # See: google3/java/com/google/android/apps/heart/platform/api/DataType.java # The data type defines the schema for a stream of data being collected by, inserted into, or queried from the Fitness API.
+ "dataType": { # The data type defines the schema for a stream of data being collected by, inserted into, or queried from the Fitness API.
"field": [ # A field represents one dimension of a data type.
{ # In case of multi-dimensional data (such as an accelerometer with x, y, and z axes) each field represents one dimension. Each data type field has a unique name which identifies it. The field also defines the format of the data (int, float, etc.).
#
@@ -463,7 +478,10 @@
],
"name": "A String", # Each data type has a unique, namespaced, name. All data types in the com.google namespace are shared as part of the platform.
},
- "application": { # See: google3/java/com/google/android/apps/heart/platform/api/Application.java # Information about an application which feeds sensor data into the platform.
+ "dataQualityStandard": [
+ "A String",
+ ],
+ "application": { # Information about an application which feeds sensor data into the platform.
"packageName": "A String", # Package name for this application. This is used as a unique identifier when created by Android applications, but cannot be specified by REST clients. REST clients will have their developer project number reflected into the Data Source data stream IDs, instead of the packageName.
"version": "A String", # Version of the application. You should update this field whenever the application changes in a way that affects the computation of the data.
"name": "A String", # The name of this application. This is required for REST clients, but we do not enforce uniqueness of this name. It is provided as a matter of convenience for other developers who would like to identify which REST created an Application or Data Source.
@@ -511,7 +529,7 @@
# Each data source produces a unique stream of data, with a unique identifier. Not all changes to data source affect the stream identifier, so that data collected by updated versions of the same application/device can still be considered to belong to the same data stream.
"name": "A String", # An end-user visible name for this data source.
"dataStreamName": "A String", # The stream name uniquely identifies this particular data source among other data sources of the same type from the same underlying producer. Setting the stream name is optional, but should be done whenever an application exposes two streams for the same data type, or when a device has two equivalent sensors.
- "dataType": { # See: google3/java/com/google/android/apps/heart/platform/api/DataType.java # The data type defines the schema for a stream of data being collected by, inserted into, or queried from the Fitness API.
+ "dataType": { # The data type defines the schema for a stream of data being collected by, inserted into, or queried from the Fitness API.
"field": [ # A field represents one dimension of a data type.
{ # In case of multi-dimensional data (such as an accelerometer with x, y, and z axes) each field represents one dimension. Each data type field has a unique name which identifies it. The field also defines the format of the data (int, float, etc.).
#
@@ -523,7 +541,10 @@
],
"name": "A String", # Each data type has a unique, namespaced, name. All data types in the com.google namespace are shared as part of the platform.
},
- "application": { # See: google3/java/com/google/android/apps/heart/platform/api/Application.java # Information about an application which feeds sensor data into the platform.
+ "dataQualityStandard": [
+ "A String",
+ ],
+ "application": { # Information about an application which feeds sensor data into the platform.
"packageName": "A String", # Package name for this application. This is used as a unique identifier when created by Android applications, but cannot be specified by REST clients. REST clients will have their developer project number reflected into the Data Source data stream IDs, instead of the packageName.
"version": "A String", # Version of the application. You should update this field whenever the application changes in a way that affects the computation of the data.
"name": "A String", # The name of this application. This is required for REST clients, but we do not enforce uniqueness of this name. It is provided as a matter of convenience for other developers who would like to identify which REST created an Application or Data Source.
@@ -563,9 +584,9 @@
<div class="method">
<code class="details" id="update">update(userId, dataSourceId, body)</code>
- <pre>Updates a given data source. It is an error to modify the data source's data stream ID, data type, type, stream name or device information apart from the device version. Changing these fields would require a new unique data stream ID and separate data source.
+ <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 data stream ID.
+Data sources are identified by their dataStreamId.
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)
@@ -580,7 +601,7 @@
# Each data source produces a unique stream of data, with a unique identifier. Not all changes to data source affect the stream identifier, so that data collected by updated versions of the same application/device can still be considered to belong to the same data stream.
"name": "A String", # An end-user visible name for this data source.
"dataStreamName": "A String", # The stream name uniquely identifies this particular data source among other data sources of the same type from the same underlying producer. Setting the stream name is optional, but should be done whenever an application exposes two streams for the same data type, or when a device has two equivalent sensors.
- "dataType": { # See: google3/java/com/google/android/apps/heart/platform/api/DataType.java # The data type defines the schema for a stream of data being collected by, inserted into, or queried from the Fitness API.
+ "dataType": { # The data type defines the schema for a stream of data being collected by, inserted into, or queried from the Fitness API.
"field": [ # A field represents one dimension of a data type.
{ # In case of multi-dimensional data (such as an accelerometer with x, y, and z axes) each field represents one dimension. Each data type field has a unique name which identifies it. The field also defines the format of the data (int, float, etc.).
#
@@ -592,7 +613,10 @@
],
"name": "A String", # Each data type has a unique, namespaced, name. All data types in the com.google namespace are shared as part of the platform.
},
- "application": { # See: google3/java/com/google/android/apps/heart/platform/api/Application.java # Information about an application which feeds sensor data into the platform.
+ "dataQualityStandard": [
+ "A String",
+ ],
+ "application": { # Information about an application which feeds sensor data into the platform.
"packageName": "A String", # Package name for this application. This is used as a unique identifier when created by Android applications, but cannot be specified by REST clients. REST clients will have their developer project number reflected into the Data Source data stream IDs, instead of the packageName.
"version": "A String", # Version of the application. You should update this field whenever the application changes in a way that affects the computation of the data.
"name": "A String", # The name of this application. This is required for REST clients, but we do not enforce uniqueness of this name. It is provided as a matter of convenience for other developers who would like to identify which REST created an Application or Data Source.
@@ -640,7 +664,7 @@
# Each data source produces a unique stream of data, with a unique identifier. Not all changes to data source affect the stream identifier, so that data collected by updated versions of the same application/device can still be considered to belong to the same data stream.
"name": "A String", # An end-user visible name for this data source.
"dataStreamName": "A String", # The stream name uniquely identifies this particular data source among other data sources of the same type from the same underlying producer. Setting the stream name is optional, but should be done whenever an application exposes two streams for the same data type, or when a device has two equivalent sensors.
- "dataType": { # See: google3/java/com/google/android/apps/heart/platform/api/DataType.java # The data type defines the schema for a stream of data being collected by, inserted into, or queried from the Fitness API.
+ "dataType": { # The data type defines the schema for a stream of data being collected by, inserted into, or queried from the Fitness API.
"field": [ # A field represents one dimension of a data type.
{ # In case of multi-dimensional data (such as an accelerometer with x, y, and z axes) each field represents one dimension. Each data type field has a unique name which identifies it. The field also defines the format of the data (int, float, etc.).
#
@@ -652,7 +676,10 @@
],
"name": "A String", # Each data type has a unique, namespaced, name. All data types in the com.google namespace are shared as part of the platform.
},
- "application": { # See: google3/java/com/google/android/apps/heart/platform/api/Application.java # Information about an application which feeds sensor data into the platform.
+ "dataQualityStandard": [
+ "A String",
+ ],
+ "application": { # Information about an application which feeds sensor data into the platform.
"packageName": "A String", # Package name for this application. This is used as a unique identifier when created by Android applications, but cannot be specified by REST clients. REST clients will have their developer project number reflected into the Data Source data stream IDs, instead of the packageName.
"version": "A String", # Version of the application. You should update this field whenever the application changes in a way that affects the computation of the data.
"name": "A String", # The name of this application. This is required for REST clients, but we do not enforce uniqueness of this name. It is provided as a matter of convenience for other developers who would like to identify which REST created an Application or Data Source.