diff --git a/CHANGELOG.md b/CHANGELOG.md index 72d8dfad29c..b602d22dad8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [1.12.7](https://www.github.com/googleapis/google-api-python-client/compare/v1.12.6...v1.12.7) (2020-11-17) + + +### Documentation + +* Update Webmasters API sample ([#1092](https://www.github.com/googleapis/google-api-python-client/issues/1092)) ([12831f3](https://www.github.com/googleapis/google-api-python-client/commit/12831f3e4716292b55b63dd2b08c3351f09b8a15)) + ### [1.12.6](https://www.github.com/googleapis/google-api-python-client/compare/v1.12.5...v1.12.6) (2020-11-16) diff --git a/samples/searchconsole/search_analytics_api_sample.py b/samples/searchconsole/search_analytics_api_sample.py index 30a881d64de..c577ef6cf52 100644 --- a/samples/searchconsole/search_analytics_api_sample.py +++ b/samples/searchconsole/search_analytics_api_sample.py @@ -55,7 +55,7 @@ def main(argv): service, flags = sample_tools.init( - argv, 'webmasters', 'v3', __doc__, __file__, parents=[argparser], + argv, 'searchconsole', 'v1', __doc__, __file__, parents=[argparser], scope='https://www.googleapis.com/auth/webmasters.readonly') # First run a query to learn which dates we have data for. You should always @@ -157,7 +157,7 @@ def execute_request(service, property_uri, request): """Executes a searchAnalytics.query request. Args: - service: The webmasters service to use when executing the query. + service: The searchconsole service to use when executing the query. property_uri: The site or app URI to request data for. request: The request to be executed. diff --git a/setup.py b/setup.py index 71ad360c6b7..f0ff03fa122 100644 --- a/setup.py +++ b/setup.py @@ -49,7 +49,7 @@ with io.open(readme_filename, encoding="utf-8") as readme_file: readme = readme_file.read() -version = "1.12.6" +version = "1.12.7" setup( name="google-api-python-client",