Skip to content

Commit 1c29fd1

Browse files
chore: Prepare for mono repository migration (#518)
* chore: Prepare for mono repository migration * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 143694f commit 1c29fd1

File tree

372 files changed

+3533
-3761
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

372 files changed

+3533
-3761
lines changed

packages/google-cloud-dialogflow-cx/docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
# All configuration values have a default; values that are commented out
2525
# serve to show the default.
2626

27-
import sys
2827
import os
2928
import shlex
29+
import sys
3030

3131
# If extensions (or modules to document with autodoc) are in another directory,
3232
# add these directories to sys.path here. If the directory is relative to the

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx/__init__.py

Lines changed: 230 additions & 241 deletions
Large diffs are not rendered by default.

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx_v3/__init__.py

Lines changed: 262 additions & 237 deletions
Large diffs are not rendered by default.

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx_v3/services/agents/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
from .client import AgentsClient
1716
from .async_client import AgentsAsyncClient
17+
from .client import AgentsClient
1818

1919
__all__ = (
2020
"AgentsClient",

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx_v3/services/agents/async_client.py

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,36 +28,37 @@
2828
Union,
2929
)
3030

31-
from google.cloud.dialogflowcx_v3 import gapic_version as package_version
32-
33-
from google.api_core.client_options import ClientOptions
3431
from google.api_core import exceptions as core_exceptions
3532
from google.api_core import gapic_v1
3633
from google.api_core import retry as retries
34+
from google.api_core.client_options import ClientOptions
3735
from google.auth import credentials as ga_credentials # type: ignore
3836
from google.oauth2 import service_account # type: ignore
3937

38+
from google.cloud.dialogflowcx_v3 import gapic_version as package_version
39+
4040
try:
4141
OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault]
4242
except AttributeError: # pragma: NO COVER
4343
OptionalRetry = Union[retries.Retry, object] # type: ignore
4444

4545
from google.api_core import operation # type: ignore
4646
from google.api_core import operation_async # type: ignore
47-
from google.cloud.dialogflowcx_v3.services.agents import pagers
48-
from google.cloud.dialogflowcx_v3.types import advanced_settings
49-
from google.cloud.dialogflowcx_v3.types import agent
50-
from google.cloud.dialogflowcx_v3.types import agent as gcdc_agent
51-
from google.cloud.dialogflowcx_v3.types import audio_config
52-
from google.cloud.dialogflowcx_v3.types import flow
5347
from google.cloud.location import locations_pb2 # type: ignore
5448
from google.longrunning import operations_pb2
5549
from google.protobuf import empty_pb2 # type: ignore
5650
from google.protobuf import field_mask_pb2 # type: ignore
5751
from google.protobuf import struct_pb2 # type: ignore
58-
from .transports.base import AgentsTransport, DEFAULT_CLIENT_INFO
59-
from .transports.grpc_asyncio import AgentsGrpcAsyncIOTransport
52+
53+
from google.cloud.dialogflowcx_v3.services.agents import pagers
54+
from google.cloud.dialogflowcx_v3.types import advanced_settings
55+
from google.cloud.dialogflowcx_v3.types import agent
56+
from google.cloud.dialogflowcx_v3.types import agent as gcdc_agent
57+
from google.cloud.dialogflowcx_v3.types import audio_config, flow
58+
6059
from .client import AgentsClient
60+
from .transports.base import DEFAULT_CLIENT_INFO, AgentsTransport
61+
from .transports.grpc_asyncio import AgentsGrpcAsyncIOTransport
6162

6263

6364
class AgentsAsyncClient:

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx_v3/services/agents/client.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,37 +29,38 @@
2929
cast,
3030
)
3131

32-
from google.cloud.dialogflowcx_v3 import gapic_version as package_version
33-
3432
from google.api_core import client_options as client_options_lib
3533
from google.api_core import exceptions as core_exceptions
3634
from google.api_core import gapic_v1
3735
from google.api_core import retry as retries
3836
from google.auth import credentials as ga_credentials # type: ignore
37+
from google.auth.exceptions import MutualTLSChannelError # type: ignore
3938
from google.auth.transport import mtls # type: ignore
4039
from google.auth.transport.grpc import SslCredentials # type: ignore
41-
from google.auth.exceptions import MutualTLSChannelError # type: ignore
4240
from google.oauth2 import service_account # type: ignore
4341

42+
from google.cloud.dialogflowcx_v3 import gapic_version as package_version
43+
4444
try:
4545
OptionalRetry = Union[retries.Retry, gapic_v1.method._MethodDefault]
4646
except AttributeError: # pragma: NO COVER
4747
OptionalRetry = Union[retries.Retry, object] # type: ignore
4848

