Skip to content

Commit

Permalink
chore(jobs): add normalized region tags with product prefix (#7442)
Browse files Browse the repository at this point in the history
  • Loading branch information
meredithslota authored Nov 17, 2022
1 parent 070cf84 commit 8f39f24
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions jobs/v3/src/main/java/com/google/samples/GeneralSearchSample.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public final class GeneralSearchSample {
private static CloudTalentSolution talentSolutionClient =
JobServiceQuickstart.getTalentSolutionClient();

// [START job_discovery_basic_keyword_search]
// [START basic_keyword_search]

/** Simple search jobs with keyword. */
Expand Down Expand Up @@ -95,7 +96,9 @@ public static void basicSearcJobs(String companyName, String query)
System.out.printf("Simple search jobs results: %s\n", searchJobsResponse);
}
// [END basic_keyword_search]

// [END job_discovery_basic_keyword_search]

// [START job_discovery_category_filter_search]
// [START category_filter]

/** Search on category filter. */
Expand Down Expand Up @@ -133,7 +136,9 @@ public static void categoryFilterSearch(String companyName, List<String> categor
System.out.printf("Category search jobs results: %s\n", searchJobsResponse);
}
// [END category_filter]
// [END job_discovery_category_filter_search]

// [START job_discovery_employment_types_filter_search]
// [START employment_types_filter]

/** Search on employment types. */
Expand Down Expand Up @@ -171,7 +176,9 @@ public static void employmentTypesSearch(String companyName, List<String> employ
System.out.printf("Employee type search jobs results: %s\n", searchJobsResponse);
}
// [END employment_types_filter]
// [END job_discovery_employment_types_filter_search]

// [START job_discovery_date_range_filter_search]
// [START date_range_filter]

/**
Expand Down Expand Up @@ -218,7 +225,9 @@ public static void dateRangeSearch(String companyName, String startTime, String
System.out.printf("Search results on jobs with a date range: %s\n", searchJobsResponse);
}
// [END date_range_filter]
// [END job_discovery_date_range_filter_search]

// [START job_discovery_language_code_filter_search]
// [START language_code_filter]

/** Search on language codes. */
Expand Down Expand Up @@ -256,7 +265,9 @@ public static void languageCodeSearch(String companyName, List<String> languageC
System.out.printf("Search results on jobs with a language code: %s\n", searchJobsResponse);
}
// [END language_code_filter]
// [END job_discovery_language_code_filter_search]

// [START job_discovery_company_display_name_search]
// [START company_display_name_filter]

/** Search on company display name. */
Expand Down Expand Up @@ -294,7 +305,9 @@ public static void companyDisplayNameSearch(String companyName, List<String> com
System.out.printf("Search results by display name of company: %s\n", searchJobsResponse);
}
// [END company_display_name_filter]

// [END job_discovery_company_display_name_search]

// [START job_discovery_compensation_search]
// [START compensation_filter]

/** Search on compensation. */
Expand Down Expand Up @@ -346,6 +359,7 @@ public static void compensationSearch(String companyName)
System.out.printf("Search results by compensation: %s\n", searchJobsResponse);
}
// [END compensation_filter]
// [END job_discovery_compensation_search]

public static void main(String... args) throws Exception {
Company companyToBeCreated = BasicCompanySample.generateCompany().setDisplayName("Google");
Expand Down

0 comments on commit 8f39f24

Please sign in to comment.