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

Commit

Permalink
chore: upgrade gapic-generator-python to 0.46.3 (#45)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 373649163

Source-Link: googleapis/googleapis@7e1b14e

Source-Link: googleapis/googleapis-gen@0a3c7d2

fix: add async client to %name_%version/init.py
chore: add autogenerated snippets
chore: remove auth, policy, and options from the reserved names list
feat: support self-signed JWT flow for service accounts
chore: enable GAPIC metadata generation
chore: sort subpackages in %namespace/%name/init.py
  • Loading branch information
gcf-owl-bot[bot] authored May 14, 2021
1 parent 8448b04 commit 762c28c
Show file tree
Hide file tree
Showing 31 changed files with 1,133 additions and 686 deletions.
50 changes: 25 additions & 25 deletions google/cloud/dataqna/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -15,38 +14,39 @@
# limitations under the License.
#

from google.cloud.dataqna_v1alpha.services.auto_suggestion_service.async_client import (
AutoSuggestionServiceAsyncClient,
)
from google.cloud.dataqna_v1alpha.services.auto_suggestion_service.client import (
AutoSuggestionServiceClient,
)
from google.cloud.dataqna_v1alpha.services.question_service.async_client import (
QuestionServiceAsyncClient,
from google.cloud.dataqna_v1alpha.services.auto_suggestion_service.async_client import (
AutoSuggestionServiceAsyncClient,
)
from google.cloud.dataqna_v1alpha.services.question_service.client import (
QuestionServiceClient,
)
from google.cloud.dataqna_v1alpha.services.question_service.async_client import (
QuestionServiceAsyncClient,
)

from google.cloud.dataqna_v1alpha.types.annotated_string import AnnotatedString
from google.cloud.dataqna_v1alpha.types.auto_suggestion_service import Suggestion
from google.cloud.dataqna_v1alpha.types.auto_suggestion_service import SuggestionInfo
from google.cloud.dataqna_v1alpha.types.auto_suggestion_service import (
SuggestQueriesRequest,
)
from google.cloud.dataqna_v1alpha.types.auto_suggestion_service import (
SuggestQueriesResponse,
)
from google.cloud.dataqna_v1alpha.types.auto_suggestion_service import Suggestion
from google.cloud.dataqna_v1alpha.types.auto_suggestion_service import SuggestionInfo
from google.cloud.dataqna_v1alpha.types.auto_suggestion_service import SuggestionType
from google.cloud.dataqna_v1alpha.types.question import BigQueryJob
from google.cloud.dataqna_v1alpha.types.question import DataQuery
from google.cloud.dataqna_v1alpha.types.question import DebugFlags
from google.cloud.dataqna_v1alpha.types.question import ExecutionInfo
from google.cloud.dataqna_v1alpha.types.question import HumanReadable
from google.cloud.dataqna_v1alpha.types.question import InterpretEntity
from google.cloud.dataqna_v1alpha.types.question import InterpretError
from google.cloud.dataqna_v1alpha.types.question import Interpretation
from google.cloud.dataqna_v1alpha.types.question import InterpretationStructure
from google.cloud.dataqna_v1alpha.types.question import InterpretError
from google.cloud.dataqna_v1alpha.types.question import Question
from google.cloud.dataqna_v1alpha.types.question import InterpretEntity
from google.cloud.dataqna_v1alpha.types.question_service import CreateQuestionRequest
from google.cloud.dataqna_v1alpha.types.question_service import ExecuteQuestionRequest
from google.cloud.dataqna_v1alpha.types.question_service import GetQuestionRequest
Expand All @@ -57,30 +57,30 @@
from google.cloud.dataqna_v1alpha.types.user_feedback import UserFeedback

__all__ = (
"AnnotatedString",
"AutoSuggestionServiceAsyncClient",
"AutoSuggestionServiceClient",
"AutoSuggestionServiceAsyncClient",
"QuestionServiceClient",
"QuestionServiceAsyncClient",
"AnnotatedString",
"Suggestion",
"SuggestionInfo",
"SuggestQueriesRequest",
"SuggestQueriesResponse",
"SuggestionType",
"BigQueryJob",
"CreateQuestionRequest",
"DataQuery",
"DebugFlags",
"ExecuteQuestionRequest",
"ExecutionInfo",
"GetQuestionRequest",
"GetUserFeedbackRequest",
"HumanReadable",
"InterpretEntity",
"InterpretError",
"Interpretation",
"InterpretationStructure",
"InterpretError",
"Question",
"QuestionServiceAsyncClient",
"QuestionServiceClient",
"SuggestQueriesRequest",
"SuggestQueriesResponse",
"Suggestion",
"SuggestionInfo",
"SuggestionType",
"InterpretEntity",
"CreateQuestionRequest",
"ExecuteQuestionRequest",
"GetQuestionRequest",
"GetUserFeedbackRequest",
"UpdateUserFeedbackRequest",
"UserFeedback",
)
17 changes: 10 additions & 7 deletions google/cloud/dataqna_v1alpha/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -16,32 +15,36 @@
#

from .services.auto_suggestion_service import AutoSuggestionServiceClient
from .services.auto_suggestion_service import AutoSuggestionServiceAsyncClient
from .services.question_service import QuestionServiceClient
from .services.question_service import QuestionServiceAsyncClient

from .types.annotated_string import AnnotatedString
from .types.auto_suggestion_service import SuggestQueriesRequest
from .types.auto_suggestion_service import SuggestQueriesResponse
from .types.auto_suggestion_service import Suggestion
from .types.auto_suggestion_service import SuggestionInfo
from .types.auto_suggestion_service import SuggestQueriesRequest
from .types.auto_suggestion_service import SuggestQueriesResponse
from .types.auto_suggestion_service import SuggestionType
from .types.question import BigQueryJob
from .types.question import DataQuery
from .types.question import DebugFlags
from .types.question import ExecutionInfo
from .types.question import HumanReadable
from .types.question import InterpretEntity
from .types.question import InterpretError
from .types.question import Interpretation
from .types.question import InterpretationStructure
from .types.question import InterpretError
from .types.question import Question
from .types.question import InterpretEntity
from .types.question_service import CreateQuestionRequest
from .types.question_service import ExecuteQuestionRequest
from .types.question_service import GetQuestionRequest
from .types.question_service import GetUserFeedbackRequest
from .types.question_service import UpdateUserFeedbackRequest
from .types.user_feedback import UserFeedback


__all__ = (
"AutoSuggestionServiceAsyncClient",
"QuestionServiceAsyncClient",
"AnnotatedString",
"AutoSuggestionServiceClient",
"BigQueryJob",
Expand All @@ -58,12 +61,12 @@
"Interpretation",
"InterpretationStructure",
"Question",
"QuestionServiceClient",
"SuggestQueriesRequest",
"SuggestQueriesResponse",
"Suggestion",
"SuggestionInfo",
"SuggestionType",
"UpdateUserFeedbackRequest",
"UserFeedback",
"QuestionServiceClient",
)
97 changes: 97 additions & 0 deletions google/cloud/dataqna_v1alpha/gapic_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.cloud.dataqna_v1alpha",
"protoPackage": "google.cloud.dataqna.v1alpha",
"schema": "1.0",
"services": {
"AutoSuggestionService": {
"clients": {
"grpc": {
"libraryClient": "AutoSuggestionServiceClient",
"rpcs": {
"SuggestQueries": {
"methods": [
"suggest_queries"
]
}
}
},
"grpc-async": {
"libraryClient": "AutoSuggestionServiceAsyncClient",
"rpcs": {
"SuggestQueries": {
"methods": [
"suggest_queries"
]
}
}
}
}
},
"QuestionService": {
"clients": {
"grpc": {
"libraryClient": "QuestionServiceClient",
"rpcs": {
"CreateQuestion": {
"methods": [
"create_question"
]
},
"ExecuteQuestion": {
"methods": [
"execute_question"
]
},
"GetQuestion": {
"methods": [
"get_question"
]
},
"GetUserFeedback": {
"methods": [
"get_user_feedback"
]
},
"UpdateUserFeedback": {
"methods": [
"update_user_feedback"
]
}
}
},
"grpc-async": {
"libraryClient": "QuestionServiceAsyncClient",
"rpcs": {
"CreateQuestion": {
"methods": [
"create_question"
]
},
"ExecuteQuestion": {
"methods": [
"execute_question"
]
},
"GetQuestion": {
"methods": [
"get_question"
]
},
"GetUserFeedback": {
"methods": [
"get_user_feedback"
]
},
"UpdateUserFeedback": {
"methods": [
"update_user_feedback"
]
}
}
}
}
}
}
}
1 change: 0 additions & 1 deletion google/cloud/dataqna_v1alpha/services/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -14,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

from .client import AutoSuggestionServiceClient
from .async_client import AutoSuggestionServiceAsyncClient

Expand Down
Loading

0 comments on commit 762c28c

Please sign in to comment.