Skip to content

Commit 5854cdc

Browse files
authored
docs(client): Fix typo in get_mtls_endpoint_and_cert_source doc (#1552)
1 parent 4e9e35e commit 5854cdc

16 files changed

Lines changed: 16 additions & 16 deletions

File tree

packages/gapic-generator/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class {{ service.async_client_name }}:
113113
The API endpoint is determined in the following order:
114114
(1) if `client_options.api_endpoint` if provided, use the provided one.
115115
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
116-
default mTLS endpoint; if the environment variabel is "never", use the default API
116+
default mTLS endpoint; if the environment variable is "never", use the default API
117117
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
118118
use the default API endpoint.
119119

packages/gapic-generator/gapic/templates/%namespace/%name_%version/%sub/services/%service/client.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ class {{ service.client_name }}(metaclass={{ service.client_name }}Meta):
230230
The API endpoint is determined in the following order:
231231
(1) if `client_options.api_endpoint` if provided, use the provided one.
232232
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
233-
default mTLS endpoint; if the environment variabel is "never", use the default API
233+
default mTLS endpoint; if the environment variable is "never", use the default API
234234
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
235235
use the default API endpoint.
236236

packages/gapic-generator/tests/integration/goldens/asset/google/cloud/asset_v1/services/asset_service/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def get_mtls_endpoint_and_cert_source(cls, client_options: Optional[ClientOption
113113
The API endpoint is determined in the following order:
114114
(1) if `client_options.api_endpoint` if provided, use the provided one.
115115
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
116-
default mTLS endpoint; if the environment variabel is "never", use the default API
116+
default mTLS endpoint; if the environment variable is "never", use the default API
117117
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
118118
use the default API endpoint.
119119

packages/gapic-generator/tests/integration/goldens/asset/google/cloud/asset_v1/services/asset_service/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def get_mtls_endpoint_and_cert_source(cls, client_options: Optional[client_optio
257257
The API endpoint is determined in the following order:
258258
(1) if `client_options.api_endpoint` if provided, use the provided one.
259259
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
260-
default mTLS endpoint; if the environment variabel is "never", use the default API
260+
default mTLS endpoint; if the environment variable is "never", use the default API
261261
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
262262
use the default API endpoint.
263263

packages/gapic-generator/tests/integration/goldens/credentials/google/iam/credentials_v1/services/iam_credentials/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def get_mtls_endpoint_and_cert_source(cls, client_options: Optional[ClientOption
118118
The API endpoint is determined in the following order:
119119
(1) if `client_options.api_endpoint` if provided, use the provided one.
120120
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
121-
default mTLS endpoint; if the environment variabel is "never", use the default API
121+
default mTLS endpoint; if the environment variable is "never", use the default API
122122
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
123123
use the default API endpoint.
124124

packages/gapic-generator/tests/integration/goldens/credentials/google/iam/credentials_v1/services/iam_credentials/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def get_mtls_endpoint_and_cert_source(cls, client_options: Optional[client_optio
253253
The API endpoint is determined in the following order:
254254
(1) if `client_options.api_endpoint` if provided, use the provided one.
255255
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
256-
default mTLS endpoint; if the environment variabel is "never", use the default API
256+
default mTLS endpoint; if the environment variable is "never", use the default API
257257
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
258258
use the default API endpoint.
259259

packages/gapic-generator/tests/integration/goldens/eventarc/google/cloud/eventarc_v1/services/eventarc/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def get_mtls_endpoint_and_cert_source(cls, client_options: Optional[ClientOption
120120
The API endpoint is determined in the following order:
121121
(1) if `client_options.api_endpoint` if provided, use the provided one.
122122
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
123-
default mTLS endpoint; if the environment variabel is "never", use the default API
123+
default mTLS endpoint; if the environment variable is "never", use the default API
124124
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
125125
use the default API endpoint.
126126

packages/gapic-generator/tests/integration/goldens/eventarc/google/cloud/eventarc_v1/services/eventarc/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def get_mtls_endpoint_and_cert_source(cls, client_options: Optional[client_optio
273273
The API endpoint is determined in the following order:
274274
(1) if `client_options.api_endpoint` if provided, use the provided one.
275275
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
276-
default mTLS endpoint; if the environment variabel is "never", use the default API
276+
default mTLS endpoint; if the environment variable is "never", use the default API
277277
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
278278
use the default API endpoint.
279279

packages/gapic-generator/tests/integration/goldens/logging/google/cloud/logging_v2/services/config_service_v2/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def get_mtls_endpoint_and_cert_source(cls, client_options: Optional[ClientOption
117117
The API endpoint is determined in the following order:
118118
(1) if `client_options.api_endpoint` if provided, use the provided one.
119119
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
120-
default mTLS endpoint; if the environment variabel is "never", use the default API
120+
default mTLS endpoint; if the environment variable is "never", use the default API
121121
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
122122
use the default API endpoint.
123123

packages/gapic-generator/tests/integration/goldens/logging/google/cloud/logging_v2/services/config_service_v2/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ def get_mtls_endpoint_and_cert_source(cls, client_options: Optional[client_optio
288288
The API endpoint is determined in the following order:
289289
(1) if `client_options.api_endpoint` if provided, use the provided one.
290290
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
291-
default mTLS endpoint; if the environment variabel is "never", use the default API
291+
default mTLS endpoint; if the environment variable is "never", use the default API
292292
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
293293
use the default API endpoint.
294294

0 commit comments

Comments
 (0)