@@ -46,40 +46,3 @@ class Connection(base_connection.JSONConnection):
4646 'https://www.googleapis.com/auth/logging.admin' ,
4747 'https://www.googleapis.com/auth/cloud-platform' )
4848 """The scopes required for authenticating as a Cloud Logging consumer."""
49-
50- def __init__ (self , credentials = None , http = None , api_base_url = None ):
51- super (Connection , self ).__init__ (credentials = credentials , http = http )
52- if api_base_url is None :
53- api_base_url = self .__class__ .API_BASE_URL
54- self .api_base_url = api_base_url
55-
56- def build_api_url (self , path , query_params = None ,
57- api_base_url = None , api_version = None ):
58- """Construct an API url given a few components, some optional.
59-
60- Typically, you shouldn't need to use this method.
61-
62- :type path: string
63- :param path: The path to the resource.
64-
65- :type query_params: dict
66- :param query_params: A dictionary of keys and values to insert into
67- the query string of the URL.
68-
69- :type api_base_url: string
70- :param api_base_url: The base URL for the API endpoint.
71- Typically you won't have to provide this.
72-
73- :type api_version: string
74- :param api_version: The version of the API to call.
75- Typically you shouldn't provide this and instead
76- use the default for the library.
77-
78- :rtype: string
79- :returns: The URL assembled from the pieces provided.
80- """
81- if api_base_url is None :
82- api_base_url = self .api_base_url
83- return super (Connection , self .__class__ ).build_api_url (
84- path , query_params = query_params ,
85- api_base_url = api_base_url , api_version = api_version )
0 commit comments