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

Add Monitoring v3 Samples #223

Merged
merged 2 commits into from
Mar 16, 2016
Merged

Add Monitoring v3 Samples #223

merged 2 commits into from
Mar 16, 2016

Conversation

waprin
Copy link
Contributor

@waprin waprin commented Mar 16, 2016

Refactor v2 samples in to separate directory
Add v3 Samples
Renamed auth to list_env

Note: this code has been reviewed on internal Git.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 16, 2016
@theacodes
Copy link
Contributor

Is there any point in keeping the v2 samples around (other than in git history)?

Also, it seems you need to rebase on top of master.

python custom_metric.py --project_id=<YOUR-PROJECT-ID


# Testing
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this heading and two below. (covered by the top-level readme/contributing)

@waprin
Copy link
Contributor Author

waprin commented Mar 16, 2016

v2 is on its way out but will still be around for a while. Think PMs want to keep the samples (for now) but we can probably get rid of them soon.

@waprin waprin force-pushed the monitoringv3 branch 9 times, most recently from 2c52c6e to 2fe3e8c Compare March 16, 2016 20:02
@waprin
Copy link
Contributor Author

waprin commented Mar 16, 2016

@jonparrott ok all comments addressed, travis passes, let me know if you think ready to merge.

@waprin
Copy link
Contributor Author

waprin commented Mar 16, 2016

ah after rebase.

""" Custom metric domain for all cusotm metrics"""
CUSTOM_METRIC_DOMAIN = "custom.googleapis.com"

project_resource = "projects/{}".format(TEST_PROJECT_ID)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is a constant, it should be UPPERCASE.

@theacodes
Copy link
Contributor

LGTM pending final nits.

