Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1760)

Unified Diff: tools/telemetry/third_party/gsutil/third_party/apitools/apitools/base/py/testing/testclient/fusiontables_v1_client.py

Issue 1260493004: Revert "Add gsutil 4.13 to telemetry/third_party" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/third_party/gsutil/third_party/apitools/apitools/base/py/testing/testclient/fusiontables_v1_client.py
diff --git a/tools/telemetry/third_party/gsutil/third_party/apitools/apitools/base/py/testing/testclient/fusiontables_v1_client.py b/tools/telemetry/third_party/gsutil/third_party/apitools/apitools/base/py/testing/testclient/fusiontables_v1_client.py
deleted file mode 100644
index 45db3c358813182eb931f454ca562110ea16b460..0000000000000000000000000000000000000000
--- a/tools/telemetry/third_party/gsutil/third_party/apitools/apitools/base/py/testing/testclient/fusiontables_v1_client.py
+++ /dev/null
@@ -1,124 +0,0 @@
-"""Modified generated client library for fusiontables version v1.
-
-This is a hand-customized and pruned version of the fusiontables v1
-client, designed for use in testing.
-
-"""
-
-from apitools.base.py import base_api
-from apitools.base.py.testing.testclient import fusiontables_v1_messages
-
-
-class FusiontablesV1(base_api.BaseApiClient):
-
- """Generated client library for service fusiontables version v1."""
-
- MESSAGES_MODULE = fusiontables_v1_messages
-
- _PACKAGE = u'fusiontables'
- _SCOPES = [u'https://www.googleapis.com/auth/fusiontables',
- u'https://www.googleapis.com/auth/fusiontables.readonly']
- _VERSION = u'v1'
- _CLIENT_ID = '1042881264118.apps.googleusercontent.com'
- _CLIENT_SECRET = 'x_Tw5K8nnjoRAqULM9PFAC2b'
- _USER_AGENT = ''
- _CLIENT_CLASS_NAME = u'FusiontablesV1'
- _URL_VERSION = u'v1'
-
- def __init__(self, url='', credentials=None,
- get_credentials=True, http=None, model=None,
- log_request=False, log_response=False,
- credentials_args=None, default_global_params=None,
- additional_http_headers=None):
- """Create a new fusiontables handle."""
- url = url or u'https://www.googleapis.com/fusiontables/v1/'
- super(FusiontablesV1, self).__init__(
- url, credentials=credentials,
- get_credentials=get_credentials, http=http, model=model,
- log_request=log_request, log_response=log_response,
- credentials_args=credentials_args,
- default_global_params=default_global_params,
- additional_http_headers=additional_http_headers)
- self.column = self.ColumnService(self)
- self.columnalternate = self.ColumnAlternateService(self)
-
- class ColumnService(base_api.BaseApiService):
-
- """Service class for the column resource."""
-
- _NAME = u'column'
-
- def __init__(self, client):
- super(FusiontablesV1.ColumnService, self).__init__(client)
- self._method_configs = {
- 'List': base_api.ApiMethodInfo(
- http_method=u'GET',
- method_id=u'fusiontables.column.list',
- ordered_params=[u'tableId'],
- path_params=[u'tableId'],
- query_params=[u'maxResults', u'pageToken'],
- relative_path=u'tables/{tableId}/columns',
- request_field='',
- request_type_name=u'FusiontablesColumnListRequest',
- response_type_name=u'ColumnList',
- supports_download=False,
- ),
- }
-
- self._upload_configs = {
- }
-
- def List(self, request, global_params=None):
- """Retrieves a list of columns.
-
- Args:
- request: (FusiontablesColumnListRequest) input message
- global_params: (StandardQueryParameters, default: None) global
- arguments
- Returns:
- (ColumnList) The response message.
- """
- config = self.GetMethodConfig('List')
- return self._RunMethod(
- config, request, global_params=global_params)
-
- class ColumnAlternateService(base_api.BaseApiService):
-
- """Service class for the column resource."""
-
- _NAME = u'columnalternate'
-
- def __init__(self, client):
- super(FusiontablesV1.ColumnAlternateService, self).__init__(client)
- self._method_configs = {
- 'List': base_api.ApiMethodInfo(
- http_method=u'GET',
- method_id=u'fusiontables.column.listalternate',
- ordered_params=[u'tableId'],
- path_params=[u'tableId'],
- query_params=[u'maxResults', u'pageToken'],
- relative_path=u'tables/{tableId}/columns',
- request_field='',
- request_type_name=(
- u'FusiontablesColumnListAlternateRequest'),
- response_type_name=u'ColumnListAlternate',
- supports_download=False,
- ),
- }
-
- self._upload_configs = {
- }
-
- def List(self, request, global_params=None):
- """Retrieves a list of columns.
-
- Args:
- request: (FusiontablesColumnListRequest) input message
- global_params: (StandardQueryParameters, default: None) global
- arguments
- Returns:
- (ColumnList) The response message.
- """
- config = self.GetMethodConfig('List')
- return self._RunMethod(
- config, request, global_params=global_params)

Powered by Google App Engine
This is Rietveld 408576698