Skip to content

Commit 441a237

Browse files
yoshi-automationsduskis
authored andcommitted
---
yaml --- r: 35835 b: refs/heads/autosynth-dataproc c: ab22057 h: refs/heads/master i: 35833: ef7b879 35831: f725708
1 parent d97884d commit 441a237

3 files changed

Lines changed: 47 additions & 47 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ refs/tags/v0.78.0: 62d4bd30605ab3578f9a08d84487fb0b33ac2ff5
165165
refs/tags/v0.79.0: 82287b570708748c411d05c40f3932cff9606feb
166166
refs/tags/v0.80.0: f745e744d38e4fe636f34d0e04795ba3d014287d
167167
refs/tags/v0.81.0: ed3a0c85339ea6b73560b9a570abfbb76b93a263
168-
refs/heads/autosynth-dataproc: 2b51984b868826fee65a122dd2d7d11f1d548c5b
168+
refs/heads/autosynth-dataproc: ab22057bdd02bfba43cacae221c929ad3c807e6c
169169
refs/heads/autosynth-securitycenter: b24087060036e623e57d2454ba5dabeaf1e530c5
170170
refs/heads/autosynth-talent: 4ca901879f86aab61091cea52e8a9b653639df24
171171
refs/tags/v0.82.0: 7b9807d5d0a400c757b8905fee768be4c85eba25

