Skip to content
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

chore(job): delete invalid region tags in v3 #10044

Merged
Changes from 1 commit
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
13 changes: 0 additions & 13 deletions jobs/v3/src/main/java/com/google/samples/BasicJobSample.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ public final class BasicJobSample {
JobServiceQuickstart.getTalentSolutionClient();

// [START job_basic_job]
// [START basic_job]

/** Generate a basic job with given companyName. */
public static Job generateJobWithRequiredFields(String companyName) {
// requisition id should be a unique Id in your system.
Expand All @@ -69,11 +67,9 @@ public static Job generateJobWithRequiredFields(String companyName) {
System.out.println("Job generated: " + job);
return job;
}
// [END basic_job]
// [END job_basic_job]

// [START job_create_job]

/** Create a job. */
public static Job createJob(Job jobToBeCreated) throws IOException {
try {
Expand All @@ -95,7 +91,6 @@ public static Job createJob(Job jobToBeCreated) throws IOException {
// [END job_create_job]

// [START job_get_job]

/** Get a job. */
public static Job getJob(String jobName) throws IOException {
try {
Expand All @@ -109,9 +104,7 @@ public static Job getJob(String jobName) throws IOException {
}
// [END job_get_job]

// [START update_job]
// [START job_update_job]

/** Update a job. */
public static Job updateJob(String jobName, Job jobToBeUpdated) throws IOException {
try {
Expand All @@ -125,12 +118,9 @@ public static Job updateJob(String jobName, Job jobToBeUpdated) throws IOExcepti
throw e;
}
}

// [END update_job]
// [END job_update_job]

// [START job_update_job_with_field_mask]

/** Update a job. */
public static Job updateJobWithFieldMask(String jobName, String fieldMask, Job jobToBeUpdated)
throws IOException {
Expand All @@ -149,8 +139,6 @@ public static Job updateJobWithFieldMask(String jobName, String fieldMask, Job j
// [END job_update_job_with_field_mask]

// [START job_delete_job]
// [START delete_job]

/** Delete a job. */
public static void deleteJob(String jobName) throws IOException {
try {
Expand All @@ -161,7 +149,6 @@ public static void deleteJob(String jobName) throws IOException {
throw e;
}
}
// [END delete_job]
// [END job_delete_job]

public static void main(String... args) throws Exception {
Expand Down