From 7215ccb27e41fc25c7779d7e1c0348e05e57dca3 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 13 Apr 2022 20:31:55 -0400 Subject: [PATCH] chore: use gapic-generator-python 0.65.1 (#142) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: use gapic-generator-python 0.65.1 PiperOrigin-RevId: 441524537 Source-Link: https://github.com/googleapis/googleapis/commit/2a273915b3f70fe86c9d2a75470a0b83e48d0abf Source-Link: https://github.com/googleapis/googleapis-gen/commit/ab6756a48c89b5bcb9fb73443cb8e55d574f4643 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWI2NzU2YTQ4Yzg5YjViY2I5ZmI3MzQ0M2NiOGU1NWQ1NzRmNDY0MyJ9 * 🦉 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 --- .../snippet_metadata_dataqna_v1alpha.json | 506 +++++++++++++++++- 1 file changed, 482 insertions(+), 24 deletions(-) diff --git a/packages/google-cloud-data-qna/samples/generated_samples/snippet_metadata_dataqna_v1alpha.json b/packages/google-cloud-data-qna/samples/generated_samples/snippet_metadata_dataqna_v1alpha.json index 689aa342db19..27e0338dc41a 100644 --- a/packages/google-cloud-data-qna/samples/generated_samples/snippet_metadata_dataqna_v1alpha.json +++ b/packages/google-cloud-data-qna/samples/generated_samples/snippet_metadata_dataqna_v1alpha.json @@ -1,16 +1,57 @@ { + "clientLibrary": { + "apis": [ + { + "id": "google.cloud.dataqna.v1alpha", + "version": "v1alpha" + } + ], + "language": "PYTHON", + "name": "google-cloud-dataqna" + }, "snippets": [ { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.dataqna_v1alpha.AutoSuggestionServiceAsyncClient", + "shortName": "AutoSuggestionServiceAsyncClient" + }, + "fullName": "google.cloud.dataqna_v1alpha.AutoSuggestionServiceAsyncClient.suggest_queries", "method": { + "fullName": "google.cloud.dataqna.v1alpha.AutoSuggestionService.SuggestQueries", "service": { + "fullName": "google.cloud.dataqna.v1alpha.AutoSuggestionService", "shortName": "AutoSuggestionService" }, "shortName": "SuggestQueries" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.dataqna_v1alpha.types.SuggestQueriesRequest" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.dataqna_v1alpha.types.SuggestQueriesResponse", + "shortName": "suggest_queries" }, + "description": "Sample for SuggestQueries", "file": "dataqna_v1alpha_generated_auto_suggestion_service_suggest_queries_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "dataqna_v1alpha_generated_AutoSuggestionService_SuggestQueries_async", "segments": [ { @@ -43,18 +84,50 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "dataqna_v1alpha_generated_auto_suggestion_service_suggest_queries_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.dataqna_v1alpha.AutoSuggestionServiceClient", + "shortName": "AutoSuggestionServiceClient" + }, + "fullName": "google.cloud.dataqna_v1alpha.AutoSuggestionServiceClient.suggest_queries", "method": { + "fullName": "google.cloud.dataqna.v1alpha.AutoSuggestionService.SuggestQueries", "service": { + "fullName": "google.cloud.dataqna.v1alpha.AutoSuggestionService", "shortName": "AutoSuggestionService" }, "shortName": "SuggestQueries" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.dataqna_v1alpha.types.SuggestQueriesRequest" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.dataqna_v1alpha.types.SuggestQueriesResponse", + "shortName": "suggest_queries" }, + "description": "Sample for SuggestQueries", "file": "dataqna_v1alpha_generated_auto_suggestion_service_suggest_queries_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "dataqna_v1alpha_generated_AutoSuggestionService_SuggestQueries_sync", "segments": [ { @@ -87,19 +160,59 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "dataqna_v1alpha_generated_auto_suggestion_service_suggest_queries_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.dataqna_v1alpha.QuestionServiceAsyncClient", + "shortName": "QuestionServiceAsyncClient" + }, + "fullName": "google.cloud.dataqna_v1alpha.QuestionServiceAsyncClient.create_question", "method": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.CreateQuestion", "service": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService", "shortName": "QuestionService" }, "shortName": "CreateQuestion" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.dataqna_v1alpha.types.CreateQuestionRequest" + }, + { + "name": "parent", + "type": "str" + }, + { + "name": "question", + "type": "google.cloud.dataqna_v1alpha.types.Question" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.dataqna_v1alpha.types.Question", + "shortName": "create_question" }, + "description": "Sample for CreateQuestion", "file": "dataqna_v1alpha_generated_question_service_create_question_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "dataqna_v1alpha_generated_QuestionService_CreateQuestion_async", "segments": [ { @@ -132,18 +245,58 @@ "start": 47, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "dataqna_v1alpha_generated_question_service_create_question_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.dataqna_v1alpha.QuestionServiceClient", + "shortName": "QuestionServiceClient" + }, + "fullName": "google.cloud.dataqna_v1alpha.QuestionServiceClient.create_question", "method": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.CreateQuestion", "service": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService", "shortName": "QuestionService" }, "shortName": "CreateQuestion" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.dataqna_v1alpha.types.CreateQuestionRequest" + }, + { + "name": "parent", + "type": "str" + }, + { + "name": "question", + "type": "google.cloud.dataqna_v1alpha.types.Question" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.dataqna_v1alpha.types.Question", + "shortName": "create_question" }, + "description": "Sample for CreateQuestion", "file": "dataqna_v1alpha_generated_question_service_create_question_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "dataqna_v1alpha_generated_QuestionService_CreateQuestion_sync", "segments": [ { @@ -176,19 +329,59 @@ "start": 47, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "dataqna_v1alpha_generated_question_service_create_question_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.dataqna_v1alpha.QuestionServiceAsyncClient", + "shortName": "QuestionServiceAsyncClient" + }, + "fullName": "google.cloud.dataqna_v1alpha.QuestionServiceAsyncClient.execute_question", "method": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.ExecuteQuestion", "service": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService", "shortName": "QuestionService" }, "shortName": "ExecuteQuestion" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.dataqna_v1alpha.types.ExecuteQuestionRequest" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "interpretation_index", + "type": "int" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.dataqna_v1alpha.types.Question", + "shortName": "execute_question" }, + "description": "Sample for ExecuteQuestion", "file": "dataqna_v1alpha_generated_question_service_execute_question_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "dataqna_v1alpha_generated_QuestionService_ExecuteQuestion_async", "segments": [ { @@ -221,18 +414,58 @@ "start": 43, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "dataqna_v1alpha_generated_question_service_execute_question_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.dataqna_v1alpha.QuestionServiceClient", + "shortName": "QuestionServiceClient" + }, + "fullName": "google.cloud.dataqna_v1alpha.QuestionServiceClient.execute_question", "method": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.ExecuteQuestion", "service": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService", "shortName": "QuestionService" }, "shortName": "ExecuteQuestion" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.dataqna_v1alpha.types.ExecuteQuestionRequest" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "interpretation_index", + "type": "int" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.dataqna_v1alpha.types.Question", + "shortName": "execute_question" }, + "description": "Sample for ExecuteQuestion", "file": "dataqna_v1alpha_generated_question_service_execute_question_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "dataqna_v1alpha_generated_QuestionService_ExecuteQuestion_sync", "segments": [ { @@ -265,19 +498,55 @@ "start": 43, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "dataqna_v1alpha_generated_question_service_execute_question_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.dataqna_v1alpha.QuestionServiceAsyncClient", + "shortName": "QuestionServiceAsyncClient" + }, + "fullName": "google.cloud.dataqna_v1alpha.QuestionServiceAsyncClient.get_question", "method": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.GetQuestion", "service": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService", "shortName": "QuestionService" }, "shortName": "GetQuestion" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.dataqna_v1alpha.types.GetQuestionRequest" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.dataqna_v1alpha.types.Question", + "shortName": "get_question" }, + "description": "Sample for GetQuestion", "file": "dataqna_v1alpha_generated_question_service_get_question_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "dataqna_v1alpha_generated_QuestionService_GetQuestion_async", "segments": [ { @@ -310,18 +579,54 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "dataqna_v1alpha_generated_question_service_get_question_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.dataqna_v1alpha.QuestionServiceClient", + "shortName": "QuestionServiceClient" + }, + "fullName": "google.cloud.dataqna_v1alpha.QuestionServiceClient.get_question", "method": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.GetQuestion", "service": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService", "shortName": "QuestionService" }, "shortName": "GetQuestion" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.dataqna_v1alpha.types.GetQuestionRequest" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.dataqna_v1alpha.types.Question", + "shortName": "get_question" }, + "description": "Sample for GetQuestion", "file": "dataqna_v1alpha_generated_question_service_get_question_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "dataqna_v1alpha_generated_QuestionService_GetQuestion_sync", "segments": [ { @@ -354,19 +659,55 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "dataqna_v1alpha_generated_question_service_get_question_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.dataqna_v1alpha.QuestionServiceAsyncClient", + "shortName": "QuestionServiceAsyncClient" + }, + "fullName": "google.cloud.dataqna_v1alpha.QuestionServiceAsyncClient.get_user_feedback", "method": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.GetUserFeedback", "service": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService", "shortName": "QuestionService" }, "shortName": "GetUserFeedback" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.dataqna_v1alpha.types.GetUserFeedbackRequest" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.dataqna_v1alpha.types.UserFeedback", + "shortName": "get_user_feedback" }, + "description": "Sample for GetUserFeedback", "file": "dataqna_v1alpha_generated_question_service_get_user_feedback_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "dataqna_v1alpha_generated_QuestionService_GetUserFeedback_async", "segments": [ { @@ -399,18 +740,54 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "dataqna_v1alpha_generated_question_service_get_user_feedback_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.dataqna_v1alpha.QuestionServiceClient", + "shortName": "QuestionServiceClient" + }, + "fullName": "google.cloud.dataqna_v1alpha.QuestionServiceClient.get_user_feedback", "method": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.GetUserFeedback", "service": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService", "shortName": "QuestionService" }, "shortName": "GetUserFeedback" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.dataqna_v1alpha.types.GetUserFeedbackRequest" + }, + { + "name": "name", + "type": "str" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.dataqna_v1alpha.types.UserFeedback", + "shortName": "get_user_feedback" }, + "description": "Sample for GetUserFeedback", "file": "dataqna_v1alpha_generated_question_service_get_user_feedback_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "dataqna_v1alpha_generated_QuestionService_GetUserFeedback_sync", "segments": [ { @@ -443,19 +820,59 @@ "start": 42, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "dataqna_v1alpha_generated_question_service_get_user_feedback_sync.py" }, { + "canonical": true, "clientMethod": { "async": true, + "client": { + "fullName": "google.cloud.dataqna_v1alpha.QuestionServiceAsyncClient", + "shortName": "QuestionServiceAsyncClient" + }, + "fullName": "google.cloud.dataqna_v1alpha.QuestionServiceAsyncClient.update_user_feedback", "method": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.UpdateUserFeedback", "service": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService", "shortName": "QuestionService" }, "shortName": "UpdateUserFeedback" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.dataqna_v1alpha.types.UpdateUserFeedbackRequest" + }, + { + "name": "user_feedback", + "type": "google.cloud.dataqna_v1alpha.types.UserFeedback" + }, + { + "name": "update_mask", + "type": "google.protobuf.field_mask_pb2.FieldMask" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.dataqna_v1alpha.types.UserFeedback", + "shortName": "update_user_feedback" }, + "description": "Sample for UpdateUserFeedback", "file": "dataqna_v1alpha_generated_question_service_update_user_feedback_async.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "dataqna_v1alpha_generated_QuestionService_UpdateUserFeedback_async", "segments": [ { @@ -488,18 +905,58 @@ "start": 45, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "dataqna_v1alpha_generated_question_service_update_user_feedback_async.py" }, { + "canonical": true, "clientMethod": { + "client": { + "fullName": "google.cloud.dataqna_v1alpha.QuestionServiceClient", + "shortName": "QuestionServiceClient" + }, + "fullName": "google.cloud.dataqna_v1alpha.QuestionServiceClient.update_user_feedback", "method": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.UpdateUserFeedback", "service": { + "fullName": "google.cloud.dataqna.v1alpha.QuestionService", "shortName": "QuestionService" }, "shortName": "UpdateUserFeedback" - } + }, + "parameters": [ + { + "name": "request", + "type": "google.cloud.dataqna_v1alpha.types.UpdateUserFeedbackRequest" + }, + { + "name": "user_feedback", + "type": "google.cloud.dataqna_v1alpha.types.UserFeedback" + }, + { + "name": "update_mask", + "type": "google.protobuf.field_mask_pb2.FieldMask" + }, + { + "name": "retry", + "type": "google.api_core.retry.Retry" + }, + { + "name": "timeout", + "type": "float" + }, + { + "name": "metadata", + "type": "Sequence[Tuple[str, str]" + } + ], + "resultType": "google.cloud.dataqna_v1alpha.types.UserFeedback", + "shortName": "update_user_feedback" }, + "description": "Sample for UpdateUserFeedback", "file": "dataqna_v1alpha_generated_question_service_update_user_feedback_sync.py", + "language": "PYTHON", + "origin": "API_DEFINITION", "regionTag": "dataqna_v1alpha_generated_QuestionService_UpdateUserFeedback_sync", "segments": [ { @@ -532,7 +989,8 @@ "start": 45, "type": "RESPONSE_HANDLING" } - ] + ], + "title": "dataqna_v1alpha_generated_question_service_update_user_feedback_sync.py" } ] }