Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(asset): undeprecate resource name helper methods, add 2.7 deprecation warning (via synth) #10036

Merged
merged 1 commit into from
Jan 8, 2020

Conversation

yoshi-automation
Copy link
Contributor

This PR was generated using Autosynth. 🌈

Log from Synthtool
synthtool > Executing /tmpfs/src/git/autosynth/working_repo/asset/synth.py.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
3386e6af03b0: Pulling fs layer
49ac0bbe6c8e: Pulling fs layer
d1983a67e104: Pulling fs layer
1a0f3a523f04: Pulling fs layer
c703e8b6fa19: Pulling fs layer
35cfe729a390: Pulling fs layer
9eafba7dcf77: Pulling fs layer
356023b5809f: Pulling fs layer
2d2350eddfd7: Pulling fs layer
d7586a41e104: Pulling fs layer
2c00e43340b3: Pulling fs layer
4fcd3032b2c3: Pulling fs layer
b58aa3d6b872: Pulling fs layer
89234dcd9a9c: Pulling fs layer
cb0185d5728e: Pulling fs layer
3d6e58b109a9: Pulling fs layer
cc59cdfeca2c: Pulling fs layer
c0f30d4bde81: Pulling fs layer
489015e5df27: Pulling fs layer
187f7df4b589: Pulling fs layer
ac53ee7d20d5: Pulling fs layer
ca229918bf28: Pulling fs layer
6397ccfab52d: Pulling fs layer
4f4f31a03f53: Pulling fs layer
3381b4caf618: Pulling fs layer
5b5a13d57c39: Pulling fs layer
b9ba03a85542: Pulling fs layer
7d611a1b3fca: Pulling fs layer
1a0f3a523f04: Waiting
c703e8b6fa19: Waiting
35cfe729a390: Waiting
9eafba7dcf77: Waiting
356023b5809f: Waiting
2d2350eddfd7: Waiting
d7586a41e104: Waiting
2c00e43340b3: Waiting
4fcd3032b2c3: Waiting
b58aa3d6b872: Waiting
6397ccfab52d: Waiting
cb0185d5728e: Waiting
4f4f31a03f53: Waiting
3d6e58b109a9: Waiting
3381b4caf618: Waiting
b9ba03a85542: Waiting
7d611a1b3fca: Waiting
5b5a13d57c39: Waiting
ca229918bf28: Waiting
ac53ee7d20d5: Waiting
187f7df4b589: Waiting
c0f30d4bde81: Waiting
489015e5df27: Waiting
d1983a67e104: Verifying Checksum
d1983a67e104: Download complete
49ac0bbe6c8e: Verifying Checksum
49ac0bbe6c8e: Download complete
1a0f3a523f04: Download complete
3386e6af03b0: Verifying Checksum
3386e6af03b0: Download complete
c703e8b6fa19: Download complete
9eafba7dcf77: Verifying Checksum
9eafba7dcf77: Download complete
356023b5809f: Verifying Checksum
356023b5809f: Download complete
2d2350eddfd7: Verifying Checksum
2d2350eddfd7: Download complete
d7586a41e104: Verifying Checksum
d7586a41e104: Download complete
4fcd3032b2c3: Verifying Checksum
4fcd3032b2c3: Download complete
2c00e43340b3: Verifying Checksum
2c00e43340b3: Download complete
89234dcd9a9c: Verifying Checksum
89234dcd9a9c: Download complete
35cfe729a390: Verifying Checksum
35cfe729a390: Download complete
3386e6af03b0: Pull complete
49ac0bbe6c8e: Pull complete
d1983a67e104: Pull complete
3d6e58b109a9: Verifying Checksum
3d6e58b109a9: Download complete
1a0f3a523f04: Pull complete
cb0185d5728e: Verifying Checksum
cb0185d5728e: Download complete
b58aa3d6b872: Verifying Checksum
b58aa3d6b872: Download complete
cc59cdfeca2c: Verifying Checksum
cc59cdfeca2c: Download complete
c0f30d4bde81: Verifying Checksum
c0f30d4bde81: Download complete
489015e5df27: Download complete
ac53ee7d20d5: Verifying Checksum
ac53ee7d20d5: Download complete
6397ccfab52d: Download complete
c703e8b6fa19: Pull complete
4f4f31a03f53: Verifying Checksum
4f4f31a03f53: Download complete
3381b4caf618: Verifying Checksum
3381b4caf618: Download complete
187f7df4b589: Verifying Checksum
187f7df4b589: Download complete
5b5a13d57c39: Download complete
b9ba03a85542: Download complete
7d611a1b3fca: Verifying Checksum
7d611a1b3fca: Download complete
ca229918bf28: Verifying Checksum
ca229918bf28: Download complete
35cfe729a390: Pull complete
9eafba7dcf77: Pull complete
356023b5809f: Pull complete
2d2350eddfd7: Pull complete
d7586a41e104: Pull complete
2c00e43340b3: Pull complete
4fcd3032b2c3: Pull complete
b58aa3d6b872: Pull complete
89234dcd9a9c: Pull complete
cb0185d5728e: Pull complete
3d6e58b109a9: Pull complete
cc59cdfeca2c: Pull complete
c0f30d4bde81: Pull complete
489015e5df27: Pull complete
187f7df4b589: Pull complete
ac53ee7d20d5: Pull complete
ca229918bf28: Pull complete
6397ccfab52d: Pull complete
4f4f31a03f53: Pull complete
3381b4caf618: Pull complete
5b5a13d57c39: Pull complete
b9ba03a85542: Pull complete
7d611a1b3fca: Pull complete
Digest: sha256:264654a37596a44b0668b8ce6ac41082d713f6ee150b3fc6425fa78cc64e4f20
Status: Downloaded newer image for googleapis/artman:latest
synthtool > Cloning googleapis.
synthtool > Running generator for google/cloud/asset/artman_cloudasset_v1beta1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/asset-v1beta1.
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/asset/v1beta1/assets.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/asset-v1beta1/google/cloud/asset_v1beta1/proto/assets.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/asset/v1beta1/asset_service.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/asset-v1beta1/google/cloud/asset_v1beta1/proto/asset_service.proto
synthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/asset-v1beta1/google/cloud/asset_v1beta1/proto.
synthtool > Running generator for google/cloud/asset/artman_cloudasset_v1p2beta1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/asset-v1p2beta1.
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/asset/v1p2beta1/assets.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/asset-v1p2beta1/google/cloud/asset_v1p2beta1/proto/assets.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/asset/v1p2beta1/asset_service.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/asset-v1p2beta1/google/cloud/asset_v1p2beta1/proto/asset_service.proto
synthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/asset-v1p2beta1/google/cloud/asset_v1p2beta1/proto.
synthtool > Running generator for google/cloud/asset/artman_cloudasset_v1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/asset-v1.
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/asset/v1/assets.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/asset-v1/google/cloud/asset_v1/proto/assets.proto
synthtool > Copy: /home/kbuilder/.cache/synthtool/googleapis/google/cloud/asset/v1/asset_service.proto to /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/asset-v1/google/cloud/asset_v1/proto/asset_service.proto
synthtool > Placed proto files into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/python/asset-v1/google/cloud/asset_v1/proto.
synthtool > Replaced 'from google.iam.v1 import policy_pb2 as' in google/cloud/asset_v1/proto/assets_pb2.py.
synthtool > Replaced 'from google.iam.v1 import policy_pb2 as' in google/cloud/asset_v1beta1/proto/assets_pb2.py.
synthtool > Replaced 'from google.iam.v1 import policy_pb2 as' in google/cloud/asset_v1p2beta1/proto/assets_pb2.py.
synthtool > Replaced 'from google.iam.v1 import iam_policy_pb2_grpc as google_dot_iam_dot_v1_dot_policy__pb2' in google/cloud/asset_v1/proto/assets_pb2.py.
synthtool > Replaced 'from google.iam.v1 import iam_policy_pb2_grpc as google_dot_iam_dot_v1_dot_policy__pb2' in google/cloud/asset_v1beta1/proto/assets_pb2.py.
synthtool > Replaced 'from google.iam.v1 import iam_policy_pb2_grpc as google_dot_iam_dot_v1_dot_policy__pb2' in google/cloud/asset_v1p2beta1/proto/assets_pb2.py.
synthtool > Replaced "_ASSET.fields_by_name\\['iam_policy'\\].message_type = google_dot_iam_dot_v1_dot_policy__pb2._POLICY" in google/cloud/asset_v1/proto/assets_pb2.py.
synthtool > Replaced "_ASSET.fields_by_name\\['iam_policy'\\].message_type = google_dot_iam_dot_v1_dot_policy__pb2._POLICY" in google/cloud/asset_v1beta1/proto/assets_pb2.py.
synthtool > Replaced "_ASSET.fields_by_name\\['iam_policy'\\].message_type = google_dot_iam_dot_v1_dot_policy__pb2._POLICY" in google/cloud/asset_v1p2beta1/proto/assets_pb2.py.
synthtool > Replaced '          The full name of the asset. For example: ``//compute.googleapi\n          s.com/projects/my_project_123/zones/zone1/instances/instance1`\n          `. See `Resource Names <https://cloud.google.com/apis/design/r\n          esource_names#full_resource_name>`__ for more information.\n' in google/cloud/asset_v1/proto/assets_pb2.py.
synthtool > Replaced '          The full name of the asset. For example: ``//compute.googleapi\n          s.com/projects/my_project_123/zones/zone1/instances/instance1`\n          `. See `Resource Names <https://cloud.google.com/apis/design/r\n          esource_names#full_resource_name>`__ for more information.\n' in google/cloud/asset_v1beta1/proto/assets_pb2.py.
synthtool > Replaced '          The full name of the asset. For example: ``//compute.googleapi\n          s.com/projects/my_project_123/zones/zone1/instances/instance1`\n          `. See `Resource Names <https://cloud.google.com/apis/design/r\n          esource_names#full_resource_name>`__ for more information.\n' in google/cloud/asset_v1p2beta1/proto/assets_pb2.py.
synthtool > Replaced '__doc__\\s*=\\s*"""Attributes:' in google/cloud/asset_v1/proto/asset_service_pb2.py.
.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/asset/google/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1/gapic/enums.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1/gapic/asset_service_client_config.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1/gapic/transports/asset_service_grpc_transport.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1/proto/asset_service_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1/proto/assets_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1/types.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1beta1/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1/gapic/asset_service_client.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1beta1/gapic/asset_service_client_config.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1beta1/gapic/enums.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1beta1/gapic/asset_service_client.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1beta1/gapic/transports/asset_service_grpc_transport.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1beta1/proto/asset_service_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1/proto/assets_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1beta1/proto/assets_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1beta1/types.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1p2beta1/__init__.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1p2beta1/gapic/asset_service_client.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1beta1/proto/assets_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1p2beta1/gapic/enums.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1beta1/proto/asset_service_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1p2beta1/gapic/asset_service_client_config.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1p2beta1/gapic/transports/asset_service_grpc_transport.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1p2beta1/proto/asset_service_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1p2beta1/proto/assets_pb2_grpc.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1p2beta1/types.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1/proto/asset_service_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/tests/unit/gapic/v1beta1/test_asset_service_client_v1beta1.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1p2beta1/proto/assets_pb2.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/tests/unit/gapic/v1/test_asset_service_client_v1.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/tests/unit/gapic/v1p2beta1/test_asset_service_client_v1p2beta1.py
reformatted /tmpfs/src/git/autosynth/working_repo/asset/google/cloud/asset_v1p2beta1/proto/asset_service_pb2.py
All done! ✨ 🍰 ✨
36 files reformatted, 13 files left unchanged.
Session blacken was successful.
synthtool > Wrote metadata to synth.metadata.

@yoshi-automation yoshi-automation added the api: cloudasset Issues related to the Cloud Asset Inventory API. label Jan 3, 2020
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 3, 2020
@busunkim96 busunkim96 changed the title [CHANGE ME] Re-generated asset to pick up changes in the API or client library generator. feat(asset): undeprecate resource name helper methods, add 2.7 deprecation warning (via synth) Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: cloudasset Issues related to the Cloud Asset Inventory API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants