diff --git a/discovery/fitness-v1.json b/discovery/fitness-v1.json
index 0bbd9e9f64..c78d36a695 100644
--- a/discovery/fitness-v1.json
+++ b/discovery/fitness-v1.json
@@ -59,9 +59,9 @@
}
}
},
- "basePath": "",
- "baseUrl": "https://www.googleapis.com/",
- "batchPath": "batch/fitness/v1",
+ "basePath": "/fitness/v1/users/",
+ "baseUrl": "https://fitness.googleapis.com/fitness/v1/users/",
+ "batchPath": "batch",
"description": "The Fitness API for managing users' fitness tracking data.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/fit/rest/v1/get-started",
@@ -71,7 +71,7 @@
},
"id": "fitness:v1",
"kind": "discovery#restDescription",
- "mtlsRootUrl": "https://www.mtls.googleapis.com/",
+ "mtlsRootUrl": "https://fitness.mtls.googleapis.com/",
"name": "fitness",
"ownerDomain": "google.com",
"ownerName": "Google",
@@ -159,8 +159,8 @@
"dataSources": {
"methods": {
"create": {
- "description": "Creates a new data source that is unique across all data sources belonging\nto this user.\n\nA data source is a unique source of sensor data. Data sources can expose\nraw data coming from hardware sensors on local or companion devices. They\ncan also expose derived data, created by transforming or merging other data\nsources. Multiple data sources can exist for the same data type. Every data\npoint in every dataset inserted into or read from the Fitness API has an\nassociated data source.\n\nEach data source produces a unique stream of dataset updates, with a\nunique data source identifier. Not all changes to data source affect the\ndata stream ID, so that data collected by updated versions of the same\napplication/device can still be considered to belong to the same data\nsource.\n\nData sources are identified using a string generated by the server, based\non the contents of the source being created. The dataStreamId
\nfield should not be set when invoking this method. It\nwill be automatically generated by the server with the correct format. If\na dataStreamId
is set, it must match the format that the\nserver would generate. This format is a combination of some fields from the\ndata source, and has a specific order. If it doesn't match, the request\nwill fail with an error.\n\nSpecifying a DataType which is not a known type (beginning with\n\"com.google.\") will create a DataSource with a custom data type.\nCustom data types are only readable by the application that created them.\nCustom data types are deprecated; use standard data types\ninstead.\n\nIn addition to the data source fields included in the data source ID, the\ndeveloper project number that is authenticated when creating the data\nsource is included. This developer project number is obfuscated when read\nby any other developer reading public data types.",
- "flatPath": "fitness/v1/users/{userId}/dataSources",
+ "description": "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.",
+ "flatPath": "{userId}/dataSources",
"httpMethod": "POST",
"id": "fitness.users.dataSources.create",
"parameterOrder": [
@@ -168,13 +168,13 @@
],
"parameters": {
"userId": {
- "description": "Create the data source for the person identified. Use me
to\nindicate the authenticated user. Only me
is supported at this\ntime.",
+ "description": "Create the data source for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "fitness/v1/users/{userId}/dataSources",
+ "path": "{userId}/dataSources",
"request": {
"$ref": "DataSource"
},
@@ -194,8 +194,8 @@
]
},
"delete": {
- "description": "Deletes the specified data source. The request will fail if the data\nsource contains any data points.",
- "flatPath": "fitness/v1/users/{userId}/dataSources/{dataSourceId}",
+ "description": "Deletes the specified data source. The request will fail if the data source contains any data points.",
+ "flatPath": "{userId}/dataSources/{dataSourceId}",
"httpMethod": "DELETE",
"id": "fitness.users.dataSources.delete",
"parameterOrder": [
@@ -210,13 +210,13 @@
"type": "string"
},
"userId": {
- "description": "Retrieve a data source for the person identified. Use me
to\nindicate the authenticated user. Only me
is supported at this\ntime.",
+ "description": "Retrieve a data source for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "fitness/v1/users/{userId}/dataSources/{dataSourceId}",
+ "path": "{userId}/dataSources/{dataSourceId}",
"response": {
"$ref": "DataSource"
},
@@ -234,7 +234,7 @@
},
"get": {
"description": "Returns the specified data source.",
- "flatPath": "fitness/v1/users/{userId}/dataSources/{dataSourceId}",
+ "flatPath": "{userId}/dataSources/{dataSourceId}",
"httpMethod": "GET",
"id": "fitness.users.dataSources.get",
"parameterOrder": [
@@ -249,13 +249,13 @@
"type": "string"
},
"userId": {
- "description": "Retrieve a data source for the person identified. Use me
to\nindicate the authenticated user. Only me
is supported at this\ntime.",
+ "description": "Retrieve a data source for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "fitness/v1/users/{userId}/dataSources/{dataSourceId}",
+ "path": "{userId}/dataSources/{dataSourceId}",
"response": {
"$ref": "DataSource"
},
@@ -281,8 +281,8 @@
]
},
"list": {
- "description": "Lists all data sources that are visible to the developer, using the OAuth\nscopes provided. The list is not exhaustive; the user may have private\ndata sources that are only visible to other developers, or calls using\nother scopes.",
- "flatPath": "fitness/v1/users/{userId}/dataSources",
+ "description": "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.",
+ "flatPath": "{userId}/dataSources",
"httpMethod": "GET",
"id": "fitness.users.dataSources.list",
"parameterOrder": [
@@ -290,19 +290,19 @@
],
"parameters": {
"dataTypeName": {
- "description": "The names of data types to include in the list. If not specified, all\ndata sources will be returned.",
+ "description": "The names of data types to include in the list. If not specified, all data sources will be returned.",
"location": "query",
"repeated": true,
"type": "string"
},
"userId": {
- "description": "List data sources for the person identified. Use me
to\nindicate the authenticated user. Only me
is supported at this\ntime.",
+ "description": "List data sources for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "fitness/v1/users/{userId}/dataSources",
+ "path": "{userId}/dataSources",
"response": {
"$ref": "ListDataSourcesResponse"
},
@@ -328,8 +328,8 @@
]
},
"update": {
- "description": "Updates the specified data source. The dataStreamId
,\ndataType
, type
, dataStreamName
, and\ndevice
properties with the exception of version
,\ncannot be modified.\n\nData sources are identified by their dataStreamId
.",
- "flatPath": "fitness/v1/users/{userId}/dataSources/{dataSourceId}",
+ "description": "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.",
+ "flatPath": "{userId}/dataSources/{dataSourceId}",
"httpMethod": "PUT",
"id": "fitness.users.dataSources.update",
"parameterOrder": [
@@ -344,13 +344,13 @@
"type": "string"
},
"userId": {
- "description": "Update the data source for the person identified. Use me
to\nindicate the authenticated user. Only me
is supported at this\ntime.",
+ "description": "Update the data source for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "fitness/v1/users/{userId}/dataSources/{dataSourceId}",
+ "path": "{userId}/dataSources/{dataSourceId}",
"request": {
"$ref": "DataSource"
},
@@ -375,7 +375,7 @@
"methods": {
"list": {
"description": "Queries for user's data point changes for a particular data source.",
- "flatPath": "fitness/v1/users/{userId}/dataSources/{dataSourceId}/dataPointChanges",
+ "flatPath": "{userId}/dataSources/{dataSourceId}/dataPointChanges",
"httpMethod": "GET",
"id": "fitness.users.dataSources.dataPointChanges.list",
"parameterOrder": [
@@ -390,24 +390,24 @@
"type": "string"
},
"limit": {
- "description": "If specified, no more than this many data point changes will be included\nin the response.",
+ "description": "If specified, no more than this many data point changes will be included in the response.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "The continuation token, which is used to page through large result sets.\nTo get the next page of results, set this parameter to the value of\nnextPageToken
from the previous response.",
+ "description": "The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.",
"location": "query",
"type": "string"
},
"userId": {
- "description": "List data points for the person identified. Use me
to indicate\nthe authenticated user. Only me
is supported at this time.",
+ "description": "List data points for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "fitness/v1/users/{userId}/dataSources/{dataSourceId}/dataPointChanges",
+ "path": "{userId}/dataSources/{dataSourceId}/dataPointChanges",
"response": {
"$ref": "ListDataPointChangesResponse"
},
@@ -437,8 +437,8 @@
"datasets": {
"methods": {
"delete": {
- "description": "Performs an inclusive delete of all data points whose start and end times\nhave any overlap with the time range specified by the dataset ID. For most\ndata types, the entire data point will be deleted. For data types where the\ntime span represents a consistent value (such as\ncom.google.activity.segment
), and a data point straddles\neither end point of the dataset, only the overlapping portion of the data\npoint will be deleted.",
- "flatPath": "fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}",
+ "description": "Performs an inclusive delete of all data points whose start and end times have any overlap with the time range specified by the dataset ID. For most data types, the entire data point will be deleted. For data types where the time span represents a consistent value (such as com.google.activity.segment), and a data point straddles either end point of the dataset, only the overlapping portion of the data point will be deleted.",
+ "flatPath": "{userId}/dataSources/{dataSourceId}/datasets/{datasetId}",
"httpMethod": "DELETE",
"id": "fitness.users.dataSources.datasets.delete",
"parameterOrder": [
@@ -460,7 +460,7 @@
"type": "string"
},
"datasetId": {
- "description": "Dataset identifier that is a composite of the minimum data point start time\nand maximum data point end time represented as nanoseconds from the epoch.\nThe ID is formatted like: \"startTime-endTime\"\nwhere startTime and endTime are 64 bit integers.",
+ "description": "Dataset identifier that is a composite of the minimum data point start time and maximum data point end time represented as nanoseconds from the epoch. The ID is formatted like: \"startTime-endTime\" where startTime and endTime are 64 bit integers.",
"location": "path",
"required": true,
"type": "string"
@@ -472,13 +472,13 @@
"type": "string"
},
"userId": {
- "description": "Delete a dataset for the person identified. Use me
to indicate\nthe authenticated user. Only me
is supported at this time.",
+ "description": "Delete a dataset for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}",
+ "path": "{userId}/dataSources/{dataSourceId}/datasets/{datasetId}",
"scopes": [
"https://www.googleapis.com/auth/fitness.activity.write",
"https://www.googleapis.com/auth/fitness.blood_glucose.write",
@@ -492,8 +492,8 @@
]
},
"get": {
- "description": "Returns a dataset containing all data points whose start and end times\noverlap with the specified range of the dataset minimum start time and\nmaximum end time. Specifically, any data point whose start time is less\nthan or equal to the dataset end time and whose end time is greater than or\nequal to the dataset start time.",
- "flatPath": "fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}",
+ "description": "Returns a dataset containing all data points whose start and end times overlap with the specified range of the dataset minimum start time and maximum end time. Specifically, any data point whose start time is less than or equal to the dataset end time and whose end time is greater than or equal to the dataset start time.",
+ "flatPath": "{userId}/dataSources/{dataSourceId}/datasets/{datasetId}",
"httpMethod": "GET",
"id": "fitness.users.dataSources.datasets.get",
"parameterOrder": [
@@ -509,30 +509,30 @@
"type": "string"
},
"datasetId": {
- "description": "Dataset identifier that is a composite of the minimum data point start time\nand maximum data point end time represented as nanoseconds from the epoch.\nThe ID is formatted like: \"startTime-endTime\"\nwhere startTime and endTime are 64 bit integers.",
+ "description": "Dataset identifier that is a composite of the minimum data point start time and maximum data point end time represented as nanoseconds from the epoch. The ID is formatted like: \"startTime-endTime\" where startTime and endTime are 64 bit integers.",
"location": "path",
"required": true,
"type": "string"
},
"limit": {
- "description": "If specified, no more than this many data points will be included in the\ndataset. If there are more data points in the dataset, nextPageToken\nwill be set in the dataset response.",
+ "description": "If specified, no more than this many data points will be included in the dataset. If there are more data points in the dataset, nextPageToken will be set in the dataset response.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
- "description": "The continuation token, which is used to page through large datasets.\nTo get the next page of a dataset, set this parameter to the value of\nnextPageToken
from the previous response. Each subsequent\ncall will yield a partial dataset with data point end timestamps that are\nstrictly smaller than those in the previous partial response.",
+ "description": "The continuation token, which is used to page through large datasets. To get the next page of a dataset, set this parameter to the value of nextPageToken from the previous response. Each subsequent call will yield a partial dataset with data point end timestamps that are strictly smaller than those in the previous partial response.",
"location": "query",
"type": "string"
},
"userId": {
- "description": "Retrieve a dataset for the person identified. Use me
to\nindicate the authenticated user. Only me
is supported at this\ntime.",
+ "description": "Retrieve a dataset for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}",
+ "path": "{userId}/dataSources/{dataSourceId}/datasets/{datasetId}",
"response": {
"$ref": "Dataset"
},
@@ -558,8 +558,8 @@
]
},
"patch": {
- "description": "Adds data points to a dataset. The dataset need not be previously created.\nAll points within the given dataset will be returned with subsquent calls\nto retrieve this dataset. Data points can belong to more than one dataset.\nThis method does not use patch semantics.",
- "flatPath": "fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}",
+ "description": "Adds data points to a dataset. The dataset need not be previously created. All points within the given dataset will be returned with subsquent calls to retrieve this dataset. Data points can belong to more than one dataset. This method does not use patch semantics.",
+ "flatPath": "{userId}/dataSources/{dataSourceId}/datasets/{datasetId}",
"httpMethod": "PATCH",
"id": "fitness.users.dataSources.datasets.patch",
"parameterOrder": [
@@ -569,7 +569,7 @@
],
"parameters": {
"currentTimeMillis": {
- "description": "The client's current time in milliseconds since epoch. Note that the\nminStartTimeNs
and maxEndTimeNs
properties in\nthe request body are in nanoseconds instead of milliseconds.",
+ "description": "The client's current time in milliseconds since epoch. Note that the minStartTimeNs and maxEndTimeNs properties in the request body are in nanoseconds instead of milliseconds.",
"format": "int64",
"location": "query",
"type": "string"
@@ -581,19 +581,19 @@
"type": "string"
},
"datasetId": {
- "description": "Dataset identifier that is a composite of the minimum data point start time\nand maximum data point end time represented as nanoseconds from the epoch.\nThe ID is formatted like: \"startTime-endTime\"\nwhere startTime and endTime are 64 bit integers.",
+ "description": "Dataset identifier that is a composite of the minimum data point start time and maximum data point end time represented as nanoseconds from the epoch. The ID is formatted like: \"startTime-endTime\" where startTime and endTime are 64 bit integers.",
"location": "path",
"required": true,
"type": "string"
},
"userId": {
- "description": "Patch a dataset for the person identified. Use me
to indicate\nthe authenticated user. Only me
is supported at this time.",
+ "description": "Patch a dataset for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}",
+ "path": "{userId}/dataSources/{dataSourceId}/datasets/{datasetId}",
"request": {
"$ref": "Dataset"
},
@@ -619,8 +619,8 @@
"dataset": {
"methods": {
"aggregate": {
- "description": "Aggregates data of a certain type or stream into buckets divided by a given\ntype of boundary. Multiple data sets of multiple types and from multiple\nsources can be aggregated into exactly one bucket type per request.",
- "flatPath": "fitness/v1/users/{userId}/dataset:aggregate",
+ "description": "Aggregates data of a certain type or stream into buckets divided by a given type of boundary. Multiple data sets of multiple types and from multiple sources can be aggregated into exactly one bucket type per request.",
+ "flatPath": "{userId}/dataset:aggregate",
"httpMethod": "POST",
"id": "fitness.users.dataset.aggregate",
"parameterOrder": [
@@ -628,13 +628,13 @@
],
"parameters": {
"userId": {
- "description": "Aggregate data for the person identified. Use me
to indicate\nthe authenticated user. Only me
is supported at this time.",
+ "description": "Aggregate data for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "fitness/v1/users/{userId}/dataset:aggregate",
+ "path": "{userId}/dataset:aggregate",
"request": {
"$ref": "AggregateRequest"
},
@@ -668,7 +668,7 @@
"methods": {
"delete": {
"description": "Deletes a session specified by the given session ID.",
- "flatPath": "fitness/v1/users/{userId}/sessions/{sessionId}",
+ "flatPath": "{userId}/sessions/{sessionId}",
"httpMethod": "DELETE",
"id": "fitness.users.sessions.delete",
"parameterOrder": [
@@ -689,20 +689,20 @@
"type": "string"
},
"userId": {
- "description": "Delete a session for the person identified. Use me
to indicate\nthe authenticated user. Only me
is supported at this time.",
+ "description": "Delete a session for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "fitness/v1/users/{userId}/sessions/{sessionId}",
+ "path": "{userId}/sessions/{sessionId}",
"scopes": [
"https://www.googleapis.com/auth/fitness.activity.write"
]
},
"list": {
"description": "Lists sessions previously created.",
- "flatPath": "fitness/v1/users/{userId}/sessions",
+ "flatPath": "{userId}/sessions",
"httpMethod": "GET",
"id": "fitness.users.sessions.list",
"parameterOrder": [
@@ -717,33 +717,33 @@
"type": "integer"
},
"endTime": {
- "description": "An RFC3339 timestamp.\nOnly sessions ending between the start and end times will be included in\nthe response. If this time is omitted but startTime is\nspecified, all sessions from startTime to the end of time will\nbe returned.",
+ "description": "An RFC3339 timestamp. Only sessions ending between the start and end times will be included in the response. If this time is omitted but startTime is specified, all sessions from startTime to the end of time will be returned.",
"location": "query",
"type": "string"
},
"includeDeleted": {
- "description": "If true, and if both startTime and endTime are\nomitted, session deletions will be returned.",
+ "description": "If true, and if both startTime and endTime are omitted, session deletions will be returned.",
"location": "query",
"type": "boolean"
},
"pageToken": {
- "description": "The continuation token, which is used for incremental syncing.\nTo get the next batch of changes, set this parameter to the value of\nnextPageToken
from the previous response. The page token is\nignored if either start or end time is specified. If none of start time,\nend time, and the page token is specified, sessions modified in the last\n30 days are returned.",
+ "description": "The continuation token, which is used for incremental syncing. To get the next batch of changes, set this parameter to the value of nextPageToken from the previous response. The page token is ignored if either start or end time is specified. If none of start time, end time, and the page token is specified, sessions modified in the last 30 days are returned.",
"location": "query",
"type": "string"
},
"startTime": {
- "description": "An RFC3339 timestamp.\nOnly sessions ending between the start and end times will be included in\nthe response. If this time is omitted but endTime is specified,\nall sessions from the start of time up to endTime will be\nreturned.",
+ "description": "An RFC3339 timestamp. Only sessions ending between the start and end times will be included in the response. If this time is omitted but endTime is specified, all sessions from the start of time up to endTime will be returned.",
"location": "query",
"type": "string"
},
"userId": {
- "description": "List sessions for the person identified. Use me
to indicate\nthe authenticated user. Only me
is supported at this time.",
+ "description": "List sessions for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "fitness/v1/users/{userId}/sessions",
+ "path": "{userId}/sessions",
"response": {
"$ref": "ListSessionsResponse"
},
@@ -770,7 +770,7 @@
},
"update": {
"description": "Updates or insert a given session.",
- "flatPath": "fitness/v1/users/{userId}/sessions/{sessionId}",
+ "flatPath": "{userId}/sessions/{sessionId}",
"httpMethod": "PUT",
"id": "fitness.users.sessions.update",
"parameterOrder": [
@@ -791,13 +791,13 @@
"type": "string"
},
"userId": {
- "description": "Create sessions for the person identified. Use me
to indicate\nthe authenticated user. Only me
is supported at this time.",
+ "description": "Create sessions for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "fitness/v1/users/{userId}/sessions/{sessionId}",
+ "path": "{userId}/sessions/{sessionId}",
"request": {
"$ref": "Session"
},
@@ -813,8 +813,8 @@
}
}
},
- "revision": "20200724",
- "rootUrl": "https://www.googleapis.com/",
+ "revision": "20200820",
+ "rootUrl": "https://fitness.googleapis.com/",
"schemas": {
"AggregateBucket": {
"id": "AggregateBucket",
@@ -832,7 +832,7 @@
"type": "array"
},
"endTimeMillis": {
- "description": "The end time for the aggregated data, in milliseconds since epoch,\ninclusive.",
+ "description": "The end time for the aggregated data, in milliseconds since epoch, inclusive.",
"format": "int64",
"type": "string"
},
@@ -841,12 +841,12 @@
"description": "Available for Bucket.Type.SESSION"
},
"startTimeMillis": {
- "description": "The start time for the aggregated data, in milliseconds since epoch,\ninclusive.",
+ "description": "The start time for the aggregated data, in milliseconds since epoch, inclusive.",
"format": "int64",
"type": "string"
},
"type": {
- "description": "The type of a bucket signifies how the data aggregation is performed in the\nbucket.",
+ "description": "The type of a bucket signifies how the data aggregation is performed in the bucket.",
"enum": [
"unknown",
"time",
@@ -856,10 +856,10 @@
],
"enumDescriptions": [
"",
- "Denotes that bucketing by time is requested. When this is specified, the\ntimeBucketDurationMillis field is used to determine how many buckets will\nbe returned.",
- "Denotes that bucketing by session is requested. When this is specified,\nonly data that occurs within sessions that begin and end within the\ndataset time frame, is included in the results.",
- "Denotes that bucketing by activity type is requested. When this is\nspecified, there will be one bucket for each unique activity type that\na user participated in, during the dataset time frame of interest.",
- "Denotes that bucketing by individual activity segment is requested. This\nwill aggregate data by the time boundaries specified by each activity\nsegment occurring within the dataset time frame of interest."
+ "Denotes that bucketing by time is requested. When this is specified, the timeBucketDurationMillis field is used to determine how many buckets will be returned.",
+ "Denotes that bucketing by session is requested. When this is specified, only data that occurs within sessions that begin and end within the dataset time frame, is included in the results.",
+ "Denotes that bucketing by activity type is requested. When this is specified, there will be one bucket for each unique activity type that a user participated in, during the dataset time frame of interest.",
+ "Denotes that bucketing by individual activity segment is requested. This will aggregate data by the time boundaries specified by each activity segment occurring within the dataset time frame of interest."
],
"type": "string"
}
@@ -871,11 +871,11 @@
"id": "AggregateBy",
"properties": {
"dataSourceId": {
- "description": "A data source ID to aggregate. Only data from the specified data source ID\nwill be included in the aggregation. If specified, this data source must\nexist; the OAuth scopes in the supplied credentials must grant read access\nto this data type. The dataset in the response will have the same data\nsource ID. Note: Data can be aggregated by either the dataTypeName or the\ndataSourceId, not both.",
+ "description": "A data source ID to aggregate. Only data from the specified data source ID will be included in the aggregation. If specified, this data source must exist; the OAuth scopes in the supplied credentials must grant read access to this data type. The dataset in the response will have the same data source ID. Note: Data can be aggregated by either the dataTypeName or the dataSourceId, not both.",
"type": "string"
},
"dataTypeName": {
- "description": "The data type to aggregate. All data sources providing this data type will\ncontribute data to the aggregation. The response will contain a single\ndataset for this data type name. The dataset will have a data source ID of\nderived: