Skip to content

Commit

Permalink
chore(jobs): remove obsolete region tags (#8546)
Browse files Browse the repository at this point in the history
cl/490049441 removed usage in documentation; this can be merged once snippet-bot is happy (since that means the changes will have been successfully published/indexed).
  • Loading branch information
meredithslota authored Nov 22, 2022
1 parent f860279 commit bfc8bdc
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions jobs/v3/api_client/general_search_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@


# [START job_discovery_basic_keyword_search]
# [START basic_keyword_search]
def basic_keyword_search(client_service, company_name, keyword):
request_metadata = {
'user_id': 'HashedUserId',
Expand All @@ -45,12 +44,10 @@ def basic_keyword_search(client_service, company_name, keyword):
response = client_service.projects().jobs().search(
parent=parent, body=request).execute()
print(response)
# [END basic_keyword_search]
# [END job_discovery_basic_keyword_search]


# [START job_discovery_category_filter_search]
# [START category_filter]
def category_search(client_service, company_name, categories):
request_metadata = {
'user_id': 'HashedUserId',
Expand All @@ -69,12 +66,10 @@ def category_search(client_service, company_name, categories):
response = client_service.projects().jobs().search(
parent=parent, body=request).execute()
print(response)
# [END category_filter]
# [END job_discovery_category_filter_search]


# [START job_discovery_employment_types_filter_search]
# [START employment_types_filter]
def employment_types_search(client_service, company_name, employment_types):
request_metadata = {
'user_id': 'HashedUserId',
Expand All @@ -93,12 +88,10 @@ def employment_types_search(client_service, company_name, employment_types):
response = client_service.projects().jobs().search(
parent=parent, body=request).execute()
print(response)
# [END employment_types_filter]
# [END job_discovery_employment_types_filter_search]


# [START job_discovery_date_range_filter_search]
# [START date_range_filter]
def date_range_search(client_service, company_name, date_range):
request_metadata = {
'user_id': 'HashedUserId',
Expand All @@ -117,12 +110,10 @@ def date_range_search(client_service, company_name, date_range):
response = client_service.projects().jobs().search(
parent=parent, body=request).execute()
print(response)
# [END date_range_filter]
# [END job_discovery_date_range_filter_search]


# [START job_discovery_language_code_filter_search]
# [START language_code_filter]
def language_code_search(client_service, company_name, language_codes):
request_metadata = {
'user_id': 'HashedUserId',
Expand All @@ -141,12 +132,10 @@ def language_code_search(client_service, company_name, language_codes):
response = client_service.projects().jobs().search(
parent=parent, body=request).execute()
print(response)
# [END language_code_filter]
# [END job_discovery_language_code_filter_search]


# [START job_discovery_company_display_name_search]
# [START company_display_name_filter]
def company_display_name_search(client_service, company_name,
company_display_names):
request_metadata = {
Expand All @@ -166,12 +155,10 @@ def company_display_name_search(client_service, company_name,
response = client_service.projects().jobs().search(
parent=parent, body=request).execute()
print(response)
# [END company_display_name_filter]
# [END job_discovery_company_display_name_search]


# [START job_discovery_compensation_search]
# [START compensation_filter]
def compensation_search(client_service, company_name):
request_metadata = {
'user_id': 'HashedUserId',
Expand Down Expand Up @@ -206,7 +193,6 @@ def compensation_search(client_service, company_name):
response = client_service.projects().jobs().search(
parent=parent, body=request).execute()
print(response)
# [END compensation_filter]
# [END job_discovery_compensation_search]


Expand Down

0 comments on commit bfc8bdc

Please sign in to comment.