Skip to content

Commit

Permalink
fix: Allow Protobuf 5.x (#12861)
Browse files Browse the repository at this point in the history
BEGIN_COMMIT_OVERRIDE
feat: [google-cloud-discoveryengine] add Chunk resource in the search
response
feat: add NO_RELEVANT_CONTENT to Answer API
feat: support AlloyDB Connector
docs: keep the API doc up-to-date with recent changes
fix: Allow Protobuf 5.x
END_COMMIT_OVERRIDE

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 649277844

Source-Link:
googleapis/googleapis@fd7efa2

Source-Link:
googleapis/googleapis-gen@50be251
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRpc2NvdmVyeWVuZ2luZS8uT3dsQm90LnlhbWwiLCJoIjoiNTBiZTI1MTMyOWQ4ZGI1YjU1NTYyNmViZDQ4ODY3MjFmNTQ3ZDNjYyJ9

BEGIN_NESTED_COMMIT
feat: [google-cloud-discoveryengine] add Chunk resource in the search
response
feat: add NO_RELEVANT_CONTENT to Answer API
feat: support AlloyDB Connector
docs: keep the API doc up-to-date with recent changes

PiperOrigin-RevId: 649156977

Source-Link:
googleapis/googleapis@ff081c9

Source-Link:
googleapis/googleapis-gen@bbee862
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRpc2NvdmVyeWVuZ2luZS8uT3dsQm90LnlhbWwiLCJoIjoiYmJlZTg2MjU3ZTE3ZDU1MGU3OTU2ZDQyYTk1ZDljMWZlNTAyMWM4OCJ9
END_NESTED_COMMIT

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jul 4, 2024
1 parent 728b307 commit 8cf8498
Show file tree
Hide file tree
Showing 226 changed files with 4,565 additions and 1,654 deletions.
2 changes: 1 addition & 1 deletion packages/google-cloud-discoveryengine/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Python Client for Discovery Engine API
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-discoveryengine.svg
:target: https://pypi.org/project/google-cloud-discoveryengine/
.. _Discovery Engine API: https://cloud.google.com/discovery-engine/
.. _Client Library Documentation: https://cloud.google.com/python/docs/reference/discoveryengine/latest
.. _Client Library Documentation: https://cloud.google.com/python/docs/reference/discoveryengine/latest/summary_overview
.. _Product Documentation: https://cloud.google.com/discovery-engine/

Quick Start
Expand Down
5 changes: 5 additions & 0 deletions packages/google-cloud-discoveryengine/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,8 @@ For a list of all ``google-cloud-discoveryengine`` releases:
:maxdepth: 2

CHANGELOG

.. toctree::
:hidden:

summary_overview.md
22 changes: 22 additions & 0 deletions packages/google-cloud-discoveryengine/docs/summary_overview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
This is a templated file. Adding content to this file may result in it being
reverted. Instead, if you want to place additional content, create an
"overview_content.md" file in `docs/` directory. The Sphinx tool will
pick up on the content and merge the content.
]: #

# Discovery Engine API API

Overview of the APIs available for Discovery Engine API API.

## All entries

Classes, methods and properties & attributes for
Discovery Engine API API.

