Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.

Commit 4f41653

Browse files
feat(v3): added API for changelogs (#197)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 404644767 Source-Link: googleapis/googleapis@55fd11b Source-Link: https://github.com/googleapis/googleapis-gen/commit/c9d05e32d9c549b7ce50bd411ae4fc37d7b390e0 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzlkMDVlMzJkOWM1NDliN2NlNTBiZDQxMWFlNGZjMzdkN2IzOTBlMCJ9 docs(v3): clarified semantic of the streaming APIs
1 parent dfefa4e commit 4f41653

File tree

19 files changed

+3856
-75
lines changed

19 files changed

+3856
-75
lines changed

docs/dialogflowcx_v3/changelogs.rst

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Changelogs
2+
----------------------------
3+
4+
.. automodule:: google.cloud.dialogflowcx_v3.services.changelogs
5+
:members:
6+
:inherited-members:
7+
8+
.. automodule:: google.cloud.dialogflowcx_v3.services.changelogs.pagers
9+
:members:
10+
:inherited-members:

docs/dialogflowcx_v3/services.rst

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Services for Google Cloud Dialogflowcx v3 API
44
:maxdepth: 2
55

66
agents
7+
changelogs
78
deployments
89
entity_types
910
environments

google/cloud/dialogflowcx/__init__.py

+14
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616

1717
from google.cloud.dialogflowcx_v3.services.agents.client import AgentsClient
1818
from google.cloud.dialogflowcx_v3.services.agents.async_client import AgentsAsyncClient
19+
from google.cloud.dialogflowcx_v3.services.changelogs.client import ChangelogsClient
20+
from google.cloud.dialogflowcx_v3.services.changelogs.async_client import (
21+
ChangelogsAsyncClient,
22+
)
1923
from google.cloud.dialogflowcx_v3.services.deployments.client import DeploymentsClient
2024
from google.cloud.dialogflowcx_v3.services.deployments.async_client import (
2125
DeploymentsAsyncClient,
@@ -99,6 +103,10 @@
99103
from google.cloud.dialogflowcx_v3.types.audio_config import OutputAudioEncoding
100104
from google.cloud.dialogflowcx_v3.types.audio_config import SpeechModelVariant
101105
from google.cloud.dialogflowcx_v3.types.audio_config import SsmlVoiceGender
106+
from google.cloud.dialogflowcx_v3.types.changelog import Changelog
107+
from google.cloud.dialogflowcx_v3.types.changelog import GetChangelogRequest
108+
from google.cloud.dialogflowcx_v3.types.changelog import ListChangelogsRequest
109+
from google.cloud.dialogflowcx_v3.types.changelog import ListChangelogsResponse
102110
from google.cloud.dialogflowcx_v3.types.deployment import Deployment
103111
from google.cloud.dialogflowcx_v3.types.deployment import GetDeploymentRequest
104112
from google.cloud.dialogflowcx_v3.types.deployment import ListDeploymentsRequest
@@ -323,6 +331,8 @@
323331
__all__ = (
324332
"AgentsClient",
325333
"AgentsAsyncClient",
334+
"ChangelogsClient",
335+
"ChangelogsAsyncClient",
326336
"DeploymentsClient",
327337
"DeploymentsAsyncClient",
328338
"EntityTypesClient",
@@ -375,6 +385,10 @@
375385
"OutputAudioEncoding",
376386
"SpeechModelVariant",
377387
"SsmlVoiceGender",
388+
"Changelog",
389+
"GetChangelogRequest",
390+
"ListChangelogsRequest",
391+
"ListChangelogsResponse",
378392
"Deployment",
379393
"GetDeploymentRequest",
380394
"ListDeploymentsRequest",

google/cloud/dialogflowcx_v3/__init__.py

+12
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
from .services.agents import AgentsClient
1818
from .services.agents import AgentsAsyncClient
19+
from .services.changelogs import ChangelogsClient
20+
from .services.changelogs import ChangelogsAsyncClient
1921
from .services.deployments import DeploymentsClient
2022
from .services.deployments import DeploymentsAsyncClient
2123
from .services.entity_types import EntityTypesClient
@@ -69,6 +71,10 @@
6971
from .types.audio_config import OutputAudioEncoding
7072
from .types.audio_config import SpeechModelVariant
7173
from .types.audio_config import SsmlVoiceGender
74+
from .types.changelog import Changelog
75+
from .types.changelog import GetChangelogRequest
76+
from .types.changelog import ListChangelogsRequest
77+
from .types.changelog import ListChangelogsResponse
7278
from .types.deployment import Deployment
7379
from .types.deployment import GetDeploymentRequest
7480
from .types.deployment import ListDeploymentsRequest
@@ -246,6 +252,7 @@
246252

247253
__all__ = (
248254
"AgentsAsyncClient",
255+
"ChangelogsAsyncClient",
249256
"DeploymentsAsyncClient",
250257
"EntityTypesAsyncClient",
251258
"EnvironmentsAsyncClient",
@@ -272,6 +279,8 @@
272279
"BatchRunTestCasesResponse",
273280
"CalculateCoverageRequest",
274281
"CalculateCoverageResponse",
282+
"Changelog",
283+
"ChangelogsClient",
275284
"ContinuousTestResult",
276285
"ConversationTurn",
277286
"CreateAgentRequest",
@@ -332,6 +341,7 @@
332341
"Fulfillment",
333342
"GetAgentRequest",
334343
"GetAgentValidationResultRequest",
344+
"GetChangelogRequest",
335345
"GetDeploymentRequest",
336346
"GetEntityTypeRequest",
337347
"GetEnvironmentRequest",
@@ -360,6 +370,8 @@
360370
"IntentsClient",
361371
"ListAgentsRequest",
362372
"ListAgentsResponse",
373+
"ListChangelogsRequest",
374+
"ListChangelogsResponse",
363375
"ListContinuousTestResultsRequest",
364376
"ListContinuousTestResultsResponse",
365377
"ListDeploymentsRequest",

google/cloud/dialogflowcx_v3/gapic_metadata.json

+34
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,40 @@
109109
}
110110
}
111111
},
112+
"Changelogs": {
113+
"clients": {
114+
"grpc": {
115+
"libraryClient": "ChangelogsClient",
116+
"rpcs": {
117+
"GetChangelog": {
118+
"methods": [
119+
"get_changelog"
120+
]
121+
},
122+
"ListChangelogs": {
123+
"methods": [
124+
"list_changelogs"
125+
]
126+
}
127+
}
128+
},
129+
"grpc-async": {
130+
"libraryClient": "ChangelogsAsyncClient",
131+
"rpcs": {
132+
"GetChangelog": {
133+
"methods": [
134+
"get_changelog"
135+
]
136+
},
137+
"ListChangelogs": {
138+
"methods": [
139+
"list_changelogs"
140+
]
141+
}
142+
}
143+
}
144+
}
145+
},
112146
"Deployments": {
113147
"clients": {
114148
"grpc": {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2020 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 .client import ChangelogsClient
17+
from .async_client import ChangelogsAsyncClient
18+
19+
__all__ = (
20+
"ChangelogsClient",
21+
"ChangelogsAsyncClient",
22+
)

0 commit comments

Comments
 (0)