-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Java sample for doing online prediction in Cloud Machine Learning Engine. #868
Conversation
Thanks for your contribution. Please take a look at CONTRIBUTING.md, also at some of our other samples for inspiration. You are missing licenses at the top of your files. Also, I can't actually figure out how this is useful to anyone. Did you push it by accident? |
Sorry for the missing license, I will add it soon. Could you clarify why do you think it's not useful and what should be improved? We (Cloud Machine Learning Engine team) want to provide some sample code for users to use our service in different languages, e.g. C# and JS: GoogleCloudPlatform/nodejs-docs-samples#432 |
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
CLAs look good, thanks! |
Partially it's me, but I'd like to see some comments on what you are doing. -- I'll mark a few things inline. |
Discovery discovery = new Discovery.Builder(httpTransport, jsonFactory, null).build(); | ||
|
||
RestDescription api = discovery.apis().getRest("ml", "v1").execute(); | ||
RestMethod method = api.getResources().get("projects").getMethods().get("predict"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some kind of comment how you are inspecting the discovery document and getting the Prediction API.
|
||
JsonSchema param = new JsonSchema(); | ||
String projectId = "YOUR_PROJECT_ID"; | ||
String modelId = "YOUR_MODEL_ID"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something about your Model here would be good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
||
GoogleCredential credential = GoogleCredential.getApplicationDefault(); | ||
HttpRequestFactory requestFactory = httpTransport.createRequestFactory(credential); | ||
HttpRequest request = requestFactory.buildRequest(method.getHttpMethod(), url, content); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A comment about this.
Why aren't you actually generating an APIary client so don't need to do it this way? Seems simple enough, but there are some named things when you create it from the proto usually.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There isn't particular reason for choosing discovery over direct API.
It just that I tried discovery first.
Which is the typical or recommended pattern?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this case, I'm happy with just using discovery. As you will need to generate a One Platform API for GA. (I'd rather see a 1P now, but can live w/ this)
Also, please go to github/ (internal link) and register. Didn't realize you were a Googler, or I'd have reached out directly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PTAL
@@ -0,0 +1,9 @@ | |||
# Cloud Machine Learning Engine - Online Prediction with Java |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you look at our other README's and add content about auth.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added, PTAL
@@ -0,0 +1,49 @@ | |||
<project> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
License needed here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
mlengine/online-prediction/README.md
Outdated
|
||
Modify the OnlinePredictionSample.java with your project/model/version information. | ||
|
||
Compile and run the sample: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should mention that this is a part of a tutorial and provide a link.
|
||
GoogleCredential credential = GoogleCredential.getApplicationDefault(); | ||
HttpRequestFactory requestFactory = httpTransport.createRequestFactory(credential); | ||
HttpRequest request = requestFactory.buildRequest(method.getHttpMethod(), url, content); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this case, I'm happy with just using discovery. As you will need to generate a One Platform API for GA. (I'd rather see a 1P now, but can live w/ this)
Thanks for reviewing this! |
Thank you! |
…orting to v0.123.0-beta (#868) [![WhiteSource 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-errorreporting](https://togithub.com/GoogleCloudPlatform/google-cloud) | `0.122.23-beta` -> `0.123.0-beta` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-errorreporting/0.123.0-beta/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-errorreporting/0.123.0-beta/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-errorreporting/0.123.0-beta/compatibility-slim/0.122.23-beta)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-errorreporting/0.123.0-beta/confidence-slim/0.122.23-beta)](https://docs.renovatebot.com/merge-confidence/) | --- ### 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, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-errorreporting).
…orting to v0.123.0-beta (#868) [![WhiteSource 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-errorreporting](https://togithub.com/GoogleCloudPlatform/google-cloud) | `0.122.23-beta` -> `0.123.0-beta` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-errorreporting/0.123.0-beta/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-errorreporting/0.123.0-beta/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-errorreporting/0.123.0-beta/compatibility-slim/0.122.23-beta)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-errorreporting/0.123.0-beta/confidence-slim/0.122.23-beta)](https://docs.renovatebot.com/merge-confidence/) | --- ### 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, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-errorreporting).
…orting to v0.123.0-beta (#868) [![WhiteSource 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-errorreporting](https://togithub.com/GoogleCloudPlatform/google-cloud) | `0.122.23-beta` -> `0.123.0-beta` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-errorreporting/0.123.0-beta/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-errorreporting/0.123.0-beta/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-errorreporting/0.123.0-beta/compatibility-slim/0.122.23-beta)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-errorreporting/0.123.0-beta/confidence-slim/0.122.23-beta)](https://docs.renovatebot.com/merge-confidence/) | --- ### 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, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-errorreporting).
…868) [![WhiteSource 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-core](https://togithub.com/googleapis/java-core) | `2.3.1` -> `2.3.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.2/compatibility-slim/2.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.2/confidence-slim/2.3.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-core</summary> ### [`v2.3.2`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​232-httpswwwgithubcomgoogleapisjava-corecomparev231v232-2021-12-02) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.3.1...v2.3.2) </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, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-translate).
…868) [![WhiteSource 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-core](https://togithub.com/googleapis/java-core) | `2.3.1` -> `2.3.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.2/compatibility-slim/2.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.2/confidence-slim/2.3.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-core</summary> ### [`v2.3.2`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​232-httpswwwgithubcomgoogleapisjava-corecomparev231v232-2021-12-02) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.3.1...v2.3.2) </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, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-translate).
…868) [![WhiteSource 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-core](https://togithub.com/googleapis/java-core) | `2.3.1` -> `2.3.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.2/compatibility-slim/2.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.2/confidence-slim/2.3.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-core</summary> ### [`v2.3.2`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​232-httpswwwgithubcomgoogleapisjava-corecomparev231v232-2021-12-02) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.3.1...v2.3.2) </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, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-translate).
…rm to v2.8.5 (#868) [![WhiteSource 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-aiplatform](https://togithub.com/googleapis/java-) | `2.8.4` -> `2.8.5` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-aiplatform/2.8.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-aiplatform/2.8.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-aiplatform/2.8.5/compatibility-slim/2.8.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-aiplatform/2.8.5/confidence-slim/2.8.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: 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. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-aiplatform).
…868) [![WhiteSource 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-core](https://togithub.com/googleapis/java-core) | `2.3.1` -> `2.3.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.2/compatibility-slim/2.3.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-core/2.3.2/confidence-slim/2.3.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-core</summary> ### [`v2.3.2`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​232-httpswwwgithubcomgoogleapisjava-corecomparev231v232-2021-12-02) [Compare Source](https://togithub.com/googleapis/java-core/compare/v2.3.1...v2.3.2) </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, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-translate).
### Migrating samples from [googleapis/java-aiplatform](https://togithub.com/googleapis/java-aiplatform/tree/main/samples) into [java-docs-samples/aiplatform](https://togithub.com/GoogleCloudPlatform/java-docs-samples) --- - feat: initial code generation - chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.18 (#2) - chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.19 (#11) - samples: update pom.xml (s) in the samples dir (#24) - chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.21 (#14) - test(deps): update dependency junit:junit to v4.13.1 - test(deps): update dependency com.google.truth:truth to v1.1 (#33) - deps: update dependency com.google.cloud:google-cloud-storage to v1.113.2 (#38) - samples: ucaip samples batch 3 of 6 (#18) - samples: ucaip batch samples 4 of 6 (#19) - samples: ucaip batch samples 5 of 6 (#20) - samples: ucaip samples batch 6 of 6 (#17) - samples: ucaip sample batch 2 of 6 (#15) - chore: delete ununsed format script (#48) - samples: initial commit and it is missing env vars for testing (#7) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v0.1.0 (#59) - samples(deps): update dependency com.google.cloud:google-cloud-storage to v1.113.3 (#55) - samples(deps): update dependency com.google.protobuf:protobuf-java-util to v4.0.0-rc-2 (#27) - samples: adds custom model, action recognition samples and tests (#111) - feat: adds ValueConverter utility and demo samples (#108) - samples(deps): update dependency com.google.cloud:google-cloud-storage to v1.113.8 (#72) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v0.2.0 (#133) - test(deps): update dependency com.google.truth:truth to v1.1.2 (#138) - samples: adds enhanced library samples (#134) - test(deps): update dependency junit:junit to v4.13.2 (#161) - deps: update dependency com.google.cloud:google-cloud-storage to v1.113.9 (#132) - fix: reduces image object detection test resource file size (#154) - deps: update dependency com.google.cloud:google-cloud-storage to v1.113.10 (#164) - feat: updates library for v1 service (#157) - deps: update dependency com.google.cloud:google-cloud-storage to v1.113.11 (#175) - docs: updates prediction to new hostname (#173) - chore: replaced hard-coded values with env vars (#185) - deps: update dependency com.google.cloud:google-cloud-storage to v1.113.12 (#186) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v0.3.0 (#188) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.3.0 (#189) - deps: update dependency com.google.cloud:google-cloud-storage to v1.113.14 (#202) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v0.4.0 (#209) - chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.22 (#223) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.4.0 (#210) - deps: update dependency com.google.cloud:google-cloud-storage to v1.113.15 (#232) - samples: updates samples to v1 (1 of 8) (#206) - samples: updates samples to v1 (2 of 8) (#212) - test(teardown): refactored teardown section of test (#254) - test(env var): added missing requireEnv val (#255) - samples: updates samples to v1 (3 of 8) (#215) - samples: updates samples to v1 (5 of 10) (#235) - samples: updates samples to v1 (4 of 10) (#233) - deps: update dependency com.google.cloud:google-cloud-storage to v1.113.16 (#334) - chore: Increasing timeout createdataset (#337) - samples: updates samples to v1 (7 of 10) (#238) - samples: updates samples to v1 (6 of 10) (#236) - samples: updates samples to v1 (8 of 8) (#239) - deps: update dependency com.google.cloud:google-cloud-storage to v1.114.0 (#349) - deps: update dependency com.google.code.gson:gson to v2.8.7 (#382) - test(deps): update dependency com.google.truth:truth to v1.1.3 (#383) - chore: changes product name to 'Vertex AI' (#373) - chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.23 (#399) - deps: update dependency com.google.cloud:google-cloud-storage to v1.115.0 (#396) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v1 (#406) - chore: disabling ITs to reduce cost & resolve quota issue (#421) - deps: update dependency com.google.cloud:google-cloud-storage to v1.117.1 (#422) - test: Refactor teardown (#424) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.5.1 (#428) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v1.0.2 (#427) - deps: update dependency com.google.cloud:google-cloud-storage to v1.118.0 (#440) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.5.2 (#434) - deps: update dependency com.google.cloud:google-cloud-storage to v2 (#610) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2 (#609) - deps: update dependency com.google.cloud:google-cloud-storage to v2.0.1 (#612) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.6.0 (#608) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.0.1 (#616) - deps: update dependency com.google.code.gson:gson to v2.8.8 (#622) - deps: update dependency com.google.cloud:google-cloud-storage to v2.0.2 (#621) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.6.1 (#617) - deps: update dependency com.google.cloud:google-cloud-storage to v2.1.0 (#630) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.6.2 (#629) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.0.2 (#628) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.1.0 (#640) - deps: update dependency com.google.cloud:google-cloud-storage to v2.1.1 (#644) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.2.0 (#650) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.8.0 (#641) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.2.1 (#660) - deps: update dependency com.google.cloud:google-cloud-storage to v2.1.2 (#662) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.8.1 (#661) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.8.2 (#666) - deps: update dependency com.google.cloud:google-cloud-storage to v2.1.3 (#667) - deps: update dependency com.google.cloud:google-cloud-storage to v2.1.4 (#669) - deps: update dependency com.google.cloud:google-cloud-storage to v2.1.5 (#673) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.2.2 (#665) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.8.3 (#678) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.2.3 (#677) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.2.4 (#681) - deps: update dependency com.google.cloud:google-cloud-storage to v2.1.6 (#683) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.8.4 (#682) - deps: update dependency com.google.cloud:google-cloud-storage to v2.1.7 (#689) - deps: update dependency com.google.cloud:google-cloud-storage to v2.1.8 (#696) - deps: update dependency com.google.cloud:google-cloud-storage to v2.1.9 (#698) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.3.0 (#702) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.9.0 (#703) - deps: update dependency com.google.code.gson:gson to v2.8.9 (#707) - deps: update dependency com.google.cloud:google-cloud-storage to v2.2.0 (#710) - deps: update dependency com.google.cloud:google-cloud-storage to v2.2.1 (#722) - docs: Added evalId comment to samples (#727) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.10.0 (#733) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.4.0 (#732) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.11.0 (#740) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.5.0 (#739) - deps: update dependency com.google.cloud:google-cloud-storage to v2.2.2 (#747) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.11.2 (#744) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.5.2 (#748) - chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.24 (#734) - chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.2.0 (#749) - test: Add null check in teardown (#752) - deps: update dependency com.google.cloud:google-cloud-storage to v2.2.3 (#764) - deps: update dependency com.google.cloud:google-cloud-storage to v2.3.0 (#773) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.11.3 (#762) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.5.3 (#761) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.6.0 (#784) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.12.0 (#782) - deps: update dependency com.google.code.gson:gson to v2.9.0 (#792) - deps: update dependency com.google.cloud:google-cloud-storage to v2.4.0 (#783) - deps: update dependency com.google.cloud:google-cloud-storage to v2.4.4 (#801) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.7.0 (#807) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.13.0 (#808) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.7.1 (#813) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.13.1 (#812) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.7.2 (#819) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.13.2 (#817) - deps: update dependency com.google.cloud:google-cloud-storage to v2.4.5 (#818) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.7.3 (#822) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.13.3 (#823) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.7.4 (#828) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.13.4 (#829) - deps: update dependency com.google.cloud:google-cloud-storage to v2.5.0 (#834) - deps: update dependency com.google.cloud:google-cloud-storage to v2.5.1 (#835) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.8.0 (#838) - deps: update dependency com.google.cloud:google-cloud-storage to v2.6.0 (#840) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.14.0 (#839) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.8.1 (#846) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.14.1 (#847) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.14.2 (#852) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.8.2 (#851) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.8.3 (#855) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.14.3 (#856) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.14.4 (#860) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.8.4 (#859) - deps: update dependency com.google.cloud:google-cloud-storage to v2.6.1 (#863) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.8.5 (#868) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.14.5 (#869) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.14.6 (#875) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.8.6 (#874) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.8.7 (#878) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.14.7 (#879) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.8.8 (#882) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.14.8 (#883) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.14.9 (#890) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.8.9 (#889) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.15.0 (#915) - deps: update dependency com.google.cloud:google-cloud-storage to v2.7.0 (#916) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.9.0 (#914) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.9.1 (#919) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.15.1 (#920) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.15.2 (#924) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.9.2 (#923) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.9.3 (#927) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.15.3 (#928) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.15.4 (#932) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.9.4 (#931) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.15.5 (#936) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.9.5 (#935) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.9.6 (#941) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.15.6 (#942) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v2.9.7 (#953) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.15.7 (#954) - feat(samples): add create-featurestore sample (#948) - feat(samples): added all entity type samples (#976) - feat(samples): add remaining featurestore api samples (#974) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v3 (#986) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.17.0 (#1003) - deps: update dependency com.google.code.gson:gson to v2.9.1 (#1001) - deps: update dependency com.google.cloud:google-cloud-storage to v2.10.0 (#1004) - feat(samples): add all feature samples (#980) - deps: update dependency com.google.cloud:google-cloud-storage to v2.11.0 (#1005) - feat(samples): add all feature values samples (#981) - deps: update dependency com.google.cloud:google-cloud-bigquery to v2.14.1 (#1006) - deps: update dependency com.google.cloud:google-cloud-storage to v2.11.1 (#1008) - deps: update dependency com.google.cloud:google-cloud-storage to v2.11.2 (#1010) - deps: update dependency com.google.cloud:google-cloud-bigquery to v2.14.3 (#1009) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v3.2.0 (#1020) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.18.0 (#1021) - deps: update dependency com.google.cloud:google-cloud-bigquery to v2.14.5 (#1016) - deps: update dependency com.google.cloud:google-cloud-bigquery to v2.14.6 (#1026) - deps: update dependency com.google.cloud:google-cloud-storage to v2.11.3 (#1015) - deps: update dependency com.google.cloud:google-cloud-bigquery to v2.14.7 (#1031) - deps: update dependency com.google.cloud:google-cloud-bigquery to v2.15.0 (#1040) - deps: update dependency com.google.cloud:google-cloud-bigquery to v2.16.0 (#1044) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.19.0 (#1051) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v3.3.0 (#1050) - deps: update dependency com.google.cloud:google-cloud-bigquery to v2.16.1 (#1046) - deps: update dependency com.google.cloud:google-cloud-storage to v2.12.0 (#1047) - feat(sample): featurestore node updates (#1028) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v3.4.0 (#1085) - deps: update dependency com.google.cloud:google-cloud-bigquery to v2.17.0 (#1082) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.20.0 (#1086) - deps: update dependency com.google.cloud:google-cloud-storage to v2.13.0 (#1087) - deps: update dependency com.google.cloud:google-cloud-bigquery to v2.17.1 (#1092) - chore(deps): update dependency com.google.cloud:google-cloud-aiplatform to v3.4.1 (#1090) - deps: update dependency com.google.api.grpc:proto-google-cloud-aiplatform-v1beta1 to v0.20.1 (#1091) - deps: update dependency com.google.cloud:google-cloud-bigquery to v2.18.0 (#1113) Fixes #issue > It's a good idea to open an issue first for discussion. - [ ] I have followed [Sample Format Guide](https://togithub.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md) - [ ] `pom.xml` parent set to latest `shared-configuration` - [ ] Appropriate changes to README are included in PR - [ ] API's need to be enabled to test (tell us) - [ ] Environment Variables need to be set (ask us to set them) - [ ] **Tests** pass: `mvn clean verify` **required** - [ ] **Lint** passes: `mvn -P lint checkstyle:check` **required** - [ ] **Static Analysis**: `mvn -P lint clean compile pmd:cpd-check spotbugs:check` **advisory only** - [ ] Please **merge** this PR for me once it is approved.
No description provided.