Skip to content

Commit

Permalink
feat(analyticsdata): update the API
Browse files Browse the repository at this point in the history
#### analyticsdata:v1alpha
The following keys were added:
- schemas.DimensionMetadata.properties.customDefinition.description
- schemas.DimensionMetadata.properties.customDefinition.type
- schemas.MetricMetadata.properties.customDefinition.description
- schemas.MetricMetadata.properties.customDefinition.type
  • Loading branch information
yoshi-automation authored and bcoe committed Nov 17, 2020
1 parent f6682b8 commit 88fac76
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
10 changes: 9 additions & 1 deletion discovery/analyticsdata-v1alpha.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@
}
}
},
"revision": "20201110",
"revision": "20201112",
"rootUrl": "https://analyticsdata.googleapis.com/",
"schemas": {
"BatchRunPivotReportsRequest": {
Expand Down Expand Up @@ -516,6 +516,10 @@
"description": "This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For example, `eventName`.",
"type": "string"
},
"customDefinition": {
"description": "True if the dimension is a custom dimension for this property.",
"type": "boolean"
},
"deprecatedApiNames": {
"description": "Still usable but deprecated names for this dimension. If populated, this dimension is available by either `apiName` or one of `deprecatedApiNames` for a period of time. After the deprecation period, the dimension will be available only by `apiName`.",
"items": {
Expand Down Expand Up @@ -766,6 +770,10 @@
"description": "A metric name. Useable in [Metric](#Metric)'s `name`. For example, `eventCount`.",
"type": "string"
},
"customDefinition": {
"description": "True if the metric is a custom metric for this property.",
"type": "boolean"
},
"deprecatedApiNames": {
"description": "Still usable but deprecated names for this metric. If populated, this metric is available by either `apiName` or one of `deprecatedApiNames` for a period of time. After the deprecation period, the metric will be available only by `apiName`.",
"items": {
Expand Down
8 changes: 8 additions & 0 deletions src/apis/analyticsdata/v1alpha.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,10 @@ export namespace analyticsdata_v1alpha {
* This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For example, `eventName`.
*/
apiName?: string | null;
/**
* True if the dimension is a custom dimension for this property.
*/
customDefinition?: boolean | null;
/**
* Still usable but deprecated names for this dimension. If populated, this dimension is available by either `apiName` or one of `deprecatedApiNames` for a period of time. After the deprecation period, the dimension will be available only by `apiName`.
*/
Expand Down Expand Up @@ -499,6 +503,10 @@ export namespace analyticsdata_v1alpha {
* A metric name. Useable in [Metric](#Metric)'s `name`. For example, `eventCount`.
*/
apiName?: string | null;
/**
* True if the metric is a custom metric for this property.
*/
customDefinition?: boolean | null;
/**
* Still usable but deprecated names for this metric. If populated, this metric is available by either `apiName` or one of `deprecatedApiNames` for a period of time. After the deprecation period, the metric will be available only by `apiName`.
*/
Expand Down

0 comments on commit 88fac76

Please sign in to comment.