diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml
index 9ee60f7..2567653 100644
--- a/.github/.OwlBot.lock.yaml
+++ b/.github/.OwlBot.lock.yaml
@@ -1,3 +1,3 @@
docker:
- image: gcr.io/repo-automation-bots/owlbot-python:latest
- digest: sha256:aea14a583128771ae8aefa364e1652f3c56070168ef31beb203534222d842b8b
+ image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
+ digest: sha256:87eee22d276554e4e52863ec9b1cb6a7245815dfae20439712bf644348215a5a
diff --git a/.github/.OwlBot.yaml b/.github/.OwlBot.yaml
index d8bfd9a..c28d356 100644
--- a/.github/.OwlBot.yaml
+++ b/.github/.OwlBot.yaml
@@ -13,7 +13,7 @@
# limitations under the License.
docker:
- image: gcr.io/repo-automation-bots/owlbot-python:latest
+ image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
deep-remove-regex:
- /owl-bot-staging
diff --git a/.kokoro/build.sh b/.kokoro/build.sh
index f9cd17f..2461dfc 100755
--- a/.kokoro/build.sh
+++ b/.kokoro/build.sh
@@ -41,7 +41,7 @@ python3 -m pip install --upgrade --quiet nox
python3 -m nox --version
# If this is a continuous build, send the test log to the FlakyBot.
-# See https://github.com/googleapis/repo-automation-bots/tree/master/packages/flakybot.
+# See https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot.
if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"continuous"* ]]; then
cleanup() {
chmod +x $KOKORO_GFILE_DIR/linux_amd64/flakybot
diff --git a/.kokoro/test-samples-impl.sh b/.kokoro/test-samples-impl.sh
index 311a8d5..8a324c9 100755
--- a/.kokoro/test-samples-impl.sh
+++ b/.kokoro/test-samples-impl.sh
@@ -80,7 +80,7 @@ for file in samples/**/requirements.txt; do
EXIT=$?
# If this is a periodic build, send the test log to the FlakyBot.
- # See https://github.com/googleapis/repo-automation-bots/tree/master/packages/flakybot.
+ # See https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot.
if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"periodic"* ]]; then
chmod +x $KOKORO_GFILE_DIR/linux_amd64/flakybot
$KOKORO_GFILE_DIR/linux_amd64/flakybot
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 62848e6..a2e1622 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+### [1.1.4](https://www.github.com/googleapis/python-appengine-admin/compare/v1.1.3...v1.1.4) (2021-09-24)
+
+
+### Bug Fixes
+
+* add 'dict' annotation type to 'request' ([89b4378](https://www.github.com/googleapis/python-appengine-admin/commit/89b4378632af08a11c3bd45d88eb0f0ac152238f))
+
### [1.1.3](https://www.github.com/googleapis/python-appengine-admin/compare/v1.1.2...v1.1.3) (2021-07-27)
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst
index 6472c6d..0ce1126 100644
--- a/CONTRIBUTING.rst
+++ b/CONTRIBUTING.rst
@@ -50,9 +50,9 @@ You'll have to create a development environment using a Git checkout:
# Configure remotes such that you can pull changes from the googleapis/python-appengine-admin
# repository into your local repository.
$ git remote add upstream git@github.com:googleapis/python-appengine-admin.git
- # fetch and merge changes from upstream into master
+ # fetch and merge changes from upstream into main
$ git fetch upstream
- $ git merge upstream/master
+ $ git merge upstream/main
Now your local repo is set up such that you will push changes to your GitHub
repo, from which you can submit a pull request.
@@ -110,12 +110,12 @@ Coding Style
variables::
export GOOGLE_CLOUD_TESTING_REMOTE="upstream"
- export GOOGLE_CLOUD_TESTING_BRANCH="master"
+ export GOOGLE_CLOUD_TESTING_BRANCH="main"
By doing this, you are specifying the location of the most up-to-date
- version of ``python-appengine-admin``. The the suggested remote name ``upstream``
- should point to the official ``googleapis`` checkout and the
- the branch should be the main branch on that remote (``master``).
+ version of ``python-appengine-admin``. The
+ remote name ``upstream`` should point to the official ``googleapis``
+ checkout and the branch should be the default branch on that remote (``main``).
- This repository contains configuration for the
`pre-commit `__ tool, which automates checking
@@ -209,7 +209,7 @@ The `description on PyPI`_ for the project comes directly from the
``README``. Due to the reStructuredText (``rst``) parser used by
PyPI, relative links which will work on GitHub (e.g. ``CONTRIBUTING.rst``
instead of
-``https://github.com/googleapis/python-appengine-admin/blob/master/CONTRIBUTING.rst``)
+``https://github.com/googleapis/python-appengine-admin/blob/main/CONTRIBUTING.rst``)
may cause problems creating links or rendering the description.
.. _description on PyPI: https://pypi.org/project/google-cloud-appengine-admin
@@ -234,7 +234,7 @@ We support:
Supported versions can be found in our ``noxfile.py`` `config`_.
-.. _config: https://github.com/googleapis/python-appengine-admin/blob/master/noxfile.py
+.. _config: https://github.com/googleapis/python-appengine-admin/blob/main/noxfile.py
We also explicitly decided to support Python 3 beginning with version 3.6.
diff --git a/README.rst b/README.rst
index 72ab199..6b75bcf 100644
--- a/README.rst
+++ b/README.rst
@@ -9,7 +9,7 @@ Python Client for App Engine Admin
- `Product Documentation`_
.. |GA| image:: https://img.shields.io/badge/support-ga-gold.svg
- :target: https://github.com/googleapis/google-cloud-python/blob/master/README.rst#general-availability
+ :target: https://github.com/googleapis/google-cloud-python/blob/main/README.rst#general-availability
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-appengine-admin.svg
:target: https://pypi.org/project/google-cloud-appengine-admin/
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-appengine-admin.svg
@@ -79,4 +79,4 @@ Next Steps
APIs that we cover.
.. _App Engine Admin Product documentation: https://cloud.google.com/appengine/docs/admin-api/
-.. _README: https://github.com/googleapis/google-cloud-python/blob/master/README.rst
+.. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
diff --git a/docs/conf.py b/docs/conf.py
index 1f47be1..4b413e4 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -76,8 +76,8 @@
# The encoding of source files.
# source_encoding = 'utf-8-sig'
-# The master toctree document.
-master_doc = "index"
+# The root toctree document.
+root_doc = "index"
# General information about the project.
project = "google-cloud-appengine-admin"
@@ -110,6 +110,7 @@
# directories to ignore when looking for source files.
exclude_patterns = [
"_build",
+ "**/.nox/**/*",
"samples/AUTHORING_GUIDE.md",
"samples/CONTRIBUTING.md",
"samples/snippets/README.rst",
@@ -279,7 +280,7 @@
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(
- master_doc,
+ root_doc,
"google-cloud-appengine-admin.tex",
"google-cloud-appengine-admin Documentation",
author,
@@ -314,7 +315,7 @@
# (source start file, name, description, authors, manual section).
man_pages = [
(
- master_doc,
+ root_doc,
"google-cloud-appengine-admin",
"google-cloud-appengine-admin Documentation",
[author],
@@ -333,7 +334,7 @@
# dir menu entry, description, category)
texinfo_documents = [
(
- master_doc,
+ root_doc,
"google-cloud-appengine-admin",
"google-cloud-appengine-admin Documentation",
author,
diff --git a/google/cloud/appengine_admin_v1/services/applications/client.py b/google/cloud/appengine_admin_v1/services/applications/client.py
index 6c8e925..b43da0c 100644
--- a/google/cloud/appengine_admin_v1/services/applications/client.py
+++ b/google/cloud/appengine_admin_v1/services/applications/client.py
@@ -17,7 +17,7 @@
from distutils import util
import os
import re
-from typing import Callable, Dict, Optional, Sequence, Tuple, Type, Union
+from typing import Dict, Optional, Sequence, Tuple, Type, Union
import pkg_resources
from google.api_core import client_options as client_options_lib # type: ignore
@@ -338,7 +338,7 @@ def __init__(
def get_application(
self,
- request: appengine.GetApplicationRequest = None,
+ request: Union[appengine.GetApplicationRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -347,7 +347,7 @@ def get_application(
r"""Gets information about an application.
Args:
- request (google.cloud.appengine_admin_v1.types.GetApplicationRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.GetApplicationRequest, dict]):
The request object. Request message for
`Applications.GetApplication`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -389,7 +389,7 @@ def get_application(
def create_application(
self,
- request: appengine.CreateApplicationRequest = None,
+ request: Union[appengine.CreateApplicationRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -408,7 +408,7 @@ def create_application(
Billing `__.
Args:
- request (google.cloud.appengine_admin_v1.types.CreateApplicationRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.CreateApplicationRequest, dict]):
The request object. Request message for
`Applications.CreateApplication`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -453,7 +453,7 @@ def create_application(
def update_application(
self,
- request: appengine.UpdateApplicationRequest = None,
+ request: Union[appengine.UpdateApplicationRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -468,7 +468,7 @@ def update_application(
the application.
Args:
- request (google.cloud.appengine_admin_v1.types.UpdateApplicationRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.UpdateApplicationRequest, dict]):
The request object. Request message for
`Applications.UpdateApplication`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -519,7 +519,7 @@ def update_application(
def repair_application(
self,
- request: appengine.RepairApplicationRequest = None,
+ request: Union[appengine.RepairApplicationRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -538,7 +538,7 @@ def repair_application(
Cloud Console Activity Log.
Args:
- request (google.cloud.appengine_admin_v1.types.RepairApplicationRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.RepairApplicationRequest, dict]):
The request object. Request message for
'Applications.RepairApplication'.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
diff --git a/google/cloud/appengine_admin_v1/services/applications/transports/base.py b/google/cloud/appengine_admin_v1/services/applications/transports/base.py
index a0de499..91338b9 100644
--- a/google/cloud/appengine_admin_v1/services/applications/transports/base.py
+++ b/google/cloud/appengine_admin_v1/services/applications/transports/base.py
@@ -124,7 +124,7 @@ def __init__(
**scopes_kwargs, quota_project_id=quota_project_id
)
- # If the credentials is service account credentials, then always try to use self signed JWT.
+ # If the credentials are service account credentials, then always try to use self signed JWT.
if (
always_use_jwt_access
and isinstance(credentials, service_account.Credentials)
diff --git a/google/cloud/appengine_admin_v1/services/applications/transports/grpc.py b/google/cloud/appengine_admin_v1/services/applications/transports/grpc.py
index bc81f85..7e79a41 100644
--- a/google/cloud/appengine_admin_v1/services/applications/transports/grpc.py
+++ b/google/cloud/appengine_admin_v1/services/applications/transports/grpc.py
@@ -83,16 +83,16 @@ def __init__(
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
If provided, it overrides the ``host`` argument and tries to create
a mutual TLS channel with client SSL credentials from
- ``client_cert_source`` or applicatin default SSL credentials.
+ ``client_cert_source`` or application default SSL credentials.
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
Deprecated. A callback to provide client SSL certificate bytes and
private key bytes, both in PEM format. It is ignored if
``api_mtls_endpoint`` is None.
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
- for grpc channel. It is ignored if ``channel`` is provided.
+ for the grpc channel. It is ignored if ``channel`` is provided.
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
A callback to provide client certificate bytes and private key bytes,
- both in PEM format. It is used to configure mutual TLS channel. It is
+ both in PEM format. It is used to configure a mutual TLS channel. It is
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
quota_project_id (Optional[str]): An optional project to use for billing
and quota.
diff --git a/google/cloud/appengine_admin_v1/services/applications/transports/grpc_asyncio.py b/google/cloud/appengine_admin_v1/services/applications/transports/grpc_asyncio.py
index d9264e4..1a03ec4 100644
--- a/google/cloud/appengine_admin_v1/services/applications/transports/grpc_asyncio.py
+++ b/google/cloud/appengine_admin_v1/services/applications/transports/grpc_asyncio.py
@@ -130,16 +130,16 @@ def __init__(
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
If provided, it overrides the ``host`` argument and tries to create
a mutual TLS channel with client SSL credentials from
- ``client_cert_source`` or applicatin default SSL credentials.
+ ``client_cert_source`` or application default SSL credentials.
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
Deprecated. A callback to provide client SSL certificate bytes and
private key bytes, both in PEM format. It is ignored if
``api_mtls_endpoint`` is None.
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
- for grpc channel. It is ignored if ``channel`` is provided.
+ for the grpc channel. It is ignored if ``channel`` is provided.
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
A callback to provide client certificate bytes and private key bytes,
- both in PEM format. It is used to configure mutual TLS channel. It is
+ both in PEM format. It is used to configure a mutual TLS channel. It is
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
quota_project_id (Optional[str]): An optional project to use for billing
and quota.
diff --git a/google/cloud/appengine_admin_v1/services/authorized_certificates/client.py b/google/cloud/appengine_admin_v1/services/authorized_certificates/client.py
index 8f67075..02be3a5 100644
--- a/google/cloud/appengine_admin_v1/services/authorized_certificates/client.py
+++ b/google/cloud/appengine_admin_v1/services/authorized_certificates/client.py
@@ -17,7 +17,7 @@
from distutils import util
import os
import re
-from typing import Callable, Dict, Optional, Sequence, Tuple, Type, Union
+from typing import Dict, Optional, Sequence, Tuple, Type, Union
import pkg_resources
from google.api_core import client_options as client_options_lib # type: ignore
@@ -343,7 +343,7 @@ def __init__(
def list_authorized_certificates(
self,
- request: appengine.ListAuthorizedCertificatesRequest = None,
+ request: Union[appengine.ListAuthorizedCertificatesRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -353,7 +353,7 @@ def list_authorized_certificates(
administer.
Args:
- request (google.cloud.appengine_admin_v1.types.ListAuthorizedCertificatesRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.ListAuthorizedCertificatesRequest, dict]):
The request object. Request message for
`AuthorizedCertificates.ListAuthorizedCertificates`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -405,7 +405,7 @@ def list_authorized_certificates(
def get_authorized_certificate(
self,
- request: appengine.GetAuthorizedCertificateRequest = None,
+ request: Union[appengine.GetAuthorizedCertificateRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -414,7 +414,7 @@ def get_authorized_certificate(
r"""Gets the specified SSL certificate.
Args:
- request (google.cloud.appengine_admin_v1.types.GetAuthorizedCertificateRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.GetAuthorizedCertificateRequest, dict]):
The request object. Request message for
`AuthorizedCertificates.GetAuthorizedCertificate`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -460,7 +460,7 @@ def get_authorized_certificate(
def create_authorized_certificate(
self,
- request: appengine.CreateAuthorizedCertificateRequest = None,
+ request: Union[appengine.CreateAuthorizedCertificateRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -469,7 +469,7 @@ def create_authorized_certificate(
r"""Uploads the specified SSL certificate.
Args:
- request (google.cloud.appengine_admin_v1.types.CreateAuthorizedCertificateRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.CreateAuthorizedCertificateRequest, dict]):
The request object. Request message for
`AuthorizedCertificates.CreateAuthorizedCertificate`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -515,7 +515,7 @@ def create_authorized_certificate(
def update_authorized_certificate(
self,
- request: appengine.UpdateAuthorizedCertificateRequest = None,
+ request: Union[appengine.UpdateAuthorizedCertificateRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -529,7 +529,7 @@ def update_authorized_certificate(
updated.
Args:
- request (google.cloud.appengine_admin_v1.types.UpdateAuthorizedCertificateRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.UpdateAuthorizedCertificateRequest, dict]):
The request object. Request message for
`AuthorizedCertificates.UpdateAuthorizedCertificate`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -575,7 +575,7 @@ def update_authorized_certificate(
def delete_authorized_certificate(
self,
- request: appengine.DeleteAuthorizedCertificateRequest = None,
+ request: Union[appengine.DeleteAuthorizedCertificateRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -584,7 +584,7 @@ def delete_authorized_certificate(
r"""Deletes the specified SSL certificate.
Args:
- request (google.cloud.appengine_admin_v1.types.DeleteAuthorizedCertificateRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.DeleteAuthorizedCertificateRequest, dict]):
The request object. Request message for
`AuthorizedCertificates.DeleteAuthorizedCertificate`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
diff --git a/google/cloud/appengine_admin_v1/services/authorized_certificates/transports/base.py b/google/cloud/appengine_admin_v1/services/authorized_certificates/transports/base.py
index 5a1d2f9..1ae962d 100644
--- a/google/cloud/appengine_admin_v1/services/authorized_certificates/transports/base.py
+++ b/google/cloud/appengine_admin_v1/services/authorized_certificates/transports/base.py
@@ -123,7 +123,7 @@ def __init__(
**scopes_kwargs, quota_project_id=quota_project_id
)
- # If the credentials is service account credentials, then always try to use self signed JWT.
+ # If the credentials are service account credentials, then always try to use self signed JWT.
if (
always_use_jwt_access
and isinstance(credentials, service_account.Credentials)
diff --git a/google/cloud/appengine_admin_v1/services/authorized_certificates/transports/grpc.py b/google/cloud/appengine_admin_v1/services/authorized_certificates/transports/grpc.py
index a7f20ab..8f86bf8 100644
--- a/google/cloud/appengine_admin_v1/services/authorized_certificates/transports/grpc.py
+++ b/google/cloud/appengine_admin_v1/services/authorized_certificates/transports/grpc.py
@@ -84,16 +84,16 @@ def __init__(
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
If provided, it overrides the ``host`` argument and tries to create
a mutual TLS channel with client SSL credentials from
- ``client_cert_source`` or applicatin default SSL credentials.
+ ``client_cert_source`` or application default SSL credentials.
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
Deprecated. A callback to provide client SSL certificate bytes and
private key bytes, both in PEM format. It is ignored if
``api_mtls_endpoint`` is None.
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
- for grpc channel. It is ignored if ``channel`` is provided.
+ for the grpc channel. It is ignored if ``channel`` is provided.
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
A callback to provide client certificate bytes and private key bytes,
- both in PEM format. It is used to configure mutual TLS channel. It is
+ both in PEM format. It is used to configure a mutual TLS channel. It is
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
quota_project_id (Optional[str]): An optional project to use for billing
and quota.
diff --git a/google/cloud/appengine_admin_v1/services/authorized_certificates/transports/grpc_asyncio.py b/google/cloud/appengine_admin_v1/services/authorized_certificates/transports/grpc_asyncio.py
index 8ab6414..9b0d7ea 100644
--- a/google/cloud/appengine_admin_v1/services/authorized_certificates/transports/grpc_asyncio.py
+++ b/google/cloud/appengine_admin_v1/services/authorized_certificates/transports/grpc_asyncio.py
@@ -131,16 +131,16 @@ def __init__(
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
If provided, it overrides the ``host`` argument and tries to create
a mutual TLS channel with client SSL credentials from
- ``client_cert_source`` or applicatin default SSL credentials.
+ ``client_cert_source`` or application default SSL credentials.
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
Deprecated. A callback to provide client SSL certificate bytes and
private key bytes, both in PEM format. It is ignored if
``api_mtls_endpoint`` is None.
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
- for grpc channel. It is ignored if ``channel`` is provided.
+ for the grpc channel. It is ignored if ``channel`` is provided.
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
A callback to provide client certificate bytes and private key bytes,
- both in PEM format. It is used to configure mutual TLS channel. It is
+ both in PEM format. It is used to configure a mutual TLS channel. It is
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
quota_project_id (Optional[str]): An optional project to use for billing
and quota.
diff --git a/google/cloud/appengine_admin_v1/services/authorized_domains/client.py b/google/cloud/appengine_admin_v1/services/authorized_domains/client.py
index 545b69d..4d16281 100644
--- a/google/cloud/appengine_admin_v1/services/authorized_domains/client.py
+++ b/google/cloud/appengine_admin_v1/services/authorized_domains/client.py
@@ -17,7 +17,7 @@
from distutils import util
import os
import re
-from typing import Callable, Dict, Optional, Sequence, Tuple, Type, Union
+from typing import Dict, Optional, Sequence, Tuple, Type, Union
import pkg_resources
from google.api_core import client_options as client_options_lib # type: ignore
@@ -342,7 +342,7 @@ def __init__(
def list_authorized_domains(
self,
- request: appengine.ListAuthorizedDomainsRequest = None,
+ request: Union[appengine.ListAuthorizedDomainsRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -352,7 +352,7 @@ def list_authorized_domains(
administer.
Args:
- request (google.cloud.appengine_admin_v1.types.ListAuthorizedDomainsRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.ListAuthorizedDomainsRequest, dict]):
The request object. Request message for
`AuthorizedDomains.ListAuthorizedDomains`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
diff --git a/google/cloud/appengine_admin_v1/services/authorized_domains/transports/base.py b/google/cloud/appengine_admin_v1/services/authorized_domains/transports/base.py
index cb57d63..22ebc61 100644
--- a/google/cloud/appengine_admin_v1/services/authorized_domains/transports/base.py
+++ b/google/cloud/appengine_admin_v1/services/authorized_domains/transports/base.py
@@ -121,7 +121,7 @@ def __init__(
**scopes_kwargs, quota_project_id=quota_project_id
)
- # If the credentials is service account credentials, then always try to use self signed JWT.
+ # If the credentials are service account credentials, then always try to use self signed JWT.
if (
always_use_jwt_access
and isinstance(credentials, service_account.Credentials)
diff --git a/google/cloud/appengine_admin_v1/services/authorized_domains/transports/grpc.py b/google/cloud/appengine_admin_v1/services/authorized_domains/transports/grpc.py
index 82d51bb..5095922 100644
--- a/google/cloud/appengine_admin_v1/services/authorized_domains/transports/grpc.py
+++ b/google/cloud/appengine_admin_v1/services/authorized_domains/transports/grpc.py
@@ -82,16 +82,16 @@ def __init__(
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
If provided, it overrides the ``host`` argument and tries to create
a mutual TLS channel with client SSL credentials from
- ``client_cert_source`` or applicatin default SSL credentials.
+ ``client_cert_source`` or application default SSL credentials.
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
Deprecated. A callback to provide client SSL certificate bytes and
private key bytes, both in PEM format. It is ignored if
``api_mtls_endpoint`` is None.
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
- for grpc channel. It is ignored if ``channel`` is provided.
+ for the grpc channel. It is ignored if ``channel`` is provided.
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
A callback to provide client certificate bytes and private key bytes,
- both in PEM format. It is used to configure mutual TLS channel. It is
+ both in PEM format. It is used to configure a mutual TLS channel. It is
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
quota_project_id (Optional[str]): An optional project to use for billing
and quota.
diff --git a/google/cloud/appengine_admin_v1/services/authorized_domains/transports/grpc_asyncio.py b/google/cloud/appengine_admin_v1/services/authorized_domains/transports/grpc_asyncio.py
index 1848cae..f06afc5 100644
--- a/google/cloud/appengine_admin_v1/services/authorized_domains/transports/grpc_asyncio.py
+++ b/google/cloud/appengine_admin_v1/services/authorized_domains/transports/grpc_asyncio.py
@@ -129,16 +129,16 @@ def __init__(
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
If provided, it overrides the ``host`` argument and tries to create
a mutual TLS channel with client SSL credentials from
- ``client_cert_source`` or applicatin default SSL credentials.
+ ``client_cert_source`` or application default SSL credentials.
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
Deprecated. A callback to provide client SSL certificate bytes and
private key bytes, both in PEM format. It is ignored if
``api_mtls_endpoint`` is None.
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
- for grpc channel. It is ignored if ``channel`` is provided.
+ for the grpc channel. It is ignored if ``channel`` is provided.
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
A callback to provide client certificate bytes and private key bytes,
- both in PEM format. It is used to configure mutual TLS channel. It is
+ both in PEM format. It is used to configure a mutual TLS channel. It is
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
quota_project_id (Optional[str]): An optional project to use for billing
and quota.
diff --git a/google/cloud/appengine_admin_v1/services/domain_mappings/client.py b/google/cloud/appengine_admin_v1/services/domain_mappings/client.py
index 8032b46..a3c7a4c 100644
--- a/google/cloud/appengine_admin_v1/services/domain_mappings/client.py
+++ b/google/cloud/appengine_admin_v1/services/domain_mappings/client.py
@@ -17,7 +17,7 @@
from distutils import util
import os
import re
-from typing import Callable, Dict, Optional, Sequence, Tuple, Type, Union
+from typing import Dict, Optional, Sequence, Tuple, Type, Union
import pkg_resources
from google.api_core import client_options as client_options_lib # type: ignore
@@ -341,7 +341,7 @@ def __init__(
def list_domain_mappings(
self,
- request: appengine.ListDomainMappingsRequest = None,
+ request: Union[appengine.ListDomainMappingsRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -350,7 +350,7 @@ def list_domain_mappings(
r"""Lists the domain mappings on an application.
Args:
- request (google.cloud.appengine_admin_v1.types.ListDomainMappingsRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.ListDomainMappingsRequest, dict]):
The request object. Request message for
`DomainMappings.ListDomainMappings`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -399,7 +399,7 @@ def list_domain_mappings(
def get_domain_mapping(
self,
- request: appengine.GetDomainMappingRequest = None,
+ request: Union[appengine.GetDomainMappingRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -408,7 +408,7 @@ def get_domain_mapping(
r"""Gets the specified domain mapping.
Args:
- request (google.cloud.appengine_admin_v1.types.GetDomainMappingRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.GetDomainMappingRequest, dict]):
The request object. Request message for
`DomainMappings.GetDomainMapping`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -449,7 +449,7 @@ def get_domain_mapping(
def create_domain_mapping(
self,
- request: appengine.CreateDomainMappingRequest = None,
+ request: Union[appengine.CreateDomainMappingRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -461,7 +461,7 @@ def create_domain_mapping(
```AuthorizedDomains.ListAuthorizedDomains`` <>`__.
Args:
- request (google.cloud.appengine_admin_v1.types.CreateDomainMappingRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.CreateDomainMappingRequest, dict]):
The request object. Request message for
`DomainMappings.CreateDomainMapping`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -513,7 +513,7 @@ def create_domain_mapping(
def update_domain_mapping(
self,
- request: appengine.UpdateDomainMappingRequest = None,
+ request: Union[appengine.UpdateDomainMappingRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -526,7 +526,7 @@ def update_domain_mapping(
``DomainMapping`` resource.
Args:
- request (google.cloud.appengine_admin_v1.types.UpdateDomainMappingRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.UpdateDomainMappingRequest, dict]):
The request object. Request message for
`DomainMappings.UpdateDomainMapping`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -578,7 +578,7 @@ def update_domain_mapping(
def delete_domain_mapping(
self,
- request: appengine.DeleteDomainMappingRequest = None,
+ request: Union[appengine.DeleteDomainMappingRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -589,7 +589,7 @@ def delete_domain_mapping(
``DomainMapping`` resource.
Args:
- request (google.cloud.appengine_admin_v1.types.DeleteDomainMappingRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.DeleteDomainMappingRequest, dict]):
The request object. Request message for
`DomainMappings.DeleteDomainMapping`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
diff --git a/google/cloud/appengine_admin_v1/services/domain_mappings/transports/base.py b/google/cloud/appengine_admin_v1/services/domain_mappings/transports/base.py
index 7d971f7..b11cc15 100644
--- a/google/cloud/appengine_admin_v1/services/domain_mappings/transports/base.py
+++ b/google/cloud/appengine_admin_v1/services/domain_mappings/transports/base.py
@@ -124,7 +124,7 @@ def __init__(
**scopes_kwargs, quota_project_id=quota_project_id
)
- # If the credentials is service account credentials, then always try to use self signed JWT.
+ # If the credentials are service account credentials, then always try to use self signed JWT.
if (
always_use_jwt_access
and isinstance(credentials, service_account.Credentials)
diff --git a/google/cloud/appengine_admin_v1/services/domain_mappings/transports/grpc.py b/google/cloud/appengine_admin_v1/services/domain_mappings/transports/grpc.py
index e7ee590..1f89b60 100644
--- a/google/cloud/appengine_admin_v1/services/domain_mappings/transports/grpc.py
+++ b/google/cloud/appengine_admin_v1/services/domain_mappings/transports/grpc.py
@@ -83,16 +83,16 @@ def __init__(
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
If provided, it overrides the ``host`` argument and tries to create
a mutual TLS channel with client SSL credentials from
- ``client_cert_source`` or applicatin default SSL credentials.
+ ``client_cert_source`` or application default SSL credentials.
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
Deprecated. A callback to provide client SSL certificate bytes and
private key bytes, both in PEM format. It is ignored if
``api_mtls_endpoint`` is None.
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
- for grpc channel. It is ignored if ``channel`` is provided.
+ for the grpc channel. It is ignored if ``channel`` is provided.
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
A callback to provide client certificate bytes and private key bytes,
- both in PEM format. It is used to configure mutual TLS channel. It is
+ both in PEM format. It is used to configure a mutual TLS channel. It is
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
quota_project_id (Optional[str]): An optional project to use for billing
and quota.
diff --git a/google/cloud/appengine_admin_v1/services/domain_mappings/transports/grpc_asyncio.py b/google/cloud/appengine_admin_v1/services/domain_mappings/transports/grpc_asyncio.py
index df14efb..46bb973 100644
--- a/google/cloud/appengine_admin_v1/services/domain_mappings/transports/grpc_asyncio.py
+++ b/google/cloud/appengine_admin_v1/services/domain_mappings/transports/grpc_asyncio.py
@@ -130,16 +130,16 @@ def __init__(
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
If provided, it overrides the ``host`` argument and tries to create
a mutual TLS channel with client SSL credentials from
- ``client_cert_source`` or applicatin default SSL credentials.
+ ``client_cert_source`` or application default SSL credentials.
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
Deprecated. A callback to provide client SSL certificate bytes and
private key bytes, both in PEM format. It is ignored if
``api_mtls_endpoint`` is None.
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
- for grpc channel. It is ignored if ``channel`` is provided.
+ for the grpc channel. It is ignored if ``channel`` is provided.
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
A callback to provide client certificate bytes and private key bytes,
- both in PEM format. It is used to configure mutual TLS channel. It is
+ both in PEM format. It is used to configure a mutual TLS channel. It is
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
quota_project_id (Optional[str]): An optional project to use for billing
and quota.
diff --git a/google/cloud/appengine_admin_v1/services/firewall/client.py b/google/cloud/appengine_admin_v1/services/firewall/client.py
index eaa3159..b15645d 100644
--- a/google/cloud/appengine_admin_v1/services/firewall/client.py
+++ b/google/cloud/appengine_admin_v1/services/firewall/client.py
@@ -17,7 +17,7 @@
from distutils import util
import os
import re
-from typing import Callable, Dict, Optional, Sequence, Tuple, Type, Union
+from typing import Dict, Optional, Sequence, Tuple, Type, Union
import pkg_resources
from google.api_core import client_options as client_options_lib # type: ignore
@@ -346,7 +346,7 @@ def __init__(
def list_ingress_rules(
self,
- request: appengine.ListIngressRulesRequest = None,
+ request: Union[appengine.ListIngressRulesRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -355,7 +355,7 @@ def list_ingress_rules(
r"""Lists the firewall rules of an application.
Args:
- request (google.cloud.appengine_admin_v1.types.ListIngressRulesRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.ListIngressRulesRequest, dict]):
The request object. Request message for
`Firewall.ListIngressRules`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -404,7 +404,7 @@ def list_ingress_rules(
def batch_update_ingress_rules(
self,
- request: appengine.BatchUpdateIngressRulesRequest = None,
+ request: Union[appengine.BatchUpdateIngressRulesRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -419,7 +419,7 @@ def batch_update_ingress_rules(
end of the list.
Args:
- request (google.cloud.appengine_admin_v1.types.BatchUpdateIngressRulesRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.BatchUpdateIngressRulesRequest, dict]):
The request object. Request message for
`Firewall.BatchUpdateIngressRules`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -460,7 +460,7 @@ def batch_update_ingress_rules(
def create_ingress_rule(
self,
- request: appengine.CreateIngressRuleRequest = None,
+ request: Union[appengine.CreateIngressRuleRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -469,7 +469,7 @@ def create_ingress_rule(
r"""Creates a firewall rule for the application.
Args:
- request (google.cloud.appengine_admin_v1.types.CreateIngressRuleRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.CreateIngressRuleRequest, dict]):
The request object. Request message for
`Firewall.CreateIngressRule`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -512,7 +512,7 @@ def create_ingress_rule(
def get_ingress_rule(
self,
- request: appengine.GetIngressRuleRequest = None,
+ request: Union[appengine.GetIngressRuleRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -521,7 +521,7 @@ def get_ingress_rule(
r"""Gets the specified firewall rule.
Args:
- request (google.cloud.appengine_admin_v1.types.GetIngressRuleRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.GetIngressRuleRequest, dict]):
The request object. Request message for
`Firewall.GetIngressRule`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -564,7 +564,7 @@ def get_ingress_rule(
def update_ingress_rule(
self,
- request: appengine.UpdateIngressRuleRequest = None,
+ request: Union[appengine.UpdateIngressRuleRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -573,7 +573,7 @@ def update_ingress_rule(
r"""Updates the specified firewall rule.
Args:
- request (google.cloud.appengine_admin_v1.types.UpdateIngressRuleRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.UpdateIngressRuleRequest, dict]):
The request object. Request message for
`Firewall.UpdateIngressRule`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -616,7 +616,7 @@ def update_ingress_rule(
def delete_ingress_rule(
self,
- request: appengine.DeleteIngressRuleRequest = None,
+ request: Union[appengine.DeleteIngressRuleRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -625,7 +625,7 @@ def delete_ingress_rule(
r"""Deletes the specified firewall rule.
Args:
- request (google.cloud.appengine_admin_v1.types.DeleteIngressRuleRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.DeleteIngressRuleRequest, dict]):
The request object. Request message for
`Firewall.DeleteIngressRule`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
diff --git a/google/cloud/appengine_admin_v1/services/firewall/transports/base.py b/google/cloud/appengine_admin_v1/services/firewall/transports/base.py
index 8f2f465..04b20ea 100644
--- a/google/cloud/appengine_admin_v1/services/firewall/transports/base.py
+++ b/google/cloud/appengine_admin_v1/services/firewall/transports/base.py
@@ -123,7 +123,7 @@ def __init__(
**scopes_kwargs, quota_project_id=quota_project_id
)
- # If the credentials is service account credentials, then always try to use self signed JWT.
+ # If the credentials are service account credentials, then always try to use self signed JWT.
if (
always_use_jwt_access
and isinstance(credentials, service_account.Credentials)
diff --git a/google/cloud/appengine_admin_v1/services/firewall/transports/grpc.py b/google/cloud/appengine_admin_v1/services/firewall/transports/grpc.py
index a20b25c..1809e0b 100644
--- a/google/cloud/appengine_admin_v1/services/firewall/transports/grpc.py
+++ b/google/cloud/appengine_admin_v1/services/firewall/transports/grpc.py
@@ -92,16 +92,16 @@ def __init__(
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
If provided, it overrides the ``host`` argument and tries to create
a mutual TLS channel with client SSL credentials from
- ``client_cert_source`` or applicatin default SSL credentials.
+ ``client_cert_source`` or application default SSL credentials.
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
Deprecated. A callback to provide client SSL certificate bytes and
private key bytes, both in PEM format. It is ignored if
``api_mtls_endpoint`` is None.
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
- for grpc channel. It is ignored if ``channel`` is provided.
+ for the grpc channel. It is ignored if ``channel`` is provided.
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
A callback to provide client certificate bytes and private key bytes,
- both in PEM format. It is used to configure mutual TLS channel. It is
+ both in PEM format. It is used to configure a mutual TLS channel. It is
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
quota_project_id (Optional[str]): An optional project to use for billing
and quota.
diff --git a/google/cloud/appengine_admin_v1/services/firewall/transports/grpc_asyncio.py b/google/cloud/appengine_admin_v1/services/firewall/transports/grpc_asyncio.py
index b250cfd..75a7250 100644
--- a/google/cloud/appengine_admin_v1/services/firewall/transports/grpc_asyncio.py
+++ b/google/cloud/appengine_admin_v1/services/firewall/transports/grpc_asyncio.py
@@ -139,16 +139,16 @@ def __init__(
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
If provided, it overrides the ``host`` argument and tries to create
a mutual TLS channel with client SSL credentials from
- ``client_cert_source`` or applicatin default SSL credentials.
+ ``client_cert_source`` or application default SSL credentials.
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
Deprecated. A callback to provide client SSL certificate bytes and
private key bytes, both in PEM format. It is ignored if
``api_mtls_endpoint`` is None.
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
- for grpc channel. It is ignored if ``channel`` is provided.
+ for the grpc channel. It is ignored if ``channel`` is provided.
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
A callback to provide client certificate bytes and private key bytes,
- both in PEM format. It is used to configure mutual TLS channel. It is
+ both in PEM format. It is used to configure a mutual TLS channel. It is
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
quota_project_id (Optional[str]): An optional project to use for billing
and quota.
diff --git a/google/cloud/appengine_admin_v1/services/instances/client.py b/google/cloud/appengine_admin_v1/services/instances/client.py
index 0991030..aa6f6f5 100644
--- a/google/cloud/appengine_admin_v1/services/instances/client.py
+++ b/google/cloud/appengine_admin_v1/services/instances/client.py
@@ -17,7 +17,7 @@
from distutils import util
import os
import re
-from typing import Callable, Dict, Optional, Sequence, Tuple, Type, Union
+from typing import Dict, Optional, Sequence, Tuple, Type, Union
import pkg_resources
from google.api_core import client_options as client_options_lib # type: ignore
@@ -356,7 +356,7 @@ def __init__(
def list_instances(
self,
- request: appengine.ListInstancesRequest = None,
+ request: Union[appengine.ListInstancesRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -369,7 +369,7 @@ def list_instances(
API `__.
Args:
- request (google.cloud.appengine_admin_v1.types.ListInstancesRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.ListInstancesRequest, dict]):
The request object. Request message for
`Instances.ListInstances`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -418,7 +418,7 @@ def list_instances(
def get_instance(
self,
- request: appengine.GetInstanceRequest = None,
+ request: Union[appengine.GetInstanceRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -427,7 +427,7 @@ def get_instance(
r"""Gets instance information.
Args:
- request (google.cloud.appengine_admin_v1.types.GetInstanceRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.GetInstanceRequest, dict]):
The request object. Request message for
`Instances.GetInstance`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -469,7 +469,7 @@ def get_instance(
def delete_instance(
self,
- request: appengine.DeleteInstanceRequest = None,
+ request: Union[appengine.DeleteInstanceRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -492,7 +492,7 @@ def delete_instance(
method.
Args:
- request (google.cloud.appengine_admin_v1.types.DeleteInstanceRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.DeleteInstanceRequest, dict]):
The request object. Request message for
`Instances.DeleteInstance`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -554,7 +554,7 @@ def delete_instance(
def debug_instance(
self,
- request: appengine.DebugInstanceRequest = None,
+ request: Union[appengine.DebugInstanceRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -572,7 +572,7 @@ def debug_instance(
environment.
Args:
- request (google.cloud.appengine_admin_v1.types.DebugInstanceRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.DebugInstanceRequest, dict]):
The request object. Request message for
`Instances.DebugInstance`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
diff --git a/google/cloud/appengine_admin_v1/services/instances/transports/base.py b/google/cloud/appengine_admin_v1/services/instances/transports/base.py
index ab81cf2..af17f3d 100644
--- a/google/cloud/appengine_admin_v1/services/instances/transports/base.py
+++ b/google/cloud/appengine_admin_v1/services/instances/transports/base.py
@@ -124,7 +124,7 @@ def __init__(
**scopes_kwargs, quota_project_id=quota_project_id
)
- # If the credentials is service account credentials, then always try to use self signed JWT.
+ # If the credentials are service account credentials, then always try to use self signed JWT.
if (
always_use_jwt_access
and isinstance(credentials, service_account.Credentials)
diff --git a/google/cloud/appengine_admin_v1/services/instances/transports/grpc.py b/google/cloud/appengine_admin_v1/services/instances/transports/grpc.py
index 905f187..7252c39 100644
--- a/google/cloud/appengine_admin_v1/services/instances/transports/grpc.py
+++ b/google/cloud/appengine_admin_v1/services/instances/transports/grpc.py
@@ -83,16 +83,16 @@ def __init__(
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
If provided, it overrides the ``host`` argument and tries to create
a mutual TLS channel with client SSL credentials from
- ``client_cert_source`` or applicatin default SSL credentials.
+ ``client_cert_source`` or application default SSL credentials.
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
Deprecated. A callback to provide client SSL certificate bytes and
private key bytes, both in PEM format. It is ignored if
``api_mtls_endpoint`` is None.
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
- for grpc channel. It is ignored if ``channel`` is provided.
+ for the grpc channel. It is ignored if ``channel`` is provided.
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
A callback to provide client certificate bytes and private key bytes,
- both in PEM format. It is used to configure mutual TLS channel. It is
+ both in PEM format. It is used to configure a mutual TLS channel. It is
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
quota_project_id (Optional[str]): An optional project to use for billing
and quota.
diff --git a/google/cloud/appengine_admin_v1/services/instances/transports/grpc_asyncio.py b/google/cloud/appengine_admin_v1/services/instances/transports/grpc_asyncio.py
index a8f7b05..4825fdc 100644
--- a/google/cloud/appengine_admin_v1/services/instances/transports/grpc_asyncio.py
+++ b/google/cloud/appengine_admin_v1/services/instances/transports/grpc_asyncio.py
@@ -130,16 +130,16 @@ def __init__(
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
If provided, it overrides the ``host`` argument and tries to create
a mutual TLS channel with client SSL credentials from
- ``client_cert_source`` or applicatin default SSL credentials.
+ ``client_cert_source`` or application default SSL credentials.
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
Deprecated. A callback to provide client SSL certificate bytes and
private key bytes, both in PEM format. It is ignored if
``api_mtls_endpoint`` is None.
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
- for grpc channel. It is ignored if ``channel`` is provided.
+ for the grpc channel. It is ignored if ``channel`` is provided.
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
A callback to provide client certificate bytes and private key bytes,
- both in PEM format. It is used to configure mutual TLS channel. It is
+ both in PEM format. It is used to configure a mutual TLS channel. It is
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
quota_project_id (Optional[str]): An optional project to use for billing
and quota.
diff --git a/google/cloud/appengine_admin_v1/services/services/client.py b/google/cloud/appengine_admin_v1/services/services/client.py
index 2d630ee..bc61a0a 100644
--- a/google/cloud/appengine_admin_v1/services/services/client.py
+++ b/google/cloud/appengine_admin_v1/services/services/client.py
@@ -17,7 +17,7 @@
from distutils import util
import os
import re
-from typing import Callable, Dict, Optional, Sequence, Tuple, Type, Union
+from typing import Dict, Optional, Sequence, Tuple, Type, Union
import pkg_resources
from google.api_core import client_options as client_options_lib # type: ignore
@@ -340,7 +340,7 @@ def __init__(
def list_services(
self,
- request: appengine.ListServicesRequest = None,
+ request: Union[appengine.ListServicesRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -349,7 +349,7 @@ def list_services(
r"""Lists all the services in the application.
Args:
- request (google.cloud.appengine_admin_v1.types.ListServicesRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.ListServicesRequest, dict]):
The request object. Request message for
`Services.ListServices`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -398,7 +398,7 @@ def list_services(
def get_service(
self,
- request: appengine.GetServiceRequest = None,
+ request: Union[appengine.GetServiceRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -408,7 +408,7 @@ def get_service(
service.
Args:
- request (google.cloud.appengine_admin_v1.types.GetServiceRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.GetServiceRequest, dict]):
The request object. Request message for
`Services.GetService`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -459,7 +459,7 @@ def get_service(
def update_service(
self,
- request: appengine.UpdateServiceRequest = None,
+ request: Union[appengine.UpdateServiceRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -468,7 +468,7 @@ def update_service(
r"""Updates the configuration of the specified service.
Args:
- request (google.cloud.appengine_admin_v1.types.UpdateServiceRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.UpdateServiceRequest, dict]):
The request object. Request message for
`Services.UpdateService`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -526,7 +526,7 @@ def update_service(
def delete_service(
self,
- request: appengine.DeleteServiceRequest = None,
+ request: Union[appengine.DeleteServiceRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -536,7 +536,7 @@ def delete_service(
versions.
Args:
- request (google.cloud.appengine_admin_v1.types.DeleteServiceRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.DeleteServiceRequest, dict]):
The request object. Request message for
`Services.DeleteService`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
diff --git a/google/cloud/appengine_admin_v1/services/services/transports/base.py b/google/cloud/appengine_admin_v1/services/services/transports/base.py
index 4f5d40e..a276406 100644
--- a/google/cloud/appengine_admin_v1/services/services/transports/base.py
+++ b/google/cloud/appengine_admin_v1/services/services/transports/base.py
@@ -124,7 +124,7 @@ def __init__(
**scopes_kwargs, quota_project_id=quota_project_id
)
- # If the credentials is service account credentials, then always try to use self signed JWT.
+ # If the credentials are service account credentials, then always try to use self signed JWT.
if (
always_use_jwt_access
and isinstance(credentials, service_account.Credentials)
diff --git a/google/cloud/appengine_admin_v1/services/services/transports/grpc.py b/google/cloud/appengine_admin_v1/services/services/transports/grpc.py
index 4aed507..6225fc5 100644
--- a/google/cloud/appengine_admin_v1/services/services/transports/grpc.py
+++ b/google/cloud/appengine_admin_v1/services/services/transports/grpc.py
@@ -83,16 +83,16 @@ def __init__(
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
If provided, it overrides the ``host`` argument and tries to create
a mutual TLS channel with client SSL credentials from
- ``client_cert_source`` or applicatin default SSL credentials.
+ ``client_cert_source`` or application default SSL credentials.
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
Deprecated. A callback to provide client SSL certificate bytes and
private key bytes, both in PEM format. It is ignored if
``api_mtls_endpoint`` is None.
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
- for grpc channel. It is ignored if ``channel`` is provided.
+ for the grpc channel. It is ignored if ``channel`` is provided.
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
A callback to provide client certificate bytes and private key bytes,
- both in PEM format. It is used to configure mutual TLS channel. It is
+ both in PEM format. It is used to configure a mutual TLS channel. It is
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
quota_project_id (Optional[str]): An optional project to use for billing
and quota.
diff --git a/google/cloud/appengine_admin_v1/services/services/transports/grpc_asyncio.py b/google/cloud/appengine_admin_v1/services/services/transports/grpc_asyncio.py
index 339511c..b479e83 100644
--- a/google/cloud/appengine_admin_v1/services/services/transports/grpc_asyncio.py
+++ b/google/cloud/appengine_admin_v1/services/services/transports/grpc_asyncio.py
@@ -130,16 +130,16 @@ def __init__(
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
If provided, it overrides the ``host`` argument and tries to create
a mutual TLS channel with client SSL credentials from
- ``client_cert_source`` or applicatin default SSL credentials.
+ ``client_cert_source`` or application default SSL credentials.
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
Deprecated. A callback to provide client SSL certificate bytes and
private key bytes, both in PEM format. It is ignored if
``api_mtls_endpoint`` is None.
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
- for grpc channel. It is ignored if ``channel`` is provided.
+ for the grpc channel. It is ignored if ``channel`` is provided.
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
A callback to provide client certificate bytes and private key bytes,
- both in PEM format. It is used to configure mutual TLS channel. It is
+ both in PEM format. It is used to configure a mutual TLS channel. It is
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
quota_project_id (Optional[str]): An optional project to use for billing
and quota.
diff --git a/google/cloud/appengine_admin_v1/services/versions/client.py b/google/cloud/appengine_admin_v1/services/versions/client.py
index 4d05135..2d3fe2d 100644
--- a/google/cloud/appengine_admin_v1/services/versions/client.py
+++ b/google/cloud/appengine_admin_v1/services/versions/client.py
@@ -17,7 +17,7 @@
from distutils import util
import os
import re
-from typing import Callable, Dict, Optional, Sequence, Tuple, Type, Union
+from typing import Dict, Optional, Sequence, Tuple, Type, Union
import pkg_resources
from google.api_core import client_options as client_options_lib # type: ignore
@@ -343,7 +343,7 @@ def __init__(
def list_versions(
self,
- request: appengine.ListVersionsRequest = None,
+ request: Union[appengine.ListVersionsRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -352,7 +352,7 @@ def list_versions(
r"""Lists the versions of a service.
Args:
- request (google.cloud.appengine_admin_v1.types.ListVersionsRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.ListVersionsRequest, dict]):
The request object. Request message for
`Versions.ListVersions`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -401,7 +401,7 @@ def list_versions(
def get_version(
self,
- request: appengine.GetVersionRequest = None,
+ request: Union[appengine.GetVersionRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -412,7 +412,7 @@ def get_version(
parameter to get the full resource.
Args:
- request (google.cloud.appengine_admin_v1.types.GetVersionRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.GetVersionRequest, dict]):
The request object. Request message for
`Versions.GetVersion`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -454,7 +454,7 @@ def get_version(
def create_version(
self,
- request: appengine.CreateVersionRequest = None,
+ request: Union[appengine.CreateVersionRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -463,7 +463,7 @@ def create_version(
r"""Deploys code and resource files to a new version.
Args:
- request (google.cloud.appengine_admin_v1.types.CreateVersionRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.CreateVersionRequest, dict]):
The request object. Request message for
`Versions.CreateVersion`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -514,7 +514,7 @@ def create_version(
def update_version(
self,
- request: appengine.UpdateVersionRequest = None,
+ request: Union[appengine.UpdateVersionRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -558,7 +558,7 @@ def update_version(
- ```manual_scaling.instances`` `__
Args:
- request (google.cloud.appengine_admin_v1.types.UpdateVersionRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.UpdateVersionRequest, dict]):
The request object. Request message for
`Versions.UpdateVersion`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -609,7 +609,7 @@ def update_version(
def delete_version(
self,
- request: appengine.DeleteVersionRequest = None,
+ request: Union[appengine.DeleteVersionRequest, dict] = None,
*,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
@@ -618,7 +618,7 @@ def delete_version(
r"""Deletes an existing Version resource.
Args:
- request (google.cloud.appengine_admin_v1.types.DeleteVersionRequest):
+ request (Union[google.cloud.appengine_admin_v1.types.DeleteVersionRequest, dict]):
The request object. Request message for
`Versions.DeleteVersion`.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
diff --git a/google/cloud/appengine_admin_v1/services/versions/transports/base.py b/google/cloud/appengine_admin_v1/services/versions/transports/base.py
index 085cfd3..03f11cd 100644
--- a/google/cloud/appengine_admin_v1/services/versions/transports/base.py
+++ b/google/cloud/appengine_admin_v1/services/versions/transports/base.py
@@ -124,7 +124,7 @@ def __init__(
**scopes_kwargs, quota_project_id=quota_project_id
)
- # If the credentials is service account credentials, then always try to use self signed JWT.
+ # If the credentials are service account credentials, then always try to use self signed JWT.
if (
always_use_jwt_access
and isinstance(credentials, service_account.Credentials)
diff --git a/google/cloud/appengine_admin_v1/services/versions/transports/grpc.py b/google/cloud/appengine_admin_v1/services/versions/transports/grpc.py
index fc8ee54..9abe8a4 100644
--- a/google/cloud/appengine_admin_v1/services/versions/transports/grpc.py
+++ b/google/cloud/appengine_admin_v1/services/versions/transports/grpc.py
@@ -83,16 +83,16 @@ def __init__(
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
If provided, it overrides the ``host`` argument and tries to create
a mutual TLS channel with client SSL credentials from
- ``client_cert_source`` or applicatin default SSL credentials.
+ ``client_cert_source`` or application default SSL credentials.
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
Deprecated. A callback to provide client SSL certificate bytes and
private key bytes, both in PEM format. It is ignored if
``api_mtls_endpoint`` is None.
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
- for grpc channel. It is ignored if ``channel`` is provided.
+ for the grpc channel. It is ignored if ``channel`` is provided.
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
A callback to provide client certificate bytes and private key bytes,
- both in PEM format. It is used to configure mutual TLS channel. It is
+ both in PEM format. It is used to configure a mutual TLS channel. It is
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
quota_project_id (Optional[str]): An optional project to use for billing
and quota.
diff --git a/google/cloud/appengine_admin_v1/services/versions/transports/grpc_asyncio.py b/google/cloud/appengine_admin_v1/services/versions/transports/grpc_asyncio.py
index b8fdefb..52a24e5 100644
--- a/google/cloud/appengine_admin_v1/services/versions/transports/grpc_asyncio.py
+++ b/google/cloud/appengine_admin_v1/services/versions/transports/grpc_asyncio.py
@@ -130,16 +130,16 @@ def __init__(
api_mtls_endpoint (Optional[str]): Deprecated. The mutual TLS endpoint.
If provided, it overrides the ``host`` argument and tries to create
a mutual TLS channel with client SSL credentials from
- ``client_cert_source`` or applicatin default SSL credentials.
+ ``client_cert_source`` or application default SSL credentials.
client_cert_source (Optional[Callable[[], Tuple[bytes, bytes]]]):
Deprecated. A callback to provide client SSL certificate bytes and
private key bytes, both in PEM format. It is ignored if
``api_mtls_endpoint`` is None.
ssl_channel_credentials (grpc.ChannelCredentials): SSL credentials
- for grpc channel. It is ignored if ``channel`` is provided.
+ for the grpc channel. It is ignored if ``channel`` is provided.
client_cert_source_for_mtls (Optional[Callable[[], Tuple[bytes, bytes]]]):
A callback to provide client certificate bytes and private key bytes,
- both in PEM format. It is used to configure mutual TLS channel. It is
+ both in PEM format. It is used to configure a mutual TLS channel. It is
ignored if ``channel`` or ``ssl_channel_credentials`` is provided.
quota_project_id (Optional[str]): An optional project to use for billing
and quota.
diff --git a/noxfile.py b/noxfile.py
index 94ee6a8..93ea9b1 100644
--- a/noxfile.py
+++ b/noxfile.py
@@ -84,9 +84,15 @@ def default(session):
constraints_path = str(
CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt"
)
- session.install("asyncmock", "pytest-asyncio", "-c", constraints_path)
-
- session.install("mock", "pytest", "pytest-cov", "-c", constraints_path)
+ session.install(
+ "mock",
+ "asyncmock",
+ "pytest",
+ "pytest-cov",
+ "pytest-asyncio",
+ "-c",
+ constraints_path,
+ )
session.install("-e", ".", "-c", constraints_path)
diff --git a/owlbot.py b/owlbot.py
index 30ffad7..73126b5 100644
--- a/owlbot.py
+++ b/owlbot.py
@@ -46,4 +46,6 @@
templated_files, excludes=excludes
)
+python.py_samples(skip_readmes=True)
+
s.shell.run(["nox", "-s", "blacken"], hide_output=False)
diff --git a/renovate.json b/renovate.json
index c048955..c21036d 100644
--- a/renovate.json
+++ b/renovate.json
@@ -1,6 +1,9 @@
{
"extends": [
- "config:base", ":preserveSemverRanges"
+ "config:base",
+ "group:all",
+ ":preserveSemverRanges",
+ ":disableDependencyDashboard"
],
"ignorePaths": [".pre-commit-config.yaml"],
"pip_requirements": {
diff --git a/scripts/fixup_appengine_admin_v1_keywords.py b/scripts/fixup_appengine_admin_v1_keywords.py
index 977426f..d8d9f5c 100644
--- a/scripts/fixup_appengine_admin_v1_keywords.py
+++ b/scripts/fixup_appengine_admin_v1_keywords.py
@@ -39,40 +39,40 @@ def partition(
class appengine_adminCallTransformer(cst.CSTTransformer):
CTRL_PARAMS: Tuple[str] = ('retry', 'timeout', 'metadata')
METHOD_TO_PARAMS: Dict[str, Tuple[str]] = {
- 'batch_update_ingress_rules': ('name', 'ingress_rules', ),
- 'create_application': ('application', ),
- 'create_authorized_certificate': ('parent', 'certificate', ),
- 'create_domain_mapping': ('parent', 'domain_mapping', 'override_strategy', ),
- 'create_ingress_rule': ('parent', 'rule', ),
- 'create_version': ('parent', 'version', ),
- 'debug_instance': ('name', 'ssh_key', ),
- 'delete_authorized_certificate': ('name', ),
- 'delete_domain_mapping': ('name', ),
- 'delete_ingress_rule': ('name', ),
- 'delete_instance': ('name', ),
- 'delete_service': ('name', ),
- 'delete_version': ('name', ),
- 'get_application': ('name', ),
- 'get_authorized_certificate': ('name', 'view', ),
- 'get_domain_mapping': ('name', ),
- 'get_ingress_rule': ('name', ),
- 'get_instance': ('name', ),
- 'get_service': ('name', ),
- 'get_version': ('name', 'view', ),
- 'list_authorized_certificates': ('parent', 'view', 'page_size', 'page_token', ),
- 'list_authorized_domains': ('parent', 'page_size', 'page_token', ),
- 'list_domain_mappings': ('parent', 'page_size', 'page_token', ),
- 'list_ingress_rules': ('parent', 'page_size', 'page_token', 'matching_address', ),
- 'list_instances': ('parent', 'page_size', 'page_token', ),
- 'list_services': ('parent', 'page_size', 'page_token', ),
- 'list_versions': ('parent', 'view', 'page_size', 'page_token', ),
- 'repair_application': ('name', ),
- 'update_application': ('name', 'application', 'update_mask', ),
- 'update_authorized_certificate': ('name', 'certificate', 'update_mask', ),
- 'update_domain_mapping': ('name', 'domain_mapping', 'update_mask', ),
- 'update_ingress_rule': ('name', 'rule', 'update_mask', ),
- 'update_service': ('name', 'service', 'update_mask', 'migrate_traffic', ),
- 'update_version': ('name', 'version', 'update_mask', ),
+ 'batch_update_ingress_rules': ('name', 'ingress_rules', ),
+ 'create_application': ('application', ),
+ 'create_authorized_certificate': ('parent', 'certificate', ),
+ 'create_domain_mapping': ('parent', 'domain_mapping', 'override_strategy', ),
+ 'create_ingress_rule': ('parent', 'rule', ),
+ 'create_version': ('parent', 'version', ),
+ 'debug_instance': ('name', 'ssh_key', ),
+ 'delete_authorized_certificate': ('name', ),
+ 'delete_domain_mapping': ('name', ),
+ 'delete_ingress_rule': ('name', ),
+ 'delete_instance': ('name', ),
+ 'delete_service': ('name', ),
+ 'delete_version': ('name', ),
+ 'get_application': ('name', ),
+ 'get_authorized_certificate': ('name', 'view', ),
+ 'get_domain_mapping': ('name', ),
+ 'get_ingress_rule': ('name', ),
+ 'get_instance': ('name', ),
+ 'get_service': ('name', ),
+ 'get_version': ('name', 'view', ),
+ 'list_authorized_certificates': ('parent', 'view', 'page_size', 'page_token', ),
+ 'list_authorized_domains': ('parent', 'page_size', 'page_token', ),
+ 'list_domain_mappings': ('parent', 'page_size', 'page_token', ),
+ 'list_ingress_rules': ('parent', 'page_size', 'page_token', 'matching_address', ),
+ 'list_instances': ('parent', 'page_size', 'page_token', ),
+ 'list_services': ('parent', 'page_size', 'page_token', ),
+ 'list_versions': ('parent', 'view', 'page_size', 'page_token', ),
+ 'repair_application': ('name', ),
+ 'update_application': ('name', 'application', 'update_mask', ),
+ 'update_authorized_certificate': ('name', 'certificate', 'update_mask', ),
+ 'update_domain_mapping': ('name', 'domain_mapping', 'update_mask', ),
+ 'update_ingress_rule': ('name', 'rule', 'update_mask', ),
+ 'update_service': ('name', 'service', 'update_mask', 'migrate_traffic', ),
+ 'update_version': ('name', 'version', 'update_mask', ),
}
def leave_Call(self, original: cst.Call, updated: cst.Call) -> cst.CSTNode:
@@ -91,7 +91,7 @@ def leave_Call(self, original: cst.Call, updated: cst.Call) -> cst.CSTNode:
return updated
kwargs, ctrl_kwargs = partition(
- lambda a: not a.keyword.value in self.CTRL_PARAMS,
+ lambda a: a.keyword.value not in self.CTRL_PARAMS,
kwargs
)
diff --git a/scripts/readme-gen/templates/install_deps.tmpl.rst b/scripts/readme-gen/templates/install_deps.tmpl.rst
index a0406db..275d649 100644
--- a/scripts/readme-gen/templates/install_deps.tmpl.rst
+++ b/scripts/readme-gen/templates/install_deps.tmpl.rst
@@ -12,7 +12,7 @@ Install Dependencies
.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup
-#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.
+#. Create a virtualenv. Samples are compatible with Python 3.6+.
.. code-block:: bash
diff --git a/setup.py b/setup.py
index 81c2f50..8d829db 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,7 @@
import setuptools # type: ignore
name = "google-cloud-appengine-admin"
-version = "1.1.3"
+version = "1.1.4"
description = "App Engine Admin API client library"
release_status = "Development Status :: 5 - Production/Stable"
url = "https://github.com/googleapis/python-appengine-admin"
diff --git a/tests/unit/gapic/appengine_admin_v1/test_instances.py b/tests/unit/gapic/appengine_admin_v1/test_instances.py
index 2fbe274..d82988f 100644
--- a/tests/unit/gapic/appengine_admin_v1/test_instances.py
+++ b/tests/unit/gapic/appengine_admin_v1/test_instances.py
@@ -780,7 +780,7 @@ def test_get_instance(
vm_id="vm_id_value",
requests=892,
errors=669,
- qps=0.340,
+ qps=0.34,
average_latency=1578,
memory_usage=1293,
vm_status="vm_status_value",
@@ -806,7 +806,7 @@ def test_get_instance(
assert response.vm_id == "vm_id_value"
assert response.requests == 892
assert response.errors == 669
- assert math.isclose(response.qps, 0.340, rel_tol=1e-6)
+ assert math.isclose(response.qps, 0.34, rel_tol=1e-6)
assert response.average_latency == 1578
assert response.memory_usage == 1293
assert response.vm_status == "vm_status_value"
@@ -860,7 +860,7 @@ async def test_get_instance_async(
vm_id="vm_id_value",
requests=892,
errors=669,
- qps=0.340,
+ qps=0.34,
average_latency=1578,
memory_usage=1293,
vm_status="vm_status_value",
@@ -887,7 +887,7 @@ async def test_get_instance_async(
assert response.vm_id == "vm_id_value"
assert response.requests == 892
assert response.errors == 669
- assert math.isclose(response.qps, 0.340, rel_tol=1e-6)
+ assert math.isclose(response.qps, 0.34, rel_tol=1e-6)
assert response.average_latency == 1578
assert response.memory_usage == 1293
assert response.vm_status == "vm_status_value"