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

chore(migration): Migrate code from googleapis/python-iap into packages/google-cloud-iap #11168

Merged
merged 136 commits into from
May 10, 2023
Merged
Show file tree
Hide file tree
Changes from 135 commits
Commits
Show all changes
136 commits
Select commit Hold shift + click to select a range
98489f5
feat: generate v1
parthea Jul 6, 2021
ccf5c55
chore: release 0.1.0 (#1)
release-please[bot] Jul 9, 2021
363f155
build(python): exit with success status if no samples found (#2)
gcf-owl-bot[bot] Jul 14, 2021
e731693
build(python): remove python 3.7 from kokoro Dockerfile (#3)
gcf-owl-bot[bot] Jul 14, 2021
17dc4f2
fix(deps): pin 'google-{api,cloud}-core', 'google-auth' to allow 2.x …
busunkim96 Jul 21, 2021
084f13b
chore: release 0.1.1 (#6)
release-please[bot] Jul 21, 2021
3ccc59e
feat: add Samples section to CONTRIBUTING.rst (#5)
gcf-owl-bot[bot] Jul 22, 2021
dba0873
chore: fix kokoro config for samples (#8)
gcf-owl-bot[bot] Jul 23, 2021
ea95464
fix: enable self signed jwt for grpc (#9)
gcf-owl-bot[bot] Jul 24, 2021
12bf672
chore: release 0.1.2 (#11)
release-please[bot] Jul 29, 2021
1030a02
feat: bump release level to production/stable (#13)
parthea Aug 9, 2021
f778856
chore: release 1.0.0 (#14)
release-please[bot] Aug 9, 2021
7841905
chore(python): avoid `.nox` directories when building docs (#15)
gcf-owl-bot[bot] Aug 12, 2021
5f56dec
chore: drop mention of Python 2.7 from templates (#16)
gcf-owl-bot[bot] Aug 13, 2021
d7646dd
chore: generate python samples templates in owlbot.py (#17)
busunkim96 Aug 18, 2021
9fd126d
chore: migrate to main branch (#19)
dandhlee Aug 24, 2021
e73ec23
chore(python): disable dependency dashboard (#21)
gcf-owl-bot[bot] Aug 30, 2021
801f85e
chore(python): group renovate prs (#22)
gcf-owl-bot[bot] Sep 1, 2021
b8fc838
chore(python): rename default branch to main (#23)
gcf-owl-bot[bot] Sep 2, 2021
89e4983
chore: revert owlbot main branch templates (#24)
dandhlee Sep 7, 2021
d32aa53
chore: relocate owl bot post processor (#26)
SurferJeffAtGoogle Sep 21, 2021
75907bb
chore: use gapic-generator-python 0.51.2 (#27)
gcf-owl-bot[bot] Sep 24, 2021
1bbef03
chore: release 1.0.1 (#28)
release-please[bot] Sep 27, 2021
84aa162
chore: use gapic-generator-python 0.52.0 (#29)
gcf-owl-bot[bot] Sep 30, 2021
b244e7a
chore: add default_version and codeowner_team to .repo-metadata.json …
parthea Oct 5, 2021
5b74a9a
build: use trampoline_v2 for python samples and allow custom dockerfi…
gcf-owl-bot[bot] Oct 5, 2021
901bfa6
chore: release 1.0.2 (#30)
release-please[bot] Oct 7, 2021
100561d
chore(python): fix formatting issue in noxfile.py.j2 (#33)
gcf-owl-bot[bot] Oct 7, 2021
f2af04e
feat: add context manager support in client (#34)
gcf-owl-bot[bot] Oct 8, 2021
734c0ab
chore(python): Add kokoro configs for python 3.10 samples testing (#35)
gcf-owl-bot[bot] Oct 8, 2021
a9222df
chore: release 1.1.0 (#36)
release-please[bot] Oct 11, 2021
091c3db
feat: add support for python 3.10 (#37)
parthea Oct 14, 2021
aba081a
chore: delete owlbot.py (#39)
parthea Oct 18, 2021
21aede2
chore: release 1.2.0 (#38)
release-please[bot] Oct 19, 2021
56b0219
chore: fix formatting in docs/index.rst (#40)
gcf-owl-bot[bot] Oct 20, 2021
11a44a6
chore(python): push cloud library docs to staging bucket for Cloud RA…
gcf-owl-bot[bot] Oct 26, 2021
a160618
chore: use gapic-generator-python 0.53.4 (#43)
gcf-owl-bot[bot] Nov 1, 2021
656b938
chore: release 1.2.1 (#44)
release-please[bot] Nov 2, 2021
14fd543
chore: use gapic-generator-python 0.56.2 (#46)
gcf-owl-bot[bot] Nov 9, 2021
e6bd041
chore(python): add .github/CODEOWNERS as a templated file (#47)
gcf-owl-bot[bot] Nov 11, 2021
dcfe394
chore: update doc links from googleapis.dev to cloud.google.com (#48)
dandhlee Nov 18, 2021
c1c931c
chore: update .repo-metadata.json (#51)
parthea Dec 28, 2021
5fcf09c
chore: use python-samples-reviewers (#53)
gcf-owl-bot[bot] Jan 6, 2022
7107d19
chore: use gapic-generator-python 0.58.4 (#52)
gcf-owl-bot[bot] Jan 8, 2022
3277f16
chore(python): update release.sh to use keystore (#55)
gcf-owl-bot[bot] Jan 14, 2022
7513d98
ci(python): run lint / unit tests / docs as GH actions (#56)
gcf-owl-bot[bot] Jan 20, 2022
221fcdb
feat: add api key support (#57)
gcf-owl-bot[bot] Jan 25, 2022
c35eb29
chore: use gapic-generator-python 0.62.1 (#60)
gcf-owl-bot[bot] Feb 3, 2022
6b3895a
docs: add generated snippets (#62)
gcf-owl-bot[bot] Feb 11, 2022
abf3504
chore: use gapic-generator-python 0.63.4 (#63)
gcf-owl-bot[bot] Feb 25, 2022
0a35d50
chore: update copyright year to 2022 (#64)
gcf-owl-bot[bot] Feb 26, 2022
fec2001
chore(main): release 1.3.0 (#58)
release-please[bot] Feb 28, 2022
743da0a
chore(deps): update actions/setup-python action to v3 (#66)
gcf-owl-bot[bot] Mar 1, 2022
b080879
chore(deps): update actions/checkout action to v3 (#68)
gcf-owl-bot[bot] Mar 3, 2022
e89ef50
fix(deps): require google-api-core>=1.31.5, >=2.3.2 (#71)
parthea Mar 4, 2022
5e6f2cd
chore(deps): update actions/download-artifact action to v3 (#73)
gcf-owl-bot[bot] Mar 5, 2022
ee2cb94
chore(main): release 1.3.1 (#72)
release-please[bot] Mar 7, 2022
399fd98
chore(python): configure release-please on previous major versions (#74)
gcf-owl-bot[bot] Mar 23, 2022
b5c1422
chore(python): use black==22.3.0 (#75)
gcf-owl-bot[bot] Mar 29, 2022
a9076b7
chore(python): add E231 to .flake8 ignore list (#76)
gcf-owl-bot[bot] Mar 30, 2022
dc7505d
chore(python): update .pre-commit-config.yaml to use black==22.3.0 (#77)
gcf-owl-bot[bot] Apr 1, 2022
67f551d
chore(python): Enable size-label bot (#78)
gcf-owl-bot[bot] Apr 1, 2022
e0ceaf9
chore(python): refactor unit / system test dependency install (#79)
gcf-owl-bot[bot] Apr 1, 2022
85222e2
chore(python): add license header to auto-label.yaml (#81)
gcf-owl-bot[bot] Apr 6, 2022
35f0233
chore: use gapic-generator-python 0.65.1 (#84)
gcf-owl-bot[bot] Apr 14, 2022
6a9ae00
chore(python): add nox session to sort python imports (#86)
gcf-owl-bot[bot] Apr 21, 2022
72f9de2
chore(python): use ubuntu 22.04 in docs image (#88)
gcf-owl-bot[bot] Apr 21, 2022
54f606a
chore: use gapic-generator-python 0.65.2 (#89)
gcf-owl-bot[bot] Apr 28, 2022
26f7402
chore: [autoapprove] update readme_gen.py to include autoescape True …
gcf-owl-bot[bot] May 5, 2022
f0c491b
chore(python): auto approve template changes (#92)
gcf-owl-bot[bot] May 6, 2022
65b5f5d
feat: add the TunnelDestGroup-related methods and types (#93)
gcf-owl-bot[bot] May 19, 2022
2d21f6a
chore(main): release 1.4.0 (#85)
release-please[bot] May 19, 2022
6607be3
chore: use gapic-generator-python 1.0.0 (#101)
gcf-owl-bot[bot] May 30, 2022
272bc19
fix(deps): require protobuf <4.0.0dev (#103)
parthea Jun 1, 2022
0314939
docs: fix changelog header to consistent size (#102)
dandhlee Jun 3, 2022
64d9ecc
chore: test minimum dependencies in python 3.7 (#106)
parthea Jun 3, 2022
3196ce4
chore(main): release 1.4.1 (#104)
release-please[bot] Jun 7, 2022
4874365
chore: add prerelease nox session (#108)
gcf-owl-bot[bot] Jun 12, 2022
ba40994
chore(python): add missing import for prerelease testing (#109)
gcf-owl-bot[bot] Jun 13, 2022
870cf33
fix: require python 3.7+ (#112)
gcf-owl-bot[bot] Jul 10, 2022
d8dfbc4
fix(deps): require google-api-core >= 2.8.0 (#110)
gcf-owl-bot[bot] Jul 12, 2022
0491958
chore(main): release 1.5.0 (#113)
release-please[bot] Jul 12, 2022
6509b6c
fix(deps): require google-api-core>=1.32.0,>=2.8.0 (#114)
parthea Jul 13, 2022
f16ac4d
chore(main): release 1.5.1 (#115)
release-please[bot] Jul 13, 2022
46e2dba
chore(python): allow client documentation to be customized in README …
gcf-owl-bot[bot] Jul 14, 2022
494fe76
chore: resolve issue with prerelease presubmit [autoapprove] (#118)
gcf-owl-bot[bot] Jul 26, 2022
30b2d33
chore(deps): update actions/setup-python action to v4 [autoapprove] (…
gcf-owl-bot[bot] Aug 9, 2022
208b2a7
fix(deps): allow protobuf < 5.0.0 (#120)
parthea Aug 11, 2022
69842aa
chore(main): release 1.5.2 (#121)
release-please[bot] Aug 16, 2022
2436dd9
chore: remove 'pip install' statements from python_library templates …
gcf-owl-bot[bot] Aug 24, 2022
70a4a90
chore(python): exclude path in renovate.json [autoapprove] (#126)
gcf-owl-bot[bot] Aug 24, 2022
1f939b3
chore(python): exclude grpcio==1.49.0rc1 in tests [autoapprove] (#127)
gcf-owl-bot[bot] Aug 29, 2022
26bfbd3
ci(python): fix path to requirements.txt in release script (#128)
gcf-owl-bot[bot] Sep 1, 2022
83bb8d8
chore(python): update .kokoro/requirements.txt (#129)
gcf-owl-bot[bot] Sep 2, 2022
d30e6be
chore(python): exclude setup.py in renovate config (#131)
gcf-owl-bot[bot] Sep 2, 2022
51cbd03
chore: Bump gapic-generator-python version to 1.3.0 (#132)
gcf-owl-bot[bot] Sep 7, 2022
7aad9ca
chore: use gapic-generator-python 1.3.1 (#133)
gcf-owl-bot[bot] Sep 8, 2022
6a05ed2
chore: use gapic generator python 1.4.1 (#134)
gcf-owl-bot[bot] Sep 13, 2022
f555825
fix(deps): require protobuf >= 3.20.2 (#135)
gcf-owl-bot[bot] Oct 3, 2022
83291e0
chore(main): release 1.5.3 (#136)
release-please[bot] Oct 4, 2022
a357239
fix(deps): allow protobuf 3.19.5 (#137)
parthea Oct 7, 2022
4f8a19d
chore(main): release 1.5.4 (#138)
release-please[bot] Oct 10, 2022
4982c3f
chore(python): update dependencies in .kokoro/requirements.txt [autoa…
gcf-owl-bot[bot] Nov 8, 2022
875615b
chore(python): update release script dependencies [autoapprove] (#142)
gcf-owl-bot[bot] Nov 16, 2022
b33b768
chore: Update gapic-generator-python to v1.6.1 (#139)
gcf-owl-bot[bot] Nov 26, 2022
554034c
fix(deps): Require google-api-core >=1.34.0, >=2.11.0 (#144)
gcf-owl-bot[bot] Dec 7, 2022
f306d94
build(deps): bump certifi from 2022.9.24 to 2022.12.7 [autoapprove] (…
gcf-owl-bot[bot] Dec 8, 2022
0c01719
chore(main): release 1.6.0 (#143)
release-please[bot] Dec 15, 2022
3ae26b9
feat: add AllowedDomainSettings to the UpdateIapSettingsRequest (#146)
gcf-owl-bot[bot] Jan 4, 2023
1b8f9d2
chore(main): release 1.7.0 (#147)
release-please[bot] Jan 4, 2023
e38c34b
chore(python): add support for python 3.11 [autoapprove] (#148)
gcf-owl-bot[bot] Jan 6, 2023
33dc230
feat: Add support for python 3.11 (#149)
gcf-owl-bot[bot] Jan 10, 2023
9919116
chore(main): release 1.8.0 (#150)
release-please[bot] Jan 10, 2023
4182f7f
docs: Add documentation for enums (#151)
gcf-owl-bot[bot] Jan 20, 2023
387b544
chore(main): release 1.8.1 (#152)
release-please[bot] Jan 23, 2023
694747a
chore: Update gapic-generator-python to v1.8.2 (#153)
gcf-owl-bot[bot] Jan 25, 2023
18e9e39
chore: fix prerelease_deps nox session [autoapprove] (#154)
gcf-owl-bot[bot] Jan 30, 2023
a3bbc66
chore: Update gapic-generator-python to v1.8.4 (#155)
gcf-owl-bot[bot] Feb 8, 2023
4ff203e
build(deps): bump cryptography from 38.0.3 to 39.0.1 in /synthtool/gc…
gcf-owl-bot[bot] Feb 8, 2023
178106a
feat: enable "rest" transport in Python for services supporting numer…
gcf-owl-bot[bot] Feb 19, 2023
9b3f306
chore(main): release 1.9.0 (#158)
release-please[bot] Feb 24, 2023
e558b4b
chore(python): upgrade gcp-releasetool in .kokoro [autoapprove] (#161)
gcf-owl-bot[bot] Feb 27, 2023
18e8c86
chore: Update gapic-generator-python to v1.8.5 (#159)
gcf-owl-bot[bot] Feb 27, 2023
aa25b39
feat: add an enum ENROLLED_SECOND_FACTORS under IapSettings (#162)
gcf-owl-bot[bot] Mar 14, 2023
fa271b0
chore: update Go import paths to match open source (#164)
gcf-owl-bot[bot] Mar 14, 2023
c621c50
chore(deps): Update nox in .kokoro/requirements.in [autoapprove] (#165)
gcf-owl-bot[bot] Mar 16, 2023
0363d1e
chore: Update gapic-generator-python to v1.9.0 (#166)
gcf-owl-bot[bot] Mar 17, 2023
800a4bc
docs: Fix formatting of request arg in docstring (#167)
gcf-owl-bot[bot] Mar 23, 2023
15db24c
chore(main): release 1.10.0 (#163)
release-please[bot] Mar 27, 2023
c48830b
docs: minor changes in AttributePropagationSettings (#168)
gcf-owl-bot[bot] Apr 1, 2023
6e178be
chore(main): release 1.10.1 (#169)
release-please[bot] Apr 3, 2023
03263ec
Merge remote-tracking branch 'remote.googleapis/python-iap/main' into…
vchudnov-g May 10, 2023
8dfa015
Trigger owlbot post-processor
vchudnov-g May 10, 2023
ac58a89
build: google-cloud-iap migration: adjust owlbot-related files
vchudnov-g May 10, 2023
a1a6d74
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] May 10, 2023
9b5a0ab
Merge branch 'main' into migration.python-iap.migration.2023-05-08.03…
vchudnov-g May 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@
"packages/google-cloud-confidentialcomputing": "0.1.0",
"packages/google-cloud-ids": "1.5.1",
"packages/google-ai-generativelanguage": "0.2.0",
"packages/google-maps-places": "0.1.0"
"packages/google-maps-places": "0.1.0",
"packages/google-cloud-iap": "0.0.0"
}
26 changes: 26 additions & 0 deletions packages/google-cloud-iap/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 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-preserve-regex:
- /owl-bot-staging/google-cloud-iap/v1beta1

deep-copy-regex:
- source: /google/cloud/iap/(v.*)/.*-py
dest: /owl-bot-staging/google-cloud-iap/$1

begin-after-commit-hash: 70f7f0525414fe4dfeb2fc2e81546b073f83a621
13 changes: 13 additions & 0 deletions packages/google-cloud-iap/.coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[run]
branch = True

[report]
show_missing = True
omit =
google/cloud/iap/__init__.py
google/cloud/iap/gapic_version.py
exclude_lines =
# Re-enable the standard pragma
pragma: NO COVER
# Ignore debug-only repr
def __repr__
33 changes: 33 additions & 0 deletions packages/google-cloud-iap/.flake8
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
63 changes: 63 additions & 0 deletions packages/google-cloud-iap/.gitignore
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 packages/google-cloud-iap/.pre-commit-config.yaml
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
3 changes: 3 additions & 0 deletions packages/google-cloud-iap/.release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.10.1"
}
17 changes: 17 additions & 0 deletions packages/google-cloud-iap/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "iap",
"name_pretty": "Identity-Aware Proxy",
"product_documentation": "https://cloud.google.com/iap",
"client_documentation": "https://cloud.google.com/python/docs/reference/iap/latest",
"issue_tracker": "",
"release_level": "stable",
"language": "python",
"library_type": "GAPIC_AUTO",
"repo": "googleapis/python-iap",
"distribution_name": "google-cloud-iap",
"api_id": "iap.googleapis.com",
"default_version": "v1",
"codeowner_team": "",
"api_shortname": "iap",
"api_description": "Identity-Aware Proxy includes a number of features that can be used to protect access to Google Cloud hosted resources and applications hosted on Google Cloud."
}
Loading