branches/autosynth-dataproc/google-cloud-clients/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ProductSearchClient.java

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,14 @@ public class ProductSearchClient implements BackgroundResource {
131131
private static final PathTemplate LOCATION_PATH_TEMPLATE =
132132
PathTemplate.createWithoutUrlEncoding("projects/{project}/locations/{location}");
133133

134-
private static final PathTemplate PRODUCT_SET_PATH_TEMPLATE =
135-
PathTemplate.createWithoutUrlEncoding(
136-
"projects/{project}/locations/{location}/productSets/{product_set}");
137-
138134
private static final PathTemplate PRODUCT_PATH_TEMPLATE =
139135
PathTemplate.createWithoutUrlEncoding(
140136
"projects/{project}/locations/{location}/products/{product}");
141137

138+
private static final PathTemplate PRODUCT_SET_PATH_TEMPLATE =
139+
PathTemplate.createWithoutUrlEncoding(
140+
"projects/{project}/locations/{location}/productSets/{product_set}");
141+
142142
private static final PathTemplate REFERENCE_IMAGE_PATH_TEMPLATE =
143143
PathTemplate.createWithoutUrlEncoding(
144144
"projects/{project}/locations/{location}/products/{product}/referenceImages/{reference_image}");
@@ -156,30 +156,30 @@ public static final String formatLocationName(String project, String location) {
156156
}
157157

158158
/**
159-
* Formats a string containing the fully-qualified path to represent a product_set resource.
159+
* Formats a string containing the fully-qualified path to represent a product resource.
160160
*
161-
* @deprecated Use the {@link ProductSetName} class instead.
161+
* @deprecated Use the {@link ProductName} class instead.
162162
*/
163163
@Deprecated
164-
public static final String formatProductSetName(
165-
String project, String location, String productSet) {
166-
return PRODUCT_SET_PATH_TEMPLATE.instantiate(
164+
public static final String formatProductName(String project, String location, String product) {
165+
return PRODUCT_PATH_TEMPLATE.instantiate(
167166
"project", project,
168167
"location", location,
169-
"product_set", productSet);
168+
"product", product);
170169
}
171170

172171
/**
173-
* Formats a string containing the fully-qualified path to represent a product resource.
172+
* Formats a string containing the fully-qualified path to represent a product_set resource.
174173
*
175-
* @deprecated Use the {@link ProductName} class instead.
174+
* @deprecated Use the {@link ProductSetName} class instead.
176175
*/
177176
@Deprecated
178-
public static final String formatProductName(String project, String location, String product) {
179-
return PRODUCT_PATH_TEMPLATE.instantiate(
177+
public static final String formatProductSetName(
178+
String project, String location, String productSet) {
179+
return PRODUCT_SET_PATH_TEMPLATE.instantiate(
180180
"project", project,
181181
"location", location,
182-
"product", product);
182+
"product_set", productSet);
183183
}
184184

185185
/**
@@ -218,65 +218,65 @@ public static final String parseLocationFromLocationName(String locationName) {
218218
}
219219

220220
/**
221-
* Parses the project from the given fully-qualified path which represents a product_set resource.
221+
* Parses the project from the given fully-qualified path which represents a product resource.
222222
*
223-
* @deprecated Use the {@link ProductSetName} class instead.
223+
* @deprecated Use the {@link ProductName} class instead.
224224
*/
225225
@Deprecated
226-
public static final String parseProjectFromProductSetName(String productSetName) {
227-
return PRODUCT_SET_PATH_TEMPLATE.parse(productSetName).get("project");
226+
public static final String parseProjectFromProductName(String productName) {
227+
return PRODUCT_PATH_TEMPLATE.parse(productName).get("project");
228228
}
229229

230230
/**
231-
* Parses the location from the given fully-qualified path which represents a product_set
232-
* resource.
231+
* Parses the location from the given fully-qualified path which represents a product resource.
233232
*
234-
* @deprecated Use the {@link ProductSetName} class instead.
233+
* @deprecated Use the {@link ProductName} class instead.
235234
*/
236235
@Deprecated
237-
public static final String parseLocationFromProductSetName(String productSetName) {
238-
return PRODUCT_SET_PATH_TEMPLATE.parse(productSetName).get("location");
236+
public static final String parseLocationFromProductName(String productName) {
237+
return PRODUCT_PATH_TEMPLATE.parse(productName).get("location");
239238
}
240239

241240
/**
242-
* Parses the product_set from the given fully-qualified path which represents a product_set
243-
* resource.
241+
* Parses the product from the given fully-qualified path which represents a product resource.
244242
*
245-
* @deprecated Use the {@link ProductSetName} class instead.
243+
* @deprecated Use the {@link ProductName} class instead.
246244
*/
247245
@Deprecated
248-
public static final String parseProductSetFromProductSetName(String productSetName) {
249-
return PRODUCT_SET_PATH_TEMPLATE.parse(productSetName).get("product_set");
246+
public static final String parseProductFromProductName(String productName) {
247+
return PRODUCT_PATH_TEMPLATE.parse(productName).get("product");
250248
}
251249

252250
/**
253-
* Parses the project from the given fully-qualified path which represents a product resource.
251+
* Parses the project from the given fully-qualified path which represents a product_set resource.
254252
*
255-
* @deprecated Use the {@link ProductName} class instead.
253+
* @deprecated Use the {@link ProductSetName} class instead.
256254
*/
257255
@Deprecated
258-
public static final String parseProjectFromProductName(String productName) {
259-
return PRODUCT_PATH_TEMPLATE.parse(productName).get("project");
256+
public static final String parseProjectFromProductSetName(String productSetName) {
257+
return PRODUCT_SET_PATH_TEMPLATE.parse(productSetName).get("project");
260258
}
261259

262260
/**
263-
* Parses the location from the given fully-qualified path which represents a product resource.
261+
* Parses the location from the given fully-qualified path which represents a product_set
262+
* resource.
264263
*
265-
* @deprecated Use the {@link ProductName} class instead.
264+
* @deprecated Use the {@link ProductSetName} class instead.
266265
*/
267266
@Deprecated
268-
public static final String parseLocationFromProductName(String productName) {
269-
return PRODUCT_PATH_TEMPLATE.parse(productName).get("location");
267+
public static final String parseLocationFromProductSetName(String productSetName) {
268+
return PRODUCT_SET_PATH_TEMPLATE.parse(productSetName).get("location");
270269
}
271270

272271
/**
273-
* Parses the product from the given fully-qualified path which represents a product resource.
272+
* Parses the product_set from the given fully-qualified path which represents a product_set
273+
* resource.
274274
*
275-
* @deprecated Use the {@link ProductName} class instead.
275+
* @deprecated Use the {@link ProductSetName} class instead.
276276
*/
277277
@Deprecated
278-
public static final String parseProductFromProductName(String productName) {
279-
return PRODUCT_PATH_TEMPLATE.parse(productName).get("product");
278+
public static final String parseProductSetFromProductSetName(String productSetName) {
279+
return PRODUCT_SET_PATH_TEMPLATE.parse(productSetName).get("product_set");
280280
}
281281

282282
/**

branches/autosynth-dataproc/google-cloud-clients/google-cloud-vision/synth.metadata

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"updateTime": "2019-04-02T08:05:11.071368Z",
2+
"updateTime": "2019-04-23T08:02:40.491015Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.16.22",
8-
"dockerImage": "googleapis/artman@sha256:e7f9554322a8aa1416c122c918fdc4cdec8cfe816f027fc948dec0be7edef320"
7+
"version": "0.17.0",
8+
"dockerImage": "googleapis/artman@sha256:c58f4ec3838eb4e0718eb1bccc6512bd6850feaa85a360a9e38f6f848ec73bc2"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "6c48ab5aef47dc14e02e2dc718d232a28067129d",
16-
"internalRef": "241437588"
15+
"sha": "547e19e7df398e9290e8e3674d7351efc500f9b0",
16+
"internalRef": "244712781"
1717
}
1818
}
1919
],

0 commit comments

Comments
 (0)