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

feat(v3): added API for changelogs #197

Merged
merged 2 commits into from Oct 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/dialogflowcx_v3/changelogs.rst
@@ -0,0 +1,10 @@
Changelogs
----------------------------

.. automodule:: google.cloud.dialogflowcx_v3.services.changelogs
:members:
:inherited-members:

.. automodule:: google.cloud.dialogflowcx_v3.services.changelogs.pagers
:members:
:inherited-members:
1 change: 1 addition & 0 deletions docs/dialogflowcx_v3/services.rst
Expand Up @@ -4,6 +4,7 @@ Services for Google Cloud Dialogflowcx v3 API
:maxdepth: 2

agents
changelogs
deployments
entity_types
environments
Expand Down
14 changes: 14 additions & 0 deletions google/cloud/dialogflowcx/__init__.py
Expand Up @@ -16,6 +16,10 @@

from google.cloud.dialogflowcx_v3.services.agents.client import AgentsClient
from google.cloud.dialogflowcx_v3.services.agents.async_client import AgentsAsyncClient
from google.cloud.dialogflowcx_v3.services.changelogs.client import ChangelogsClient
from google.cloud.dialogflowcx_v3.services.changelogs.async_client import (
ChangelogsAsyncClient,
)
from google.cloud.dialogflowcx_v3.services.deployments.client import DeploymentsClient
from google.cloud.dialogflowcx_v3.services.deployments.async_client import (
DeploymentsAsyncClient,
Expand Down Expand Up @@ -99,6 +103,10 @@
from google.cloud.dialogflowcx_v3.types.audio_config import OutputAudioEncoding
from google.cloud.dialogflowcx_v3.types.audio_config import SpeechModelVariant
from google.cloud.dialogflowcx_v3.types.audio_config import SsmlVoiceGender
from google.cloud.dialogflowcx_v3.types.changelog import Changelog
from google.cloud.dialogflowcx_v3.types.changelog import GetChangelogRequest
from google.cloud.dialogflowcx_v3.types.changelog import ListChangelogsRequest
from google.cloud.dialogflowcx_v3.types.changelog import ListChangelogsResponse
from google.cloud.dialogflowcx_v3.types.deployment import Deployment
from google.cloud.dialogflowcx_v3.types.deployment import GetDeploymentRequest
from google.cloud.dialogflowcx_v3.types.deployment import ListDeploymentsRequest
Expand Down Expand Up @@ -323,6 +331,8 @@
__all__ = (
"AgentsClient",
"AgentsAsyncClient",
"ChangelogsClient",
"ChangelogsAsyncClient",
"DeploymentsClient",
"DeploymentsAsyncClient",
"EntityTypesClient",
Expand Down Expand Up @@ -375,6 +385,10 @@
"OutputAudioEncoding",
"SpeechModelVariant",
"SsmlVoiceGender",
"Changelog",
"GetChangelogRequest",
"ListChangelogsRequest",
"ListChangelogsResponse",
"Deployment",
"GetDeploymentRequest",
"ListDeploymentsRequest",
Expand Down
12 changes: 12 additions & 0 deletions google/cloud/dialogflowcx_v3/__init__.py
Expand Up @@ -16,6 +16,8 @@

from .services.agents import AgentsClient
from .services.agents import AgentsAsyncClient
from .services.changelogs import ChangelogsClient
from .services.changelogs import ChangelogsAsyncClient
from .services.deployments import DeploymentsClient
from .services.deployments import DeploymentsAsyncClient
from .services.entity_types import EntityTypesClient
Expand Down Expand Up @@ -69,6 +71,10 @@
from .types.audio_config import OutputAudioEncoding
from .types.audio_config import SpeechModelVariant
from .types.audio_config import SsmlVoiceGender
from .types.changelog import Changelog
from .types.changelog import GetChangelogRequest
from .types.changelog import ListChangelogsRequest
from .types.changelog import ListChangelogsResponse
from .types.deployment import Deployment
from .types.deployment import GetDeploymentRequest
from .types.deployment import ListDeploymentsRequest
Expand Down Expand Up @@ -246,6 +252,7 @@

__all__ = (
"AgentsAsyncClient",
"ChangelogsAsyncClient",
"DeploymentsAsyncClient",
"EntityTypesAsyncClient",
"EnvironmentsAsyncClient",
Expand All @@ -272,6 +279,8 @@
"BatchRunTestCasesResponse",
"CalculateCoverageRequest",
"CalculateCoverageResponse",
"Changelog",
"ChangelogsClient",
"ContinuousTestResult",
"ConversationTurn",
"CreateAgentRequest",
Expand Down Expand Up @@ -332,6 +341,7 @@
"Fulfillment",
"GetAgentRequest",
"GetAgentValidationResultRequest",
"GetChangelogRequest",
"GetDeploymentRequest",
"GetEntityTypeRequest",
"GetEnvironmentRequest",
Expand Down Expand Up @@ -360,6 +370,8 @@
"IntentsClient",
"ListAgentsRequest",
"ListAgentsResponse",
"ListChangelogsRequest",
"ListChangelogsResponse",
"ListContinuousTestResultsRequest",
"ListContinuousTestResultsResponse",
"ListDeploymentsRequest",
Expand Down
34 changes: 34 additions & 0 deletions google/cloud/dialogflowcx_v3/gapic_metadata.json
Expand Up @@ -109,6 +109,40 @@
}
}
},
"Changelogs": {
"clients": {
"grpc": {
"libraryClient": "ChangelogsClient",
"rpcs": {
"GetChangelog": {
"methods": [
"get_changelog"
]
},
"ListChangelogs": {
"methods": [
"list_changelogs"
]
}
}
},
"grpc-async": {
"libraryClient": "ChangelogsAsyncClient",
"rpcs": {
"GetChangelog": {
"methods": [
"get_changelog"
]
},
"ListChangelogs": {
"methods": [
"list_changelogs"
]
}
}
}
}
},
"Deployments": {
"clients": {
"grpc": {
Expand Down
22 changes: 22 additions & 0 deletions google/cloud/dialogflowcx_v3/services/changelogs/__init__.py
@@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
from .client import ChangelogsClient
from .async_client import ChangelogsAsyncClient

__all__ = (
"ChangelogsClient",
"ChangelogsAsyncClient",
)