Skip to content

Commit acaf84f

Browse files
yoshi-automationsduskis
authored andcommitted
---
yaml --- r: 34873 b: refs/heads/autosynth-trace c: 2b51984 h: refs/heads/master i: 34871: 425024a
1 parent 846ccb1 commit acaf84f

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
@@ -141,7 +141,7 @@ refs/heads/autosynth-spanner: d963fe4368e79cf6abae5d511785e8ced8ac57f4
141141
refs/heads/autosynth-speech: c563dcd420cce0a37c39b1b9c24be1b9ba604dc7
142142
refs/heads/autosynth-tasks: 25d1eafe8cb66b00e3dad765dac74a5b45b83e63
143143
refs/heads/autosynth-texttospeech: 7a3ad430dddaed7a76f2026064502680c9339915
144-
refs/heads/autosynth-trace: 575b1d0e60b4dd8167eef424811723afafa794fd
144+
refs/heads/autosynth-trace: 2b51984b868826fee65a122dd2d7d11f1d548c5b
145145
refs/heads/autosynth-websecurityscanner: fa561b356aabcd92d415ae8dc88fd8d87dbc5b23
146146
refs/heads/bigquerystorage: 06db74d123d7f8a3ef48755c2fcabed09faf8e64
147147
refs/heads/elharo-patch-1: ce159ef828d3c545991ff78e7b6e0d912a9453e9

branches/autosynth-trace/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-trace/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)