synthtool > Executing /tmpfs/src/git/autosynth/working_repo/redis/synth.py.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:c773192618c608a7a0415dd95282f841f8e6bcdef7dd760a988c93b77a64bd57
Status: Image is up to date for googleapis/artman:latest
synthtool > Cloning googleapis.
synthtool > Running generator for google/cloud/redis/artman_redis_v1beta1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/redis-v1beta1.
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/redis/v1beta1/cloud_redis.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/redis-v1beta1/google/cloud/redis_v1beta1/proto/cloud_redis.proto
synthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/redis-v1beta1/google/cloud/redis_v1beta1/proto.
synthtool > Running generator for google/cloud/redis/artman_redis_v1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/redis-v1.
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/redis/v1/cloud_redis.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/redis-v1/google/cloud/redis_v1/proto/cloud_redis.proto
synthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/redis-v1/google/cloud/redis_v1/proto.
synthtool > No replacements made in google/cloud/**/cloud_redis_client.py for pattern resources of the form:\n ``, maybe replacement is not longer needed?
synthtool > No replacements made in google/cloud/**/cloud_redis_client.py for pattern
parent \(str\): Required. The resource name of the instance location using the form:
::
`projects/{project_id}/locations/{location_id}`
where ``location_id`` refers to a GCP region, maybe replacement is not longer needed?
synthtool > No replacements made in google/cloud/**/cloud_redis_client.py for pattern
with the following restrictions:
\* Must contain only lowercase letters, numbers, and hyphens\., maybe replacement is not longer needed?
synthtool > No replacements made in google/cloud/**/cloud_redis_client.py for pattern
name \(str\): Required. Redis instance resource name using the form:
::
`projects/{project_id}/locations/{location_id}/instances/{instance_id}`
where ``location_id`` refers to a GCP region, maybe replacement is not longer needed?
synthtool > No replacements made in google/cloud/**/cloud_redis_client.py for pattern
fields from ``Instance``:
\* ``displayName``
\* ``labels``
\* ``memorySizeGb``
\* ``redisConfig``, maybe replacement is not longer needed?
.coveragerc
.flake8
MANIFEST.in
docs/_static/custom.css
docs/_templates/layout.html
noxfile.py.j2
setup.cfg
Running session blacken
Creating virtual environment (virtualenv) using python3.6 in .nox/blacken
pip install black==19.3b0
black docs google tests noxfile.py setup.py
reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis.py
reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1/gapic/enums.py
reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1/gapic/cloud_redis_client_config.py
reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1/gapic/transports/cloud_redis_grpc_transport.py
reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1/types.py
reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1beta1/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1/proto/cloud_redis_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1beta1/gapic/cloud_redis_client_config.py
reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1beta1/gapic/enums.py
reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1beta1/gapic/transports/cloud_redis_grpc_transport.py
reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1/gapic/cloud_redis_client.py
reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1beta1/proto/cloud_redis_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1beta1/gapic/cloud_redis_client.py
reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1beta1/types.py
reformatted /tmpfs/src/git/autosynth/working_repo/redis/noxfile.py
reformatted /tmpfs/src/git/autosynth/working_repo/redis/tests/unit/gapic/v1/test_cloud_redis_client_v1.py
reformatted /tmpfs/src/git/autosynth/working_repo/redis/tests/unit/gapic/v1beta1/test_cloud_redis_client_v1beta1.py
reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1/proto/cloud_redis_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1beta1/proto/cloud_redis_pb2.py
All done! ✨ 🍰 ✨
22 files reformatted, 8 files left unchanged.
Session blacken was successful.
synthtool > Cleaned up 2 temporary directories.
synthtool > Wrote metadata to synth.metadata.
busunkim96
changed the title
[CHANGE ME] Re-generated redis to pick up changes in the API or client library generator.
fix(redis): deprecate resource name helper methods (via synth)
Nov 19, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was generated using Autosynth. 🌈
Log from Synthtoolsynthtool > Executing /tmpfs/src/git/autosynth/working_repo/redis/synth.py. synthtool > Ensuring dependencies. synthtool > Pulling artman image. latest: Pulling from googleapis/artman Digest: sha256:c773192618c608a7a0415dd95282f841f8e6bcdef7dd760a988c93b77a64bd57 Status: Image is up to date for googleapis/artman:latest synthtool > Cloning googleapis. synthtool > Running generator for google/cloud/redis/artman_redis_v1beta1.yaml. synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/redis-v1beta1. synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/redis/v1beta1/cloud_redis.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/redis-v1beta1/google/cloud/redis_v1beta1/proto/cloud_redis.proto synthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/redis-v1beta1/google/cloud/redis_v1beta1/proto. synthtool > Running generator for google/cloud/redis/artman_redis_v1.yaml. synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/redis-v1. synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/redis/v1/cloud_redis.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/redis-v1/google/cloud/redis_v1/proto/cloud_redis.proto synthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/redis-v1/google/cloud/redis_v1/proto. synthtool > No replacements made in google/cloud/**/cloud_redis_client.py for pattern resources of the form:\n ``, maybe replacement is not longer needed? synthtool > No replacements made in google/cloud/**/cloud_redis_client.py for pattern parent \(str\): Required. The resource name of the instance location using the form: :: `projects/{project_id}/locations/{location_id}` where ``location_id`` refers to a GCP region, maybe replacement is not longer needed? synthtool > No replacements made in google/cloud/**/cloud_redis_client.py for pattern with the following restrictions: \* Must contain only lowercase letters, numbers, and hyphens\., maybe replacement is not longer needed? synthtool > No replacements made in google/cloud/**/cloud_redis_client.py for pattern name \(str\): Required. Redis instance resource name using the form: :: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where ``location_id`` refers to a GCP region, maybe replacement is not longer needed? synthtool > No replacements made in google/cloud/**/cloud_redis_client.py for pattern fields from ``Instance``: \* ``displayName`` \* ``labels`` \* ``memorySizeGb`` \* ``redisConfig``, maybe replacement is not longer needed? .coveragerc .flake8 MANIFEST.in docs/_static/custom.css docs/_templates/layout.html noxfile.py.j2 setup.cfg Running session blacken Creating virtual environment (virtualenv) using python3.6 in .nox/blacken pip install black==19.3b0 black docs google tests noxfile.py setup.py reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/__init__.py reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/__init__.py reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis.py reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1/__init__.py reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1/gapic/enums.py reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1/gapic/cloud_redis_client_config.py reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1/gapic/transports/cloud_redis_grpc_transport.py reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1/types.py reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1beta1/__init__.py reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1/proto/cloud_redis_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1beta1/gapic/cloud_redis_client_config.py reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1beta1/gapic/enums.py reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1beta1/gapic/transports/cloud_redis_grpc_transport.py reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1/gapic/cloud_redis_client.py reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1beta1/proto/cloud_redis_pb2_grpc.py reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1beta1/gapic/cloud_redis_client.py reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1beta1/types.py reformatted /tmpfs/src/git/autosynth/working_repo/redis/noxfile.py reformatted /tmpfs/src/git/autosynth/working_repo/redis/tests/unit/gapic/v1/test_cloud_redis_client_v1.py reformatted /tmpfs/src/git/autosynth/working_repo/redis/tests/unit/gapic/v1beta1/test_cloud_redis_client_v1beta1.py reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1/proto/cloud_redis_pb2.py reformatted /tmpfs/src/git/autosynth/working_repo/redis/google/cloud/redis_v1beta1/proto/cloud_redis_pb2.py All done! ✨ 🍰 ✨ 22 files reformatted, 8 files left unchanged. Session blacken was successful. synthtool > Cleaned up 2 temporary directories. synthtool > Wrote metadata to synth.metadata.