@@ -159,7 +159,7 @@ def exists(self, client=None):
159159 except NotFound :
160160 return False
161161
162- def reload (self , client = None , fields = None ):
162+ def reload (self , client = None ):
163163 """API call: reload the config via a ``GET`` request.
164164
165165 This method will reload the newest data for the config.
@@ -171,25 +171,15 @@ def reload(self, client=None, fields=None):
171171 :data:`NoneType <types.NoneType>`
172172 :param client: the client to use. If not passed, falls back to
173173 the client stored on the current config.
174-
175- :type fields: string or ``NoneType``
176- :param fields: Selector specifying which fields to include in a
177- partial response. Must be a list of fields. For example
178- to get a partial response with just the name and
179- description: 'name,description'
180174 """
181175 client = self ._require_client (client )
182- query_params = {}
183- if fields is not None :
184- query_params ['fields' ] = fields
185176
186177 # We assume the config exists. If it doesn't it will raise a NotFound
187178 # exception.
188- resp = client .connection .api_request (method = 'GET' , path = self .path ,
189- query_params = query_params )
179+ resp = client .connection .api_request (method = 'GET' , path = self .path )
190180 self ._set_properties (api_response = resp )
191181
192- def get_variable (self , variable_name , fields = None , client = None ):
182+ def get_variable (self , variable_name , client = None ):
193183 """API call: get a variable via a ``GET`` request.
194184
195185 This will return None if the variable doesn't exist::
@@ -205,12 +195,6 @@ def get_variable(self, variable_name, fields=None, client=None):
205195 :type variable_name: string
206196 :param variable_name: The name of the variable to retrieve.
207197
208- :type fields: string or ``NoneType``
209- :param fields: Selector specifying which fields to include in a
210- partial response. Must be a list of fields. For example
211- to get a partial response with just the name and value:
212- 'name,value'
213-
214198 :type client: :class:`~google.cloud.runtimeconfig.client.Client` or
215199 ``NoneType``
216200 :param client: Optional. The client to use. If not passed, falls back
@@ -222,13 +206,12 @@ def get_variable(self, variable_name, fields=None, client=None):
222206 client = self ._require_client (client )
223207 variable = Variable (config = self , name = variable_name )
224208 try :
225- variable .reload (fields = fields , client = client )
209+ variable .reload (client = client )
226210 return variable
227211 except NotFound :
228212 return None
229213
230- def list_variables (self , page_size = None , page_token = None , filter_ = None ,
231- fields = None , client = None ):
214+ def list_variables (self , page_size = None , page_token = None , client = None ):
232215 """API call: list variables for this config.
233216
234217 This only lists variable names, not the values.
@@ -243,16 +226,6 @@ def list_variables(self, page_size=None, page_token=None, filter_=None,
243226 :param page_token: opaque marker for the next "page" of variables. If
244227 not passed, will return the first page of variables.
245228
246- :type filter_: string or ``NoneType``
247- :param filter_: optional filter used to filter variables.
248-
249- :type fields: string or ``NoneType``
250- :param fields: Selector specifying which fields to include in a
251- partial response. Must be a list of fields. For example
252- to get a partial response with just the next page token
253- and the name of each variable returned:
254- 'variables/name,nextPageToken'
255-
256229 :type client: :class:`~google.cloud.runtimeconfig.client.Client` or
257230 ``NoneType``
258231 :param client: Optional. The client to use. If not passed, falls back
@@ -273,12 +246,6 @@ def list_variables(self, page_size=None, page_token=None, filter_=None,
273246 if page_token is not None :
274247 params ['pageToken' ] = page_token
275248
276- if filter_ is not None :
277- params ['filter' ] = filter_
278-
279- if fields is not None :
280- params ['fields' ] = fields
281-
282249 path = '%s/variables' % (self .path ,)
283250 client = self ._require_client (client )
284251 connection = client .connection
0 commit comments