-
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-ids into packag…
- Loading branch information
Showing
72 changed files
with
10,753 additions
and
1 deletion.
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
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,23 @@ | ||
# Copyright 2021 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-copy-regex: | ||
- source: /google/cloud/ids/(v.*)/.*-py | ||
dest: /owl-bot-staging/google-cloud-ids/$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/ids/__init__.py | ||
google/cloud/ids/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 2020 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 |
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 2021 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: 3.9.2 | ||
hooks: | ||
- id: flake8 |
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 @@ | ||
{ | ||
".": "1.5.0" | ||
} |
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,17 @@ | ||
{ | ||
"name": "ids", | ||
"name_pretty": "Cloud IDS", | ||
"product_documentation": "https://cloud.google.com/intrusion-detection-system/", | ||
"client_documentation": "https://cloud.google.com/python/docs/reference/ids/latest", | ||
"issue_tracker": "", | ||
"release_level": "stable", | ||
"language": "python", | ||
"library_type": "GAPIC_AUTO", | ||
"repo": "googleapis/python-ids", | ||
"distribution_name": "google-cloud-ids", | ||
"api_id": "ids.googleapis.com", | ||
"default_version": "v1", | ||
"codeowner_team": "", | ||
"api_shortname": "ids", | ||
"api_description": " monitors your networks, and it alerts you when it detects malicious activity. Cloud IDS is powered by Palo Alto Networks." | ||
} |
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,141 @@ | ||
# Changelog | ||
|
||
## [1.5.0](https://github.com/googleapis/python-ids/compare/v1.4.1...v1.5.0) (2023-02-17) | ||
|
||
|
||
### Features | ||
|
||
* Enable "rest" transport in Python for services supporting numeric enums ([#105](https://github.com/googleapis/python-ids/issues/105)) ([f51b4b3](https://github.com/googleapis/python-ids/commit/f51b4b3a317fc7fe05ed8524f79854e6c79f0aad)) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Add service_yaml_parameters to py_gapic_library BUILD.bazel targets ([#107](https://github.com/googleapis/python-ids/issues/107)) ([d34c23c](https://github.com/googleapis/python-ids/commit/d34c23ccb20f522dfc04d6fe94a99fc3784e26aa)) | ||
|
||
## [1.4.1](https://github.com/googleapis/python-ids/compare/v1.4.0...v1.4.1) (2023-01-20) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Add context manager return types ([b6d8eab](https://github.com/googleapis/python-ids/commit/b6d8eab0d68cbde4eada3140eb07c37a89d09189)) | ||
|
||
|
||
### Documentation | ||
|
||
* Add documentation for enums ([b6d8eab](https://github.com/googleapis/python-ids/commit/b6d8eab0d68cbde4eada3140eb07c37a89d09189)) | ||
|
||
## [1.4.0](https://github.com/googleapis/python-ids/compare/v1.3.0...v1.4.0) (2023-01-10) | ||
|
||
|
||
### Features | ||
|
||
* Add support for python 3.11 ([#97](https://github.com/googleapis/python-ids/issues/97)) ([4d3ebb9](https://github.com/googleapis/python-ids/commit/4d3ebb91fade51bc6a38b974f12f0d4caa321b96)) | ||
|
||
## [1.3.0](https://github.com/googleapis/python-ids/compare/v1.2.4...v1.3.0) (2022-12-14) | ||
|
||
|
||
### Features | ||
|
||
* Add support for `google.cloud.ids.__version__` ([fd8cfa4](https://github.com/googleapis/python-ids/commit/fd8cfa4a17c334407f31e7c2edea4ea52063b176)) | ||
* Add typing to proto.Message based class attributes ([fd8cfa4](https://github.com/googleapis/python-ids/commit/fd8cfa4a17c334407f31e7c2edea4ea52063b176)) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* Add dict typing for client_options ([fd8cfa4](https://github.com/googleapis/python-ids/commit/fd8cfa4a17c334407f31e7c2edea4ea52063b176)) | ||
* **deps:** Require google-api-core >=1.34.0, >=2.11.0 ([3e1b599](https://github.com/googleapis/python-ids/commit/3e1b5991d965b52931ff613616f0ed65622efac0)) | ||
* Drop usage of pkg_resources ([3e1b599](https://github.com/googleapis/python-ids/commit/3e1b5991d965b52931ff613616f0ed65622efac0)) | ||
* Fix timeout default values ([3e1b599](https://github.com/googleapis/python-ids/commit/3e1b5991d965b52931ff613616f0ed65622efac0)) | ||
|
||
|
||
### Documentation | ||
|
||
* **samples:** Snippetgen handling of repeated enum field ([fd8cfa4](https://github.com/googleapis/python-ids/commit/fd8cfa4a17c334407f31e7c2edea4ea52063b176)) | ||
* **samples:** Snippetgen should call await on the operation coroutine before calling result ([3e1b599](https://github.com/googleapis/python-ids/commit/3e1b5991d965b52931ff613616f0ed65622efac0)) | ||
|
||
## [1.2.4](https://github.com/googleapis/python-ids/compare/v1.2.3...v1.2.4) (2022-10-07) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **deps:** Allow protobuf 3.19.5 ([#87](https://github.com/googleapis/python-ids/issues/87)) ([c11db6b](https://github.com/googleapis/python-ids/commit/c11db6b87959459f64b6fdab7100aa3692584e44)) | ||
|
||
## [1.2.3](https://github.com/googleapis/python-ids/compare/v1.2.2...v1.2.3) (2022-09-29) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **deps:** Require protobuf >= 3.20.2 ([#85](https://github.com/googleapis/python-ids/issues/85)) ([4fdbbe8](https://github.com/googleapis/python-ids/commit/4fdbbe890d28e3999446e10dade2ec2c2ca00abd)) | ||
|
||
## [1.2.2](https://github.com/googleapis/python-ids/compare/v1.2.1...v1.2.2) (2022-08-11) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **deps:** allow protobuf < 5.0.0 ([#70](https://github.com/googleapis/python-ids/issues/70)) ([3c4ea60](https://github.com/googleapis/python-ids/commit/3c4ea60727ced1be9f2dcee5ffe5c0c1f4851f95)) | ||
* **deps:** require proto-plus >= 1.22.0 ([3c4ea60](https://github.com/googleapis/python-ids/commit/3c4ea60727ced1be9f2dcee5ffe5c0c1f4851f95)) | ||
|
||
## [1.2.1](https://github.com/googleapis/python-ids/compare/v1.2.0...v1.2.1) (2022-07-13) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **deps:** require google-api-core>=1.32.0,>=2.8.0 ([#63](https://github.com/googleapis/python-ids/issues/63)) ([f664641](https://github.com/googleapis/python-ids/commit/f664641ebcc0aeb7031cc2169fdfe3b0da6d0604)) | ||
|
||
## [1.2.0](https://github.com/googleapis/python-ids/compare/v1.1.2...v1.2.0) (2022-07-12) | ||
|
||
|
||
### Features | ||
|
||
* add audience parameter ([6f977e1](https://github.com/googleapis/python-ids/commit/6f977e1b2b9c8a1e721430fdd7a4abb6f00cbdf1)) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **deps:** require google-api-core >= 2.8.0 ([#59](https://github.com/googleapis/python-ids/issues/59)) ([6f977e1](https://github.com/googleapis/python-ids/commit/6f977e1b2b9c8a1e721430fdd7a4abb6f00cbdf1)) | ||
* require python 3.7+ ([#61](https://github.com/googleapis/python-ids/issues/61)) ([62079cc](https://github.com/googleapis/python-ids/commit/62079ccf399b78a4da7af94337a099732872ce98)) | ||
|
||
## [1.1.2](https://github.com/googleapis/python-ids/compare/v1.1.1...v1.1.2) (2022-06-03) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **deps:** require protobuf <4.0.0dev ([#52](https://github.com/googleapis/python-ids/issues/52)) ([cde8a52](https://github.com/googleapis/python-ids/commit/cde8a52a5152df0d7f2858ab4733769a024eb9aa)) | ||
|
||
|
||
### Documentation | ||
|
||
* fix changelog header to consistent size ([#51](https://github.com/googleapis/python-ids/issues/51)) ([24267af](https://github.com/googleapis/python-ids/commit/24267afe4003f33c2f7505ac69c23f352136c55a)) | ||
|
||
## [1.1.1](https://github.com/googleapis/python-ids/compare/v1.1.0...v1.1.1) (2022-03-05) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **deps:** require google-api-core>=1.31.5, >=2.3.2 ([#29](https://github.com/googleapis/python-ids/issues/29)) ([b006c4d](https://github.com/googleapis/python-ids/commit/b006c4d9cc4fb9983aa901332db4f1247eea6900)) | ||
|
||
## [1.1.0](https://github.com/googleapis/python-ids/compare/v1.0.0...v1.1.0) (2022-02-26) | ||
|
||
|
||
### Features | ||
|
||
* add api key support ([#15](https://github.com/googleapis/python-ids/issues/15)) ([8e562db](https://github.com/googleapis/python-ids/commit/8e562db176932dd9413e10ada79d8460b647a56f)) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* resolve DuplicateCredentialArgs error when using credentials_file ([31be484](https://github.com/googleapis/python-ids/commit/31be484920c0cedec5ede6e97e068b1b113f1ee4)) | ||
|
||
## [1.0.0](https://github.com/googleapis/python-ids/compare/v0.1.0...v1.0.0) (2022-01-24) | ||
|
||
|
||
### Features | ||
|
||
* bump release level to production/stable ([#5](https://github.com/googleapis/python-ids/issues/5)) ([ad90dd9](https://github.com/googleapis/python-ids/commit/ad90dd9e6064d2eb8504f38df2aa1f882b516459)) | ||
|
||
## 0.1.0 (2021-11-12) | ||
|
||
|
||
### Features | ||
|
||
* generate v1 ([12a0363](https://www.github.com/googleapis/python-ids/commit/12a036387a20072cf8ab7999c360fac7989de788)) |
Oops, something went wrong.