4949
from google.api_core import operation # type: ignore
5050
from google.api_core import operation_async # type: ignore
51-
from google.cloud.dialogflowcx_v3.services.agents import pagers
52-
from google.cloud.dialogflowcx_v3.types import advanced_settings
53-
from google.cloud.dialogflowcx_v3.types import agent
54-
from google.cloud.dialogflowcx_v3.types import agent as gcdc_agent
55-
from google.cloud.dialogflowcx_v3.types import audio_config
56-
from google.cloud.dialogflowcx_v3.types import flow
5751
from google.cloud.location import locations_pb2 # type: ignore
5852
from google.longrunning import operations_pb2
5953
from google.protobuf import empty_pb2 # type: ignore
6054
from google.protobuf import field_mask_pb2 # type: ignore
6155
from google.protobuf import struct_pb2 # type: ignore
62-
from .transports.base import AgentsTransport, DEFAULT_CLIENT_INFO
56+
57+
from google.cloud.dialogflowcx_v3.services.agents import pagers
58+
from google.cloud.dialogflowcx_v3.types import advanced_settings
59+
from google.cloud.dialogflowcx_v3.types import agent
60+
from google.cloud.dialogflowcx_v3.types import agent as gcdc_agent
61+
from google.cloud.dialogflowcx_v3.types import audio_config, flow
62+
63+
from .transports.base import DEFAULT_CLIENT_INFO, AgentsTransport
6364
from .transports.grpc import AgentsGrpcTransport
6465
from .transports.grpc_asyncio import AgentsGrpcAsyncIOTransport
6566
from .transports.rest import AgentsRestTransport

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx_v3/services/agents/pagers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
AsyncIterator,
1919
Awaitable,
2020
Callable,
21+
Iterator,
22+
Optional,
2123
Sequence,
2224
Tuple,
23-
Optional,
24-
Iterator,
2525
)
2626

2727
from google.cloud.dialogflowcx_v3.types import agent

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx_v3/services/agents/transports/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@
1919
from .base import AgentsTransport
2020
from .grpc import AgentsGrpcTransport
2121
from .grpc_asyncio import AgentsGrpcAsyncIOTransport
22-
from .rest import AgentsRestTransport
23-
from .rest import AgentsRestInterceptor
24-
22+
from .rest import AgentsRestInterceptor, AgentsRestTransport
2523

2624
# Compile a registry of transports.
2725
_transport_registry = OrderedDict() # type: Dict[str, Type[AgentsTransport]]

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx_v3/services/agents/transports/base.py

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,20 @@
1616
import abc
1717
from typing import Awaitable, Callable, Dict, Optional, Sequence, Union
1818

19-
from google.cloud.dialogflowcx_v3 import gapic_version as package_version
20-
21-
import google.auth # type: ignore
2219
import google.api_core
2320
from google.api_core import exceptions as core_exceptions
24-
from google.api_core import gapic_v1
21+
from google.api_core import gapic_v1, operations_v1
2522
from google.api_core import retry as retries
26-
from google.api_core import operations_v1
23+
import google.auth # type: ignore
2724
from google.auth import credentials as ga_credentials # type: ignore
25+
from google.cloud.location import locations_pb2 # type: ignore
26+
from google.longrunning import operations_pb2 # type: ignore
2827
from google.oauth2 import service_account # type: ignore
28+
from google.protobuf import empty_pb2 # type: ignore
2929

30+
from google.cloud.dialogflowcx_v3 import gapic_version as package_version
3031
from google.cloud.dialogflowcx_v3.types import agent
3132
from google.cloud.dialogflowcx_v3.types import agent as gcdc_agent
32-
from google.cloud.location import locations_pb2 # type: ignore
33-
from google.longrunning import operations_pb2
34-
from google.longrunning import operations_pb2 # type: ignore
35-
from google.protobuf import empty_pb2 # type: ignore
3633

3734
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
3835
gapic_version=package_version.__version__

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx_v3/services/agents/transports/grpc.py

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,22 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
import warnings
1716
from typing import Callable, Dict, Optional, Sequence, Tuple, Union
17+
import warnings
1818

19-
from google.api_core import grpc_helpers
20-
from google.api_core import operations_v1
21-
from google.api_core import gapic_v1
19+
from google.api_core import gapic_v1, grpc_helpers, operations_v1
2220
import google.auth # type: ignore
2321
from google.auth import credentials as ga_credentials # type: ignore
2422
from google.auth.transport.grpc import SslCredentials # type: ignore
25-
23+
from google.cloud.location import locations_pb2 # type: ignore
24+
from google.longrunning import operations_pb2 # type: ignore
25+
from google.protobuf import empty_pb2 # type: ignore
2626
import grpc # type: ignore
2727

2828
from google.cloud.dialogflowcx_v3.types import agent
2929
from google.cloud.dialogflowcx_v3.types import agent as gcdc_agent
30-
from google.cloud.location import locations_pb2 # type: ignore
31-
from google.longrunning import operations_pb2
32-
from google.longrunning import operations_pb2 # type: ignore
33-
from google.protobuf import empty_pb2 # type: ignore
34-
from .base import AgentsTransport, DEFAULT_CLIENT_INFO
30+
31+
from .base import DEFAULT_CLIENT_INFO, AgentsTransport
3532

3633

3734
class AgentsGrpcTransport(AgentsTransport):

0 commit comments

Comments
 (0)