Skip to content

Commit 81d1819

Browse files
chore(job): delete invalid region tags in v3 (#10044)
* chore(job): delete invalid region tags * chore(job): delete region tag 'dependencies' * chore(job): create a sample change to trigger GitHub Actions again * chore(job): revert previous commit
1 parent 93ac167 commit 81d1819

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

jobs/v3/pom.xml

-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
</dependencyManagement>
4141

4242
<dependencies>
43-
<!-- [START dependencies] -->
4443
<dependency>
4544
<groupId>com.google.apis</groupId>
4645
<artifactId>google-api-services-jobs</artifactId>
@@ -54,7 +53,6 @@
5453
<groupId>com.google.http-client</groupId>
5554
<artifactId>google-http-client-jackson2</artifactId>
5655
</dependency>
57-
<!-- [END dependencies] -->
5856

5957
<!-- Test dependencies -->
6058
<dependency>

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

-13
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ public final class BasicJobSample {
5050
JobServiceQuickstart.getTalentSolutionClient();
5151

5252
// [START job_basic_job]
53-
// [START basic_job]
54-
5553
/** Generate a basic job with given companyName. */
5654
public static Job generateJobWithRequiredFields(String companyName) {
5755
// requisition id should be a unique Id in your system.
@@ -69,11 +67,9 @@ public static Job generateJobWithRequiredFields(String companyName) {
6967
System.out.println("Job generated: " + job);
7068
return job;
7169
}
72-
// [END basic_job]
7370
// [END job_basic_job]
7471

7572
// [START job_create_job]
76-
7773
/** Create a job. */
7874
public static Job createJob(Job jobToBeCreated) throws IOException {
7975
try {
@@ -95,7 +91,6 @@ public static Job createJob(Job jobToBeCreated) throws IOException {
9591
// [END job_create_job]
9692

9793
// [START job_get_job]
98-
9994
/** Get a job. */
10095
public static Job getJob(String jobName) throws IOException {
10196
try {
@@ -109,9 +104,7 @@ public static Job getJob(String jobName) throws IOException {
109104
}
110105
// [END job_get_job]
111106

112-
// [START update_job]
113107
// [START job_update_job]
114-
115108
/** Update a job. */
116109
public static Job updateJob(String jobName, Job jobToBeUpdated) throws IOException {
117110
try {
@@ -125,12 +118,9 @@ public static Job updateJob(String jobName, Job jobToBeUpdated) throws IOExcepti
125118
throw e;
126119
}
127120
}
128-
129-
// [END update_job]
130121
// [END job_update_job]
131122

132123
// [START job_update_job_with_field_mask]
133-
134124
/** Update a job. */
135125
public static Job updateJobWithFieldMask(String jobName, String fieldMask, Job jobToBeUpdated)
136126
throws IOException {
@@ -149,8 +139,6 @@ public static Job updateJobWithFieldMask(String jobName, String fieldMask, Job j
149139
// [END job_update_job_with_field_mask]
150140

151141
// [START job_delete_job]
152-
// [START delete_job]
153-
154142
/** Delete a job. */
155143
public static void deleteJob(String jobName) throws IOException {
156144
try {
@@ -161,7 +149,6 @@ public static void deleteJob(String jobName) throws IOException {
161149
throw e;
162150
}
163151
}
164-
// [END delete_job]
165152
// [END job_delete_job]
166153

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

0 commit comments

Comments
 (0)