Refactor v2 samples in to separate directory
Add v3 Samples
Renamed auth to list_env
dandhlee pushed a commit that referenced this pull request Nov 18, 2022
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [x ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-translate/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [x ] Ensure the tests and linter pass
- [x ] Code coverage does not decrease (if any source code was changed)
- [x ] Appropriate docs were updated (if necessary)

Fixes #222  🦕
engelke pushed a commit that referenced this pull request Nov 28, 2022
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [google-cloud-asset](https://togithub.com/googleapis/python-asset) | `==3.1.0` -> `==3.2.0` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-asset/3.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-asset/3.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-asset/3.2.0/compatibility-slim/3.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-asset/3.2.0/confidence-slim/3.1.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>googleapis/python-asset</summary>

### [`v3.2.0`](https://togithub.com/googleapis/python-asset/blob/master/CHANGELOG.md#&#8203;320-httpswwwgithubcomgoogleapispython-assetcomparev310v320-2021-07-12)

[Compare Source](https://togithub.com/googleapis/python-asset/compare/v3.1.0...v3.2.0)

##### Features

-   add always_use_jwt_access ([0a14f25](https://www.github.com/googleapis/python-asset/commit/0a14f25784a5d39b666709c2dc6521f014eea781))
-   add new searchable fields (memberTypes, roles, project, folders and organization) in SearchAllIamPolicies ([0a14f25](https://www.github.com/googleapis/python-asset/commit/0a14f25784a5d39b666709c2dc6521f014eea781))
-   new request fields (assetTypes and orderBy) in SearchAllIamPolicies ([0a14f25](https://www.github.com/googleapis/python-asset/commit/0a14f25784a5d39b666709c2dc6521f014eea781))
-   new response fields (assetType, folders and organization) in SearchAllIamPolicies ([0a14f25](https://www.github.com/googleapis/python-asset/commit/0a14f25784a5d39b666709c2dc6521f014eea781))

##### Bug Fixes

-   disable always_use_jwt_access ([0a14f25](https://www.github.com/googleapis/python-asset/commit/0a14f25784a5d39b666709c2dc6521f014eea781))
-   disable always_use_jwt_access ([#&#8203;217](https://www.github.com/googleapis/python-asset/issues/217)) ([0a14f25](https://www.github.com/googleapis/python-asset/commit/0a14f25784a5d39b666709c2dc6521f014eea781))

##### Documentation

-   omit mention of Python 2.7 in 'CONTRIBUTING.rst' ([#&#8203;1127](https://www.github.com/googleapis/python-asset/issues/1127)) ([#&#8203;205](https://www.github.com/googleapis/python-asset/issues/205)) ([b9db51a](https://www.github.com/googleapis/python-asset/commit/b9db51a1e88615ab2da22da188d59987fcfca5d4)), closes [#&#8203;1126](https://www.github.com/googleapis/python-asset/issues/1126)

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/python-asset).
dandhlee pushed a commit that referenced this pull request Nov 29, 2022
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [google-cloud-asset](https://togithub.com/googleapis/python-asset) | `==3.1.0` -> `==3.2.0` | [![age](https://badges.renovateapi.com/packages/pypi/google-cloud-asset/3.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/google-cloud-asset/3.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/google-cloud-asset/3.2.0/compatibility-slim/3.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/google-cloud-asset/3.2.0/confidence-slim/3.1.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>googleapis/python-asset</summary>

### [`v3.2.0`](https://togithub.com/googleapis/python-asset/blob/master/CHANGELOG.md#&#8203;320-httpswwwgithubcomgoogleapispython-assetcomparev310v320-2021-07-12)

[Compare Source](https://togithub.com/googleapis/python-asset/compare/v3.1.0...v3.2.0)

##### Features

-   add always_use_jwt_access ([0a14f25](https://www.github.com/googleapis/python-asset/commit/0a14f25784a5d39b666709c2dc6521f014eea781))
-   add new searchable fields (memberTypes, roles, project, folders and organization) in SearchAllIamPolicies ([0a14f25](https://www.github.com/googleapis/python-asset/commit/0a14f25784a5d39b666709c2dc6521f014eea781))
-   new request fields (assetTypes and orderBy) in SearchAllIamPolicies ([0a14f25](https://www.github.com/googleapis/python-asset/commit/0a14f25784a5d39b666709c2dc6521f014eea781))
-   new response fields (assetType, folders and organization) in SearchAllIamPolicies ([0a14f25](https://www.github.com/googleapis/python-asset/commit/0a14f25784a5d39b666709c2dc6521f014eea781))

##### Bug Fixes

-   disable always_use_jwt_access ([0a14f25](https://www.github.com/googleapis/python-asset/commit/0a14f25784a5d39b666709c2dc6521f014eea781))
-   disable always_use_jwt_access ([#&#8203;217](https://www.github.com/googleapis/python-asset/issues/217)) ([0a14f25](https://www.github.com/googleapis/python-asset/commit/0a14f25784a5d39b666709c2dc6521f014eea781))

##### Documentation

-   omit mention of Python 2.7 in 'CONTRIBUTING.rst' ([#&#8203;1127](https://www.github.com/googleapis/python-asset/issues/1127)) ([#&#8203;205](https://www.github.com/googleapis/python-asset/issues/205)) ([b9db51a](https://www.github.com/googleapis/python-asset/commit/b9db51a1e88615ab2da22da188d59987fcfca5d4)), closes [#&#8203;1126](https://www.github.com/googleapis/python-asset/issues/1126)

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/python-asset).
telpirion pushed a commit that referenced this pull request Jan 13, 2023
* refactor: Refactor transcribe samples into two separate samples (local-file vs gcs) and remove io dependency. Refactor tests.

* Removing CLI in samples and shebangs

* leaving transcribe_async.py in (to be removed later), because speech_transcribe_async_gcs is a required tag.

* Update year in license headers

Co-authored-by: Nick Cain <[email protected]>
gcf-merge-on-green bot pushed a commit that referenced this pull request Jan 25, 2023
- feat(samples): private CA python samples
- chore(deps): update dependency google-cloud-private-ca to v1 (#89)
- chore(deps): update dependency google-cloud-kms to v2.4.1 (#88)
- chore(deps): update dependency google-cloud-kms to v2.4.2 (#93)
- chore(deps): update dependency google-auth to v1.33.1 (#87)
- chore(deps): update dependency google-auth to v1.34.0 (#94)
- chore(deps): update dependency google-cloud-kms to v2.4.3 (#96)
- chore(deps): update dependency google-cloud-private-ca to v1.0.3 (#97)
- feat(samples): add local generation for crypto keys (#98)
- chore(deps): update dependency google-cloud-kms to v2.5.0 (#101)
- chore: generate python samples templates in owlbot.py (#108)
- chore(deps): update dependency cryptography to v3.4.8 (#109)
- chore(deps): update dependency google-auth to v2 (#107)
- chore(deps): update dependency google-cloud-private-ca to v1.0.4 (#103)
- chore(deps): update dependency google-auth to v2.0.2 (#116)
- chore(deps): update dependency google-cloud-kms to v2.6.0 (#115)
- chore(deps): update dependency pytest to v6.2.5 (#114)
- chore: blacken samples noxfile template (#121)
- chore: fail samples nox session if python version is missing (#128)
- chore(python): Add kokoro configs for python 3.10 samples testing (#134)
- chore(deps): update dependency google-auth to v2.1.0 (#120)
- chore(deps): update all dependencies (#144)
- chore(deps): update all dependencies (#146)
- chore(deps): update dependency google-cloud-private-ca to v1.2.1 (#147)
- chore(python): run blacken session for all directories with a noxfile (#150)
- chore(deps): update dependency cryptography to v36 (#154)
- feat(samples): add subordinate CA samples
- chore(deps): update dependency cryptography to v36.0.1 (#158)
- chore(samples): Add check for tests in directory (#164)
- chore(python): Noxfile recognizes that tests can live in a folder (#169)
- docs(samples): add sample to filter certificates (#160)
- chore(deps): update dependency google-auth to v2.6.0 (#173)
- docs(samples): add template/monitoring samples (#174)
- chore(deps): update all dependencies (#178)
- chore(deps): update all dependencies (#186)
- chore: Adding support for pytest-xdist and pytest-parallel (#193)
- chore(deps): update all dependencies (#196)
- chore(deps): update dependency google-cloud-private-ca to v1.3.0 (#199)
- chore(deps): update dependency pytest to v7.1.0 (#200)
- chore(deps): update dependency cryptography to v36.0.2 (#201)
- chore(deps): update all dependencies (#202)
- chore(python): use black==22.3.0 (#204)
- chore(deps): update dependency google-auth to v2.6.3 (#211)
- chore(deps): update dependency google-auth to v2.6.4 (#215)
- chore(deps): update dependency google-auth to v2.6.5 (#217)
- chore(python): add nox session to sort python imports (#218)
- chore(deps): update dependency google-auth to v2.6.6 (#221)
- chore(deps): update dependency pytest to v7.1.2 (#222)
- chore(deps): update dependency cryptography to v37 (#223)
- chore(deps): update dependency cryptography to v37.0.1 (#225)
- chore(deps): update dependency cryptography to v37.0.2 (#226)
- chore(deps): update dependency google-cloud-private-ca to v1.3.1 (#230)
- fix: require python 3.7+ (#267)
- chore(deps): update all dependencies (#262)
- chore(deps): update all dependencies (#273)
- chore(deps): update all dependencies (#275)
- chore(deps): update all dependencies (#276)
- chore(deps): update dependency google-cloud-monitoring to v2.11.1 (#281)
- chore(deps): update all dependencies (#283)
- chore(deps): update dependency google-auth to v2.11.0 (#284)
- chore(deps): update dependency pytest to v7.1.3 (#294)
- chore: Bump gapic-generator-python version to 1.3.0 (#295)
- chore: detect samples tests in nested directories (#299)
- chore(deps): update dependency google-auth to v2.11.1 (#300)
- chore(deps): update dependency google-auth to v2.12.0 (#302)
- chore(deps): update all dependencies (#304)
- chore(deps): update all dependencies (#307)
- chore(deps): update dependency pytest to v7.2.0 (#308)
- chore(deps): update dependency google-auth to v2.14.0 (#310)
- chore(python): drop flake8-import-order in samples noxfile (#315)
- chore(deps): update all dependencies (#311)
- chore(deps): update dependency cryptography to v38.0.4 (#317)
- chore(deps): update dependency google-auth to v2.15.0 (#318)
- chore(deps): update all dependencies (#321)
- chore(deps): update dependency google-cloud-private-ca to v1.5.0 (#322)
- chore(deps): update dependency cryptography to v39 (#323)
- chore(python): add support for python 3.11 (#324)
- chore(deps): update dependency google-cloud-monitoring to v2.13.0 (#325)
- chore(deps): update dependency google-auth to v2.16.0 (#326)
- chore(deps): update all dependencies (#329)
- chore(deps): update dependency pytest to v7.2.1 (#330)

## Description

Sample Migration from googleapis/python-security-private-ca

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

## Checklist
- [ ] I have followed [Sample Guidelines from AUTHORING_GUIDE.MD](https://togithub.com/GoogleCloudPlatform/python-docs-samples/blob/main/AUTHORING_GUIDE.md)
- [ ] README is updated to include [all relevant information](https://togithub.com/GoogleCloudPlatform/python-docs-samples/blob/main/AUTHORING_GUIDE.md#readme-file)
- [ ] **Tests** pass:   `nox -s py-3.9` (see [Test Environment Setup](https://togithub.com/GoogleCloudPlatform/python-docs-samples/blob/main/AUTHORING_GUIDE.md#test-environment-setup))
- [ ] **Lint** pass:   `nox -s lint` (see [Test Environment Setup](https://togithub.com/GoogleCloudPlatform/python-docs-samples/blob/main/AUTHORING_GUIDE.md#test-environment-setup))
- [ ] These samples need a new **API enabled** in testing projects to pass (let us know which ones)
- [ ] These samples need a new/updated **env vars** in testing projects set to pass (let us know which ones)
- [ ] Please **merge** this PR for me once it is approved.
- [ ] This sample adds a new sample directory, and I updated the [CODEOWNERS file](https://togithub.com/GoogleCloudPlatform/python-docs-samples/blob/main/.github/CODEOWNERS) with the codeowners for this sample
dandhlee pushed a commit that referenced this pull request Feb 9, 2023
* refactor: Refactor transcribe samples into two separate samples (local-file vs gcs) and remove io dependency. Refactor tests.

* Removing CLI in samples and shebangs

* leaving transcribe_async.py in (to be removed later), because speech_transcribe_async_gcs is a required tag.

* Update year in license headers

Co-authored-by: Nick Cain <[email protected]>
dandhlee added a commit that referenced this pull request Feb 28, 2023
* docs(samples): add reCAPTCHA Enterprise code samples  (#112)

* docs(samples): added samples and tests for site key CRUD operation

* docs(samples): added samples and tests for create assessment

* docs(samples): modified requirements and test inputs

* docs(samples): lint fix - adding copyright

* fix(samples): added nox config and modified requirements-test

* docs(samples): lint fix

* refactor(samples): updated nox file

* docs(samples): lint fix

* docs(samples): added nox config

* docs(samples): lint fix; modified nox config

* refactor(samples): incorporated review comments

* refactor(samples): lint fix

* refactor(samples): lint fix

* refactor(samples): lint fix

* docs(samples): updated to use latest chrome version and lint fix

* fix(samples): updated selenium to use chrome browser and added display name to update key

* build: add placeholder dockerfile, update kokoro configs

* Adding chrome installation in docker

* refactor(samples): removed webdriver manager dependency. Included commands to install binary file in docker.

* fix(samples): changed the chromedriver version to latest release.

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* refactor(samples): included review comments

Co-authored-by: Bu Sun Kim <[email protected]>
Co-authored-by: Bu Sun Kim <[email protected]>
Co-authored-by: Anthonios Partheniou <[email protected]>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* chore(deps): update all dependencies (#136)

* chore(deps): update all dependencies

* fix: split selenium dependency on python 3.6

Co-authored-by: Bu Sun Kim <[email protected]>

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.3.0 (#139)

Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.3.1 (#145)

* docs(samples): removed assessment name in create_assessment sample (#147)

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.4.0 (#150)

* chore: delete owlbot.py (#151)

* chore: delete owlbot.py

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* use the latest post processor image

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* docs(samples): added sample and tests for annotate assessment API (#155)

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-recaptcha-enterprise/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #154 🦕

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.4.1 (#159)

* docs(samples): added samples and test to migrate key and get metrics (#161)

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-recaptcha-enterprise/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #160  🦕

* chore(deps): update all dependencies (#177)

* chore(deps): update all dependencies

* revert pin change for python 3.6

Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(deps): update all dependencies (#186)

* chore(deps): update all dependencies

* chore: remove split pin on selenium

We do not run tests on Python < 3.6.

Co-authored-by: Bu Sun Kim <[email protected]>
Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(deps): update all dependencies (#190)

* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* chore(deps): update all dependencies (#192)

* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.6.1 (#202)

* chore(deps): update dependency selenium to v4.1.3 (#203)

* chore(deps): update dependency pytest to v7.1.0 (#204)

* chore(deps): update dependency pytest to v7.1.1 (#206)

* chore(python): use black==22.3.0 (#209)

Source-Link: googleapis/synthtool@6fab84a
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:7cffbc10910c3ab1b852c05114a08d374c195a81cdec1d4a67a1d129331d0bfe

* chore(deps): update dependency flask to v2.1.0 (#208)

* chore(deps): update dependency flask to v2.1.1 (#212)

Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(python): add nox session to sort python imports (#220)

Source-Link: googleapis/synthtool@1b71c10
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:00c9d764fd1cd56265f12a5ef4b99a0c9e87cf261018099141e2ca5158890416

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* chore(deps): update dependency pytest to v7.1.2 (#223)

* chore(deps): update dependency flask to v2.1.2 (#225)

* chore(deps): update dependency selenium to v4.1.5 (#231)

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.7.0 (#234)

* chore(deps): update dependency selenium to v4.2.0 (#257)

* chore(deps): update all dependencies (#263)

* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* revert

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(deps): update all dependencies (#275)

* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* revert

* test: find_element_by_id->find_element

* test: add import from selenium.webdriver.common.by import By

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(deps): update all dependencies (#276)

* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* revert

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(deps): update all dependencies (#277)

* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* revert

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(deps): update all dependencies (#279)

* chore(deps): update all dependencies

* revert

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Anthonios Partheniou <[email protected]>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* chore(deps): update all dependencies (#280)

* chore(deps): update all dependencies

* revert

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Anthonios Partheniou <[email protected]>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.8.1 (#285)

* chore(deps): update dependency selenium to v4.4.3 (#286)

* chore(deps): update dependency pytest to v7.1.3 (#297)

* chore(deps): update dependency selenium to v4.5.0 (#305)

Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.8.2 (#307)

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.8.3 (#310)

* chore(deps): update dependency pytest to v7.2.0 (#313)

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.9.0 (#314)

* Update copyright header

* Fix: selenium web-driver path issue

* Update CODEOWNERS and blunderbuss.yml

* Update copyright headers

change "Google Inc" to "Google, Inc"

* Update import order in test_create_assessment.py

* Update import order in test_create_assessment.py

* Update .github/CODEOWNERS

Co-authored-by: Dan Lee <[email protected]>

* Update .github/blunderbuss.yml

* chore(samples): add Selenium resources for Docker

* Update blunderbuss.yml

* Update blunderbuss.yml

* Update blunderbuss.yml

* Update .github/blunderbuss.yml

Co-authored-by: Dan Lee <[email protected]>

* Update CODEOWNERS

No addtions/deletions. Just sorted data.

* Update noxfile_config.py

Limit testing to latest versions only (3.9 and 3.10)

* Update noxfile_config.py

* Update blunderbuss.yml

* Updates to CODEOWNERS and blunderbuss

* Fixed deprecation warnings in tests

* Fixed lint - import order

* CODEOWNERS team rename aap-dpes -> torus-dpe

* CODEOWNERS clean-up

---------

Co-authored-by: Sita Lakshmi Sangameswaran <[email protected]>
Co-authored-by: Bu Sun Kim <[email protected]>
Co-authored-by: Bu Sun Kim <[email protected]>
Co-authored-by: Anthonios Partheniou <[email protected]>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: WhiteSource Renovate <[email protected]>
Co-authored-by: WhiteSource Renovate <[email protected]>
Co-authored-by: gcf-owl-bot[bot] <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Dan Lee <[email protected]>
Co-authored-by: Remigiusz Samborski <[email protected]>
Co-authored-by: rsamborski <[email protected]>
Co-authored-by: Jennifer Davis <[email protected]>
telpirion pushed a commit that referenced this pull request Mar 13, 2023
- feat(samples): private CA python samples
- chore(deps): update dependency google-cloud-private-ca to v1 (#89)
- chore(deps): update dependency google-cloud-kms to v2.4.1 (#88)
- chore(deps): update dependency google-cloud-kms to v2.4.2 (#93)
- chore(deps): update dependency google-auth to v1.33.1 (#87)
- chore(deps): update dependency google-auth to v1.34.0 (#94)
- chore(deps): update dependency google-cloud-kms to v2.4.3 (#96)
- chore(deps): update dependency google-cloud-private-ca to v1.0.3 (#97)
- feat(samples): add local generation for crypto keys (#98)
- chore(deps): update dependency google-cloud-kms to v2.5.0 (#101)
- chore: generate python samples templates in owlbot.py (#108)
- chore(deps): update dependency cryptography to v3.4.8 (#109)
- chore(deps): update dependency google-auth to v2 (#107)
- chore(deps): update dependency google-cloud-private-ca to v1.0.4 (#103)
- chore(deps): update dependency google-auth to v2.0.2 (#116)
- chore(deps): update dependency google-cloud-kms to v2.6.0 (#115)
- chore(deps): update dependency pytest to v6.2.5 (#114)
- chore: blacken samples noxfile template (#121)
- chore: fail samples nox session if python version is missing (#128)
- chore(python): Add kokoro configs for python 3.10 samples testing (#134)
- chore(deps): update dependency google-auth to v2.1.0 (#120)
- chore(deps): update all dependencies (#144)
- chore(deps): update all dependencies (#146)
- chore(deps): update dependency google-cloud-private-ca to v1.2.1 (#147)
- chore(python): run blacken session for all directories with a noxfile (#150)
- chore(deps): update dependency cryptography to v36 (#154)
- feat(samples): add subordinate CA samples
- chore(deps): update dependency cryptography to v36.0.1 (#158)
- chore(samples): Add check for tests in directory (#164)
- chore(python): Noxfile recognizes that tests can live in a folder (#169)
- docs(samples): add sample to filter certificates (#160)
- chore(deps): update dependency google-auth to v2.6.0 (#173)
- docs(samples): add template/monitoring samples (#174)
- chore(deps): update all dependencies (#178)
- chore(deps): update all dependencies (#186)
- chore: Adding support for pytest-xdist and pytest-parallel (#193)
- chore(deps): update all dependencies (#196)
- chore(deps): update dependency google-cloud-private-ca to v1.3.0 (#199)
- chore(deps): update dependency pytest to v7.1.0 (#200)
- chore(deps): update dependency cryptography to v36.0.2 (#201)
- chore(deps): update all dependencies (#202)
- chore(python): use black==22.3.0 (#204)
- chore(deps): update dependency google-auth to v2.6.3 (#211)
- chore(deps): update dependency google-auth to v2.6.4 (#215)
- chore(deps): update dependency google-auth to v2.6.5 (#217)
- chore(python): add nox session to sort python imports (#218)
- chore(deps): update dependency google-auth to v2.6.6 (#221)
- chore(deps): update dependency pytest to v7.1.2 (#222)
- chore(deps): update dependency cryptography to v37 (#223)
- chore(deps): update dependency cryptography to v37.0.1 (#225)
- chore(deps): update dependency cryptography to v37.0.2 (#226)
- chore(deps): update dependency google-cloud-private-ca to v1.3.1 (#230)
- fix: require python 3.7+ (#267)
- chore(deps): update all dependencies (#262)
- chore(deps): update all dependencies (#273)
- chore(deps): update all dependencies (#275)
- chore(deps): update all dependencies (#276)
- chore(deps): update dependency google-cloud-monitoring to v2.11.1 (#281)
- chore(deps): update all dependencies (#283)
- chore(deps): update dependency google-auth to v2.11.0 (#284)
- chore(deps): update dependency pytest to v7.1.3 (#294)
- chore: Bump gapic-generator-python version to 1.3.0 (#295)
- chore: detect samples tests in nested directories (#299)
- chore(deps): update dependency google-auth to v2.11.1 (#300)
- chore(deps): update dependency google-auth to v2.12.0 (#302)
- chore(deps): update all dependencies (#304)
- chore(deps): update all dependencies (#307)
- chore(deps): update dependency pytest to v7.2.0 (#308)
- chore(deps): update dependency google-auth to v2.14.0 (#310)
- chore(python): drop flake8-import-order in samples noxfile (#315)
- chore(deps): update all dependencies (#311)
- chore(deps): update dependency cryptography to v38.0.4 (#317)
- chore(deps): update dependency google-auth to v2.15.0 (#318)
- chore(deps): update all dependencies (#321)
- chore(deps): update dependency google-cloud-private-ca to v1.5.0 (#322)
- chore(deps): update dependency cryptography to v39 (#323)
- chore(python): add support for python 3.11 (#324)
- chore(deps): update dependency google-cloud-monitoring to v2.13.0 (#325)
- chore(deps): update dependency google-auth to v2.16.0 (#326)
- chore(deps): update all dependencies (#329)
- chore(deps): update dependency pytest to v7.2.1 (#330)

## Description

Sample Migration from googleapis/python-security-private-ca

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

## Checklist
- [ ] I have followed [Sample Guidelines from AUTHORING_GUIDE.MD](https://togithub.com/GoogleCloudPlatform/python-docs-samples/blob/main/AUTHORING_GUIDE.md)
- [ ] README is updated to include [all relevant information](https://togithub.com/GoogleCloudPlatform/python-docs-samples/blob/main/AUTHORING_GUIDE.md#readme-file)
- [ ] **Tests** pass:   `nox -s py-3.9` (see [Test Environment Setup](https://togithub.com/GoogleCloudPlatform/python-docs-samples/blob/main/AUTHORING_GUIDE.md#test-environment-setup))
- [ ] **Lint** pass:   `nox -s lint` (see [Test Environment Setup](https://togithub.com/GoogleCloudPlatform/python-docs-samples/blob/main/AUTHORING_GUIDE.md#test-environment-setup))
- [ ] These samples need a new **API enabled** in testing projects to pass (let us know which ones)
- [ ] These samples need a new/updated **env vars** in testing projects set to pass (let us know which ones)
- [ ] Please **merge** this PR for me once it is approved.
- [ ] This sample adds a new sample directory, and I updated the [CODEOWNERS file](https://togithub.com/GoogleCloudPlatform/python-docs-samples/blob/main/.github/CODEOWNERS) with the codeowners for this sample
telpirion pushed a commit that referenced this pull request Mar 13, 2023
* refactor: Refactor transcribe samples into two separate samples (local-file vs gcs) and remove io dependency. Refactor tests.

* Removing CLI in samples and shebangs

* leaving transcribe_async.py in (to be removed later), because speech_transcribe_async_gcs is a required tag.

* Update year in license headers

Co-authored-by: Nick Cain <[email protected]>
telpirion pushed a commit that referenced this pull request Mar 13, 2023
* docs(samples): add reCAPTCHA Enterprise code samples  (#112)

* docs(samples): added samples and tests for site key CRUD operation

* docs(samples): added samples and tests for create assessment

* docs(samples): modified requirements and test inputs

* docs(samples): lint fix - adding copyright

* fix(samples): added nox config and modified requirements-test

* docs(samples): lint fix

* refactor(samples): updated nox file

* docs(samples): lint fix

* docs(samples): added nox config

* docs(samples): lint fix; modified nox config

* refactor(samples): incorporated review comments

* refactor(samples): lint fix

* refactor(samples): lint fix

* refactor(samples): lint fix

* docs(samples): updated to use latest chrome version and lint fix

* fix(samples): updated selenium to use chrome browser and added display name to update key

* build: add placeholder dockerfile, update kokoro configs

* Adding chrome installation in docker

* refactor(samples): removed webdriver manager dependency. Included commands to install binary file in docker.

* fix(samples): changed the chromedriver version to latest release.

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* refactor(samples): included review comments

Co-authored-by: Bu Sun Kim <[email protected]>
Co-authored-by: Bu Sun Kim <[email protected]>
Co-authored-by: Anthonios Partheniou <[email protected]>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* chore(deps): update all dependencies (#136)

* chore(deps): update all dependencies

* fix: split selenium dependency on python 3.6

Co-authored-by: Bu Sun Kim <[email protected]>

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.3.0 (#139)

Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.3.1 (#145)

* docs(samples): removed assessment name in create_assessment sample (#147)

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.4.0 (#150)

* chore: delete owlbot.py (#151)

* chore: delete owlbot.py

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* use the latest post processor image

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* docs(samples): added sample and tests for annotate assessment API (#155)

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-recaptcha-enterprise/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #154 🦕

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.4.1 (#159)

* docs(samples): added samples and test to migrate key and get metrics (#161)

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-recaptcha-enterprise/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #160  🦕

* chore(deps): update all dependencies (#177)

* chore(deps): update all dependencies

* revert pin change for python 3.6

Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(deps): update all dependencies (#186)

* chore(deps): update all dependencies

* chore: remove split pin on selenium

We do not run tests on Python < 3.6.

Co-authored-by: Bu Sun Kim <[email protected]>
Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(deps): update all dependencies (#190)

* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* chore(deps): update all dependencies (#192)

* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.6.1 (#202)

* chore(deps): update dependency selenium to v4.1.3 (#203)

* chore(deps): update dependency pytest to v7.1.0 (#204)

* chore(deps): update dependency pytest to v7.1.1 (#206)

* chore(python): use black==22.3.0 (#209)

Source-Link: googleapis/synthtool@6fab84a
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:7cffbc10910c3ab1b852c05114a08d374c195a81cdec1d4a67a1d129331d0bfe

* chore(deps): update dependency flask to v2.1.0 (#208)

* chore(deps): update dependency flask to v2.1.1 (#212)

Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(python): add nox session to sort python imports (#220)

Source-Link: googleapis/synthtool@1b71c10
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:00c9d764fd1cd56265f12a5ef4b99a0c9e87cf261018099141e2ca5158890416

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* chore(deps): update dependency pytest to v7.1.2 (#223)

* chore(deps): update dependency flask to v2.1.2 (#225)

* chore(deps): update dependency selenium to v4.1.5 (#231)

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.7.0 (#234)

* chore(deps): update dependency selenium to v4.2.0 (#257)

* chore(deps): update all dependencies (#263)

* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* revert

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(deps): update all dependencies (#275)

* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* revert

* test: find_element_by_id->find_element

* test: add import from selenium.webdriver.common.by import By

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(deps): update all dependencies (#276)

* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* revert

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(deps): update all dependencies (#277)

* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* revert

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(deps): update all dependencies (#279)

* chore(deps): update all dependencies

* revert

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Anthonios Partheniou <[email protected]>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* chore(deps): update all dependencies (#280)

* chore(deps): update all dependencies

* revert

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Anthonios Partheniou <[email protected]>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.8.1 (#285)

* chore(deps): update dependency selenium to v4.4.3 (#286)

* chore(deps): update dependency pytest to v7.1.3 (#297)

* chore(deps): update dependency selenium to v4.5.0 (#305)

Co-authored-by: Anthonios Partheniou <[email protected]>

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.8.2 (#307)

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.8.3 (#310)

* chore(deps): update dependency pytest to v7.2.0 (#313)

* chore(deps): update dependency google-cloud-recaptcha-enterprise to v1.9.0 (#314)

* Update copyright header

* Fix: selenium web-driver path issue

* Update CODEOWNERS and blunderbuss.yml

* Update copyright headers

change "Google Inc" to "Google, Inc"

* Update import order in test_create_assessment.py

* Update import order in test_create_assessment.py

* Update .github/CODEOWNERS

Co-authored-by: Dan Lee <[email protected]>

* Update .github/blunderbuss.yml

* chore(samples): add Selenium resources for Docker

* Update blunderbuss.yml

* Update blunderbuss.yml

* Update blunderbuss.yml

* Update .github/blunderbuss.yml

Co-authored-by: Dan Lee <[email protected]>

* Update CODEOWNERS

No addtions/deletions. Just sorted data.

* Update noxfile_config.py

Limit testing to latest versions only (3.9 and 3.10)

* Update noxfile_config.py

* Update blunderbuss.yml

* Updates to CODEOWNERS and blunderbuss

* Fixed deprecation warnings in tests

* Fixed lint - import order

* CODEOWNERS team rename aap-dpes -> torus-dpe

* CODEOWNERS clean-up

---------

Co-authored-by: Sita Lakshmi Sangameswaran <[email protected]>
Co-authored-by: Bu Sun Kim <[email protected]>
Co-authored-by: Bu Sun Kim <[email protected]>
Co-authored-by: Anthonios Partheniou <[email protected]>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: WhiteSource Renovate <[email protected]>
Co-authored-by: WhiteSource Renovate <[email protected]>
Co-authored-by: gcf-owl-bot[bot] <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Dan Lee <[email protected]>
Co-authored-by: Remigiusz Samborski <[email protected]>
Co-authored-by: rsamborski <[email protected]>
Co-authored-by: Jennifer Davis <[email protected]>
dizcology pushed a commit that referenced this pull request Jun 15, 2023
* chore(deps): update all dependencies

* revert protobuf

Co-authored-by: Anthonios Partheniou <[email protected]>
leahecole pushed a commit that referenced this pull request Jun 16, 2023
* chore(deps): update all dependencies

* revert protobuf

Co-authored-by: Anthonios Partheniou <[email protected]>
Avani-Thakker-Crest pushed a commit to Avani-Thakker-Crest/python-docs-samples that referenced this pull request Jun 21, 2023
* chore(deps): update all dependencies

* revert protobuf

Co-authored-by: Anthonios Partheniou <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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