docs: update generated docs (#981)
diff --git a/docs/dyn/fitness_v1.users.dataSources.html b/docs/dyn/fitness_v1.users.dataSources.html
index df11b37..c86bd67 100644
--- a/docs/dyn/fitness_v1.users.dataSources.html
+++ b/docs/dyn/fitness_v1.users.dataSources.html
@@ -161,54 +161,18 @@
# 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.
- "device": { # Representation of an integrated device (such as a phone or a wearable) that # Representation of an integrated device (such as a phone or a wearable) that
- # can hold sensors.
- # can hold sensors. Each sensor is exposed as a data source.
- #
- # The main purpose of the device information contained in this class is to
- # identify the hardware of a particular data source. This can be useful in
- # different ways, including:
- # <ul>
- # <li>Distinguishing two similar sensors on different devices (the step
- # counter on two nexus 5 phones, for instance)
- # <li>Display the source of data to the user (by using the device make /
- # model)
- # <li>Treat data differently depending on sensor type (accelerometers on a
- # watch may give different patterns than those on a phone)
- # <li>Build different analysis models for each device/version.
- # </ul>
- "manufacturer": "A String", # Manufacturer of the product/hardware.
- "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).
- "model": "A String", # End-user visible model name for the device.
- "version": "A String", # Version string for the device hardware/software.
- },
- "dataType": { # The data type defines the schema for a stream of data being collected by,
- # inserted into, or queried from the Fitness API.
- "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.
- "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.).
- #
- # This message is only instantiated in code and not used for wire comms or
- # stored in any way.
- "name": "A String", # Defines the name and format of data. Unlike data type names, field names
- # are not namespaced, and only need to be unique within the data type.
- "format": "A String", # The different supported formats for each field in a data type.
- "optional": True or False,
- },
- ],
- },
- "name": "A String", # An end-user visible name for this data source.
+ "dataQualityStandard": [ # DO NOT POPULATE THIS FIELD. It is never populated in responses from the
+ # platform, and is ignored in queries. It will be removed in a future version
+ # entirely.
+ "A String",
+ ],
+ "type": "A String", # A constant describing the type of this data source. Indicates whether this
+ # data source produces raw or derived data.
+ "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.
"dataStreamId": "A String", # A unique identifier for the data stream produced by this data source. The
# identifier includes:<br/><br/>
# <ul>
@@ -244,31 +208,67 @@
# 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.
- "dataQualityStandard": [ # DO NOT POPULATE THIS FIELD. It is never populated in responses from the
- # platform, and is ignored in queries. It will be removed in a future version
- # entirely.
- "A String",
- ],
- "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.
+ "device": { # Representation of an integrated device (such as a phone or a wearable) that # Representation of an integrated device (such as a phone or a wearable) that
+ # can hold sensors.
+ # can hold sensors. Each sensor is exposed as a data source.
+ #
+ # The main purpose of the device information contained in this class is to
+ # identify the hardware of a particular data source. This can be useful in
+ # different ways, including:
+ # <ul>
+ # <li>Distinguishing two similar sensors on different devices (the step
+ # counter on two nexus 5 phones, for instance)
+ # <li>Display the source of data to the user (by using the device make /
+ # model)
+ # <li>Treat data differently depending on sensor type (accelerometers on a
+ # watch may give different patterns than those on a phone)
+ # <li>Build different analysis models for each device/version.
+ # </ul>
+ "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).
+ "model": "A String", # End-user visible model name for the device.
+ "type": "A String", # A constant representing the type of the device.
+ "version": "A String", # Version string for the device hardware/software.
+ "manufacturer": "A String", # Manufacturer of the product/hardware.
+ },
"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.
+ "detailsUrl": "A String", # An optional URI that can be used to link back to the application.
+ "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.
- "detailsUrl": "A String", # An optional URI that can be used to link back to the application.
- "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.
},
+ "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.).
+ #
+ # This message is only instantiated in code and not used for wire comms or
+ # stored in any way.
+ "format": "A String", # The different supported formats for each field in a data type.
+ "optional": True or False,
+ "name": "A String", # Defines the name and format of data. Unlike data type names, field names
+ # are not namespaced, and only need to be unique within the data type.
+ },
+ ],
+ "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.
+ },
+ "name": "A String", # An end-user visible name for this data source.
}
x__xgafv: string, V1 error format.
@@ -295,54 +295,18 @@
# 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.
- "device": { # Representation of an integrated device (such as a phone or a wearable) that # Representation of an integrated device (such as a phone or a wearable) that
- # can hold sensors.
- # can hold sensors. Each sensor is exposed as a data source.
- #
- # The main purpose of the device information contained in this class is to
- # identify the hardware of a particular data source. This can be useful in
- # different ways, including:
- # <ul>
- # <li>Distinguishing two similar sensors on different devices (the step
- # counter on two nexus 5 phones, for instance)
- # <li>Display the source of data to the user (by using the device make /
- # model)
- # <li>Treat data differently depending on sensor type (accelerometers on a
- # watch may give different patterns than those on a phone)
- # <li>Build different analysis models for each device/version.
- # </ul>
- "manufacturer": "A String", # Manufacturer of the product/hardware.
- "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).
- "model": "A String", # End-user visible model name for the device.
- "version": "A String", # Version string for the device hardware/software.
- },
- "dataType": { # The data type defines the schema for a stream of data being collected by,
- # inserted into, or queried from the Fitness API.
- "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.
- "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.).
- #
- # This message is only instantiated in code and not used for wire comms or
- # stored in any way.
- "name": "A String", # Defines the name and format of data. Unlike data type names, field names
- # are not namespaced, and only need to be unique within the data type.
- "format": "A String", # The different supported formats for each field in a data type.
- "optional": True or False,
- },
- ],
- },
- "name": "A String", # An end-user visible name for this data source.
+ "dataQualityStandard": [ # DO NOT POPULATE THIS FIELD. It is never populated in responses from the
+ # platform, and is ignored in queries. It will be removed in a future version
+ # entirely.
+ "A String",
+ ],
+ "type": "A String", # A constant describing the type of this data source. Indicates whether this
+ # data source produces raw or derived data.
+ "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.
"dataStreamId": "A String", # A unique identifier for the data stream produced by this data source. The
# identifier includes:<br/><br/>
# <ul>
@@ -378,31 +342,67 @@
# 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.
- "dataQualityStandard": [ # DO NOT POPULATE THIS FIELD. It is never populated in responses from the
- # platform, and is ignored in queries. It will be removed in a future version
- # entirely.
- "A String",
- ],
- "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.
+ "device": { # Representation of an integrated device (such as a phone or a wearable) that # Representation of an integrated device (such as a phone or a wearable) that
+ # can hold sensors.
+ # can hold sensors. Each sensor is exposed as a data source.
+ #
+ # The main purpose of the device information contained in this class is to
+ # identify the hardware of a particular data source. This can be useful in
+ # different ways, including:
+ # <ul>
+ # <li>Distinguishing two similar sensors on different devices (the step
+ # counter on two nexus 5 phones, for instance)
+ # <li>Display the source of data to the user (by using the device make /
+ # model)
+ # <li>Treat data differently depending on sensor type (accelerometers on a
+ # watch may give different patterns than those on a phone)
+ # <li>Build different analysis models for each device/version.
+ # </ul>
+ "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).
+ "model": "A String", # End-user visible model name for the device.
+ "type": "A String", # A constant representing the type of the device.
+ "version": "A String", # Version string for the device hardware/software.
+ "manufacturer": "A String", # Manufacturer of the product/hardware.
+ },
"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.
+ "detailsUrl": "A String", # An optional URI that can be used to link back to the application.
+ "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.
- "detailsUrl": "A String", # An optional URI that can be used to link back to the application.
- "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.
},
+ "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.).
+ #
+ # This message is only instantiated in code and not used for wire comms or
+ # stored in any way.
+ "format": "A String", # The different supported formats for each field in a data type.
+ "optional": True or False,
+ "name": "A String", # Defines the name and format of data. Unlike data type names, field names
+ # are not namespaced, and only need to be unique within the data type.
+ },
+ ],
+ "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.
+ },
+ "name": "A String", # An end-user visible name for this data source.
}</pre>
</div>
@@ -440,54 +440,18 @@
# 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.
- "device": { # Representation of an integrated device (such as a phone or a wearable) that # Representation of an integrated device (such as a phone or a wearable) that
- # can hold sensors.
- # can hold sensors. Each sensor is exposed as a data source.
- #
- # The main purpose of the device information contained in this class is to
- # identify the hardware of a particular data source. This can be useful in
- # different ways, including:
- # <ul>
- # <li>Distinguishing two similar sensors on different devices (the step
- # counter on two nexus 5 phones, for instance)
- # <li>Display the source of data to the user (by using the device make /
- # model)
- # <li>Treat data differently depending on sensor type (accelerometers on a
- # watch may give different patterns than those on a phone)
- # <li>Build different analysis models for each device/version.
- # </ul>
- "manufacturer": "A String", # Manufacturer of the product/hardware.
- "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).
- "model": "A String", # End-user visible model name for the device.
- "version": "A String", # Version string for the device hardware/software.
- },
- "dataType": { # The data type defines the schema for a stream of data being collected by,
- # inserted into, or queried from the Fitness API.
- "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.
- "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.).
- #
- # This message is only instantiated in code and not used for wire comms or
- # stored in any way.
- "name": "A String", # Defines the name and format of data. Unlike data type names, field names
- # are not namespaced, and only need to be unique within the data type.
- "format": "A String", # The different supported formats for each field in a data type.
- "optional": True or False,
- },
- ],
- },
- "name": "A String", # An end-user visible name for this data source.
+ "dataQualityStandard": [ # DO NOT POPULATE THIS FIELD. It is never populated in responses from the
+ # platform, and is ignored in queries. It will be removed in a future version
+ # entirely.
+ "A String",
+ ],
+ "type": "A String", # A constant describing the type of this data source. Indicates whether this
+ # data source produces raw or derived data.
+ "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.
"dataStreamId": "A String", # A unique identifier for the data stream produced by this data source. The
# identifier includes:<br/><br/>
# <ul>
@@ -523,31 +487,67 @@
# 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.
- "dataQualityStandard": [ # DO NOT POPULATE THIS FIELD. It is never populated in responses from the
- # platform, and is ignored in queries. It will be removed in a future version
- # entirely.
- "A String",
- ],
- "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.
+ "device": { # Representation of an integrated device (such as a phone or a wearable) that # Representation of an integrated device (such as a phone or a wearable) that
+ # can hold sensors.
+ # can hold sensors. Each sensor is exposed as a data source.
+ #
+ # The main purpose of the device information contained in this class is to
+ # identify the hardware of a particular data source. This can be useful in
+ # different ways, including:
+ # <ul>
+ # <li>Distinguishing two similar sensors on different devices (the step
+ # counter on two nexus 5 phones, for instance)
+ # <li>Display the source of data to the user (by using the device make /
+ # model)
+ # <li>Treat data differently depending on sensor type (accelerometers on a
+ # watch may give different patterns than those on a phone)
+ # <li>Build different analysis models for each device/version.
+ # </ul>
+ "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).
+ "model": "A String", # End-user visible model name for the device.
+ "type": "A String", # A constant representing the type of the device.
+ "version": "A String", # Version string for the device hardware/software.
+ "manufacturer": "A String", # Manufacturer of the product/hardware.
+ },
"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.
+ "detailsUrl": "A String", # An optional URI that can be used to link back to the application.
+ "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.
- "detailsUrl": "A String", # An optional URI that can be used to link back to the application.
- "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.
},
+ "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.).
+ #
+ # This message is only instantiated in code and not used for wire comms or
+ # stored in any way.
+ "format": "A String", # The different supported formats for each field in a data type.
+ "optional": True or False,
+ "name": "A String", # Defines the name and format of data. Unlike data type names, field names
+ # are not namespaced, and only need to be unique within the data type.
+ },
+ ],
+ "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.
+ },
+ "name": "A String", # An end-user visible name for this data source.
}</pre>
</div>
@@ -584,54 +584,18 @@
# 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.
- "device": { # Representation of an integrated device (such as a phone or a wearable) that # Representation of an integrated device (such as a phone or a wearable) that
- # can hold sensors.
- # can hold sensors. Each sensor is exposed as a data source.
- #
- # The main purpose of the device information contained in this class is to
- # identify the hardware of a particular data source. This can be useful in
- # different ways, including:
- # <ul>
- # <li>Distinguishing two similar sensors on different devices (the step
- # counter on two nexus 5 phones, for instance)
- # <li>Display the source of data to the user (by using the device make /
- # model)
- # <li>Treat data differently depending on sensor type (accelerometers on a
- # watch may give different patterns than those on a phone)
- # <li>Build different analysis models for each device/version.
- # </ul>
- "manufacturer": "A String", # Manufacturer of the product/hardware.
- "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).
- "model": "A String", # End-user visible model name for the device.
- "version": "A String", # Version string for the device hardware/software.
- },
- "dataType": { # The data type defines the schema for a stream of data being collected by,
- # inserted into, or queried from the Fitness API.
- "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.
- "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.).
- #
- # This message is only instantiated in code and not used for wire comms or
- # stored in any way.
- "name": "A String", # Defines the name and format of data. Unlike data type names, field names
- # are not namespaced, and only need to be unique within the data type.
- "format": "A String", # The different supported formats for each field in a data type.
- "optional": True or False,
- },
- ],
- },
- "name": "A String", # An end-user visible name for this data source.
+ "dataQualityStandard": [ # DO NOT POPULATE THIS FIELD. It is never populated in responses from the
+ # platform, and is ignored in queries. It will be removed in a future version
+ # entirely.
+ "A String",
+ ],
+ "type": "A String", # A constant describing the type of this data source. Indicates whether this
+ # data source produces raw or derived data.
+ "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.
"dataStreamId": "A String", # A unique identifier for the data stream produced by this data source. The
# identifier includes:<br/><br/>
# <ul>
@@ -667,31 +631,67 @@
# 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.
- "dataQualityStandard": [ # DO NOT POPULATE THIS FIELD. It is never populated in responses from the
- # platform, and is ignored in queries. It will be removed in a future version
- # entirely.
- "A String",
- ],
- "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.
+ "device": { # Representation of an integrated device (such as a phone or a wearable) that # Representation of an integrated device (such as a phone or a wearable) that
+ # can hold sensors.
+ # can hold sensors. Each sensor is exposed as a data source.
+ #
+ # The main purpose of the device information contained in this class is to
+ # identify the hardware of a particular data source. This can be useful in
+ # different ways, including:
+ # <ul>
+ # <li>Distinguishing two similar sensors on different devices (the step
+ # counter on two nexus 5 phones, for instance)
+ # <li>Display the source of data to the user (by using the device make /
+ # model)
+ # <li>Treat data differently depending on sensor type (accelerometers on a
+ # watch may give different patterns than those on a phone)
+ # <li>Build different analysis models for each device/version.
+ # </ul>
+ "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).
+ "model": "A String", # End-user visible model name for the device.
+ "type": "A String", # A constant representing the type of the device.
+ "version": "A String", # Version string for the device hardware/software.
+ "manufacturer": "A String", # Manufacturer of the product/hardware.
+ },
"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.
+ "detailsUrl": "A String", # An optional URI that can be used to link back to the application.
+ "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.
- "detailsUrl": "A String", # An optional URI that can be used to link back to the application.
- "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.
},
+ "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.).
+ #
+ # This message is only instantiated in code and not used for wire comms or
+ # stored in any way.
+ "format": "A String", # The different supported formats for each field in a data type.
+ "optional": True or False,
+ "name": "A String", # Defines the name and format of data. Unlike data type names, field names
+ # are not namespaced, and only need to be unique within the data type.
+ },
+ ],
+ "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.
+ },
+ "name": "A String", # An end-user visible name for this data source.
}</pre>
</div>
@@ -734,54 +734,18 @@
# 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.
- "device": { # Representation of an integrated device (such as a phone or a wearable) that # Representation of an integrated device (such as a phone or a wearable) that
- # can hold sensors.
- # can hold sensors. Each sensor is exposed as a data source.
- #
- # The main purpose of the device information contained in this class is to
- # identify the hardware of a particular data source. This can be useful in
- # different ways, including:
- # <ul>
- # <li>Distinguishing two similar sensors on different devices (the step
- # counter on two nexus 5 phones, for instance)
- # <li>Display the source of data to the user (by using the device make /
- # model)
- # <li>Treat data differently depending on sensor type (accelerometers on a
- # watch may give different patterns than those on a phone)
- # <li>Build different analysis models for each device/version.
- # </ul>
- "manufacturer": "A String", # Manufacturer of the product/hardware.
- "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).
- "model": "A String", # End-user visible model name for the device.
- "version": "A String", # Version string for the device hardware/software.
- },
- "dataType": { # The data type defines the schema for a stream of data being collected by,
- # inserted into, or queried from the Fitness API.
- "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.
- "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.).
- #
- # This message is only instantiated in code and not used for wire comms or
- # stored in any way.
- "name": "A String", # Defines the name and format of data. Unlike data type names, field names
- # are not namespaced, and only need to be unique within the data type.
- "format": "A String", # The different supported formats for each field in a data type.
- "optional": True or False,
- },
- ],
- },
- "name": "A String", # An end-user visible name for this data source.
+ "dataQualityStandard": [ # DO NOT POPULATE THIS FIELD. It is never populated in responses from the
+ # platform, and is ignored in queries. It will be removed in a future version
+ # entirely.
+ "A String",
+ ],
+ "type": "A String", # A constant describing the type of this data source. Indicates whether this
+ # data source produces raw or derived data.
+ "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.
"dataStreamId": "A String", # A unique identifier for the data stream produced by this data source. The
# identifier includes:<br/><br/>
# <ul>
@@ -817,31 +781,67 @@
# 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.
- "dataQualityStandard": [ # DO NOT POPULATE THIS FIELD. It is never populated in responses from the
- # platform, and is ignored in queries. It will be removed in a future version
- # entirely.
- "A String",
- ],
- "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.
+ "device": { # Representation of an integrated device (such as a phone or a wearable) that # Representation of an integrated device (such as a phone or a wearable) that
+ # can hold sensors.
+ # can hold sensors. Each sensor is exposed as a data source.
+ #
+ # The main purpose of the device information contained in this class is to
+ # identify the hardware of a particular data source. This can be useful in
+ # different ways, including:
+ # <ul>
+ # <li>Distinguishing two similar sensors on different devices (the step
+ # counter on two nexus 5 phones, for instance)
+ # <li>Display the source of data to the user (by using the device make /
+ # model)
+ # <li>Treat data differently depending on sensor type (accelerometers on a
+ # watch may give different patterns than those on a phone)
+ # <li>Build different analysis models for each device/version.
+ # </ul>
+ "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).
+ "model": "A String", # End-user visible model name for the device.
+ "type": "A String", # A constant representing the type of the device.
+ "version": "A String", # Version string for the device hardware/software.
+ "manufacturer": "A String", # Manufacturer of the product/hardware.
+ },
"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.
+ "detailsUrl": "A String", # An optional URI that can be used to link back to the application.
+ "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.
- "detailsUrl": "A String", # An optional URI that can be used to link back to the application.
- "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.
},
+ "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.).
+ #
+ # This message is only instantiated in code and not used for wire comms or
+ # stored in any way.
+ "format": "A String", # The different supported formats for each field in a data type.
+ "optional": True or False,
+ "name": "A String", # Defines the name and format of data. Unlike data type names, field names
+ # are not namespaced, and only need to be unique within the data type.
+ },
+ ],
+ "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.
+ },
+ "name": "A String", # An end-user visible name for this data source.
},
],
}</pre>
@@ -880,54 +880,18 @@
# 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.
- "device": { # Representation of an integrated device (such as a phone or a wearable) that # Representation of an integrated device (such as a phone or a wearable) that
- # can hold sensors.
- # can hold sensors. Each sensor is exposed as a data source.
- #
- # The main purpose of the device information contained in this class is to
- # identify the hardware of a particular data source. This can be useful in
- # different ways, including:
- # <ul>
- # <li>Distinguishing two similar sensors on different devices (the step
- # counter on two nexus 5 phones, for instance)
- # <li>Display the source of data to the user (by using the device make /
- # model)
- # <li>Treat data differently depending on sensor type (accelerometers on a
- # watch may give different patterns than those on a phone)
- # <li>Build different analysis models for each device/version.
- # </ul>
- "manufacturer": "A String", # Manufacturer of the product/hardware.
- "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).
- "model": "A String", # End-user visible model name for the device.
- "version": "A String", # Version string for the device hardware/software.
- },
- "dataType": { # The data type defines the schema for a stream of data being collected by,
- # inserted into, or queried from the Fitness API.
- "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.
- "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.).
- #
- # This message is only instantiated in code and not used for wire comms or
- # stored in any way.
- "name": "A String", # Defines the name and format of data. Unlike data type names, field names
- # are not namespaced, and only need to be unique within the data type.
- "format": "A String", # The different supported formats for each field in a data type.
- "optional": True or False,
- },
- ],
- },
- "name": "A String", # An end-user visible name for this data source.
+ "dataQualityStandard": [ # DO NOT POPULATE THIS FIELD. It is never populated in responses from the
+ # platform, and is ignored in queries. It will be removed in a future version
+ # entirely.
+ "A String",
+ ],
+ "type": "A String", # A constant describing the type of this data source. Indicates whether this
+ # data source produces raw or derived data.
+ "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.
"dataStreamId": "A String", # A unique identifier for the data stream produced by this data source. The
# identifier includes:<br/><br/>
# <ul>
@@ -963,31 +927,67 @@
# 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.
- "dataQualityStandard": [ # DO NOT POPULATE THIS FIELD. It is never populated in responses from the
- # platform, and is ignored in queries. It will be removed in a future version
- # entirely.
- "A String",
- ],
- "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.
+ "device": { # Representation of an integrated device (such as a phone or a wearable) that # Representation of an integrated device (such as a phone or a wearable) that
+ # can hold sensors.
+ # can hold sensors. Each sensor is exposed as a data source.
+ #
+ # The main purpose of the device information contained in this class is to
+ # identify the hardware of a particular data source. This can be useful in
+ # different ways, including:
+ # <ul>
+ # <li>Distinguishing two similar sensors on different devices (the step
+ # counter on two nexus 5 phones, for instance)
+ # <li>Display the source of data to the user (by using the device make /
+ # model)
+ # <li>Treat data differently depending on sensor type (accelerometers on a
+ # watch may give different patterns than those on a phone)
+ # <li>Build different analysis models for each device/version.
+ # </ul>
+ "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).
+ "model": "A String", # End-user visible model name for the device.
+ "type": "A String", # A constant representing the type of the device.
+ "version": "A String", # Version string for the device hardware/software.
+ "manufacturer": "A String", # Manufacturer of the product/hardware.
+ },
"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.
+ "detailsUrl": "A String", # An optional URI that can be used to link back to the application.
+ "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.
- "detailsUrl": "A String", # An optional URI that can be used to link back to the application.
- "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.
},
+ "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.).
+ #
+ # This message is only instantiated in code and not used for wire comms or
+ # stored in any way.
+ "format": "A String", # The different supported formats for each field in a data type.
+ "optional": True or False,
+ "name": "A String", # Defines the name and format of data. Unlike data type names, field names
+ # are not namespaced, and only need to be unique within the data type.
+ },
+ ],
+ "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.
+ },
+ "name": "A String", # An end-user visible name for this data source.
}
x__xgafv: string, V1 error format.
@@ -1014,54 +1014,18 @@
# 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.
- "device": { # Representation of an integrated device (such as a phone or a wearable) that # Representation of an integrated device (such as a phone or a wearable) that
- # can hold sensors.
- # can hold sensors. Each sensor is exposed as a data source.
- #
- # The main purpose of the device information contained in this class is to
- # identify the hardware of a particular data source. This can be useful in
- # different ways, including:
- # <ul>
- # <li>Distinguishing two similar sensors on different devices (the step
- # counter on two nexus 5 phones, for instance)
- # <li>Display the source of data to the user (by using the device make /
- # model)
- # <li>Treat data differently depending on sensor type (accelerometers on a
- # watch may give different patterns than those on a phone)
- # <li>Build different analysis models for each device/version.
- # </ul>
- "manufacturer": "A String", # Manufacturer of the product/hardware.
- "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).
- "model": "A String", # End-user visible model name for the device.
- "version": "A String", # Version string for the device hardware/software.
- },
- "dataType": { # The data type defines the schema for a stream of data being collected by,
- # inserted into, or queried from the Fitness API.
- "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.
- "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.).
- #
- # This message is only instantiated in code and not used for wire comms or
- # stored in any way.
- "name": "A String", # Defines the name and format of data. Unlike data type names, field names
- # are not namespaced, and only need to be unique within the data type.
- "format": "A String", # The different supported formats for each field in a data type.
- "optional": True or False,
- },
- ],
- },
- "name": "A String", # An end-user visible name for this data source.
+ "dataQualityStandard": [ # DO NOT POPULATE THIS FIELD. It is never populated in responses from the
+ # platform, and is ignored in queries. It will be removed in a future version
+ # entirely.
+ "A String",
+ ],
+ "type": "A String", # A constant describing the type of this data source. Indicates whether this
+ # data source produces raw or derived data.
+ "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.
"dataStreamId": "A String", # A unique identifier for the data stream produced by this data source. The
# identifier includes:<br/><br/>
# <ul>
@@ -1097,31 +1061,67 @@
# 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.
- "dataQualityStandard": [ # DO NOT POPULATE THIS FIELD. It is never populated in responses from the
- # platform, and is ignored in queries. It will be removed in a future version
- # entirely.
- "A String",
- ],
- "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.
+ "device": { # Representation of an integrated device (such as a phone or a wearable) that # Representation of an integrated device (such as a phone or a wearable) that
+ # can hold sensors.
+ # can hold sensors. Each sensor is exposed as a data source.
+ #
+ # The main purpose of the device information contained in this class is to
+ # identify the hardware of a particular data source. This can be useful in
+ # different ways, including:
+ # <ul>
+ # <li>Distinguishing two similar sensors on different devices (the step
+ # counter on two nexus 5 phones, for instance)
+ # <li>Display the source of data to the user (by using the device make /
+ # model)
+ # <li>Treat data differently depending on sensor type (accelerometers on a
+ # watch may give different patterns than those on a phone)
+ # <li>Build different analysis models for each device/version.
+ # </ul>
+ "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).
+ "model": "A String", # End-user visible model name for the device.
+ "type": "A String", # A constant representing the type of the device.
+ "version": "A String", # Version string for the device hardware/software.
+ "manufacturer": "A String", # Manufacturer of the product/hardware.
+ },
"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.
+ "detailsUrl": "A String", # An optional URI that can be used to link back to the application.
+ "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.
- "detailsUrl": "A String", # An optional URI that can be used to link back to the application.
- "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.
},
+ "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.).
+ #
+ # This message is only instantiated in code and not used for wire comms or
+ # stored in any way.
+ "format": "A String", # The different supported formats for each field in a data type.
+ "optional": True or False,
+ "name": "A String", # Defines the name and format of data. Unlike data type names, field names
+ # are not namespaced, and only need to be unique within the data type.
+ },
+ ],
+ "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.
+ },
+ "name": "A String", # An end-user visible name for this data source.
}</pre>
</div>