Skip to content

chore(job): remove unused region tags #9969

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ public final class BasicCompanySample {
private static CloudTalentSolution talentSolutionClient =
JobServiceQuickstart.getTalentSolutionClient();

// [START basic_company]

/** Generate a company */
public static Company generateCompany() {
// distributor company id should be a unique Id in your system.
Expand All @@ -61,10 +59,8 @@ public static Company generateCompany() {
System.out.println("Company generated: " + company);
return company;
}
// [END basic_company]

// [START job_create_company]
// [START create_company]

/** Create a company. */
public static Company createCompany(Company companyToBeCreated) throws IOException {
Expand All @@ -84,11 +80,9 @@ public static Company createCompany(Company companyToBeCreated) throws IOExcepti
throw e;
}
}
// [END create_company]
// [END job_create_company]

// [START job_get_company]
// [START get_company]

/** Get a company. */
public static Company getCompany(String companyName) throws IOException {
Expand All @@ -102,11 +96,9 @@ public static Company getCompany(String companyName) throws IOException {
throw e;
}
}
// [END get_company]
// [END job_get_company]

// [START job_update_company]
// [START update_company]

/** Updates a company. */
public static Company updateCompany(String companyName, Company companyToBeUpdated)
Expand All @@ -129,11 +121,9 @@ public static Company updateCompany(String companyName, Company companyToBeUpdat
throw e;
}
}
// [END update_company]
// [END job_update_company]

// [START job_update_company_with_field_mask]
// [START update_company_with_field_mask]

/** Updates a company. */
public static Company updateCompanyWithFieldMask(
Expand All @@ -157,11 +147,8 @@ public static Company updateCompanyWithFieldMask(
throw e;
}
}
// [END update_company_with_field_mask]
// [END job_update_company_with_field_mask]

// [START delete_company]

/** Delete a company. */
public static void deleteCompany(String companyName) throws IOException {
try {
Expand All @@ -172,7 +159,6 @@ public static void deleteCompany(String companyName) throws IOException {
throw e;
}
}
// [END delete_company]

public static void main(String... args) throws Exception {
// Construct a company
Expand Down