Skip to content

Commit 5537dfb

Browse files
authored
chore(refactor): Changing name of sample region for Job product (#8320)
* chore(refactor): Changing name of sample region for Job product * Revert "chore(refactor): Changing name of sample region for Job product" This reverts commit d9aa208. * Changing only conflicting region names
1 parent 76822fa commit 5537dfb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

jobs/v3/api_client/batch_operation_sample.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# [END instantiate]
2525

2626

27-
# [START batch_job_create]
27+
# [START job_discovery_batch_job_create]
2828
def batch_job_create(client_service, company_name):
2929
import base_job_sample
3030
created_jobs = []
@@ -55,10 +55,10 @@ def job_create_callback(request_id, response, exception):
5555
batch.execute()
5656

5757
return created_jobs
58-
# [END batch_job_create]
58+
# [END job_discovery_batch_job_create]
5959

6060

61-
# [START batch_job_update]
61+
# [START job_discovery_batch_job_update]
6262
def batch_job_update(client_service, jobs_to_be_updated):
6363
updated_jobs = []
6464

@@ -91,10 +91,10 @@ def job_update_callback(request_id, response, exception):
9191
batch.execute()
9292

9393
return updated_jobs
94-
# [END batch_job_update]
94+
# [END job_discovery_batch_job_update]
9595

9696

97-
# [START batch_job_delete]
97+
# [START job_discovery_batch_job_delete]
9898
def batch_job_delete(client_service, jobs_to_be_deleted):
9999

100100
def job_delete_callback(request_id, response, exception):
@@ -113,7 +113,7 @@ def job_delete_callback(request_id, response, exception):
113113
callback=job_delete_callback)
114114

115115
batch.execute()
116-
# [END batch_job_delete]
116+
# [END job_discovery_batch_job_delete]
117117

118118

119119
def run_sample():

0 commit comments

Comments
 (0)