Skip to content

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] committed May 14, 2021
1 parent 3c92a68 commit 48ce901
Show file tree
Hide file tree
Showing 31 changed files with 1,133 additions and 686 deletions.
50 changes: 25 additions & 25 deletions packages/google-cloud-data-qna/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",
)
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",
)
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"
]
}
}
}
}
}
}
}
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 48ce901

Please sign in to comment.