Home
last modified time | relevance | path

Searched refs:api_endpoint (Results 1 – 7 of 7) sorted by relevance

/external/python/python-api-core/tests/unit/
Dtest_client_options.py31 api_endpoint="foo.googleapis.com",
41 assert options.api_endpoint == "foo.googleapis.com"
54 api_endpoint="foo.googleapis.com",
58 assert options.api_endpoint == "foo.googleapis.com"
69 api_endpoint="foo.googleapis.com",
89 assert options.api_endpoint == "foo.googleapis.com"
111 options = client_options.ClientOptions(api_endpoint="foo.googleapis.com")
/external/python/python-api-core/google/api_core/operations_v1/
Dabstract_operations_client.py86 def _get_default_mtls_endpoint(api_endpoint): argument
96 if not api_endpoint:
97 return api_endpoint
103 m = mtls_endpoint_re.match(api_endpoint)
106 return api_endpoint
109 return api_endpoint.replace(
113 return api_endpoint.replace(".googleapis.com", ".mtls.googleapis.com")
295 if client_options.api_endpoint is not None:
296 api_endpoint = client_options.api_endpoint
300 api_endpoint = self.DEFAULT_ENDPOINT
[all …]
/external/python/python-api-core/google/api_core/
Dclient_options.py78 api_endpoint=None, argument
89 self.api_endpoint = api_endpoint
/external/python/google-api-python-client/tests/
Dtest_discovery.py617 api_endpoint = "https://foo.googleapis.com/"
619 api_endpoint=api_endpoint
625 self.assertEqual(plus._baseUrl, api_endpoint)
630 api_endpoint = "https://foo.googleapis.com/"
632 mapping_object["api_endpoint"] = api_endpoint
637 self.assertEqual(plus._baseUrl, api_endpoint)
641 api_endpoint = "https://foo.googleapis.com/"
644 client_options={"api_endpoint": api_endpoint},
648 self.assertEqual(plus._baseUrl, api_endpoint)
1017 api_endpoint = "https://foo.googleapis.com/"
[all …]
/external/python/python-api-core/tests/unit/operations_v1/
Dtest_operations_rest_client.py83 api_endpoint = "example.googleapis.com"
91 AbstractOperationsClient._get_default_mtls_endpoint(api_endpoint)
201 options = client_options.ClientOptions(api_endpoint="squid.clam.whelk")
814 api_endpoint="longrunning.googleapis.com"
824 api_endpoint="longrunning.googleapis.com:8000"
/external/python/apitools/apitools/base/py/
Dbase_api.py142 def NormalizeApiEndpoint(api_endpoint): argument
143 if not api_endpoint.endswith('/'):
144 api_endpoint += '/'
145 return api_endpoint
/external/python/google-api-python-client/googleapiclient/
Ddiscovery.py544 if client_options.api_endpoint:
545 base = client_options.api_endpoint
648 not client_options or not client_options.api_endpoint