-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(migration): Migrate code from googleapis/python-network-service…
…s into packages/google-cloud-network-services (#11646) See #10920. This PR should be merged with a merge-commit, not a squash-commit, in order to preserve the git history.
- Loading branch information
Showing
80 changed files
with
58,316 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Copyright 2022 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
|
||
deep-remove-regex: | ||
- /owl-bot-staging | ||
|
||
deep-preserve-regex: | ||
- /owl-bot-staging/google-cloud-network-services/v1beta1 | ||
|
||
deep-copy-regex: | ||
- source: /google/cloud/networkservices/(v.*)/.*-py | ||
dest: /owl-bot-staging/google-cloud-network-services/$1 | ||
|
||
begin-after-commit-hash: 70f7f0525414fe4dfeb2fc2e81546b073f83a621 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[run] | ||
branch = True | ||
|
||
[report] | ||
show_missing = True | ||
omit = | ||
google/cloud/network_services/__init__.py | ||
google/cloud/network_services/gapic_version.py | ||
exclude_lines = | ||
# Re-enable the standard pragma | ||
pragma: NO COVER | ||
# Ignore debug-only repr | ||
def __repr__ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# -*- coding: utf-8 -*- | ||
# | ||
# Copyright 2023 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# Generated by synthtool. DO NOT EDIT! | ||
[flake8] | ||
ignore = E203, E231, E266, E501, W503 | ||
exclude = | ||
# Exclude generated code. | ||
**/proto/** | ||
**/gapic/** | ||
**/services/** | ||
**/types/** | ||
*_pb2.py | ||
|
||
# Standard linting exemptions. | ||
**/.nox/** | ||
__pycache__, | ||
.git, | ||
*.pyc, | ||
conf.py |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
*.py[cod] | ||
*.sw[op] | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Packages | ||
*.egg | ||
*.egg-info | ||
dist | ||
build | ||
eggs | ||
.eggs | ||
parts | ||
bin | ||
var | ||
sdist | ||
develop-eggs | ||
.installed.cfg | ||
lib | ||
lib64 | ||
__pycache__ | ||
|
||
# Installer logs | ||
pip-log.txt | ||
|
||
# Unit test / coverage reports | ||
.coverage | ||
.nox | ||
.cache | ||
.pytest_cache | ||
|
||
|
||
# Mac | ||
.DS_Store | ||
|
||
# JetBrains | ||
.idea | ||
|
||
# VS Code | ||
.vscode | ||
|
||
# emacs | ||
*~ | ||
|
||
# Built documentation | ||
docs/_build | ||
bigquery/docs/generated | ||
docs.metadata | ||
|
||
# Virtual environment | ||
env/ | ||
|
||
# Test logs | ||
coverage.xml | ||
*sponge_log.xml | ||
|
||
# System test environment variables. | ||
system_tests/local_test_setup | ||
|
||
# Make sure a generated file isn't accidentally committed. | ||
pylintrc | ||
pylintrc.test |
31 changes: 31 additions & 0 deletions
31
packages/google-cloud-network-services/.pre-commit-config.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Copyright 2023 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# See https://pre-commit.com for more information | ||
# See https://pre-commit.com/hooks.html for more hooks | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.0.1 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-yaml | ||
- repo: https://github.com/psf/black | ||
rev: 22.3.0 | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/pycqa/flake8 | ||
rev: 6.1.0 | ||
hooks: | ||
- id: flake8 |
3 changes: 3 additions & 0 deletions
3
packages/google-cloud-network-services/.release-please-manifest.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
".": "0.5.4" | ||
} |
16 changes: 16 additions & 0 deletions
16
packages/google-cloud-network-services/.repo-metadata.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "networkservices", | ||
"name_pretty": "Network Services", | ||
"product_documentation": "https://cloud.google.com", | ||
"client_documentation": "https://cloud.google.com/python/docs/reference/networkservices/latest", | ||
"issue_tracker": "", | ||
"release_level": "preview", | ||
"language": "python", | ||
"library_type": "GAPIC_AUTO", | ||
"repo": "googleapis/python-network-services", | ||
"distribution_name": "google-cloud-network-services", | ||
"api_id": "networkservices.googleapis.com", | ||
"default_version": "v1", | ||
"codeowner_team": "", | ||
"api_shortname": "networkservices" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
# Changelog | ||
|
||
## [0.5.4](https://github.com/googleapis/python-network-services/compare/v0.5.3...v0.5.4) (2023-09-13) | ||
|
||
|
||
### Documentation | ||
|
||
* Minor formatting ([77844a9](https://github.com/googleapis/python-network-services/commit/77844a9947ddb22593a0f5e4ac16c439da3e7de3)) | ||
|
||
## [0.5.3](https://github.com/googleapis/python-network-services/compare/v0.5.2...v0.5.3) (2023-08-09) | ||
|
||
|
||
### Documentation | ||
|
||
* Add clarifications for fields in `RouteAction` message ([4ebd038](https://github.com/googleapis/python-network-services/commit/4ebd038751c9b6d82b1bc5df76507520170d259c)) | ||
* Minor formatting ([4ebd038](https://github.com/googleapis/python-network-services/commit/4ebd038751c9b6d82b1bc5df76507520170d259c)) | ||
|
||
## [0.5.2](https://github.com/googleapis/python-network-services/compare/v0.5.1...v0.5.2) (2023-07-04) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Add async context manager return types ([#85](https://github.com/googleapis/python-network-services/issues/85)) ([17a0737](https://github.com/googleapis/python-network-services/commit/17a0737eec7645eb09590cc3203677aff12beaef)) | ||
|
||
## [0.5.1](https://github.com/googleapis/python-network-services/compare/v0.5.0...v0.5.1) (2023-03-23) | ||
|
||
|
||
### Documentation | ||
|
||
* Fix formatting of request arg in docstring ([#77](https://github.com/googleapis/python-network-services/issues/77)) ([924ba0e](https://github.com/googleapis/python-network-services/commit/924ba0e125c84200a166a70798835f6df487422b)) | ||
|
||
## [0.5.0](https://github.com/googleapis/python-network-services/compare/v0.4.1...v0.5.0) (2023-02-09) | ||
|
||
|
||
### Features | ||
|
||
* Enable "rest" transport in Python for services supporting numeric enums ([#70](https://github.com/googleapis/python-network-services/issues/70)) ([ccfdcec](https://github.com/googleapis/python-network-services/commit/ccfdcecec0f5d187260d3753039ddb0090b39346)) | ||
|
||
## [0.4.1](https://github.com/googleapis/python-network-services/compare/v0.4.0...v0.4.1) (2023-01-20) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Add context manager return types ([2e8534f](https://github.com/googleapis/python-network-services/commit/2e8534f860d789225a27497223f0edf17befc5dd)) | ||
|
||
|
||
### Documentation | ||
|
||
* Add documentation for enums ([2e8534f](https://github.com/googleapis/python-network-services/commit/2e8534f860d789225a27497223f0edf17befc5dd)) | ||
|
||
## [0.4.0](https://github.com/googleapis/python-network-services/compare/v0.3.0...v0.4.0) (2023-01-10) | ||
|
||
|
||
### Features | ||
|
||
* Add support for python 3.11 ([#61](https://github.com/googleapis/python-network-services/issues/61)) ([9fece25](https://github.com/googleapis/python-network-services/commit/9fece25c41d10677764ef70286786bb90f535842)) | ||
|
||
## [0.3.0](https://github.com/googleapis/python-network-services/compare/v0.2.2...v0.3.0) (2022-12-15) | ||
|
||
|
||
### Features | ||
|
||
* Add support for `google.cloud.network_services.__version__` ([9b6c478](https://github.com/googleapis/python-network-services/commit/9b6c478c95590aac6602217e80e346895e99ecf4)) | ||
* Add typing to proto.Message based class attributes ([9b6c478](https://github.com/googleapis/python-network-services/commit/9b6c478c95590aac6602217e80e346895e99ecf4)) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Add dict typing for client_options ([9b6c478](https://github.com/googleapis/python-network-services/commit/9b6c478c95590aac6602217e80e346895e99ecf4)) | ||
* **deps:** Require google-api-core >=1.34.0, >=2.11.0 ([c0ecbf1](https://github.com/googleapis/python-network-services/commit/c0ecbf1430820b0415cb8ae02e18d4a687e6fd45)) | ||
* Drop usage of pkg_resources ([c0ecbf1](https://github.com/googleapis/python-network-services/commit/c0ecbf1430820b0415cb8ae02e18d4a687e6fd45)) | ||
* Fix timeout default values ([c0ecbf1](https://github.com/googleapis/python-network-services/commit/c0ecbf1430820b0415cb8ae02e18d4a687e6fd45)) | ||
|
||
|
||
### Documentation | ||
|
||
* **samples:** Snippetgen handling of repeated enum field ([9b6c478](https://github.com/googleapis/python-network-services/commit/9b6c478c95590aac6602217e80e346895e99ecf4)) | ||
* **samples:** Snippetgen should call await on the operation coroutine before calling result ([c0ecbf1](https://github.com/googleapis/python-network-services/commit/c0ecbf1430820b0415cb8ae02e18d4a687e6fd45)) | ||
|
||
## [0.2.2](https://github.com/googleapis/python-network-services/compare/v0.2.1...v0.2.2) (2022-10-07) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **deps:** Allow protobuf 3.19.5 ([#50](https://github.com/googleapis/python-network-services/issues/50)) ([c05d701](https://github.com/googleapis/python-network-services/commit/c05d7015b39317876ec7d63819345ef63431a3cc)) | ||
|
||
## [0.2.1](https://github.com/googleapis/python-network-services/compare/v0.2.0...v0.2.1) (2022-09-29) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **deps:** Require protobuf >= 3.20.2 ([#48](https://github.com/googleapis/python-network-services/issues/48)) ([9f82686](https://github.com/googleapis/python-network-services/commit/9f826865f03ad0a29910b94e0fbbc184e57b5695)) | ||
|
||
## [0.2.0](https://github.com/googleapis/python-network-services/compare/v0.1.1...v0.2.0) (2022-08-11) | ||
|
||
|
||
### Features | ||
|
||
* add audience parameter ([42ab6e0](https://github.com/googleapis/python-network-services/commit/42ab6e04f356f1b65a805944ef07a780b95a02a9)) | ||
* Add Service Directory Service API ([42ab6e0](https://github.com/googleapis/python-network-services/commit/42ab6e04f356f1b65a805944ef07a780b95a02a9)) | ||
* Add traffic director API ([#22](https://github.com/googleapis/python-network-services/issues/22)) ([42ab6e0](https://github.com/googleapis/python-network-services/commit/42ab6e04f356f1b65a805944ef07a780b95a02a9)) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **deps:** allow protobuf < 5.0.0 ([#31](https://github.com/googleapis/python-network-services/issues/31)) ([2ec0e05](https://github.com/googleapis/python-network-services/commit/2ec0e054b18243b7b157e0a59ac5acfe6864ae3c)) | ||
* **deps:** require google-api-core>=1.32.0,>=2.8.0 ([42ab6e0](https://github.com/googleapis/python-network-services/commit/42ab6e04f356f1b65a805944ef07a780b95a02a9)) | ||
* **deps:** require grpc-google-iam-v1 >=0.12.4 ([42ab6e0](https://github.com/googleapis/python-network-services/commit/42ab6e04f356f1b65a805944ef07a780b95a02a9)) | ||
* **deps:** require proto-plus >= 1.22.0 ([2ec0e05](https://github.com/googleapis/python-network-services/commit/2ec0e054b18243b7b157e0a59ac5acfe6864ae3c)) | ||
* require python 3.7+ ([#24](https://github.com/googleapis/python-network-services/issues/24)) ([86b9b43](https://github.com/googleapis/python-network-services/commit/86b9b43f15fbe341c6f9eddfa7a520185c2d2668)) | ||
|
||
## [0.1.1](https://github.com/googleapis/python-network-services/compare/v0.1.0...v0.1.1) (2022-06-07) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **deps:** require protobuf>=3.19.0,<4.0.0 ([#16](https://github.com/googleapis/python-network-services/issues/16)) ([dea0f13](https://github.com/googleapis/python-network-services/commit/dea0f136a38d10de086985878ed3676e40b1444c)) | ||
|
||
## 0.1.0 (2022-04-15) | ||
|
||
|
||
### Features | ||
|
||
* generate v1 ([7a064d3](https://github.com/googleapis/python-network-services/commit/7a064d306d46663e1284a77411d2404576a4a5e7)) |
Oops, something went wrong.