Skip to content

Commit 499d530

Browse files
authored
chore(job): migrate regions by associating them with an official product with a job_ prefix (#9883)
1 parent 17d5f90 commit 499d530

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

jobs/v3/src/main/java/com/google/samples/LocationSearchSample.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public final class LocationSearchSample {
4848
private static CloudTalentSolution talentSolutionClient =
4949
JobServiceQuickstart.getTalentSolutionClient();
5050

51+
// [START job_basic_location_search]
5152
// [START basic_location_search]
5253

5354
/** Basic location Search */
@@ -80,7 +81,9 @@ public static void basicLocationSearch(String companyName, String location, doub
8081

8182
}
8283
// [END basic_location_search]
84+
// [END job_basic_location_search]
8385

86+
// [START job_keyword_location_search]
8487
// [START keyword_location_search]
8588

8689
/** Keyword location Search */
@@ -114,7 +117,9 @@ public static void keywordLocationSearch(
114117
System.out.printf("Keyword location search results: %s", response);
115118
}
116119
// [END keyword_location_search]
120+
// [END job_keyword_location_search]
117121

122+
// [START job_city_location_search]
118123
// [START city_location_search]
119124

120125
/** City location Search */
@@ -145,7 +150,9 @@ public static void cityLocationSearch(String companyName, String location)
145150
System.out.printf("City locations search results: %s", response);
146151
}
147152
// [END city_location_search]
153+
// [END job_city_location_search]
148154

155+
// [START job_multi_locations_search]
149156
// [START multi_locations_search]
150157

151158
/** Multiple locations Search */
@@ -181,8 +188,10 @@ public static void multiLocationsSearch(
181188
System.out.printf("Multiple locations search results: %s", response);
182189

183190
}
191+
// [END job_multi_locations_search]
184192
// [END multi_locations_search]
185193

194+
// [START job_broadening_location_search]
186195
// [START broadening_location_search]
187196

188197
/** Broadening location Search */
@@ -214,6 +223,7 @@ public static void broadeningLocationsSearch(String companyName, String location
214223
System.out.printf("Broadening locations search results: %s", response);
215224
}
216225
// [END broadening_location_search]
226+
// [END job_broadening_location_search]
217227

218228
public static void main(String... args) throws Exception {
219229
String location = args.length >= 1 ? args[0] : "Mountain View, CA";

0 commit comments

Comments
 (0)