8000 Fix docs references to EncodingType. (#8779) · googleapis/python-language@d62917b · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

Commit d62917b

Browse files
mik-lajtseaver
authored andcommitted
Fix docs references to EncodingType. (#8779)
1 parent 8eb1abb commit d62917b

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

google/cloud/language_v1/gapic/language_service_client.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def analyze_sentiment(
209209
210210
If a dict is provided, it must be of the same form as the protobuf
211211
message :class:`~google.cloud.language_v1.types.Document`
212-
encoding_type (~google.cloud.language_v1.types.EncodingType): The encoding type used by the API to calculate sentence offsets.
212+
encoding_type (~google.cloud.language_v1.enums.EncodingType): The encoding type used by the API to calculate sentence offsets.
213213
retry (Optional[google.api_core.retry.Retry]): A retry object used
214214
to retry requests. If ``None`` is specified, requests will not
215215
be retried.
@@ -275,7 +275,7 @@ def analyze_entities(
275275
276276
If a dict is provided, it must be of the same form as the protobuf
277277
message :class:`~google.cloud.language_v1.types.Document`
278-
encoding_type (~google.cloud.language_v1.types.EncodingType): The encoding type used by the API to calculate offsets.
278+
encoding_type (~google.cloud.language_v1.enums.EncodingType): The encoding type used by the API to calculate offsets.
279279
retry (Optional[google.api_core.retry.Retry]): A retry object used
280280
to retry requests. If ``None`` is specified, requests will not
281281
be retried.
@@ -340,7 +340,7 @@ def analyze_entity_sentiment(
340340
341341
If a dict is provided, it must be of the same form as the protobuf
342342
message :class:`~google.cloud.language_v1.types.Document`
343-
encoding_type (~google.cloud.language_v1.types.EncodingType): The encoding type used by the API to calculate offsets.
343+
encoding_type (~google.cloud.language_v1.enums.EncodingType): The encoding type used by the API to calculate offsets.
344344
retry (Optional[google.api_core.retry.Retry]): A retry object used
345345
to retry requests. If ``None`` is specified, requests will not
346346
be retried.
@@ -406,7 +406,7 @@ def analyze_syntax(
406406
407407
If a dict is provided, it must be of the same form as the protobuf
408408
message :class:`~google.cloud.language_v1.types.Document`
409-
encoding_type (~google.cloud.language_v1.types.EncodingType): The encoding type used by the API to calculate offsets.
409+
encoding_type (~google.cloud.language_v1.enums.EncodingType): The encoding type used by the API to calculate offsets.
410410
retry (Optional[google.api_core.retry.Retry]): A retry object used
411411
to retry requests. If ``None`` is specified, requests will not
412412
be retried.
@@ -539,7 +539,7 @@ def annotate_text(
539539
540540
If a dict is provided, it must be of the same form as the protobuf
541541
message :class:`~google.cloud.language_v1.types.Features`
542-
encoding_type (~google.cloud.language_v1.types.EncodingType): The encoding type used by the API to calculate offsets.
542+
encoding_type (~google.cloud.language_v1.enums.EncodingType): The encoding type used by the API to calculate offsets.
543543
retry (Optional[google.api_core.retry.Retry]): A retry object used
544544
to retry requests. If ``None`` is specified, requests will not
545545
be retried.

google/cloud/language_v1beta2/gapic/language_service_client.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def analyze_sentiment(
211211
212212
If a dict is provided, it must be of the same form as the protobuf
213213
message :class:`~google.cloud.language_v1beta2.types.Document`
214-
encoding_type (~google.cloud.language_v1beta2.types.EncodingType): The encoding type used by the API to calculate sentence offsets for the
214+
encoding_type (~google.cloud.language_v1beta2.enums.EncodingType): The encoding type used by the API to calculate sentence offsets for the
215215
sentence sentiment.
216216
retry (Optional[google.api_core.retry.Retry]): A retry object used
217217
to retry requests. If ``None`` is specified, requests will not
@@ -278,7 +278,7 @@ def analyze_entities(
278278
279279
If a dict is provided, it must be of the same form as the protobuf
280280
message :class:`~google.cloud.language_v1beta2.types.Document`
281-
encoding_type (~google.cloud.language_v1beta2.types.EncodingType): The encoding type used by the API to calculate offsets.
281+
encoding_type (~google.cloud.language_v1beta2.enums.EncodingType): The encoding type used by the API to calculate offsets.
282282
retry (Optional[google.api_core.retry.Retry]): A retry object used
283283
to retry requests. If ``None`` is specified, requests will not
284284
be retried.
@@ -343,7 +343,7 @@ def analyze_entity_sentiment(
343343
344344
If a dict is provided, it must be of the same form as the protobuf
345345
message :class:`~google.cloud.language_v1beta2.types.Document`
346-
encoding_type (~google.cloud.language_v1beta2.types.EncodingType): The encoding type used by the API to calculate offsets.
346+
encoding_type (~google.cloud.language_v1beta2.enums.EncodingType): The encoding type used by the API to calculate offsets.
347347
retry (Optional[google.api_core.retry.Retry]): A retry object used
348348
to retry requests. If ``None`` is specified, requests will not
349349
be retried.
@@ -409,7 +409,7 @@ def analyze_syntax(
409409
410410
If a dict is provided, it must be of the same form as the protobuf
411411
message :class:`~google.cloud.language_v1beta2.types.Document`
412-
encoding_type (~google.cloud.language_v1beta2.types.EncodingType): The encoding type used by the API to calculate offsets.
412+
encoding_type (~google.cloud.language_v1beta2.enums.EncodingType): The encoding type used by the API to calculate offsets.
413413
retry (Optional[google.api_core.retry.Retry]): A retry object used
414414
to retry requests. If ``None`` is specified, requests will not
415415
be retried.
@@ -542,7 +542,7 @@ def annotate_text(
542542
543543
If a dict is provided, it must be of the same form as the protobuf
544544
message :class:`~google.cloud.language_v1beta2.types.Features`
545-
encoding_type (~google.cloud.language_v1beta2.types.EncodingType): The encoding type used by the API to calculate offsets.
545+
encoding_type (~google.cloud.language_v1beta2.enums.EncodingType): The encoding type used by the API to calculate offsets.
546546
retry (Optional[google.api_core.retry.Retry]): A retry object used
547547
to retry requests. If ``None`` is specified, requests will not
548548
be retried.

0 commit comments

Comments
 (0)
0