Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.65.1 (#508)
Browse files Browse the repository at this point in the history
* chore: use gapic-generator-python 0.65.1

PiperOrigin-RevId: 441524537

Source-Link: googleapis/googleapis@2a27391

Source-Link: googleapis/googleapis-gen@ab6756a
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWI2NzU2YTQ4Yzg5YjViY2I5ZmI3MzQ0M2NiOGU1NWQ1NzRmNDY0MyJ9

* 🦉 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Apr 14, 2022
1 parent 903f77b commit b411f6c
Show file tree
Hide file tree
Showing 174 changed files with 17,400 additions and 1,744 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from collections import OrderedDict
import functools
import re
from typing import Dict, Optional, Sequence, Tuple, Type, Union
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
import pkg_resources

from google.api_core.client_options import ClientOptions
Expand Down Expand Up @@ -317,7 +317,6 @@ async def set_agent(
queries. See the `training
documentation <https://cloud.google.com/dialogflow/es/docs/training>`__.
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down Expand Up @@ -517,7 +516,6 @@ async def search_agents(
wildcard project collection id "-". Refer to `List
Sub-Collections <https://cloud.google.com/apis/design/design_patterns#list_sub-collections>`__.
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down Expand Up @@ -640,7 +638,6 @@ async def train_agent(
queries. See the `training
documentation <https://cloud.google.com/dialogflow/es/docs/training>`__.
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down Expand Up @@ -771,7 +768,6 @@ async def export_agent(
- ``response``:
[ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down Expand Up @@ -911,7 +907,6 @@ async def import_agent(
queries. See the `training
documentation <https://cloud.google.com/dialogflow/es/docs/training>`__.
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down Expand Up @@ -1037,7 +1032,6 @@ async def restore_agent(
queries. See the `training
documentation <https://cloud.google.com/dialogflow/es/docs/training>`__.
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down Expand Up @@ -1139,7 +1133,6 @@ async def get_validation_result(
performed during training time and is updated
automatically when training is completed.
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from collections import OrderedDict
import os
import re
from typing import Dict, Optional, Sequence, Tuple, Type, Union
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
import pkg_resources

from google.api_core import client_options as client_options_lib
Expand Down Expand Up @@ -542,7 +542,6 @@ def set_agent(
queries. See the `training
documentation <https://cloud.google.com/dialogflow/es/docs/training>`__.
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down Expand Up @@ -742,7 +741,6 @@ def search_agents(
wildcard project collection id "-". Refer to `List
Sub-Collections <https://cloud.google.com/apis/design/design_patterns#list_sub-collections>`__.
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down Expand Up @@ -865,7 +863,6 @@ def train_agent(
queries. See the `training
documentation <https://cloud.google.com/dialogflow/es/docs/training>`__.
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down Expand Up @@ -996,7 +993,6 @@ def export_agent(
- ``response``:
[ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down Expand Up @@ -1136,7 +1132,6 @@ def import_agent(
queries. See the `training
documentation <https://cloud.google.com/dialogflow/es/docs/training>`__.
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down Expand Up @@ -1263,7 +1258,6 @@ def restore_agent(
queries. See the `training
documentation <https://cloud.google.com/dialogflow/es/docs/training>`__.
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down Expand Up @@ -1366,7 +1360,6 @@ def get_validation_result(
performed during training time and is updated
automatically when training is completed.
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ def __init__(
always_use_jwt_access (Optional[bool]): Whether self signed JWT should
be used for service account credentials.
"""

# Save the hostname. Default to port 443 (HTTPS) if none is specified.
if ":" not in host:
host += ":443"
Expand Down Expand Up @@ -268,5 +269,9 @@ def get_validation_result(
]:
raise NotImplementedError()

@property
def kind(self) -> str:
raise NotImplementedError()


__all__ = ("AgentsTransport",)
Original file line number Diff line number Diff line change
Expand Up @@ -570,5 +570,9 @@ def get_validation_result(
def close(self):
self.grpc_channel.close()

@property
def kind(self) -> str:
return "grpc"


__all__ = ("AgentsGrpcTransport",)
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from collections import OrderedDict
import functools
import re
from typing import Dict, Optional, Sequence, Tuple, Type, Union
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
import pkg_resources

from google.api_core.client_options import ClientOptions
Expand Down Expand Up @@ -220,7 +220,6 @@ async def list_answer_records(
r"""Returns the list of all answer records in the
specified project in reverse chronological order.
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from collections import OrderedDict
import os
import re
from typing import Dict, Optional, Sequence, Tuple, Type, Union
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
import pkg_resources

from google.api_core import client_options as client_options_lib
Expand Down Expand Up @@ -437,7 +437,6 @@ def list_answer_records(
r"""Returns the list of all answer records in the
specified project in reverse chronological order.
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def __init__(
always_use_jwt_access (Optional[bool]): Whether self signed JWT should
be used for service account credentials.
"""

# Save the hostname. Default to port 443 (HTTPS) if none is specified.
if ":" not in host:
host += ":443"
Expand Down Expand Up @@ -168,5 +169,9 @@ def update_answer_record(
]:
raise NotImplementedError()

@property
def kind(self) -> str:
raise NotImplementedError()


__all__ = ("AnswerRecordsTransport",)
Original file line number Diff line number Diff line change
Expand Up @@ -290,5 +290,9 @@ def update_answer_record(
def close(self):
self.grpc_channel.close()

@property
def kind(self) -> str:
return "grpc"


__all__ = ("AnswerRecordsGrpcTransport",)
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from collections import OrderedDict
import functools
import re
from typing import Dict, Optional, Sequence, Tuple, Type, Union
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
import pkg_resources

from google.api_core.client_options import ClientOptions
Expand Down Expand Up @@ -209,7 +209,6 @@ async def list_contexts(
r"""Returns the list of all contexts in the specified
session.
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down Expand Up @@ -442,7 +441,6 @@ async def create_context(
If the specified context already exists, overrides the
context.
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from collections import OrderedDict
import os
import re
from typing import Dict, Optional, Sequence, Tuple, Type, Union
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
import pkg_resources

from google.api_core import client_options as client_options_lib
Expand Down Expand Up @@ -439,7 +439,6 @@ def list_contexts(
r"""Returns the list of all contexts in the specified
session.
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down Expand Up @@ -672,7 +671,6 @@ def create_context(
If the specified context already exists, overrides the
context.
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ def __init__(
always_use_jwt_access (Optional[bool]): Whether self signed JWT should
be used for service account credentials.
"""

# Save the hostname. Default to port 443 (HTTPS) if none is specified.
if ":" not in host:
host += ":443"
Expand Down Expand Up @@ -219,5 +220,9 @@ def delete_all_contexts(
]:
raise NotImplementedError()

@property
def kind(self) -> str:
raise NotImplementedError()


__all__ = ("ContextsTransport",)
Original file line number Diff line number Diff line change
Expand Up @@ -389,5 +389,9 @@ def delete_all_contexts(
def close(self):
self.grpc_channel.close()

@property
def kind(self) -> str:
return "grpc"


__all__ = ("ContextsGrpcTransport",)
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from collections import OrderedDict
import functools
import re
from typing import Dict, Optional, Sequence, Tuple, Type, Union
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
import pkg_resources

from google.api_core.client_options import ClientOptions
Expand Down Expand Up @@ -241,7 +241,6 @@ async def create_conversation_dataset(
- ``response``:
[ConversationDataset][google.cloud.dialogflow.v2.ConversationDataset]
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down Expand Up @@ -471,7 +470,6 @@ async def list_conversation_datasets(
r"""Returns the list of all conversation datasets in the
specified project and location.
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down Expand Up @@ -593,7 +591,6 @@ async def delete_conversation_dataset(
- ``response``: An `Empty
message <https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty>`__
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down Expand Up @@ -725,7 +722,6 @@ async def import_conversation_data(
- ``response``:
[ImportConversationDataOperationResponse][google.cloud.dialogflow.v2.ImportConversationDataOperationResponse]
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from collections import OrderedDict
import os
import re
from typing import Dict, Optional, Sequence, Tuple, Type, Union
from typing import Dict, Mapping, Optional, Sequence, Tuple, Type, Union
import pkg_resources

from google.api_core import client_options as client_options_lib
Expand Down Expand Up @@ -460,7 +460,6 @@ def create_conversation_dataset(
- ``response``:
[ConversationDataset][google.cloud.dialogflow.v2.ConversationDataset]
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down Expand Up @@ -694,7 +693,6 @@ def list_conversation_datasets(
r"""Returns the list of all conversation datasets in the
specified project and location.
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down Expand Up @@ -820,7 +818,6 @@ def delete_conversation_dataset(
- ``response``: An `Empty
message <https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty>`__
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down Expand Up @@ -956,7 +953,6 @@ def import_conversation_data(
- ``response``:
[ImportConversationDataOperationResponse][google.cloud.dialogflow.v2.ImportConversationDataOperationResponse]
.. code-block:: python
from google.cloud import dialogflow_v2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ def __init__(
always_use_jwt_access (Optional[bool]): Whether self signed JWT should
be used for service account credentials.
"""

# Save the hostname. Default to port 443 (HTTPS) if none is specified.
if ":" not in host:
host += ":443"
Expand Down Expand Up @@ -220,5 +221,9 @@ def import_conversation_data(
]:
raise NotImplementedError()

@property
def kind(self) -> str:
raise NotImplementedError()


__all__ = ("ConversationDatasetsTransport",)
Loading

0 comments on commit b411f6c

Please sign in to comment.