Skip to content

Commit 55b9528

Browse files
feat: [google-cloud-discoveryengine] add AssistantService (#14133)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 785997711 Source-Link: googleapis/googleapis@29c6015 Source-Link: googleapis/googleapis-gen@ceba1d4 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRpc2NvdmVyeWVuZ2luZS8uT3dsQm90LnlhbWwiLCJoIjoiY2ViYTFkNGNiOTM3MmNhMjUxNzhiNzg5ZmQ0ODAwNDUxMjhhM2RkMyJ9 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 6e560b6 commit 55b9528

29 files changed

+8524
-7
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
AssistantService
2+
----------------------------------
3+
4+
.. automodule:: google.cloud.discoveryengine_v1.services.assistant_service
5+
:members:
6+
:inherited-members:

packages/google-cloud-discoveryengine/docs/discoveryengine_v1/services_.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Services for Google Cloud Discoveryengine v1 API
33
.. toctree::
44
:maxdepth: 2
55

6+
assistant_service
67
cmek_config_service
78
completion_service
89
control_service

packages/google-cloud-discoveryengine/google/cloud/discoveryengine/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.13.9" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-discoveryengine/google/cloud/discoveryengine_v1/__init__.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
__version__ = package_version.__version__
1919

2020

21+
from .services.assistant_service import (
22+
AssistantServiceAsyncClient,
23+
AssistantServiceClient,
24+
)
2125
from .services.cmek_config_service import (
2226
CmekConfigServiceAsyncClient,
2327
CmekConfigServiceClient,
@@ -74,6 +78,17 @@
7478
UserLicenseServiceClient,
7579
)
7680
from .types.answer import Answer
81+
from .types.assist_answer import (
82+
AssistAnswer,
83+
AssistantContent,
84+
AssistantGroundedContent,
85+
)
86+
from .types.assistant import Assistant
87+
from .types.assistant_service import (
88+
AssistUserMetadata,
89+
StreamAssistRequest,
90+
StreamAssistResponse,
91+
)
7792
from .types.chunk import Chunk
7893
from .types.cmek_config_service import (
7994
CmekConfig,
@@ -325,6 +340,7 @@
325340
)
326341

327342
__all__ = (
343+
"AssistantServiceAsyncClient",
328344
"CmekConfigServiceAsyncClient",
329345
"CompletionServiceAsyncClient",
330346
"ControlServiceAsyncClient",
@@ -349,6 +365,12 @@
349365
"Answer",
350366
"AnswerQueryRequest",
351367
"AnswerQueryResponse",
368+
"AssistAnswer",
369+
"AssistUserMetadata",
370+
"Assistant",
371+
"AssistantContent",
372+
"AssistantGroundedContent",
373+
"AssistantServiceClient",
352374
"BatchCreateTargetSiteMetadata",
353375
"BatchCreateTargetSitesRequest",
354376
"BatchCreateTargetSitesResponse",
@@ -565,6 +587,8 @@
565587
"Sitemap",
566588
"SolutionType",
567589
"SpannerSource",
590+
"StreamAssistRequest",
591+
"StreamAssistResponse",
568592
"SuggestionDenyListEntry",
569593
"TargetSite",
570594
"TextInput",

packages/google-cloud-discoveryengine/google/cloud/discoveryengine_v1/gapic_metadata.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,40 @@
55
"protoPackage": "google.cloud.discoveryengine.v1",
66
"schema": "1.0",
77
"services": {
8+
"AssistantService": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "AssistantServiceClient",
12+
"rpcs": {
13+
"StreamAssist": {
14+
"methods": [
15+
"stream_assist"
16+
]
17+
}
18+
}
19+
},
20+
"grpc-async": {
21+
"libraryClient": "AssistantServiceAsyncClient",
22+
"rpcs": {
23+
"StreamAssist": {
24+
"methods": [
25+
"stream_assist"
26+
]
27+
}
28+
}
29+
},
30+
"rest": {
31+
"libraryClient": "AssistantServiceClient",
32+
"rpcs": {
33+
"StreamAssist": {
34+
"methods": [
35+
"stream_assist"
36+
]
37+
}
38+
}
39+
}
40+
}
41+
},
842
"CmekConfigService": {
943
"clients": {
1044
"grpc": {

packages/google-cloud-discoveryengine/google/cloud/discoveryengine_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.13.9" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2025 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
from .async_client import AssistantServiceAsyncClient
17+
from .client import AssistantServiceClient
18+
19+
__all__ = (
20+
"AssistantServiceClient",
21+
"AssistantServiceAsyncClient",
22+
)

0 commit comments

Comments
 (0)