Skip to content

Commit 69f8ca2

Browse files
yoshi-automationsduskis
authored andcommitted
---
yaml --- r: 32729 b: refs/heads/autosynth-iot c: 2b51984 h: refs/heads/master i: 32727: 85b1441
1 parent a424924 commit 69f8ca2

3 files changed

Lines changed: 33 additions & 33 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ refs/heads/autosynth-datastore: f1efc3dc465174f41041acd56cf29badcec3e5bd
131131
refs/heads/autosynth-dialogflow: 73974cc32e5212aec0126472e0bc1442886fedaf
132132
refs/heads/autosynth-errorreporting: effe8001d110ad584187b30aafc473db0dd4a15f
133133
refs/heads/autosynth-firestore: e79eeb26930dfae4439424ad2fda5874eeca54c8
134-
refs/heads/autosynth-iot: 575b1d0e60b4dd8167eef424811723afafa794fd
134+
refs/heads/autosynth-iot: 2b51984b868826fee65a122dd2d7d11f1d548c5b
135135
refs/heads/autosynth-kms: 6b65b0f34c12d141031c7288cdc01e550212d0f6
136136
refs/heads/autosynth-language: e73905aa7672afa47240e65b25c087207f4594f9
137137
refs/heads/autosynth-os-login: 123ba209c5769d0ee067e0ce5848bec13b42a4f4

branches/autosynth-iot/google-cloud-clients/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/DataCatalogClient.java

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -100,24 +100,12 @@ public class DataCatalogClient implements BackgroundResource {
100100
private final DataCatalogSettings settings;
101101
private final DataCatalogStub stub;
102102

103-
private static final PathTemplate LOCATION_PATH_TEMPLATE =
104-
PathTemplate.createWithoutUrlEncoding("projects/{project}/locations/{location}");
105-
106103
private static final PathTemplate ENTRY_PATH_TEMPLATE =
107104
PathTemplate.createWithoutUrlEncoding(
108105
"projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}");
109106

110-
/**
111-
* Formats a string containing the fully-qualified path to represent a location resource.
112-
*
113-
* @deprecated Use the {@link LocationName} class instead.
114-
*/
115-
@Deprecated
116-
public static final String formatLocationName(String project, String location) {
117-
return LOCATION_PATH_TEMPLATE.instantiate(
118-
"project", project,
119-
"location", location);
120-
}
107+
private static final PathTemplate LOCATION_PATH_TEMPLATE =
108+
PathTemplate.createWithoutUrlEncoding("projects/{project}/locations/{location}");
121109

122110
/**
123111
* Formats a string containing the fully-qualified path to represent a entry resource.
@@ -135,23 +123,15 @@ public static final String formatEntryName(
135123
}
136124

137125
/**
138-
* Parses the project from the given fully-qualified path which represents a location resource.
139-
*
140-
* @deprecated Use the {@link LocationName} class instead.
141-
*/
142-
@Deprecated
143-
public static final String parseProjectFromLocationName(String locationName) {
144-
return LOCATION_PATH_TEMPLATE.parse(locationName).get("project");
145-
}
146-
147-
/**
148-
* Parses the location from the given fully-qualified path which represents a location resource.
126+
* Formats a string containing the fully-qualified path to represent a location resource.
149127
*
150128
* @deprecated Use the {@link LocationName} class instead.
151129
*/
152130
@Deprecated
153-
public static final String parseLocationFromLocationName(String locationName) {
154-
return LOCATION_PATH_TEMPLATE.parse(locationName).get("location");
131+
public static final String formatLocationName(String project, String location) {
132+
return LOCATION_PATH_TEMPLATE.instantiate(
133+
"project", project,
134+
"location", location);
155135
}
156136

157137
/**
@@ -194,6 +174,26 @@ public static final String parseEntryFromEntryName(String entryName) {
194174
return ENTRY_PATH_TEMPLATE.parse(entryName).get("entry");
195175
}
196176

177+
/**
178+
* Parses the project from the given fully-qualified path which represents a location resource.
179+
*
180+
* @deprecated Use the {@link LocationName} class instead.
181+
*/
182+
@Deprecated
183+
public static final String parseProjectFromLocationName(String locationName) {
184+
return LOCATION_PATH_TEMPLATE.parse(locationName).get("project");
185+
}
186+
187+
/**
188+
* Parses the location from the given fully-qualified path which represents a location resource.
189+
*
190+
* @deprecated Use the {@link LocationName} class instead.
191+
*/
192+
@Deprecated
193+
public static final String parseLocationFromLocationName(String locationName) {
194+
return LOCATION_PATH_TEMPLATE.parse(locationName).get("location");
195+
}
196+
197197
/** Constructs an instance of DataCatalogClient with default settings. */
198198
public static final DataCatalogClient create() throws IOException {
199199
return create(DataCatalogSettings.newBuilder().build());

branches/autosynth-iot/google-cloud-clients/google-cloud-datacatalog/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-18T07:39:13.119904Z",
2+
"updateTime": "2019-04-23T07:38:50.977206Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.16.25",
8-
"dockerImage": "googleapis/artman@sha256:d9597f983d1d4e61272c63cb97b7d8f8234da9999526c35d357de3d781f0ec1b"
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": "d35ca3509160f09d3b0cc5360531751d95f3e292",
16-
"internalRef": "244086609"
15+
"sha": "547e19e7df398e9290e8e3674d7351efc500f9b0",
16+
"internalRef": "244712781"
1717
}
1818
}
1919
],

0 commit comments

Comments
 (0)