-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 functional methods for instances, Instance class and tests #959
Merged
Conversation
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
googlebot
added
the
cla: yes
This human has signed the Contributor License Agreement.
label
Apr 26, 2016
mziccard
force-pushed
the
compute-instance
branch
from
April 26, 2016 16:07
d5568eb
to
390dda5
Compare
* | ||
* @see <a href="https://github.com/google/re2/wiki/Syntax">RE2</a> | ||
*/ | ||
public static InstanceFilter equals(InstanceField field, String value) { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
} | ||
|
||
private static Function<com.google.api.services.compute.model.Instance, Instance> | ||
instanceFromPb(final ComputeOptions serviceOptions) { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
mziccard
added a commit
to mziccard/gcloud-java
that referenced
this pull request
Apr 29, 2016
github-actions bot
pushed a commit
that referenced
this pull request
Jul 14, 2022
🤖 I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
github-actions bot
pushed a commit
that referenced
this pull request
Aug 9, 2022
…1.0 (#959) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-storage](https://togithub.com/googleapis/java-storage) | `2.10.0` -> `2.11.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.11.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.11.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.11.0/compatibility-slim/2.10.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-storage/2.11.0/confidence-slim/2.10.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-storage</summary> ### [`v2.11.0`](https://togithub.com/googleapis/java-storage/blob/HEAD/CHANGELOG.md#​2110-httpsgithubcomgoogleapisjava-storagecomparev2100v2110-2022-08-03) [Compare Source](https://togithub.com/googleapis/java-storage/compare/v2.10.0...v2.11.0) ##### Features - introduce RPC CancelResumableWriteRequest ([#​1518](https://togithub.com/googleapis/java-storage/issues/1518)) ([f8811c6](https://togithub.com/googleapis/java-storage/commit/f8811c654109516116bbbe142f4b27ec7f63b5fb)) ##### Documentation - Refactor Custom Dual Region sample to work with API changes ([#​1516](https://togithub.com/googleapis/java-storage/issues/1516)) ([a60cace](https://togithub.com/googleapis/java-storage/commit/a60caced9584855f12cdb7cac8ad7606ba32a60a)) ##### Dependencies - update dependency com.google.cloud:google-cloud-pubsub to v1.120.5 ([#​1527](https://togithub.com/googleapis/java-storage/issues/1527)) ([77072e3](https://togithub.com/googleapis/java-storage/commit/77072e3835bbeb802299fec1359c5f3ca13e3c8a)) - update dependency com.google.cloud:google-cloud-pubsub to v1.120.7 ([#​1530](https://togithub.com/googleapis/java-storage/issues/1530)) ([8c2ebad](https://togithub.com/googleapis/java-storage/commit/8c2ebad79affb766d842615aa30cc2a3dbe7d0de)) - update dependency com.google.cloud:google-cloud-pubsub to v1.120.8 ([#​1534](https://togithub.com/googleapis/java-storage/issues/1534)) ([723b100](https://togithub.com/googleapis/java-storage/commit/723b10014cafae257fa75d9c0bfd3fb0c34b9943)) - update dependency com.google.cloud:google-cloud-shared-dependencies to v3 ([#​1526](https://togithub.com/googleapis/java-storage/issues/1526)) ([f7fc0d2](https://togithub.com/googleapis/java-storage/commit/f7fc0d2f301bd22e96a0b43f8657cc738f49f278)) - update dependency org.junit.vintage:junit-vintage-engine to v5.9.0 ([#​1524](https://togithub.com/googleapis/java-storage/issues/1524)) ([0e74093](https://togithub.com/googleapis/java-storage/commit/0e74093f3dffd829f8fb9f2525c1502e1910fbe6)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - 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, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-vision). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNDEuMCIsInVwZGF0ZWRJblZlciI6IjMyLjE0MS4wIn0=-->
github-actions bot
pushed a commit
that referenced
this pull request
Aug 9, 2022
🤖 I have created a release *beep* *boop* --- ## [3.6.7](googleapis/java-dlp@v3.6.6...v3.6.7) (2022-08-05) ### Documentation * **owlbot-java:** explaining why not using formatter in pom.xml ([#1511](https://github.com/googleapis/java-dlp/issues/1511)) ([#945](googleapis/java-dlp#945)) ([f29bd22](googleapis/java-dlp@f29bd22)), closes [#1502](https://github.com/googleapis/java-dlp/issues/1502) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
github-actions bot
pushed a commit
that referenced
this pull request
Aug 9, 2022
🤖 I have created a release *beep* *boop* --- ## [3.1.0](googleapis/java-vision@v3.0.2...v3.1.0) (2022-08-09) ### Features * Add TextDetectionParams.advanced_ocr_options ([#962](googleapis/java-vision#962)) ([178e4a4](googleapis/java-vision@178e4a4)) ### Dependencies * update dependency com.google.cloud:google-cloud-core to v2.8.6 ([#955](googleapis/java-vision#955)) ([c4fdb49](googleapis/java-vision@c4fdb49)) * update dependency com.google.cloud:google-cloud-core to v2.8.7 ([#958](googleapis/java-vision#958)) ([0a11239](googleapis/java-vision@0a11239)) * update dependency com.google.cloud:google-cloud-core to v2.8.8 ([#960](googleapis/java-vision#960)) ([8d62c20](googleapis/java-vision@8d62c20)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v3 ([#952](googleapis/java-vision#952)) ([3400667](googleapis/java-vision@3400667)) * update dependency com.google.cloud:google-cloud-storage to v2.10.0 ([#956](googleapis/java-vision#956)) ([89b114c](googleapis/java-vision@89b114c)) * update dependency com.google.cloud:google-cloud-storage to v2.11.0 ([#959](googleapis/java-vision#959)) ([3885ac8](googleapis/java-vision@3885ac8)) * update dependency com.google.cloud:google-cloud-storage to v2.11.1 ([#961](googleapis/java-vision#961)) ([99996d4](googleapis/java-vision@99996d4)) * update dependency com.google.cloud:google-cloud-storage to v2.11.2 ([#963](googleapis/java-vision#963)) ([1f7e3ba](googleapis/java-vision@1f7e3ba)) * update spring.version to v2.7.2 ([#951](googleapis/java-vision#951)) ([8e4c6ab](googleapis/java-vision@8e4c6ab)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
github-actions bot
pushed a commit
that referenced
this pull request
Aug 16, 2022
…telligence to v2.2.3 (#959) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-video-intelligence](https://togithub.com/googleapis/java-video-intelligence) | `2.2.1` -> `2.2.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-video-intelligence/2.2.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-video-intelligence/2.2.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-video-intelligence/2.2.3/compatibility-slim/2.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-video-intelligence/2.2.3/confidence-slim/2.2.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-video-intelligence). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNTQuOSIsInVwZGF0ZWRJblZlciI6IjMyLjE1NC45In0=-->
github-actions bot
pushed a commit
that referenced
this pull request
Sep 30, 2022
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [cachetools](https://togithub.com/tkem/cachetools) | `==4.2.4` -> `==5.2.0` | [![age](https://badges.renovateapi.com/packages/pypi/cachetools/5.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/cachetools/5.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/cachetools/5.2.0/compatibility-slim/4.2.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/cachetools/5.2.0/confidence-slim/4.2.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-monitoring). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMDguMiIsInVwZGF0ZWRJblZlciI6IjMyLjIwOC4yIn0=-->
github-actions bot
pushed a commit
that referenced
this pull request
Oct 10, 2022
… to v4.0.8 (#959) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-dataproc](https://togithub.com/googleapis/java-dataproc) | `4.0.7` -> `4.0.8` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dataproc/4.0.8/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dataproc/4.0.8/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dataproc/4.0.8/compatibility-slim/4.0.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dataproc/4.0.8/confidence-slim/4.0.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-dataproc). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMTkuMSIsInVwZGF0ZWRJblZlciI6IjMyLjIxOS4xIn0=-->
suztomo
pushed a commit
that referenced
this pull request
Feb 1, 2023
suztomo
pushed a commit
that referenced
this pull request
Feb 1, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
api: compute
Issues related to the Compute Engine API.
cla: yes
This human has signed the Contributor License Agreement.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds functional methods for instance and functional
Instance
class.This PR also adds unit tests for
ComputeImpl
andInstance
as well as integration tests.