This repository was archived by the owner on Sep 16, 2023. It is now read-only.
Commit b966ca5
feat(v1p3beta1,v1p4beta): breaking resource name changes (#133)
* chore!: enable gapicv2 for vision/v1p3beta API
BREAKING CHANGE: The breaking changes are as follows. After discussion please see this PR, these seem to be acceptable given that this is a beta API.
com.google.cloud.vision.v1p4beta1.ProductSearchClient: Parameter 2 of 'public void addProductToProductSet(com.google.cloud.vision.v1p4beta1.ProductSetName, java.lang.String)' has changed its type to com.google.cloud.vision.v1p4beta1.ProductName
com.google.cloud.vision.v1p4beta1.ProductSearchClient: Parameter 2 of 'public void removeProductFromProductSet(com.google.cloud.vision.v1p4beta1.ProductSetName, java.lang.String)' has changed its type to com.google.cloud.vision.v1p4beta1.ProductName
Committer: @miraleung
PiperOrigin-RevId: 309787157
Source-Author: Google APIs <noreply@google.com>
Source-Date: Mon May 4 11:38:06 2020 -0700
Source-Repo: googleapis/googleapis
Source-Sha: ab3468cf63abc521be76c9eceb620d61c5ddd76a
Source-Link: googleapis/googleapis@ab3468c
* chore!: enable gapicv2 for vision/v1p4beta API
BREAKING CHANGE: The breaking changes are as follows. After discussion please see [this PR](googleapis/gapic-generator#3177), these seem to be acceptable given that this is a beta API.
com.google.cloud.vision.v1p4beta1.ProductSearchClient: Method 'public com.google.longrunning.Operation purgeProducts(com.google.cloud.vision.v1p4beta1.PurgeProductsRequest)' has been removed
- This is because this method was not generating with the same LRO interface that all other configured RPCs receive.
com.google.cloud.vision.v1p4beta1.ProductSearchClient: Parameter 2 of 'public void addProductToProductSet(com.google.cloud.vision.v1p4beta1.ProductSetName, java.lang.String)' has changed its type to com.google.cloud.vision.v1p4beta1.ProductName
com.google.cloud.vision.v1p4beta1.ProductSearchClient: Parameter 2 of 'public void removeProductFromProductSet(com.google.cloud.vision.v1p4beta1.ProductSetName, java.lang.String)' has changed its type to com.google.cloud.vision.v1p4beta1.ProductName
Committer: @miraleung
PiperOrigin-RevId: 309788146
Source-Author: Google APIs <noreply@google.com>
Source-Date: Mon May 4 11:42:36 2020 -0700
Source-Repo: googleapis/googleapis
Source-Sha: a737a68e214d1cf927457c996b73e2600b14a949
Source-Link: googleapis/googleapis@a737a68
* chore: allow breaking resource names to beta clients
Co-authored-by: Jeff Ching <chingor@google.com>1 parent 0903c75 commit b966ca5
18 files changed
Lines changed: 2604 additions & 2394 deletions
File tree
- google-cloud-vision
- src
- main/java/com/google/cloud/vision
- v1p3beta1
- stub
- v1p4beta1
- stub
- test/java/com/google/cloud/vision
- v1p3beta1
- v1p4beta1
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
| 198 | + | |
202 | 199 | | |
203 | 200 | | |
204 | 201 | | |
| |||
218 | 215 | | |
219 | 216 | | |
220 | 217 | | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
| 218 | + | |
225 | 219 | | |
226 | 220 | | |
227 | 221 | | |
| |||
0 commit comments