8000 docs: Add documentation for enums (#611) · googleapis/google-cloud-python@8ff3a4f · GitHub
[go: up one dir, main page]

Skip to content

Commit 8ff3a4f

Browse files
docs: Add documentation for enums (#611)
* docs: Add documentation for enums fix: Add context manager return types chore: Update gapic-generator-python to v1.8.1 PiperOrigin-RevId: 503210727 Source-Link: googleapis/googleapis@a391fd1 Source-Link: googleapis/googleapis-gen@0080f83 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDA4MGY4MzBkZWMzN2MzMzg0MTU3MDgyYmNlMjc5ZTM3MDc5ZWE1OCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent c6f79cb commit 8ff3a4f

File tree

67 files changed

+1437
-93
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+1437
-93
lines changed

packages/google-cloud-dialogflow/google/cloud/dialogflow_v2/services/agents/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1494,7 +1494,7 @@ def sample_get_validation_result():
14941494
# Done; return the response.
14951495
return response
14961496

1497-
def __enter__(self):
1497+
def __enter__(self) -> "AgentsClient":
14981498
return self
14991499

15001500
def __exit__(self, type, value, traceback):

packages/google-cloud-dialogflow/google/cloud/dialogflow_v2/services/answer_records/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ def sample_update_answer_record():
705705
# Done; return the response.
706706
return response
707707

708-
def __enter__(self):
708+
def __enter__(self) -> "AnswerRecordsClient":
709709
return self
710710

711711
def __exit__(self, type, value, traceback):

packages/google-cloud-dialogflow/google/cloud/dialogflow_v2/services/contexts/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,7 @@ def sample_delete_all_contexts():
11481148
metadata=metadata,
11491149
)
11501150

1151-
def __enter__(self):
1151+
def __enter__(self) -> "ContextsClient":
11521152
return self
11531153

11541154
def __exit__(self, type, value, traceback):

packages/google-cloud-dialogflow/google/cloud/dialogflow_v2/services/conversation_datasets/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,7 @@ def sample_import_conversation_data():
10921092
# Done; return the response.
10931093
return response
10941094

1095-
def __enter__(self):
1095+
def __enter__(self) -> "ConversationDatasetsClient":
10961096
return self
10971097

10981098
def __exit__(self, type, value, traceback):

packages/google-cloud-dialogflow/google/cloud/dialogflow_v2/services/conversation_models/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1631,7 +1631,7 @@ def sample_create_conversation_model_evaluation():
16311631
# Done; return the response.
16321632
return response
16331633

1634-
def __enter__(self):
1634+
def __enter__(self) -> "ConversationModelsClient":
16351635
return self
16361636

16371637
def __exit__(self, type, value, traceback):

packages/google-cloud-dialogflow/google/cloud/dialogflow_v2/services/conversation_profiles/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1432,7 +1432,7 @@ def sample_clear_suggestion_feature_config():
14321432
# Done; return the response.
14331433
return response
14341434

1435-
def __enter__(self):
1435+
def __enter__(self) -> "ConversationProfilesClient":
14361436
return self
14371437

14381438
def __exit__(self, type, value, traceback):

packages/google-cloud-dialogflow/google/cloud/dialogflow_v2/services/conversations/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,7 @@ def sample_suggest_conversation_summary():
12141214
# Done; return the response.
12151215
return response
12161216

1217-
def __enter__(self):
1217+
def __enter__(self) -> "ConversationsClient":
12181218
return self
12191219

12201220
def __exit__(self, type, value, traceback):

packages/google-cloud-dialogflow/google/cloud/dialogflow_v2/services/documents/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1487,7 +1487,7 @@ def sample_export_document():
14871487
# Done; return the response.
14881488
return response
14891489

1490-
def __enter__(self):
1490+
def __enter__(self) -> "DocumentsClient":
14911491
return self
14921492

14931493
def __exit__(self, type, value, traceback):

packages/google-cloud-dialogflow/google/cloud/dialogflow_v2/services/entity_types/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1843,7 +1843,7 @@ def sample_batch_delete_entities():
18431843
# Done; return the response.
18441844
return response
18451845

1846-
def __enter__(self):
1846+
def __enter__(self) -> "EntityTypesClient":
18471847
return self
18481848

18491849
def __exit__(self, type, value, traceback):

packages/google-cloud-dialogflow/google/cloud/dialogflow_v2/services/environments/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@ def sample_get_environment_history():
10731073
# Done; return the response.
10741074
return response
10751075

1076-
def __enter__(self):
1076+
def __enter__(self) -> "EnvironmentsClient":
10771077
return self
10781078

10791079
def __exit__(self, type, value, traceback):

0 commit comments

Comments
 (0)
0