Home
last modified time | relevance | path

Searched refs:method_config (Results 1 – 17 of 17) sorted by relevance

/external/python/apitools/apitools/base/py/
Dbase_api_test.py121 method_config = base_api.ApiMethodInfo(
129 method_config, http_response))
133 service.ProcessHttpResponse(method_config, http_response))
138 method_config = base_api.ApiMethodInfo(
148 method_config, http_response))
152 service.ProcessHttpResponse(method_config, http_response))
178 method_config = base_api.ApiMethodInfo(
186 service._RunMethod(method_config, request)
197 method_config = base_api.ApiMethodInfo(
205 service._RunMethod(method_config, request)
[all …]
Dbase_api.py408 def ProcessRequest(self, method_config, request): argument
412 'Calling method %s with %s: %s', method_config.method_id,
413 method_config.request_type_name, request)
432 def ProcessResponse(self, method_config, response): argument
435 method_config.response_type_name, response)
481 method_config = self._method_configs.get(method)
482 if method_config:
483 return method_config
487 method_config = getattr(func, 'method_config', None)
488 if method_config is None:
[all …]
Dexceptions.py55 method_config=None, request=None): argument
61 self.method_config = method_config
Dbatch.py79 def __init__(self, request, retryable_codes, service, method_config): argument
94 self.__method_config = method_config
174 method_config = service.GetMethodConfig(method)
179 method_config, request, global_params=global_params,
184 http_request, self.retryable_codes, service, method_config)
Dutil.py105 def ExpandRelativePath(method_config, params, relative_path=None): argument
107 path = relative_path or method_config.relative_path or ''
109 for param in method_config.path_params:
Dbatch_test.py64 self, method_config, request, global_params, upload_config): argument
/external/python/apitools/samples/storage_sample/storage_v1/
Dstorage_v1_client.py70 Delete.method_config = lambda: base_api.ApiMethodInfo(
96 Get.method_config = lambda: base_api.ApiMethodInfo(
122 Insert.method_config = lambda: base_api.ApiMethodInfo(
148 List.method_config = lambda: base_api.ApiMethodInfo(
174 Patch.method_config = lambda: base_api.ApiMethodInfo(
200 Update.method_config = lambda: base_api.ApiMethodInfo(
236 Delete.method_config = lambda: base_api.ApiMethodInfo(
262 Get.method_config = lambda: base_api.ApiMethodInfo(
288 GetIamPolicy.method_config = lambda: base_api.ApiMethodInfo(
314 Insert.method_config = lambda: base_api.ApiMethodInfo(
[all …]
/external/python/apitools/samples/fusiontables_sample/fusiontables_v1/
Dfusiontables_v1_client.py69 Delete.method_config = lambda: base_api.ApiMethodInfo(
95 Get.method_config = lambda: base_api.ApiMethodInfo(
121 Insert.method_config = lambda: base_api.ApiMethodInfo(
147 List.method_config = lambda: base_api.ApiMethodInfo(
173 Patch.method_config = lambda: base_api.ApiMethodInfo(
199 Update.method_config = lambda: base_api.ApiMethodInfo(
238 Sql.method_config = lambda: base_api.ApiMethodInfo(
267 SqlGet.method_config = lambda: base_api.ApiMethodInfo(
303 Delete.method_config = lambda: base_api.ApiMethodInfo(
329 Get.method_config = lambda: base_api.ApiMethodInfo(
[all …]
/external/python/apitools/samples/servicemanagement_sample/servicemanagement_v1/
Dservicemanagement_v1_client.py72 Get.method_config = lambda: base_api.ApiMethodInfo(
115 Query.method_config = lambda: base_api.ApiMethodInfo(
153 Create.method_config = lambda: base_api.ApiMethodInfo(
180 Get.method_config = lambda: base_api.ApiMethodInfo(
207 List.method_config = lambda: base_api.ApiMethodInfo(
239 Submit.method_config = lambda: base_api.ApiMethodInfo(
276 Get.method_config = lambda: base_api.ApiMethodInfo(
306 Patch.method_config = lambda: base_api.ApiMethodInfo(
343 Get.method_config = lambda: base_api.ApiMethodInfo(
373 Patch.method_config = lambda: base_api.ApiMethodInfo(
[all …]
/external/python/apitools/samples/bigquery_sample/bigquery_v2/
Dbigquery_v2_client.py68 Delete.method_config = lambda: base_api.ApiMethodInfo(
94 Get.method_config = lambda: base_api.ApiMethodInfo(
120 Insert.method_config = lambda: base_api.ApiMethodInfo(
146 List.method_config = lambda: base_api.ApiMethodInfo(
172 Patch.method_config = lambda: base_api.ApiMethodInfo(
198 Update.method_config = lambda: base_api.ApiMethodInfo(
242 Cancel.method_config = lambda: base_api.ApiMethodInfo(
268 Get.method_config = lambda: base_api.ApiMethodInfo(
294 GetQueryResults.method_config = lambda: base_api.ApiMethodInfo(
324 Insert.method_config = lambda: base_api.ApiMethodInfo(
[all …]
/external/python/apitools/samples/iam_sample/iam_v1/
Diam_v1_client.py69 GetPolicyDetails.method_config = lambda: base_api.ApiMethodInfo(
106 Create.method_config = lambda: base_api.ApiMethodInfo(
133 Delete.method_config = lambda: base_api.ApiMethodInfo(
161 Get.method_config = lambda: base_api.ApiMethodInfo(
188 List.method_config = lambda: base_api.ApiMethodInfo(
226 Create.method_config = lambda: base_api.ApiMethodInfo(
253 Delete.method_config = lambda: base_api.ApiMethodInfo(
280 Get.method_config = lambda: base_api.ApiMethodInfo(
307 GetIamPolicy.method_config = lambda: base_api.ApiMethodInfo(
334 List.method_config = lambda: base_api.ApiMethodInfo(
[all …]
/external/python/apitools/samples/dns_sample/dns_v1/
Ddns_v1_client.py67 Create.method_config = lambda: base_api.ApiMethodInfo(
93 Get.method_config = lambda: base_api.ApiMethodInfo(
119 List.method_config = lambda: base_api.ApiMethodInfo(
155 Create.method_config = lambda: base_api.ApiMethodInfo(
181 Delete.method_config = lambda: base_api.ApiMethodInfo(
207 Get.method_config = lambda: base_api.ApiMethodInfo(
233 List.method_config = lambda: base_api.ApiMethodInfo(
269 Get.method_config = lambda: base_api.ApiMethodInfo(
305 List.method_config = lambda: base_api.ApiMethodInfo(
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/xds/
Dxds_resolver.cc178 RefCountedPtr<ServiceConfig> method_config; member
184 RefCountedPtr<ServiceConfig> method_config; member
195 RefCountedPtr<ServiceConfig>* method_config);
313 MethodConfigsEqual(method_config.get(), other.method_config.get()); in operator ==()
320 MethodConfigsEqual(method_config.get(), other.method_config.get()); in operator ==()
361 &route_entry.method_config); in XdsConfigSelector()
368 &cluster_weight_state.method_config); in XdsConfigSelector()
442 RefCountedPtr<ServiceConfig>* method_config) { in CreateMethodConfig() argument
508 *method_config = ServiceConfig::Create(args, json.c_str(), &error); in CreateMethodConfig()
609 RefCountedPtr<ServiceConfig> method_config; in GetCallConfig() local
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/
Dservice_config.cc142 for (const Json& method_config : it->second.array_value()) { in ParsePerMethodParams() local
143 if (method_config.type() != Json::Type::OBJECT) { in ParsePerMethodParams()
148 grpc_error_handle error = ParseJsonMethodConfig(args, method_config); in ParsePerMethodParams()
/external/grpc-grpc/src/core/lib/transport/
Dservice_config.h147 RefCountedPtr<T> method_config = create_value(json); in ParseJsonMethodConfig() local
148 if (method_config == nullptr) return false; in ParseJsonMethodConfig()
166 entries[*idx].value = method_config; // Takes a new ref. in ParseJsonMethodConfig()
/external/python/apitools/apitools/base/py/testing/
Dmock_test.py239 mocked_method_config = mocked_method.method_config()
240 method_config = getattr(service, method).method_config()
241 self.assertEquals(method_config, mocked_method_config)
Dmock.py194 self.method_config = real_method.method_config
195 config = self.method_config()