[classes](https://cloud.google.com/python/docs/reference/discoveryengine/latest/summary_class.html)

[methods](https://cloud.google.com/python/docs/reference/discoveryengine/latest/summary_method.html)

[properties and
attributes](https://cloud.google.com/python/docs/reference/discoveryengine/latest/summary_property.html)
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
UserEventServiceClient,
)
from .types.answer import Answer
from .types.chunk import Chunk
from .types.common import (
CustomAttribute,
IndustryVertical,
Expand All @@ -64,7 +65,7 @@
SolutionType,
UserInfo,
)
from .types.completion import SuggestionDenyListEntry
from .types.completion import CompletionSuggestion, SuggestionDenyListEntry
from .types.completion_service import CompleteQueryRequest, CompleteQueryResponse
from .types.control import Condition, Control
from .types.control_service import (
Expand Down Expand Up @@ -140,13 +141,17 @@
)
from .types.grounding import FactChunk, GroundingFact
from .types.import_config import (
AlloyDbSource,
BigQuerySource,
BigtableOptions,
BigtableSource,
CloudSqlSource,
FhirStoreSource,
FirestoreSource,
GcsSource,
ImportCompletionSuggestionsMetadata,
ImportCompletionSuggestionsRequest,
ImportCompletionSuggestionsResponse,
ImportDocumentsMetadata,
ImportDocumentsRequest,
ImportDocumentsResponse,
Expand All @@ -162,6 +167,9 @@
from .types.project import Project
from .types.project_service import ProvisionProjectMetadata, ProvisionProjectRequest
from .types.purge_config import (
PurgeCompletionSuggestionsMetadata,
PurgeCompletionSuggestionsRequest,
PurgeCompletionSuggestionsResponse,
PurgeDocumentsMetadata,
PurgeDocumentsRequest,
PurgeDocumentsResponse,
Expand Down Expand Up @@ -242,6 +250,7 @@
"SearchServiceAsyncClient",
"SiteSearchEngineServiceAsyncClient",
"UserEventServiceAsyncClient",
"AlloyDbSource",
"Answer",
"AnswerQueryRequest",
"AnswerQueryResponse",
Expand All @@ -257,12 +266,14 @@
"CheckGroundingRequest",
"CheckGroundingResponse",
"CheckGroundingSpec",
"Chunk",
"CloudSqlSource",
"CollectUserEventRequest",
"CompleteQueryRequest",
"CompleteQueryResponse",
"CompletionInfo",
"CompletionServiceClient",
"CompletionSuggestion",
"Condition",
"Control",
"ControlServiceClient",
Expand Down Expand Up @@ -329,6 +340,9 @@
"GetTargetSiteRequest",
"GroundedGenerationServiceClient",
"GroundingFact",
"ImportCompletionSuggestionsMetadata",
"ImportCompletionSuggestionsRequest",
"ImportCompletionSuggestionsResponse",
"ImportDocumentsMetadata",
"ImportDocumentsRequest",
"ImportDocumentsResponse",
Expand Down Expand Up @@ -364,6 +378,9 @@
"ProjectServiceClient",
"ProvisionProjectMetadata",
"ProvisionProjectRequest",
"PurgeCompletionSuggestionsMetadata",
"PurgeCompletionSuggestionsRequest",
"PurgeCompletionSuggestionsResponse",
"PurgeDocumentsMetadata",
"PurgeDocumentsRequest",
"PurgeDocumentsResponse",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,21 @@
"complete_query"
]
},
"ImportCompletionSuggestions": {
"methods": [
"import_completion_suggestions"
]
},
"ImportSuggestionDenyListEntries": {
"methods": [
"import_suggestion_deny_list_entries"
]
},
"PurgeCompletionSuggestions": {
"methods": [
"purge_completion_suggestions"
]
},
"PurgeSuggestionDenyListEntries": {
"methods": [
"purge_suggestion_deny_list_entries"
Expand All @@ -35,11 +45,21 @@
"complete_query"
]
},
"ImportCompletionSuggestions": {
"methods": [
"import_completion_suggestions"
]
},
"ImportSuggestionDenyListEntries": {
"methods": [
"import_suggestion_deny_list_entries"
]
},
"PurgeCompletionSuggestions": {
"methods": [
"purge_completion_suggestions"
]
},
"PurgeSuggestionDenyListEntries": {
"methods": [
"purge_suggestion_deny_list_entries"
Expand All @@ -55,11 +75,21 @@
"complete_query"
]
},
"ImportCompletionSuggestions": {
"methods": [
"import_completion_suggestions"
]
},
"ImportSuggestionDenyListEntries": {
"methods": [
"import_suggestion_deny_list_entries"
]
},
"PurgeCompletionSuggestions": {
"methods": [
"purge_completion_suggestions"
]
},
"PurgeSuggestionDenyListEntries": {
"methods": [
"purge_suggestion_deny_list_entries"
Expand Down
Loading

0 comments on commit 8cf8498

Please sign in to comment.