Skip to content

Commit

Permalink
feat(searchconsole): update the API
Browse files Browse the repository at this point in the history
#### searchconsole:v1

The following keys were added:
- schemas.SearchAnalyticsQueryRequest.properties.dataState.description
- schemas.SearchAnalyticsQueryRequest.properties.dataState.enum
- schemas.SearchAnalyticsQueryRequest.properties.dataState.enumDescriptions
- schemas.SearchAnalyticsQueryRequest.properties.dataState.type

The following keys were changed:
- schemas.SearchAnalyticsQueryRequest.properties.searchType.enum
- schemas.SearchAnalyticsQueryRequest.properties.searchType.enumDescriptions
  • Loading branch information
yoshi-automation authored and sofisl committed Mar 10, 2021
1 parent f73fca9 commit 7eae5b9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
20 changes: 18 additions & 2 deletions discovery/searchconsole-v1.json
Expand Up @@ -373,7 +373,7 @@
}
}
},
"revision": "20200927",
"revision": "20210308",
"rootUrl": "https://searchconsole.googleapis.com/",
"schemas": {
"ApiDataRow": {
Expand Down Expand Up @@ -610,6 +610,20 @@
],
"type": "string"
},
"dataState": {
"description": "The data state to be fetched, can be full or all, the latter including full and partial data.",
"enum": [
"DATA_STATE_UNSPECIFIED",
"FINAL",
"ALL"
],
"enumDescriptions": [
"Default value, should not be used.",
"Include full final data only, without partial.",
"Include all data, full and partial."
],
"type": "string"
},
"dimensionFilterGroups": {
"description": "[Optional] Zero or more filters to apply to the dimension grouping values; for example, 'query contains \\\"buy\\\"' to see only data where the query string contains the substring \\\"buy\\\" (not case-sensitive). You can filter by a dimension without grouping by it.",
"items": {
Expand Down Expand Up @@ -654,9 +668,11 @@
"enum": [
"WEB",
"IMAGE",
"VIDEO"
"VIDEO",
"NEWS"
],
"enumDescriptions": [
"",
"",
"",
""
Expand Down
5 changes: 5 additions & 0 deletions src/apis/searchconsole/v1.ts
Expand Up @@ -236,6 +236,10 @@ export namespace searchconsole_v1 {
* [Optional; Default is \"auto\"] How data is aggregated. If aggregated by property, all data for the same property is aggregated; if aggregated by page, all data is aggregated by canonical URI. If you filter or group by page, choose AUTO; otherwise you can aggregate either by property or by page, depending on how you want your data calculated; see the help documentation to learn how data is calculated differently by site versus by page. **Note:** If you group or filter by page, you cannot aggregate by property. If you specify any value other than AUTO, the aggregation type in the result will match the requested type, or if you request an invalid type, you will get an error. The API will never change your aggregation type if the requested type is invalid.
*/
aggregationType?: string | null;
/**
* The data state to be fetched, can be full or all, the latter including full and partial data.
*/
dataState?: string | null;
/**
* [Optional] Zero or more filters to apply to the dimension grouping values; for example, 'query contains \"buy\"' to see only data where the query string contains the substring \"buy\" (not case-sensitive). You can filter by a dimension without grouping by it.
*/
Expand Down Expand Up @@ -425,6 +429,7 @@ export namespace searchconsole_v1 {
* // request body parameters
* // {
* // "aggregationType": "my_aggregationType",
* // "dataState": "my_dataState",
* // "dimensionFilterGroups": [],
* // "dimensions": [],
* // "endDate": "my_endDate",
Expand Down

0 comments on commit 7eae5b9

Please sign in to comment.