docs: update generated docs (#981)
diff --git a/docs/dyn/jobs_v3.projects.jobs.html b/docs/dyn/jobs_v3.projects.jobs.html
index 478917f..56939cc 100644
--- a/docs/dyn/jobs_v3.projects.jobs.html
+++ b/docs/dyn/jobs_v3.projects.jobs.html
@@ -87,7 +87,7 @@
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
<p class="firstline">Retrieves the specified job, whose status is OPEN or recently EXPIRED</p>
<p class="toc_element">
- <code><a href="#list">list(parent, pageToken=None, pageSize=None, filter=None, jobView=None, x__xgafv=None)</a></code></p>
+ <code><a href="#list">list(parent, filter=None, pageToken=None, jobView=None, pageSize=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists jobs by filter.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
@@ -177,393 +177,20 @@
"job": { # A Job resource represents a job posting (also referred to as a "job listing" # Required. The Job to be created.
# or "job requisition"). A job belongs to a Company, which is the hiring
# entity responsible for the job.
- "name": "A String", # Required during job update.
- #
- # The resource name for the job. This is generated by the service when a
- # job is created.
- #
- # The format is "projects/{project_id}/jobs/{job_id}",
- # for example, "projects/api-test-project/jobs/1234".
- #
- # Use of this field in job queries and API calls is preferred over the use of
- # requisition_id since this value is unique.
- "jobBenefits": [ # Optional. The benefits included with the job.
- "A String",
- ],
- "promotionValue": 42, # Optional. A promotion value of the job, as determined by the client.
- # The value determines the sort order of the jobs returned when searching for
- # jobs using the featured jobs search call, with higher promotional values
- # being returned first and ties being resolved by relevance sort. Only the
- # jobs with a promotionValue >0 are returned in a FEATURED_JOB_SEARCH.
- #
- # Default value is 0, and negative values are treated as 0.
- "title": "A String", # Required. The title of the job, such as "Software Engineer"
- #
- # The maximum number of allowed characters is 500.
- "companyDisplayName": "A String", # Output only. Display name of the company listing the job.
- "qualifications": "A String", # Optional. A description of the qualifications required to perform the
- # job. The use of this field is recommended
- # as an alternative to using the more general description field.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 10,000.
- "requisitionId": "A String", # Required. The requisition ID, also referred to as the posting ID, assigned by the
- # client to identify a job. This field is intended to be used by clients
- # for client identification and tracking of postings. A job is not allowed
- # to be created if there is another job with the same [company_name],
- # language_code and requisition_id.
- #
- # The maximum number of allowed characters is 255.
- "processingOptions": { # Input only. # Optional. Options for job processing.
- #
- # Options for job processing.
- "disableStreetAddressResolution": True or False, # Optional. If set to `true`, the service does not attempt to resolve a
- # more precise address for the job.
- "htmlSanitization": "A String", # Optional. Option for job HTML content sanitization. Applied fields are:
- #
- # * description
- # * applicationInfo.instruction
- # * incentives
- # * qualifications
- # * responsibilities
- #
- # HTML tags in these fields may be stripped if sanitiazation is not
- # disabled.
- #
- # Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.
- },
- "jobEndTime": "A String", # Optional. The end timestamp of the job. Typically this field is used for contracting
- # engagements. Invalid timestamps are ignored.
- "derivedInfo": { # Output only. # Output only. Derived details about the job posting.
- #
- # Derived details about the job posting.
- "locations": [ # Structured locations of the job, resolved from Job.addresses.
- #
- # locations are exactly matched to Job.addresses in the same
- # order.
- { # Output only.
- #
- # A resource that represents a location with full geographic information.
- "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the
- # location bounding box in which a circle with the specified radius
- # centered from LatLng covers the area associated with the job location.
- # For example, currently, "Mountain View, CA, USA" has a radius of
- # 6.17 miles.
- "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair.
- # of doubles representing degrees latitude and degrees longitude. Unless
- # specified otherwise, this must conform to the
- # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
- # standard</a>. Values must be within normalized ranges.
- "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
- "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
- },
- "postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information,
- # such as postal delivery and payments addresses. Given a postal address,
- # a postal service can deliver items to a premises, P.O. Box, or other
- # delivery location.
- # Given a postal address, a postal service can deliver items to a premise, P.O.
- # Box or similar.
- # It is not intended to model geographical locations (roads, towns,
- # mountains).
- #
- # In typical usage an address would be created via user input or from importing
- # existing data, depending on the type of process.
- #
- # Advice on address input / editing:
- # - Use an i18n-ready address widget such as
- # https://github.com/google/libaddressinput)
- # - Users should not be presented with UI elements for input or editing of
- # fields outside countries where that field is used.
- #
- # For more guidance on how to use this schema, please see:
- # https://support.google.com/business/answer/6397478
- "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require
- # postal codes to be present, but where they are used, they may trigger
- # additional validation with other parts of the address (e.g. state/zip
- # validation in the U.S.A.).
- "languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if
- # known). This is often the UI language of the input form or is expected
- # to match one of the languages used in the address' country/region, or their
- # transliterated equivalents.
- # This can affect formatting in certain countries, but is not critical
- # to the correctness of the data and will never affect any validation or
- # other non-formatting related operations.
- #
- # If this value is not known, it should be omitted (rather than specifying a
- # possibly incorrect default).
- #
- # Examples: "zh-Hant", "ja", "ja-Latn", "en".
- "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used
- # in most regions. Where it is used, the value is either a string like
- # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
- # alone, representing the "sector code" (Jamaica), "delivery area indicator"
- # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
- "recipients": [ # Optional. The recipient at the address.
- # This field may, under certain circumstances, contain multiline information.
- # For example, it might contain "care of" information.
- "A String",
- ],
- "sublocality": "A String", # Optional. Sublocality of the address.
- # For example, this can be neighborhoods, boroughs, districts.
- "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is
- # the latest revision.
- #
- # All new revisions **must** be backward compatible with old revisions.
- "locality": "A String", # Optional. Generally refers to the city/town portion of the address.
- # Examples: US city, IT comune, UK post town.
- # In regions of the world where localities are not well defined or do not fit
- # into this structure well, leave locality empty and use address_lines.
- "administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal
- # addresses of a country or region.
- # For example, this can be a state, a province, an oblast, or a prefecture.
- # Specifically, for Spain this is the province and not the autonomous
- # community (e.g. "Barcelona" and not "Catalonia").
- # Many countries don't use an administrative area in postal addresses. E.g.
- # in Switzerland this should be left unpopulated.
- "organization": "A String", # Optional. The name of the organization at the address.
- "addressLines": [ # Unstructured address lines describing the lower levels of an address.
- #
- # Because values in address_lines do not have type information and may
- # sometimes contain multiple values in a single field (e.g.
- # "Austin, TX"), it is important that the line order is clear. The order of
- # address lines should be "envelope order" for the country/region of the
- # address. In places where this can vary (e.g. Japan), address_language is
- # used to make it explicit (e.g. "ja" for large-to-small ordering and
- # "ja-Latn" or "en" for small-to-large). This way, the most specific line of
- # an address can be selected based on the language.
- #
- # The minimum permitted structural representation of an address consists
- # of a region_code with all remaining information placed in the
- # address_lines. It would be possible to format such an address very
- # approximately without geocoding, but no semantic reasoning could be
- # made about any of the address components until it was at least
- # partially resolved.
- #
- # Creating an address only containing a region_code and address_lines, and
- # then geocoding is the recommended way to handle completely unstructured
- # addresses (as opposed to guessing which parts of the address should be
- # localities or administrative areas).
- "A String",
- ],
- "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This
- # is never inferred and it is up to the user to ensure the value is
- # correct. See http://cldr.unicode.org/ and
- # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
- # for details. Example: "CH" for Switzerland.
- },
- "locationType": "A String", # The type of a location, which corresponds to the address lines field of
- # PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
- # LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
- # LocationType#LOCALITY.
- },
- ],
- "jobCategories": [ # Job categories derived from Job.title and Job.description.
- "A String",
- ],
- },
- "incentives": "A String", # Optional. A description of bonus, commission, and other compensation
- # incentives associated with the job not including salary or pay.
- #
- # The maximum number of allowed characters is 10,000.
- "employmentTypes": [ # Optional. The employment type(s) of a job, for example,
- # full time or
- # part time.
- "A String",
- ],
- "postingCreateTime": "A String", # Output only. The timestamp when this job posting was created.
- "addresses": [ # Optional but strongly recommended for the best service experience.
- #
- # Location(s) where the employer is looking to hire for this job posting.
- #
- # Specifying the full street address(es) of the hiring location enables
- # better API results, especially job searches by commute time.
- #
- # At most 50 locations are allowed for best search performance. If a job has
- # more locations, it is suggested to split it into multiple jobs with unique
- # requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', etc.) as
- # multiple jobs with the same company_name, language_code and
- # requisition_id are not allowed. If the original requisition_id must
- # be preserved, a custom field should be used for storage. It is also
- # suggested to group the locations that close to each other in the same job
- # for better search experience.
- #
- # The maximum number of allowed characters is 500.
- "A String",
- ],
- "companyName": "A String", # Required. The resource name of the company listing the job, such as
- # "projects/api-test-project/companies/foo".
- "description": "A String", # Required. The description of the job, which typically includes a multi-paragraph
- # description of the company and related information. Separate fields are
- # provided on the job object for responsibilities,
- # qualifications, and other job characteristics. Use of
- # these separate job fields is recommended.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 100,000.
- "jobStartTime": "A String", # Optional. The start timestamp of the job in UTC time zone. Typically this field
- # is used for contracting engagements. Invalid timestamps are ignored.
- "degreeTypes": [ # Optional. The desired education degrees for the job, such as Bachelors, Masters.
- "A String",
- ],
- "compensationInfo": { # Job compensation details. # Optional. Job compensation information.
- "annualizedTotalCompensationRange": { # Compensation range. # Output only. Annualized total compensation range. Computed as
- # all compensation entries' CompensationEntry.compensation times
- # CompensationEntry.expected_units_per_year.
- #
- # See CompensationEntry for explanation on compensation annualization.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- "entries": [ # Optional. Job compensation information.
- #
- # At most one entry can be of type
- # CompensationInfo.CompensationType.BASE, which is
- # referred as ** base compensation entry ** for the job.
- { # A compensation entry that represents one component of compensation, such
- # as base pay, bonus, or other compensation type.
- #
- # Annualization: One compensation entry can be annualized if
- # - it contains valid amount or range.
- # - and its expected_units_per_year is set or can be derived.
- # Its annualized range is determined as (amount or range) times
- # expected_units_per_year.
- "amount": { # Represents an amount of money with its currency type. # Optional. Compensation amount.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "type": "A String", # Optional. Compensation type.
- #
- # Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED.
- "range": { # Compensation range. # Optional. Compensation range.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- "expectedUnitsPerYear": 3.14, # Optional. Expected number of units paid each year. If not specified, when
- # Job.employment_types is FULLTIME, a default value is inferred
- # based on unit. Default values:
- # - HOURLY: 2080
- # - DAILY: 260
- # - WEEKLY: 52
- # - MONTHLY: 12
- # - ANNUAL: 1
- "description": "A String", # Optional. Compensation description. For example, could
- # indicate equity terms or provide additional context to an estimated
- # bonus.
- "unit": "A String", # Optional. Frequency of the specified amount.
- #
- # Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
- },
- ],
- "annualizedBaseCompensationRange": { # Compensation range. # Output only. Annualized base compensation range. Computed as
- # base compensation entry's CompensationEntry.compensation times
- # CompensationEntry.expected_units_per_year.
- #
- # See CompensationEntry for explanation on compensation annualization.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- },
- "responsibilities": "A String", # Optional. A description of job responsibilities. The use of this field is
- # recommended as an alternative to using the more general description
- # field.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 10,000.
- "department": "A String", # Optional. The department or functional area within the company with the open
- # position.
- #
- # The maximum number of allowed characters is 255.
"applicationInfo": { # Application related details of a job posting. # Required. At least one field within ApplicationInfo must be specified.
#
# Job application information.
+ "instruction": "A String", # Optional but at least one of uris,
+ # emails or instruction must be
+ # specified.
+ #
+ # Use this field to provide instructions, such as "Mail your application
+ # to ...", that a candidate can follow to apply for the job.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 3,000.
"uris": [ # Optional but at least one of uris,
# emails or instruction must be
# specified.
@@ -584,18 +211,81 @@
# The maximum number of allowed characters for each entry is 255.
"A String",
],
- "instruction": "A String", # Optional but at least one of uris,
- # emails or instruction must be
- # specified.
- #
- # Use this field to provide instructions, such as "Mail your application
- # to ...", that a candidate can follow to apply for the job.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 3,000.
},
+ "responsibilities": "A String", # Optional. A description of job responsibilities. The use of this field is
+ # recommended as an alternative to using the more general description
+ # field.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 10,000.
+ "companyName": "A String", # Required. The resource name of the company listing the job, such as
+ # "projects/api-test-project/companies/foo".
+ "promotionValue": 42, # Optional. A promotion value of the job, as determined by the client.
+ # The value determines the sort order of the jobs returned when searching for
+ # jobs using the featured jobs search call, with higher promotional values
+ # being returned first and ties being resolved by relevance sort. Only the
+ # jobs with a promotionValue >0 are returned in a FEATURED_JOB_SEARCH.
+ #
+ # Default value is 0, and negative values are treated as 0.
+ "degreeTypes": [ # Optional. The desired education degrees for the job, such as Bachelors, Masters.
+ "A String",
+ ],
+ "description": "A String", # Required. The description of the job, which typically includes a multi-paragraph
+ # description of the company and related information. Separate fields are
+ # provided on the job object for responsibilities,
+ # qualifications, and other job characteristics. Use of
+ # these separate job fields is recommended.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 100,000.
+ "title": "A String", # Required. The title of the job, such as "Software Engineer"
+ #
+ # The maximum number of allowed characters is 500.
+ "postingPublishTime": "A String", # Optional. The timestamp this job posting was most recently published. The default
+ # value is the time the request arrives at the server. Invalid timestamps are
+ # ignored.
+ "postingCreateTime": "A String", # Output only. The timestamp when this job posting was created.
+ "incentives": "A String", # Optional. A description of bonus, commission, and other compensation
+ # incentives associated with the job not including salary or pay.
+ #
+ # The maximum number of allowed characters is 10,000.
+ "jobEndTime": "A String", # Optional. The end timestamp of the job. Typically this field is used for contracting
+ # engagements. Invalid timestamps are ignored.
+ "addresses": [ # Optional but strongly recommended for the best service experience.
+ #
+ # Location(s) where the employer is looking to hire for this job posting.
+ #
+ # Specifying the full street address(es) of the hiring location enables
+ # better API results, especially job searches by commute time.
+ #
+ # At most 50 locations are allowed for best search performance. If a job has
+ # more locations, it is suggested to split it into multiple jobs with unique
+ # requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', etc.) as
+ # multiple jobs with the same company_name, language_code and
+ # requisition_id are not allowed. If the original requisition_id must
+ # be preserved, a custom field should be used for storage. It is also
+ # suggested to group the locations that close to each other in the same job
+ # for better search experience.
+ #
+ # The maximum number of allowed characters is 500.
+ "A String",
+ ],
+ "jobLevel": "A String", # Optional. The experience level associated with the job, such as "Entry Level".
+ "jobBenefits": [ # Optional. The benefits included with the job.
+ "A String",
+ ],
+ "qualifications": "A String", # Optional. A description of the qualifications required to perform the
+ # job. The use of this field is recommended
+ # as an alternative to using the more general description field.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 10,000.
"postingRegion": "A String", # Optional. The job PostingRegion (for example, state, country) throughout which
# the job is available. If this field is set, a
# LocationFilter in a search query within the job region
@@ -603,6 +293,54 @@
# If this field is set to PostingRegion.NATION or
# PostingRegion.ADMINISTRATIVE_AREA, setting job Job.addresses
# to the same location level as this field is strongly recommended.
+ "customAttributes": { # Optional. A map of fields to hold both filterable and non-filterable custom job
+ # attributes that are not covered by the provided structured fields.
+ #
+ # The keys of the map are strings up to 64 bytes and must match the
+ # pattern: a-zA-Z*. For example, key0LikeThis or
+ # KEY_1_LIKE_THIS.
+ #
+ # At most 100 filterable and at most 100 unfilterable keys are supported.
+ # For filterable `string_values`, across all keys at most 200 values are
+ # allowed, with each string no more than 255 characters. For unfilterable
+ # `string_values`, the maximum total size of `string_values` across all keys
+ # is 50KB.
+ "a_key": { # Custom attribute values that are either filterable or non-filterable.
+ "filterable": True or False, # Optional. If the `filterable` flag is true, the custom field values may be used for
+ # custom attribute filters JobQuery.custom_attribute_filter.
+ # If false, these values may not be used for custom attribute filters.
+ #
+ # Default is false.
+ "stringValues": [ # Optional but exactly one of string_values or long_values must
+ # be specified.
+ #
+ # This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
+ # `CASE_INSENSITIVE_MATCH`) search.
+ # For filterable `string_value`s, a maximum total number of 200 values
+ # is allowed, with each `string_value` has a byte size of no more than
+ # 500B. For unfilterable `string_values`, the maximum total byte size of
+ # unfilterable `string_values` is 50KB.
+ #
+ # Empty string is not allowed.
+ "A String",
+ ],
+ "longValues": [ # Optional but exactly one of string_values or long_values must
+ # be specified.
+ #
+ # This field is used to perform number range search.
+ # (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
+ #
+ # Currently at most 1 long_values is supported.
+ "A String",
+ ],
+ },
+ },
+ "postingUpdateTime": "A String", # Output only. The timestamp when this job posting was last updated.
+ "employmentTypes": [ # Optional. The employment type(s) of a job, for example,
+ # full time or
+ # part time.
+ "A String",
+ ],
"postingExpireTime": "A String", # Optional but strongly recommended for the best service
# experience.
#
@@ -636,52 +374,163 @@
# expiry_time, or the masks are empty meaning that every field is
# updated, the job posting expires after 30 days from the job's last
# update time. Otherwise the expiration date isn't updated.
- "postingPublishTime": "A String", # Optional. The timestamp this job posting was most recently published. The default
- # value is the time the request arrives at the server. Invalid timestamps are
- # ignored.
- "customAttributes": { # Optional. A map of fields to hold both filterable and non-filterable custom job
- # attributes that are not covered by the provided structured fields.
+ "department": "A String", # Optional. The department or functional area within the company with the open
+ # position.
#
- # The keys of the map are strings up to 64 bytes and must match the
- # pattern: a-zA-Z*. For example, key0LikeThis or
- # KEY_1_LIKE_THIS.
+ # The maximum number of allowed characters is 255.
+ "derivedInfo": { # Output only. # Output only. Derived details about the job posting.
#
- # At most 100 filterable and at most 100 unfilterable keys are supported.
- # For filterable `string_values`, across all keys at most 200 values are
- # allowed, with each string no more than 255 characters. For unfilterable
- # `string_values`, the maximum total size of `string_values` across all keys
- # is 50KB.
- "a_key": { # Custom attribute values that are either filterable or non-filterable.
- "stringValues": [ # Optional but exactly one of string_values or long_values must
- # be specified.
+ # Derived details about the job posting.
+ "locations": [ # Structured locations of the job, resolved from Job.addresses.
+ #
+ # locations are exactly matched to Job.addresses in the same
+ # order.
+ { # Output only.
#
- # This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
- # `CASE_INSENSITIVE_MATCH`) search.
- # For filterable `string_value`s, a maximum total number of 200 values
- # is allowed, with each `string_value` has a byte size of no more than
- # 500B. For unfilterable `string_values`, the maximum total byte size of
- # unfilterable `string_values` is 50KB.
- #
- # Empty string is not allowed.
- "A String",
- ],
- "filterable": True or False, # Optional. If the `filterable` flag is true, the custom field values may be used for
- # custom attribute filters JobQuery.custom_attribute_filter.
- # If false, these values may not be used for custom attribute filters.
- #
- # Default is false.
- "longValues": [ # Optional but exactly one of string_values or long_values must
- # be specified.
- #
- # This field is used to perform number range search.
- # (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
- #
- # Currently at most 1 long_values is supported.
- "A String",
- ],
- },
+ # A resource that represents a location with full geographic information.
+ "postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information,
+ # such as postal delivery and payments addresses. Given a postal address,
+ # a postal service can deliver items to a premises, P.O. Box, or other
+ # delivery location.
+ # Given a postal address, a postal service can deliver items to a premise, P.O.
+ # Box or similar.
+ # It is not intended to model geographical locations (roads, towns,
+ # mountains).
+ #
+ # In typical usage an address would be created via user input or from importing
+ # existing data, depending on the type of process.
+ #
+ # Advice on address input / editing:
+ # - Use an i18n-ready address widget such as
+ # https://github.com/google/libaddressinput)
+ # - Users should not be presented with UI elements for input or editing of
+ # fields outside countries where that field is used.
+ #
+ # For more guidance on how to use this schema, please see:
+ # https://support.google.com/business/answer/6397478
+ "organization": "A String", # Optional. The name of the organization at the address.
+ "sublocality": "A String", # Optional. Sublocality of the address.
+ # For example, this can be neighborhoods, boroughs, districts.
+ "languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if
+ # known). This is often the UI language of the input form or is expected
+ # to match one of the languages used in the address' country/region, or their
+ # transliterated equivalents.
+ # This can affect formatting in certain countries, but is not critical
+ # to the correctness of the data and will never affect any validation or
+ # other non-formatting related operations.
+ #
+ # If this value is not known, it should be omitted (rather than specifying a
+ # possibly incorrect default).
+ #
+ # Examples: "zh-Hant", "ja", "ja-Latn", "en".
+ "administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal
+ # addresses of a country or region.
+ # For example, this can be a state, a province, an oblast, or a prefecture.
+ # Specifically, for Spain this is the province and not the autonomous
+ # community (e.g. "Barcelona" and not "Catalonia").
+ # Many countries don't use an administrative area in postal addresses. E.g.
+ # in Switzerland this should be left unpopulated.
+ "locality": "A String", # Optional. Generally refers to the city/town portion of the address.
+ # Examples: US city, IT comune, UK post town.
+ # In regions of the world where localities are not well defined or do not fit
+ # into this structure well, leave locality empty and use address_lines.
+ "recipients": [ # Optional. The recipient at the address.
+ # This field may, under certain circumstances, contain multiline information.
+ # For example, it might contain "care of" information.
+ "A String",
+ ],
+ "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is
+ # the latest revision.
+ #
+ # All new revisions **must** be backward compatible with old revisions.
+ "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require
+ # postal codes to be present, but where they are used, they may trigger
+ # additional validation with other parts of the address (e.g. state/zip
+ # validation in the U.S.A.).
+ "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used
+ # in most regions. Where it is used, the value is either a string like
+ # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
+ # alone, representing the "sector code" (Jamaica), "delivery area indicator"
+ # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
+ "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This
+ # is never inferred and it is up to the user to ensure the value is
+ # correct. See http://cldr.unicode.org/ and
+ # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
+ # for details. Example: "CH" for Switzerland.
+ "addressLines": [ # Unstructured address lines describing the lower levels of an address.
+ #
+ # Because values in address_lines do not have type information and may
+ # sometimes contain multiple values in a single field (e.g.
+ # "Austin, TX"), it is important that the line order is clear. The order of
+ # address lines should be "envelope order" for the country/region of the
+ # address. In places where this can vary (e.g. Japan), address_language is
+ # used to make it explicit (e.g. "ja" for large-to-small ordering and
+ # "ja-Latn" or "en" for small-to-large). This way, the most specific line of
+ # an address can be selected based on the language.
+ #
+ # The minimum permitted structural representation of an address consists
+ # of a region_code with all remaining information placed in the
+ # address_lines. It would be possible to format such an address very
+ # approximately without geocoding, but no semantic reasoning could be
+ # made about any of the address components until it was at least
+ # partially resolved.
+ #
+ # Creating an address only containing a region_code and address_lines, and
+ # then geocoding is the recommended way to handle completely unstructured
+ # addresses (as opposed to guessing which parts of the address should be
+ # localities or administrative areas).
+ "A String",
+ ],
+ },
+ "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the
+ # location bounding box in which a circle with the specified radius
+ # centered from LatLng covers the area associated with the job location.
+ # For example, currently, "Mountain View, CA, USA" has a radius of
+ # 6.17 miles.
+ "locationType": "A String", # The type of a location, which corresponds to the address lines field of
+ # PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
+ # LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
+ # LocationType#LOCALITY.
+ "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair.
+ # of doubles representing degrees latitude and degrees longitude. Unless
+ # specified otherwise, this must conform to the
+ # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
+ # standard</a>. Values must be within normalized ranges.
+ "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+ "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+ },
+ },
+ ],
+ "jobCategories": [ # Job categories derived from Job.title and Job.description.
+ "A String",
+ ],
},
- "jobLevel": "A String", # Optional. The experience level associated with the job, such as "Entry Level".
+ "jobStartTime": "A String", # Optional. The start timestamp of the job in UTC time zone. Typically this field
+ # is used for contracting engagements. Invalid timestamps are ignored.
+ "visibility": "A String", # Deprecated. The job is only visible to the owner.
+ #
+ # The visibility of the job.
+ #
+ # Defaults to Visibility.ACCOUNT_ONLY if not specified.
+ "processingOptions": { # Input only. # Optional. Options for job processing.
+ #
+ # Options for job processing.
+ "disableStreetAddressResolution": True or False, # Optional. If set to `true`, the service does not attempt to resolve a
+ # more precise address for the job.
+ "htmlSanitization": "A String", # Optional. Option for job HTML content sanitization. Applied fields are:
+ #
+ # * description
+ # * applicationInfo.instruction
+ # * incentives
+ # * qualifications
+ # * responsibilities
+ #
+ # HTML tags in these fields may be stripped if sanitiazation is not
+ # disabled.
+ #
+ # Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.
+ },
+ "companyDisplayName": "A String", # Output only. Display name of the company listing the job.
"languageCode": "A String", # Optional. The language of the posting. This field is distinct from
# any requirements for fluency that are associated with the job.
#
@@ -693,12 +542,163 @@
# If this field is unspecified and Job.description is present, detected
# language code based on Job.description is assigned, otherwise
# defaults to 'en_US'.
- "visibility": "A String", # Deprecated. The job is only visible to the owner.
+ "compensationInfo": { # Job compensation details. # Optional. Job compensation information.
+ "annualizedBaseCompensationRange": { # Compensation range. # Output only. Annualized base compensation range. Computed as
+ # base compensation entry's CompensationEntry.compensation times
+ # CompensationEntry.expected_units_per_year.
+ #
+ # See CompensationEntry for explanation on compensation annualization.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ "annualizedTotalCompensationRange": { # Compensation range. # Output only. Annualized total compensation range. Computed as
+ # all compensation entries' CompensationEntry.compensation times
+ # CompensationEntry.expected_units_per_year.
+ #
+ # See CompensationEntry for explanation on compensation annualization.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ "entries": [ # Optional. Job compensation information.
+ #
+ # At most one entry can be of type
+ # CompensationInfo.CompensationType.BASE, which is
+ # referred as ** base compensation entry ** for the job.
+ { # A compensation entry that represents one component of compensation, such
+ # as base pay, bonus, or other compensation type.
+ #
+ # Annualization: One compensation entry can be annualized if
+ # - it contains valid amount or range.
+ # - and its expected_units_per_year is set or can be derived.
+ # Its annualized range is determined as (amount or range) times
+ # expected_units_per_year.
+ "unit": "A String", # Optional. Frequency of the specified amount.
+ #
+ # Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
+ "expectedUnitsPerYear": 3.14, # Optional. Expected number of units paid each year. If not specified, when
+ # Job.employment_types is FULLTIME, a default value is inferred
+ # based on unit. Default values:
+ # - HOURLY: 2080
+ # - DAILY: 260
+ # - WEEKLY: 52
+ # - MONTHLY: 12
+ # - ANNUAL: 1
+ "range": { # Compensation range. # Optional. Compensation range.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ "description": "A String", # Optional. Compensation description. For example, could
+ # indicate equity terms or provide additional context to an estimated
+ # bonus.
+ "type": "A String", # Optional. Compensation type.
+ #
+ # Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED.
+ "amount": { # Represents an amount of money with its currency type. # Optional. Compensation amount.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required during job update.
#
- # The visibility of the job.
+ # The resource name for the job. This is generated by the service when a
+ # job is created.
#
- # Defaults to Visibility.ACCOUNT_ONLY if not specified.
- "postingUpdateTime": "A String", # Output only. The timestamp when this job posting was last updated.
+ # The format is "projects/{project_id}/jobs/{job_id}",
+ # for example, "projects/api-test-project/jobs/1234".
+ #
+ # Use of this field in job queries and API calls is preferred over the use of
+ # requisition_id since this value is unique.
+ "requisitionId": "A String", # Required. The requisition ID, also referred to as the posting ID, assigned by the
+ # client to identify a job. This field is intended to be used by clients
+ # for client identification and tracking of postings. A job is not allowed
+ # to be created if there is another job with the same [company_name],
+ # language_code and requisition_id.
+ #
+ # The maximum number of allowed characters is 255.
},
}
@@ -713,393 +713,20 @@
{ # A Job resource represents a job posting (also referred to as a "job listing"
# or "job requisition"). A job belongs to a Company, which is the hiring
# entity responsible for the job.
- "name": "A String", # Required during job update.
- #
- # The resource name for the job. This is generated by the service when a
- # job is created.
- #
- # The format is "projects/{project_id}/jobs/{job_id}",
- # for example, "projects/api-test-project/jobs/1234".
- #
- # Use of this field in job queries and API calls is preferred over the use of
- # requisition_id since this value is unique.
- "jobBenefits": [ # Optional. The benefits included with the job.
- "A String",
- ],
- "promotionValue": 42, # Optional. A promotion value of the job, as determined by the client.
- # The value determines the sort order of the jobs returned when searching for
- # jobs using the featured jobs search call, with higher promotional values
- # being returned first and ties being resolved by relevance sort. Only the
- # jobs with a promotionValue >0 are returned in a FEATURED_JOB_SEARCH.
- #
- # Default value is 0, and negative values are treated as 0.
- "title": "A String", # Required. The title of the job, such as "Software Engineer"
- #
- # The maximum number of allowed characters is 500.
- "companyDisplayName": "A String", # Output only. Display name of the company listing the job.
- "qualifications": "A String", # Optional. A description of the qualifications required to perform the
- # job. The use of this field is recommended
- # as an alternative to using the more general description field.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 10,000.
- "requisitionId": "A String", # Required. The requisition ID, also referred to as the posting ID, assigned by the
- # client to identify a job. This field is intended to be used by clients
- # for client identification and tracking of postings. A job is not allowed
- # to be created if there is another job with the same [company_name],
- # language_code and requisition_id.
- #
- # The maximum number of allowed characters is 255.
- "processingOptions": { # Input only. # Optional. Options for job processing.
- #
- # Options for job processing.
- "disableStreetAddressResolution": True or False, # Optional. If set to `true`, the service does not attempt to resolve a
- # more precise address for the job.
- "htmlSanitization": "A String", # Optional. Option for job HTML content sanitization. Applied fields are:
- #
- # * description
- # * applicationInfo.instruction
- # * incentives
- # * qualifications
- # * responsibilities
- #
- # HTML tags in these fields may be stripped if sanitiazation is not
- # disabled.
- #
- # Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.
- },
- "jobEndTime": "A String", # Optional. The end timestamp of the job. Typically this field is used for contracting
- # engagements. Invalid timestamps are ignored.
- "derivedInfo": { # Output only. # Output only. Derived details about the job posting.
- #
- # Derived details about the job posting.
- "locations": [ # Structured locations of the job, resolved from Job.addresses.
- #
- # locations are exactly matched to Job.addresses in the same
- # order.
- { # Output only.
- #
- # A resource that represents a location with full geographic information.
- "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the
- # location bounding box in which a circle with the specified radius
- # centered from LatLng covers the area associated with the job location.
- # For example, currently, "Mountain View, CA, USA" has a radius of
- # 6.17 miles.
- "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair.
- # of doubles representing degrees latitude and degrees longitude. Unless
- # specified otherwise, this must conform to the
- # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
- # standard</a>. Values must be within normalized ranges.
- "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
- "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
- },
- "postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information,
- # such as postal delivery and payments addresses. Given a postal address,
- # a postal service can deliver items to a premises, P.O. Box, or other
- # delivery location.
- # Given a postal address, a postal service can deliver items to a premise, P.O.
- # Box or similar.
- # It is not intended to model geographical locations (roads, towns,
- # mountains).
- #
- # In typical usage an address would be created via user input or from importing
- # existing data, depending on the type of process.
- #
- # Advice on address input / editing:
- # - Use an i18n-ready address widget such as
- # https://github.com/google/libaddressinput)
- # - Users should not be presented with UI elements for input or editing of
- # fields outside countries where that field is used.
- #
- # For more guidance on how to use this schema, please see:
- # https://support.google.com/business/answer/6397478
- "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require
- # postal codes to be present, but where they are used, they may trigger
- # additional validation with other parts of the address (e.g. state/zip
- # validation in the U.S.A.).
- "languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if
- # known). This is often the UI language of the input form or is expected
- # to match one of the languages used in the address' country/region, or their
- # transliterated equivalents.
- # This can affect formatting in certain countries, but is not critical
- # to the correctness of the data and will never affect any validation or
- # other non-formatting related operations.
- #
- # If this value is not known, it should be omitted (rather than specifying a
- # possibly incorrect default).
- #
- # Examples: "zh-Hant", "ja", "ja-Latn", "en".
- "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used
- # in most regions. Where it is used, the value is either a string like
- # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
- # alone, representing the "sector code" (Jamaica), "delivery area indicator"
- # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
- "recipients": [ # Optional. The recipient at the address.
- # This field may, under certain circumstances, contain multiline information.
- # For example, it might contain "care of" information.
- "A String",
- ],
- "sublocality": "A String", # Optional. Sublocality of the address.
- # For example, this can be neighborhoods, boroughs, districts.
- "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is
- # the latest revision.
- #
- # All new revisions **must** be backward compatible with old revisions.
- "locality": "A String", # Optional. Generally refers to the city/town portion of the address.
- # Examples: US city, IT comune, UK post town.
- # In regions of the world where localities are not well defined or do not fit
- # into this structure well, leave locality empty and use address_lines.
- "administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal
- # addresses of a country or region.
- # For example, this can be a state, a province, an oblast, or a prefecture.
- # Specifically, for Spain this is the province and not the autonomous
- # community (e.g. "Barcelona" and not "Catalonia").
- # Many countries don't use an administrative area in postal addresses. E.g.
- # in Switzerland this should be left unpopulated.
- "organization": "A String", # Optional. The name of the organization at the address.
- "addressLines": [ # Unstructured address lines describing the lower levels of an address.
- #
- # Because values in address_lines do not have type information and may
- # sometimes contain multiple values in a single field (e.g.
- # "Austin, TX"), it is important that the line order is clear. The order of
- # address lines should be "envelope order" for the country/region of the
- # address. In places where this can vary (e.g. Japan), address_language is
- # used to make it explicit (e.g. "ja" for large-to-small ordering and
- # "ja-Latn" or "en" for small-to-large). This way, the most specific line of
- # an address can be selected based on the language.
- #
- # The minimum permitted structural representation of an address consists
- # of a region_code with all remaining information placed in the
- # address_lines. It would be possible to format such an address very
- # approximately without geocoding, but no semantic reasoning could be
- # made about any of the address components until it was at least
- # partially resolved.
- #
- # Creating an address only containing a region_code and address_lines, and
- # then geocoding is the recommended way to handle completely unstructured
- # addresses (as opposed to guessing which parts of the address should be
- # localities or administrative areas).
- "A String",
- ],
- "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This
- # is never inferred and it is up to the user to ensure the value is
- # correct. See http://cldr.unicode.org/ and
- # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
- # for details. Example: "CH" for Switzerland.
- },
- "locationType": "A String", # The type of a location, which corresponds to the address lines field of
- # PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
- # LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
- # LocationType#LOCALITY.
- },
- ],
- "jobCategories": [ # Job categories derived from Job.title and Job.description.
- "A String",
- ],
- },
- "incentives": "A String", # Optional. A description of bonus, commission, and other compensation
- # incentives associated with the job not including salary or pay.
- #
- # The maximum number of allowed characters is 10,000.
- "employmentTypes": [ # Optional. The employment type(s) of a job, for example,
- # full time or
- # part time.
- "A String",
- ],
- "postingCreateTime": "A String", # Output only. The timestamp when this job posting was created.
- "addresses": [ # Optional but strongly recommended for the best service experience.
- #
- # Location(s) where the employer is looking to hire for this job posting.
- #
- # Specifying the full street address(es) of the hiring location enables
- # better API results, especially job searches by commute time.
- #
- # At most 50 locations are allowed for best search performance. If a job has
- # more locations, it is suggested to split it into multiple jobs with unique
- # requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', etc.) as
- # multiple jobs with the same company_name, language_code and
- # requisition_id are not allowed. If the original requisition_id must
- # be preserved, a custom field should be used for storage. It is also
- # suggested to group the locations that close to each other in the same job
- # for better search experience.
- #
- # The maximum number of allowed characters is 500.
- "A String",
- ],
- "companyName": "A String", # Required. The resource name of the company listing the job, such as
- # "projects/api-test-project/companies/foo".
- "description": "A String", # Required. The description of the job, which typically includes a multi-paragraph
- # description of the company and related information. Separate fields are
- # provided on the job object for responsibilities,
- # qualifications, and other job characteristics. Use of
- # these separate job fields is recommended.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 100,000.
- "jobStartTime": "A String", # Optional. The start timestamp of the job in UTC time zone. Typically this field
- # is used for contracting engagements. Invalid timestamps are ignored.
- "degreeTypes": [ # Optional. The desired education degrees for the job, such as Bachelors, Masters.
- "A String",
- ],
- "compensationInfo": { # Job compensation details. # Optional. Job compensation information.
- "annualizedTotalCompensationRange": { # Compensation range. # Output only. Annualized total compensation range. Computed as
- # all compensation entries' CompensationEntry.compensation times
- # CompensationEntry.expected_units_per_year.
- #
- # See CompensationEntry for explanation on compensation annualization.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- "entries": [ # Optional. Job compensation information.
- #
- # At most one entry can be of type
- # CompensationInfo.CompensationType.BASE, which is
- # referred as ** base compensation entry ** for the job.
- { # A compensation entry that represents one component of compensation, such
- # as base pay, bonus, or other compensation type.
- #
- # Annualization: One compensation entry can be annualized if
- # - it contains valid amount or range.
- # - and its expected_units_per_year is set or can be derived.
- # Its annualized range is determined as (amount or range) times
- # expected_units_per_year.
- "amount": { # Represents an amount of money with its currency type. # Optional. Compensation amount.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "type": "A String", # Optional. Compensation type.
- #
- # Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED.
- "range": { # Compensation range. # Optional. Compensation range.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- "expectedUnitsPerYear": 3.14, # Optional. Expected number of units paid each year. If not specified, when
- # Job.employment_types is FULLTIME, a default value is inferred
- # based on unit. Default values:
- # - HOURLY: 2080
- # - DAILY: 260
- # - WEEKLY: 52
- # - MONTHLY: 12
- # - ANNUAL: 1
- "description": "A String", # Optional. Compensation description. For example, could
- # indicate equity terms or provide additional context to an estimated
- # bonus.
- "unit": "A String", # Optional. Frequency of the specified amount.
- #
- # Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
- },
- ],
- "annualizedBaseCompensationRange": { # Compensation range. # Output only. Annualized base compensation range. Computed as
- # base compensation entry's CompensationEntry.compensation times
- # CompensationEntry.expected_units_per_year.
- #
- # See CompensationEntry for explanation on compensation annualization.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- },
- "responsibilities": "A String", # Optional. A description of job responsibilities. The use of this field is
- # recommended as an alternative to using the more general description
- # field.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 10,000.
- "department": "A String", # Optional. The department or functional area within the company with the open
- # position.
- #
- # The maximum number of allowed characters is 255.
"applicationInfo": { # Application related details of a job posting. # Required. At least one field within ApplicationInfo must be specified.
#
# Job application information.
+ "instruction": "A String", # Optional but at least one of uris,
+ # emails or instruction must be
+ # specified.
+ #
+ # Use this field to provide instructions, such as "Mail your application
+ # to ...", that a candidate can follow to apply for the job.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 3,000.
"uris": [ # Optional but at least one of uris,
# emails or instruction must be
# specified.
@@ -1120,18 +747,81 @@
# The maximum number of allowed characters for each entry is 255.
"A String",
],
- "instruction": "A String", # Optional but at least one of uris,
- # emails or instruction must be
- # specified.
- #
- # Use this field to provide instructions, such as "Mail your application
- # to ...", that a candidate can follow to apply for the job.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 3,000.
},
+ "responsibilities": "A String", # Optional. A description of job responsibilities. The use of this field is
+ # recommended as an alternative to using the more general description
+ # field.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 10,000.
+ "companyName": "A String", # Required. The resource name of the company listing the job, such as
+ # "projects/api-test-project/companies/foo".
+ "promotionValue": 42, # Optional. A promotion value of the job, as determined by the client.
+ # The value determines the sort order of the jobs returned when searching for
+ # jobs using the featured jobs search call, with higher promotional values
+ # being returned first and ties being resolved by relevance sort. Only the
+ # jobs with a promotionValue >0 are returned in a FEATURED_JOB_SEARCH.
+ #
+ # Default value is 0, and negative values are treated as 0.
+ "degreeTypes": [ # Optional. The desired education degrees for the job, such as Bachelors, Masters.
+ "A String",
+ ],
+ "description": "A String", # Required. The description of the job, which typically includes a multi-paragraph
+ # description of the company and related information. Separate fields are
+ # provided on the job object for responsibilities,
+ # qualifications, and other job characteristics. Use of
+ # these separate job fields is recommended.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 100,000.
+ "title": "A String", # Required. The title of the job, such as "Software Engineer"
+ #
+ # The maximum number of allowed characters is 500.
+ "postingPublishTime": "A String", # Optional. The timestamp this job posting was most recently published. The default
+ # value is the time the request arrives at the server. Invalid timestamps are
+ # ignored.
+ "postingCreateTime": "A String", # Output only. The timestamp when this job posting was created.
+ "incentives": "A String", # Optional. A description of bonus, commission, and other compensation
+ # incentives associated with the job not including salary or pay.
+ #
+ # The maximum number of allowed characters is 10,000.
+ "jobEndTime": "A String", # Optional. The end timestamp of the job. Typically this field is used for contracting
+ # engagements. Invalid timestamps are ignored.
+ "addresses": [ # Optional but strongly recommended for the best service experience.
+ #
+ # Location(s) where the employer is looking to hire for this job posting.
+ #
+ # Specifying the full street address(es) of the hiring location enables
+ # better API results, especially job searches by commute time.
+ #
+ # At most 50 locations are allowed for best search performance. If a job has
+ # more locations, it is suggested to split it into multiple jobs with unique
+ # requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', etc.) as
+ # multiple jobs with the same company_name, language_code and
+ # requisition_id are not allowed. If the original requisition_id must
+ # be preserved, a custom field should be used for storage. It is also
+ # suggested to group the locations that close to each other in the same job
+ # for better search experience.
+ #
+ # The maximum number of allowed characters is 500.
+ "A String",
+ ],
+ "jobLevel": "A String", # Optional. The experience level associated with the job, such as "Entry Level".
+ "jobBenefits": [ # Optional. The benefits included with the job.
+ "A String",
+ ],
+ "qualifications": "A String", # Optional. A description of the qualifications required to perform the
+ # job. The use of this field is recommended
+ # as an alternative to using the more general description field.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 10,000.
"postingRegion": "A String", # Optional. The job PostingRegion (for example, state, country) throughout which
# the job is available. If this field is set, a
# LocationFilter in a search query within the job region
@@ -1139,6 +829,54 @@
# If this field is set to PostingRegion.NATION or
# PostingRegion.ADMINISTRATIVE_AREA, setting job Job.addresses
# to the same location level as this field is strongly recommended.
+ "customAttributes": { # Optional. A map of fields to hold both filterable and non-filterable custom job
+ # attributes that are not covered by the provided structured fields.
+ #
+ # The keys of the map are strings up to 64 bytes and must match the
+ # pattern: a-zA-Z*. For example, key0LikeThis or
+ # KEY_1_LIKE_THIS.
+ #
+ # At most 100 filterable and at most 100 unfilterable keys are supported.
+ # For filterable `string_values`, across all keys at most 200 values are
+ # allowed, with each string no more than 255 characters. For unfilterable
+ # `string_values`, the maximum total size of `string_values` across all keys
+ # is 50KB.
+ "a_key": { # Custom attribute values that are either filterable or non-filterable.
+ "filterable": True or False, # Optional. If the `filterable` flag is true, the custom field values may be used for
+ # custom attribute filters JobQuery.custom_attribute_filter.
+ # If false, these values may not be used for custom attribute filters.
+ #
+ # Default is false.
+ "stringValues": [ # Optional but exactly one of string_values or long_values must
+ # be specified.
+ #
+ # This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
+ # `CASE_INSENSITIVE_MATCH`) search.
+ # For filterable `string_value`s, a maximum total number of 200 values
+ # is allowed, with each `string_value` has a byte size of no more than
+ # 500B. For unfilterable `string_values`, the maximum total byte size of
+ # unfilterable `string_values` is 50KB.
+ #
+ # Empty string is not allowed.
+ "A String",
+ ],
+ "longValues": [ # Optional but exactly one of string_values or long_values must
+ # be specified.
+ #
+ # This field is used to perform number range search.
+ # (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
+ #
+ # Currently at most 1 long_values is supported.
+ "A String",
+ ],
+ },
+ },
+ "postingUpdateTime": "A String", # Output only. The timestamp when this job posting was last updated.
+ "employmentTypes": [ # Optional. The employment type(s) of a job, for example,
+ # full time or
+ # part time.
+ "A String",
+ ],
"postingExpireTime": "A String", # Optional but strongly recommended for the best service
# experience.
#
@@ -1172,52 +910,163 @@
# expiry_time, or the masks are empty meaning that every field is
# updated, the job posting expires after 30 days from the job's last
# update time. Otherwise the expiration date isn't updated.
- "postingPublishTime": "A String", # Optional. The timestamp this job posting was most recently published. The default
- # value is the time the request arrives at the server. Invalid timestamps are
- # ignored.
- "customAttributes": { # Optional. A map of fields to hold both filterable and non-filterable custom job
- # attributes that are not covered by the provided structured fields.
+ "department": "A String", # Optional. The department or functional area within the company with the open
+ # position.
#
- # The keys of the map are strings up to 64 bytes and must match the
- # pattern: a-zA-Z*. For example, key0LikeThis or
- # KEY_1_LIKE_THIS.
+ # The maximum number of allowed characters is 255.
+ "derivedInfo": { # Output only. # Output only. Derived details about the job posting.
#
- # At most 100 filterable and at most 100 unfilterable keys are supported.
- # For filterable `string_values`, across all keys at most 200 values are
- # allowed, with each string no more than 255 characters. For unfilterable
- # `string_values`, the maximum total size of `string_values` across all keys
- # is 50KB.
- "a_key": { # Custom attribute values that are either filterable or non-filterable.
- "stringValues": [ # Optional but exactly one of string_values or long_values must
- # be specified.
+ # Derived details about the job posting.
+ "locations": [ # Structured locations of the job, resolved from Job.addresses.
+ #
+ # locations are exactly matched to Job.addresses in the same
+ # order.
+ { # Output only.
#
- # This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
- # `CASE_INSENSITIVE_MATCH`) search.
- # For filterable `string_value`s, a maximum total number of 200 values
- # is allowed, with each `string_value` has a byte size of no more than
- # 500B. For unfilterable `string_values`, the maximum total byte size of
- # unfilterable `string_values` is 50KB.
- #
- # Empty string is not allowed.
- "A String",
- ],
- "filterable": True or False, # Optional. If the `filterable` flag is true, the custom field values may be used for
- # custom attribute filters JobQuery.custom_attribute_filter.
- # If false, these values may not be used for custom attribute filters.
- #
- # Default is false.
- "longValues": [ # Optional but exactly one of string_values or long_values must
- # be specified.
- #
- # This field is used to perform number range search.
- # (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
- #
- # Currently at most 1 long_values is supported.
- "A String",
- ],
- },
+ # A resource that represents a location with full geographic information.
+ "postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information,
+ # such as postal delivery and payments addresses. Given a postal address,
+ # a postal service can deliver items to a premises, P.O. Box, or other
+ # delivery location.
+ # Given a postal address, a postal service can deliver items to a premise, P.O.
+ # Box or similar.
+ # It is not intended to model geographical locations (roads, towns,
+ # mountains).
+ #
+ # In typical usage an address would be created via user input or from importing
+ # existing data, depending on the type of process.
+ #
+ # Advice on address input / editing:
+ # - Use an i18n-ready address widget such as
+ # https://github.com/google/libaddressinput)
+ # - Users should not be presented with UI elements for input or editing of
+ # fields outside countries where that field is used.
+ #
+ # For more guidance on how to use this schema, please see:
+ # https://support.google.com/business/answer/6397478
+ "organization": "A String", # Optional. The name of the organization at the address.
+ "sublocality": "A String", # Optional. Sublocality of the address.
+ # For example, this can be neighborhoods, boroughs, districts.
+ "languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if
+ # known). This is often the UI language of the input form or is expected
+ # to match one of the languages used in the address' country/region, or their
+ # transliterated equivalents.
+ # This can affect formatting in certain countries, but is not critical
+ # to the correctness of the data and will never affect any validation or
+ # other non-formatting related operations.
+ #
+ # If this value is not known, it should be omitted (rather than specifying a
+ # possibly incorrect default).
+ #
+ # Examples: "zh-Hant", "ja", "ja-Latn", "en".
+ "administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal
+ # addresses of a country or region.
+ # For example, this can be a state, a province, an oblast, or a prefecture.
+ # Specifically, for Spain this is the province and not the autonomous
+ # community (e.g. "Barcelona" and not "Catalonia").
+ # Many countries don't use an administrative area in postal addresses. E.g.
+ # in Switzerland this should be left unpopulated.
+ "locality": "A String", # Optional. Generally refers to the city/town portion of the address.
+ # Examples: US city, IT comune, UK post town.
+ # In regions of the world where localities are not well defined or do not fit
+ # into this structure well, leave locality empty and use address_lines.
+ "recipients": [ # Optional. The recipient at the address.
+ # This field may, under certain circumstances, contain multiline information.
+ # For example, it might contain "care of" information.
+ "A String",
+ ],
+ "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is
+ # the latest revision.
+ #
+ # All new revisions **must** be backward compatible with old revisions.
+ "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require
+ # postal codes to be present, but where they are used, they may trigger
+ # additional validation with other parts of the address (e.g. state/zip
+ # validation in the U.S.A.).
+ "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used
+ # in most regions. Where it is used, the value is either a string like
+ # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
+ # alone, representing the "sector code" (Jamaica), "delivery area indicator"
+ # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
+ "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This
+ # is never inferred and it is up to the user to ensure the value is
+ # correct. See http://cldr.unicode.org/ and
+ # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
+ # for details. Example: "CH" for Switzerland.
+ "addressLines": [ # Unstructured address lines describing the lower levels of an address.
+ #
+ # Because values in address_lines do not have type information and may
+ # sometimes contain multiple values in a single field (e.g.
+ # "Austin, TX"), it is important that the line order is clear. The order of
+ # address lines should be "envelope order" for the country/region of the
+ # address. In places where this can vary (e.g. Japan), address_language is
+ # used to make it explicit (e.g. "ja" for large-to-small ordering and
+ # "ja-Latn" or "en" for small-to-large). This way, the most specific line of
+ # an address can be selected based on the language.
+ #
+ # The minimum permitted structural representation of an address consists
+ # of a region_code with all remaining information placed in the
+ # address_lines. It would be possible to format such an address very
+ # approximately without geocoding, but no semantic reasoning could be
+ # made about any of the address components until it was at least
+ # partially resolved.
+ #
+ # Creating an address only containing a region_code and address_lines, and
+ # then geocoding is the recommended way to handle completely unstructured
+ # addresses (as opposed to guessing which parts of the address should be
+ # localities or administrative areas).
+ "A String",
+ ],
+ },
+ "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the
+ # location bounding box in which a circle with the specified radius
+ # centered from LatLng covers the area associated with the job location.
+ # For example, currently, "Mountain View, CA, USA" has a radius of
+ # 6.17 miles.
+ "locationType": "A String", # The type of a location, which corresponds to the address lines field of
+ # PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
+ # LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
+ # LocationType#LOCALITY.
+ "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair.
+ # of doubles representing degrees latitude and degrees longitude. Unless
+ # specified otherwise, this must conform to the
+ # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
+ # standard</a>. Values must be within normalized ranges.
+ "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+ "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+ },
+ },
+ ],
+ "jobCategories": [ # Job categories derived from Job.title and Job.description.
+ "A String",
+ ],
},
- "jobLevel": "A String", # Optional. The experience level associated with the job, such as "Entry Level".
+ "jobStartTime": "A String", # Optional. The start timestamp of the job in UTC time zone. Typically this field
+ # is used for contracting engagements. Invalid timestamps are ignored.
+ "visibility": "A String", # Deprecated. The job is only visible to the owner.
+ #
+ # The visibility of the job.
+ #
+ # Defaults to Visibility.ACCOUNT_ONLY if not specified.
+ "processingOptions": { # Input only. # Optional. Options for job processing.
+ #
+ # Options for job processing.
+ "disableStreetAddressResolution": True or False, # Optional. If set to `true`, the service does not attempt to resolve a
+ # more precise address for the job.
+ "htmlSanitization": "A String", # Optional. Option for job HTML content sanitization. Applied fields are:
+ #
+ # * description
+ # * applicationInfo.instruction
+ # * incentives
+ # * qualifications
+ # * responsibilities
+ #
+ # HTML tags in these fields may be stripped if sanitiazation is not
+ # disabled.
+ #
+ # Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.
+ },
+ "companyDisplayName": "A String", # Output only. Display name of the company listing the job.
"languageCode": "A String", # Optional. The language of the posting. This field is distinct from
# any requirements for fluency that are associated with the job.
#
@@ -1229,12 +1078,163 @@
# If this field is unspecified and Job.description is present, detected
# language code based on Job.description is assigned, otherwise
# defaults to 'en_US'.
- "visibility": "A String", # Deprecated. The job is only visible to the owner.
+ "compensationInfo": { # Job compensation details. # Optional. Job compensation information.
+ "annualizedBaseCompensationRange": { # Compensation range. # Output only. Annualized base compensation range. Computed as
+ # base compensation entry's CompensationEntry.compensation times
+ # CompensationEntry.expected_units_per_year.
+ #
+ # See CompensationEntry for explanation on compensation annualization.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ "annualizedTotalCompensationRange": { # Compensation range. # Output only. Annualized total compensation range. Computed as
+ # all compensation entries' CompensationEntry.compensation times
+ # CompensationEntry.expected_units_per_year.
+ #
+ # See CompensationEntry for explanation on compensation annualization.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ "entries": [ # Optional. Job compensation information.
+ #
+ # At most one entry can be of type
+ # CompensationInfo.CompensationType.BASE, which is
+ # referred as ** base compensation entry ** for the job.
+ { # A compensation entry that represents one component of compensation, such
+ # as base pay, bonus, or other compensation type.
+ #
+ # Annualization: One compensation entry can be annualized if
+ # - it contains valid amount or range.
+ # - and its expected_units_per_year is set or can be derived.
+ # Its annualized range is determined as (amount or range) times
+ # expected_units_per_year.
+ "unit": "A String", # Optional. Frequency of the specified amount.
+ #
+ # Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
+ "expectedUnitsPerYear": 3.14, # Optional. Expected number of units paid each year. If not specified, when
+ # Job.employment_types is FULLTIME, a default value is inferred
+ # based on unit. Default values:
+ # - HOURLY: 2080
+ # - DAILY: 260
+ # - WEEKLY: 52
+ # - MONTHLY: 12
+ # - ANNUAL: 1
+ "range": { # Compensation range. # Optional. Compensation range.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ "description": "A String", # Optional. Compensation description. For example, could
+ # indicate equity terms or provide additional context to an estimated
+ # bonus.
+ "type": "A String", # Optional. Compensation type.
+ #
+ # Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED.
+ "amount": { # Represents an amount of money with its currency type. # Optional. Compensation amount.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required during job update.
#
- # The visibility of the job.
+ # The resource name for the job. This is generated by the service when a
+ # job is created.
#
- # Defaults to Visibility.ACCOUNT_ONLY if not specified.
- "postingUpdateTime": "A String", # Output only. The timestamp when this job posting was last updated.
+ # The format is "projects/{project_id}/jobs/{job_id}",
+ # for example, "projects/api-test-project/jobs/1234".
+ #
+ # Use of this field in job queries and API calls is preferred over the use of
+ # requisition_id since this value is unique.
+ "requisitionId": "A String", # Required. The requisition ID, also referred to as the posting ID, assigned by the
+ # client to identify a job. This field is intended to be used by clients
+ # for client identification and tracking of postings. A job is not allowed
+ # to be created if there is another job with the same [company_name],
+ # language_code and requisition_id.
+ #
+ # The maximum number of allowed characters is 255.
}</pre>
</div>
@@ -1291,393 +1291,20 @@
{ # A Job resource represents a job posting (also referred to as a "job listing"
# or "job requisition"). A job belongs to a Company, which is the hiring
# entity responsible for the job.
- "name": "A String", # Required during job update.
- #
- # The resource name for the job. This is generated by the service when a
- # job is created.
- #
- # The format is "projects/{project_id}/jobs/{job_id}",
- # for example, "projects/api-test-project/jobs/1234".
- #
- # Use of this field in job queries and API calls is preferred over the use of
- # requisition_id since this value is unique.
- "jobBenefits": [ # Optional. The benefits included with the job.
- "A String",
- ],
- "promotionValue": 42, # Optional. A promotion value of the job, as determined by the client.
- # The value determines the sort order of the jobs returned when searching for
- # jobs using the featured jobs search call, with higher promotional values
- # being returned first and ties being resolved by relevance sort. Only the
- # jobs with a promotionValue >0 are returned in a FEATURED_JOB_SEARCH.
- #
- # Default value is 0, and negative values are treated as 0.
- "title": "A String", # Required. The title of the job, such as "Software Engineer"
- #
- # The maximum number of allowed characters is 500.
- "companyDisplayName": "A String", # Output only. Display name of the company listing the job.
- "qualifications": "A String", # Optional. A description of the qualifications required to perform the
- # job. The use of this field is recommended
- # as an alternative to using the more general description field.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 10,000.
- "requisitionId": "A String", # Required. The requisition ID, also referred to as the posting ID, assigned by the
- # client to identify a job. This field is intended to be used by clients
- # for client identification and tracking of postings. A job is not allowed
- # to be created if there is another job with the same [company_name],
- # language_code and requisition_id.
- #
- # The maximum number of allowed characters is 255.
- "processingOptions": { # Input only. # Optional. Options for job processing.
- #
- # Options for job processing.
- "disableStreetAddressResolution": True or False, # Optional. If set to `true`, the service does not attempt to resolve a
- # more precise address for the job.
- "htmlSanitization": "A String", # Optional. Option for job HTML content sanitization. Applied fields are:
- #
- # * description
- # * applicationInfo.instruction
- # * incentives
- # * qualifications
- # * responsibilities
- #
- # HTML tags in these fields may be stripped if sanitiazation is not
- # disabled.
- #
- # Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.
- },
- "jobEndTime": "A String", # Optional. The end timestamp of the job. Typically this field is used for contracting
- # engagements. Invalid timestamps are ignored.
- "derivedInfo": { # Output only. # Output only. Derived details about the job posting.
- #
- # Derived details about the job posting.
- "locations": [ # Structured locations of the job, resolved from Job.addresses.
- #
- # locations are exactly matched to Job.addresses in the same
- # order.
- { # Output only.
- #
- # A resource that represents a location with full geographic information.
- "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the
- # location bounding box in which a circle with the specified radius
- # centered from LatLng covers the area associated with the job location.
- # For example, currently, "Mountain View, CA, USA" has a radius of
- # 6.17 miles.
- "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair.
- # of doubles representing degrees latitude and degrees longitude. Unless
- # specified otherwise, this must conform to the
- # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
- # standard</a>. Values must be within normalized ranges.
- "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
- "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
- },
- "postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information,
- # such as postal delivery and payments addresses. Given a postal address,
- # a postal service can deliver items to a premises, P.O. Box, or other
- # delivery location.
- # Given a postal address, a postal service can deliver items to a premise, P.O.
- # Box or similar.
- # It is not intended to model geographical locations (roads, towns,
- # mountains).
- #
- # In typical usage an address would be created via user input or from importing
- # existing data, depending on the type of process.
- #
- # Advice on address input / editing:
- # - Use an i18n-ready address widget such as
- # https://github.com/google/libaddressinput)
- # - Users should not be presented with UI elements for input or editing of
- # fields outside countries where that field is used.
- #
- # For more guidance on how to use this schema, please see:
- # https://support.google.com/business/answer/6397478
- "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require
- # postal codes to be present, but where they are used, they may trigger
- # additional validation with other parts of the address (e.g. state/zip
- # validation in the U.S.A.).
- "languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if
- # known). This is often the UI language of the input form or is expected
- # to match one of the languages used in the address' country/region, or their
- # transliterated equivalents.
- # This can affect formatting in certain countries, but is not critical
- # to the correctness of the data and will never affect any validation or
- # other non-formatting related operations.
- #
- # If this value is not known, it should be omitted (rather than specifying a
- # possibly incorrect default).
- #
- # Examples: "zh-Hant", "ja", "ja-Latn", "en".
- "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used
- # in most regions. Where it is used, the value is either a string like
- # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
- # alone, representing the "sector code" (Jamaica), "delivery area indicator"
- # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
- "recipients": [ # Optional. The recipient at the address.
- # This field may, under certain circumstances, contain multiline information.
- # For example, it might contain "care of" information.
- "A String",
- ],
- "sublocality": "A String", # Optional. Sublocality of the address.
- # For example, this can be neighborhoods, boroughs, districts.
- "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is
- # the latest revision.
- #
- # All new revisions **must** be backward compatible with old revisions.
- "locality": "A String", # Optional. Generally refers to the city/town portion of the address.
- # Examples: US city, IT comune, UK post town.
- # In regions of the world where localities are not well defined or do not fit
- # into this structure well, leave locality empty and use address_lines.
- "administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal
- # addresses of a country or region.
- # For example, this can be a state, a province, an oblast, or a prefecture.
- # Specifically, for Spain this is the province and not the autonomous
- # community (e.g. "Barcelona" and not "Catalonia").
- # Many countries don't use an administrative area in postal addresses. E.g.
- # in Switzerland this should be left unpopulated.
- "organization": "A String", # Optional. The name of the organization at the address.
- "addressLines": [ # Unstructured address lines describing the lower levels of an address.
- #
- # Because values in address_lines do not have type information and may
- # sometimes contain multiple values in a single field (e.g.
- # "Austin, TX"), it is important that the line order is clear. The order of
- # address lines should be "envelope order" for the country/region of the
- # address. In places where this can vary (e.g. Japan), address_language is
- # used to make it explicit (e.g. "ja" for large-to-small ordering and
- # "ja-Latn" or "en" for small-to-large). This way, the most specific line of
- # an address can be selected based on the language.
- #
- # The minimum permitted structural representation of an address consists
- # of a region_code with all remaining information placed in the
- # address_lines. It would be possible to format such an address very
- # approximately without geocoding, but no semantic reasoning could be
- # made about any of the address components until it was at least
- # partially resolved.
- #
- # Creating an address only containing a region_code and address_lines, and
- # then geocoding is the recommended way to handle completely unstructured
- # addresses (as opposed to guessing which parts of the address should be
- # localities or administrative areas).
- "A String",
- ],
- "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This
- # is never inferred and it is up to the user to ensure the value is
- # correct. See http://cldr.unicode.org/ and
- # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
- # for details. Example: "CH" for Switzerland.
- },
- "locationType": "A String", # The type of a location, which corresponds to the address lines field of
- # PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
- # LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
- # LocationType#LOCALITY.
- },
- ],
- "jobCategories": [ # Job categories derived from Job.title and Job.description.
- "A String",
- ],
- },
- "incentives": "A String", # Optional. A description of bonus, commission, and other compensation
- # incentives associated with the job not including salary or pay.
- #
- # The maximum number of allowed characters is 10,000.
- "employmentTypes": [ # Optional. The employment type(s) of a job, for example,
- # full time or
- # part time.
- "A String",
- ],
- "postingCreateTime": "A String", # Output only. The timestamp when this job posting was created.
- "addresses": [ # Optional but strongly recommended for the best service experience.
- #
- # Location(s) where the employer is looking to hire for this job posting.
- #
- # Specifying the full street address(es) of the hiring location enables
- # better API results, especially job searches by commute time.
- #
- # At most 50 locations are allowed for best search performance. If a job has
- # more locations, it is suggested to split it into multiple jobs with unique
- # requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', etc.) as
- # multiple jobs with the same company_name, language_code and
- # requisition_id are not allowed. If the original requisition_id must
- # be preserved, a custom field should be used for storage. It is also
- # suggested to group the locations that close to each other in the same job
- # for better search experience.
- #
- # The maximum number of allowed characters is 500.
- "A String",
- ],
- "companyName": "A String", # Required. The resource name of the company listing the job, such as
- # "projects/api-test-project/companies/foo".
- "description": "A String", # Required. The description of the job, which typically includes a multi-paragraph
- # description of the company and related information. Separate fields are
- # provided on the job object for responsibilities,
- # qualifications, and other job characteristics. Use of
- # these separate job fields is recommended.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 100,000.
- "jobStartTime": "A String", # Optional. The start timestamp of the job in UTC time zone. Typically this field
- # is used for contracting engagements. Invalid timestamps are ignored.
- "degreeTypes": [ # Optional. The desired education degrees for the job, such as Bachelors, Masters.
- "A String",
- ],
- "compensationInfo": { # Job compensation details. # Optional. Job compensation information.
- "annualizedTotalCompensationRange": { # Compensation range. # Output only. Annualized total compensation range. Computed as
- # all compensation entries' CompensationEntry.compensation times
- # CompensationEntry.expected_units_per_year.
- #
- # See CompensationEntry for explanation on compensation annualization.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- "entries": [ # Optional. Job compensation information.
- #
- # At most one entry can be of type
- # CompensationInfo.CompensationType.BASE, which is
- # referred as ** base compensation entry ** for the job.
- { # A compensation entry that represents one component of compensation, such
- # as base pay, bonus, or other compensation type.
- #
- # Annualization: One compensation entry can be annualized if
- # - it contains valid amount or range.
- # - and its expected_units_per_year is set or can be derived.
- # Its annualized range is determined as (amount or range) times
- # expected_units_per_year.
- "amount": { # Represents an amount of money with its currency type. # Optional. Compensation amount.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "type": "A String", # Optional. Compensation type.
- #
- # Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED.
- "range": { # Compensation range. # Optional. Compensation range.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- "expectedUnitsPerYear": 3.14, # Optional. Expected number of units paid each year. If not specified, when
- # Job.employment_types is FULLTIME, a default value is inferred
- # based on unit. Default values:
- # - HOURLY: 2080
- # - DAILY: 260
- # - WEEKLY: 52
- # - MONTHLY: 12
- # - ANNUAL: 1
- "description": "A String", # Optional. Compensation description. For example, could
- # indicate equity terms or provide additional context to an estimated
- # bonus.
- "unit": "A String", # Optional. Frequency of the specified amount.
- #
- # Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
- },
- ],
- "annualizedBaseCompensationRange": { # Compensation range. # Output only. Annualized base compensation range. Computed as
- # base compensation entry's CompensationEntry.compensation times
- # CompensationEntry.expected_units_per_year.
- #
- # See CompensationEntry for explanation on compensation annualization.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- },
- "responsibilities": "A String", # Optional. A description of job responsibilities. The use of this field is
- # recommended as an alternative to using the more general description
- # field.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 10,000.
- "department": "A String", # Optional. The department or functional area within the company with the open
- # position.
- #
- # The maximum number of allowed characters is 255.
"applicationInfo": { # Application related details of a job posting. # Required. At least one field within ApplicationInfo must be specified.
#
# Job application information.
+ "instruction": "A String", # Optional but at least one of uris,
+ # emails or instruction must be
+ # specified.
+ #
+ # Use this field to provide instructions, such as "Mail your application
+ # to ...", that a candidate can follow to apply for the job.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 3,000.
"uris": [ # Optional but at least one of uris,
# emails or instruction must be
# specified.
@@ -1698,18 +1325,81 @@
# The maximum number of allowed characters for each entry is 255.
"A String",
],
- "instruction": "A String", # Optional but at least one of uris,
- # emails or instruction must be
- # specified.
- #
- # Use this field to provide instructions, such as "Mail your application
- # to ...", that a candidate can follow to apply for the job.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 3,000.
},
+ "responsibilities": "A String", # Optional. A description of job responsibilities. The use of this field is
+ # recommended as an alternative to using the more general description
+ # field.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 10,000.
+ "companyName": "A String", # Required. The resource name of the company listing the job, such as
+ # "projects/api-test-project/companies/foo".
+ "promotionValue": 42, # Optional. A promotion value of the job, as determined by the client.
+ # The value determines the sort order of the jobs returned when searching for
+ # jobs using the featured jobs search call, with higher promotional values
+ # being returned first and ties being resolved by relevance sort. Only the
+ # jobs with a promotionValue >0 are returned in a FEATURED_JOB_SEARCH.
+ #
+ # Default value is 0, and negative values are treated as 0.
+ "degreeTypes": [ # Optional. The desired education degrees for the job, such as Bachelors, Masters.
+ "A String",
+ ],
+ "description": "A String", # Required. The description of the job, which typically includes a multi-paragraph
+ # description of the company and related information. Separate fields are
+ # provided on the job object for responsibilities,
+ # qualifications, and other job characteristics. Use of
+ # these separate job fields is recommended.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 100,000.
+ "title": "A String", # Required. The title of the job, such as "Software Engineer"
+ #
+ # The maximum number of allowed characters is 500.
+ "postingPublishTime": "A String", # Optional. The timestamp this job posting was most recently published. The default
+ # value is the time the request arrives at the server. Invalid timestamps are
+ # ignored.
+ "postingCreateTime": "A String", # Output only. The timestamp when this job posting was created.
+ "incentives": "A String", # Optional. A description of bonus, commission, and other compensation
+ # incentives associated with the job not including salary or pay.
+ #
+ # The maximum number of allowed characters is 10,000.
+ "jobEndTime": "A String", # Optional. The end timestamp of the job. Typically this field is used for contracting
+ # engagements. Invalid timestamps are ignored.
+ "addresses": [ # Optional but strongly recommended for the best service experience.
+ #
+ # Location(s) where the employer is looking to hire for this job posting.
+ #
+ # Specifying the full street address(es) of the hiring location enables
+ # better API results, especially job searches by commute time.
+ #
+ # At most 50 locations are allowed for best search performance. If a job has
+ # more locations, it is suggested to split it into multiple jobs with unique
+ # requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', etc.) as
+ # multiple jobs with the same company_name, language_code and
+ # requisition_id are not allowed. If the original requisition_id must
+ # be preserved, a custom field should be used for storage. It is also
+ # suggested to group the locations that close to each other in the same job
+ # for better search experience.
+ #
+ # The maximum number of allowed characters is 500.
+ "A String",
+ ],
+ "jobLevel": "A String", # Optional. The experience level associated with the job, such as "Entry Level".
+ "jobBenefits": [ # Optional. The benefits included with the job.
+ "A String",
+ ],
+ "qualifications": "A String", # Optional. A description of the qualifications required to perform the
+ # job. The use of this field is recommended
+ # as an alternative to using the more general description field.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 10,000.
"postingRegion": "A String", # Optional. The job PostingRegion (for example, state, country) throughout which
# the job is available. If this field is set, a
# LocationFilter in a search query within the job region
@@ -1717,6 +1407,54 @@
# If this field is set to PostingRegion.NATION or
# PostingRegion.ADMINISTRATIVE_AREA, setting job Job.addresses
# to the same location level as this field is strongly recommended.
+ "customAttributes": { # Optional. A map of fields to hold both filterable and non-filterable custom job
+ # attributes that are not covered by the provided structured fields.
+ #
+ # The keys of the map are strings up to 64 bytes and must match the
+ # pattern: a-zA-Z*. For example, key0LikeThis or
+ # KEY_1_LIKE_THIS.
+ #
+ # At most 100 filterable and at most 100 unfilterable keys are supported.
+ # For filterable `string_values`, across all keys at most 200 values are
+ # allowed, with each string no more than 255 characters. For unfilterable
+ # `string_values`, the maximum total size of `string_values` across all keys
+ # is 50KB.
+ "a_key": { # Custom attribute values that are either filterable or non-filterable.
+ "filterable": True or False, # Optional. If the `filterable` flag is true, the custom field values may be used for
+ # custom attribute filters JobQuery.custom_attribute_filter.
+ # If false, these values may not be used for custom attribute filters.
+ #
+ # Default is false.
+ "stringValues": [ # Optional but exactly one of string_values or long_values must
+ # be specified.
+ #
+ # This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
+ # `CASE_INSENSITIVE_MATCH`) search.
+ # For filterable `string_value`s, a maximum total number of 200 values
+ # is allowed, with each `string_value` has a byte size of no more than
+ # 500B. For unfilterable `string_values`, the maximum total byte size of
+ # unfilterable `string_values` is 50KB.
+ #
+ # Empty string is not allowed.
+ "A String",
+ ],
+ "longValues": [ # Optional but exactly one of string_values or long_values must
+ # be specified.
+ #
+ # This field is used to perform number range search.
+ # (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
+ #
+ # Currently at most 1 long_values is supported.
+ "A String",
+ ],
+ },
+ },
+ "postingUpdateTime": "A String", # Output only. The timestamp when this job posting was last updated.
+ "employmentTypes": [ # Optional. The employment type(s) of a job, for example,
+ # full time or
+ # part time.
+ "A String",
+ ],
"postingExpireTime": "A String", # Optional but strongly recommended for the best service
# experience.
#
@@ -1750,52 +1488,163 @@
# expiry_time, or the masks are empty meaning that every field is
# updated, the job posting expires after 30 days from the job's last
# update time. Otherwise the expiration date isn't updated.
- "postingPublishTime": "A String", # Optional. The timestamp this job posting was most recently published. The default
- # value is the time the request arrives at the server. Invalid timestamps are
- # ignored.
- "customAttributes": { # Optional. A map of fields to hold both filterable and non-filterable custom job
- # attributes that are not covered by the provided structured fields.
+ "department": "A String", # Optional. The department or functional area within the company with the open
+ # position.
#
- # The keys of the map are strings up to 64 bytes and must match the
- # pattern: a-zA-Z*. For example, key0LikeThis or
- # KEY_1_LIKE_THIS.
+ # The maximum number of allowed characters is 255.
+ "derivedInfo": { # Output only. # Output only. Derived details about the job posting.
#
- # At most 100 filterable and at most 100 unfilterable keys are supported.
- # For filterable `string_values`, across all keys at most 200 values are
- # allowed, with each string no more than 255 characters. For unfilterable
- # `string_values`, the maximum total size of `string_values` across all keys
- # is 50KB.
- "a_key": { # Custom attribute values that are either filterable or non-filterable.
- "stringValues": [ # Optional but exactly one of string_values or long_values must
- # be specified.
+ # Derived details about the job posting.
+ "locations": [ # Structured locations of the job, resolved from Job.addresses.
+ #
+ # locations are exactly matched to Job.addresses in the same
+ # order.
+ { # Output only.
#
- # This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
- # `CASE_INSENSITIVE_MATCH`) search.
- # For filterable `string_value`s, a maximum total number of 200 values
- # is allowed, with each `string_value` has a byte size of no more than
- # 500B. For unfilterable `string_values`, the maximum total byte size of
- # unfilterable `string_values` is 50KB.
- #
- # Empty string is not allowed.
- "A String",
- ],
- "filterable": True or False, # Optional. If the `filterable` flag is true, the custom field values may be used for
- # custom attribute filters JobQuery.custom_attribute_filter.
- # If false, these values may not be used for custom attribute filters.
- #
- # Default is false.
- "longValues": [ # Optional but exactly one of string_values or long_values must
- # be specified.
- #
- # This field is used to perform number range search.
- # (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
- #
- # Currently at most 1 long_values is supported.
- "A String",
- ],
- },
+ # A resource that represents a location with full geographic information.
+ "postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information,
+ # such as postal delivery and payments addresses. Given a postal address,
+ # a postal service can deliver items to a premises, P.O. Box, or other
+ # delivery location.
+ # Given a postal address, a postal service can deliver items to a premise, P.O.
+ # Box or similar.
+ # It is not intended to model geographical locations (roads, towns,
+ # mountains).
+ #
+ # In typical usage an address would be created via user input or from importing
+ # existing data, depending on the type of process.
+ #
+ # Advice on address input / editing:
+ # - Use an i18n-ready address widget such as
+ # https://github.com/google/libaddressinput)
+ # - Users should not be presented with UI elements for input or editing of
+ # fields outside countries where that field is used.
+ #
+ # For more guidance on how to use this schema, please see:
+ # https://support.google.com/business/answer/6397478
+ "organization": "A String", # Optional. The name of the organization at the address.
+ "sublocality": "A String", # Optional. Sublocality of the address.
+ # For example, this can be neighborhoods, boroughs, districts.
+ "languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if
+ # known). This is often the UI language of the input form or is expected
+ # to match one of the languages used in the address' country/region, or their
+ # transliterated equivalents.
+ # This can affect formatting in certain countries, but is not critical
+ # to the correctness of the data and will never affect any validation or
+ # other non-formatting related operations.
+ #
+ # If this value is not known, it should be omitted (rather than specifying a
+ # possibly incorrect default).
+ #
+ # Examples: "zh-Hant", "ja", "ja-Latn", "en".
+ "administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal
+ # addresses of a country or region.
+ # For example, this can be a state, a province, an oblast, or a prefecture.
+ # Specifically, for Spain this is the province and not the autonomous
+ # community (e.g. "Barcelona" and not "Catalonia").
+ # Many countries don't use an administrative area in postal addresses. E.g.
+ # in Switzerland this should be left unpopulated.
+ "locality": "A String", # Optional. Generally refers to the city/town portion of the address.
+ # Examples: US city, IT comune, UK post town.
+ # In regions of the world where localities are not well defined or do not fit
+ # into this structure well, leave locality empty and use address_lines.
+ "recipients": [ # Optional. The recipient at the address.
+ # This field may, under certain circumstances, contain multiline information.
+ # For example, it might contain "care of" information.
+ "A String",
+ ],
+ "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is
+ # the latest revision.
+ #
+ # All new revisions **must** be backward compatible with old revisions.
+ "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require
+ # postal codes to be present, but where they are used, they may trigger
+ # additional validation with other parts of the address (e.g. state/zip
+ # validation in the U.S.A.).
+ "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used
+ # in most regions. Where it is used, the value is either a string like
+ # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
+ # alone, representing the "sector code" (Jamaica), "delivery area indicator"
+ # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
+ "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This
+ # is never inferred and it is up to the user to ensure the value is
+ # correct. See http://cldr.unicode.org/ and
+ # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
+ # for details. Example: "CH" for Switzerland.
+ "addressLines": [ # Unstructured address lines describing the lower levels of an address.
+ #
+ # Because values in address_lines do not have type information and may
+ # sometimes contain multiple values in a single field (e.g.
+ # "Austin, TX"), it is important that the line order is clear. The order of
+ # address lines should be "envelope order" for the country/region of the
+ # address. In places where this can vary (e.g. Japan), address_language is
+ # used to make it explicit (e.g. "ja" for large-to-small ordering and
+ # "ja-Latn" or "en" for small-to-large). This way, the most specific line of
+ # an address can be selected based on the language.
+ #
+ # The minimum permitted structural representation of an address consists
+ # of a region_code with all remaining information placed in the
+ # address_lines. It would be possible to format such an address very
+ # approximately without geocoding, but no semantic reasoning could be
+ # made about any of the address components until it was at least
+ # partially resolved.
+ #
+ # Creating an address only containing a region_code and address_lines, and
+ # then geocoding is the recommended way to handle completely unstructured
+ # addresses (as opposed to guessing which parts of the address should be
+ # localities or administrative areas).
+ "A String",
+ ],
+ },
+ "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the
+ # location bounding box in which a circle with the specified radius
+ # centered from LatLng covers the area associated with the job location.
+ # For example, currently, "Mountain View, CA, USA" has a radius of
+ # 6.17 miles.
+ "locationType": "A String", # The type of a location, which corresponds to the address lines field of
+ # PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
+ # LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
+ # LocationType#LOCALITY.
+ "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair.
+ # of doubles representing degrees latitude and degrees longitude. Unless
+ # specified otherwise, this must conform to the
+ # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
+ # standard</a>. Values must be within normalized ranges.
+ "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+ "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+ },
+ },
+ ],
+ "jobCategories": [ # Job categories derived from Job.title and Job.description.
+ "A String",
+ ],
},
- "jobLevel": "A String", # Optional. The experience level associated with the job, such as "Entry Level".
+ "jobStartTime": "A String", # Optional. The start timestamp of the job in UTC time zone. Typically this field
+ # is used for contracting engagements. Invalid timestamps are ignored.
+ "visibility": "A String", # Deprecated. The job is only visible to the owner.
+ #
+ # The visibility of the job.
+ #
+ # Defaults to Visibility.ACCOUNT_ONLY if not specified.
+ "processingOptions": { # Input only. # Optional. Options for job processing.
+ #
+ # Options for job processing.
+ "disableStreetAddressResolution": True or False, # Optional. If set to `true`, the service does not attempt to resolve a
+ # more precise address for the job.
+ "htmlSanitization": "A String", # Optional. Option for job HTML content sanitization. Applied fields are:
+ #
+ # * description
+ # * applicationInfo.instruction
+ # * incentives
+ # * qualifications
+ # * responsibilities
+ #
+ # HTML tags in these fields may be stripped if sanitiazation is not
+ # disabled.
+ #
+ # Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.
+ },
+ "companyDisplayName": "A String", # Output only. Display name of the company listing the job.
"languageCode": "A String", # Optional. The language of the posting. This field is distinct from
# any requirements for fluency that are associated with the job.
#
@@ -1807,17 +1656,168 @@
# If this field is unspecified and Job.description is present, detected
# language code based on Job.description is assigned, otherwise
# defaults to 'en_US'.
- "visibility": "A String", # Deprecated. The job is only visible to the owner.
+ "compensationInfo": { # Job compensation details. # Optional. Job compensation information.
+ "annualizedBaseCompensationRange": { # Compensation range. # Output only. Annualized base compensation range. Computed as
+ # base compensation entry's CompensationEntry.compensation times
+ # CompensationEntry.expected_units_per_year.
+ #
+ # See CompensationEntry for explanation on compensation annualization.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ "annualizedTotalCompensationRange": { # Compensation range. # Output only. Annualized total compensation range. Computed as
+ # all compensation entries' CompensationEntry.compensation times
+ # CompensationEntry.expected_units_per_year.
+ #
+ # See CompensationEntry for explanation on compensation annualization.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ "entries": [ # Optional. Job compensation information.
+ #
+ # At most one entry can be of type
+ # CompensationInfo.CompensationType.BASE, which is
+ # referred as ** base compensation entry ** for the job.
+ { # A compensation entry that represents one component of compensation, such
+ # as base pay, bonus, or other compensation type.
+ #
+ # Annualization: One compensation entry can be annualized if
+ # - it contains valid amount or range.
+ # - and its expected_units_per_year is set or can be derived.
+ # Its annualized range is determined as (amount or range) times
+ # expected_units_per_year.
+ "unit": "A String", # Optional. Frequency of the specified amount.
+ #
+ # Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
+ "expectedUnitsPerYear": 3.14, # Optional. Expected number of units paid each year. If not specified, when
+ # Job.employment_types is FULLTIME, a default value is inferred
+ # based on unit. Default values:
+ # - HOURLY: 2080
+ # - DAILY: 260
+ # - WEEKLY: 52
+ # - MONTHLY: 12
+ # - ANNUAL: 1
+ "range": { # Compensation range. # Optional. Compensation range.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ "description": "A String", # Optional. Compensation description. For example, could
+ # indicate equity terms or provide additional context to an estimated
+ # bonus.
+ "type": "A String", # Optional. Compensation type.
+ #
+ # Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED.
+ "amount": { # Represents an amount of money with its currency type. # Optional. Compensation amount.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required during job update.
#
- # The visibility of the job.
+ # The resource name for the job. This is generated by the service when a
+ # job is created.
#
- # Defaults to Visibility.ACCOUNT_ONLY if not specified.
- "postingUpdateTime": "A String", # Output only. The timestamp when this job posting was last updated.
+ # The format is "projects/{project_id}/jobs/{job_id}",
+ # for example, "projects/api-test-project/jobs/1234".
+ #
+ # Use of this field in job queries and API calls is preferred over the use of
+ # requisition_id since this value is unique.
+ "requisitionId": "A String", # Required. The requisition ID, also referred to as the posting ID, assigned by the
+ # client to identify a job. This field is intended to be used by clients
+ # for client identification and tracking of postings. A job is not allowed
+ # to be created if there is another job with the same [company_name],
+ # language_code and requisition_id.
+ #
+ # The maximum number of allowed characters is 255.
}</pre>
</div>
<div class="method">
- <code class="details" id="list">list(parent, pageToken=None, pageSize=None, filter=None, jobView=None, x__xgafv=None)</code>
+ <code class="details" id="list">list(parent, filter=None, pageToken=None, jobView=None, pageSize=None, x__xgafv=None)</code>
<pre>Lists jobs by filter.
Args:
@@ -1825,13 +1825,6 @@
The format is "projects/{project_id}", for example,
"projects/api-test-project". (required)
- pageToken: string, Optional. The starting point of a query result.
- pageSize: integer, Optional. The maximum number of jobs to be returned per page of results.
-
-If job_view is set to JobView.JOB_VIEW_ID_ONLY, the maximum allowed
-page size is 1000. Otherwise, the maximum allowed page size is 100.
-
-Default is 100 if empty or a number < 1 is specified.
filter: string, Required. The filter string specifies the jobs to be enumerated.
Supported operator: =, AND
@@ -1846,9 +1839,16 @@
* companyName = "projects/api-test-project/companies/123"
* companyName = "projects/api-test-project/companies/123" AND requisitionId
= "req-1"
+ pageToken: string, Optional. The starting point of a query result.
jobView: string, Optional. The desired job attributes returned for jobs in the
search response. Defaults to JobView.JOB_VIEW_FULL if no value is
specified.
+ pageSize: integer, Optional. The maximum number of jobs to be returned per page of results.
+
+If job_view is set to JobView.JOB_VIEW_ID_ONLY, the maximum allowed
+page size is 1000. Otherwise, the maximum allowed page size is 100.
+
+Default is 100 if empty or a number < 1 is specified.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
@@ -1875,393 +1875,20 @@
{ # A Job resource represents a job posting (also referred to as a "job listing"
# or "job requisition"). A job belongs to a Company, which is the hiring
# entity responsible for the job.
- "name": "A String", # Required during job update.
- #
- # The resource name for the job. This is generated by the service when a
- # job is created.
- #
- # The format is "projects/{project_id}/jobs/{job_id}",
- # for example, "projects/api-test-project/jobs/1234".
- #
- # Use of this field in job queries and API calls is preferred over the use of
- # requisition_id since this value is unique.
- "jobBenefits": [ # Optional. The benefits included with the job.
- "A String",
- ],
- "promotionValue": 42, # Optional. A promotion value of the job, as determined by the client.
- # The value determines the sort order of the jobs returned when searching for
- # jobs using the featured jobs search call, with higher promotional values
- # being returned first and ties being resolved by relevance sort. Only the
- # jobs with a promotionValue >0 are returned in a FEATURED_JOB_SEARCH.
- #
- # Default value is 0, and negative values are treated as 0.
- "title": "A String", # Required. The title of the job, such as "Software Engineer"
- #
- # The maximum number of allowed characters is 500.
- "companyDisplayName": "A String", # Output only. Display name of the company listing the job.
- "qualifications": "A String", # Optional. A description of the qualifications required to perform the
- # job. The use of this field is recommended
- # as an alternative to using the more general description field.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 10,000.
- "requisitionId": "A String", # Required. The requisition ID, also referred to as the posting ID, assigned by the
- # client to identify a job. This field is intended to be used by clients
- # for client identification and tracking of postings. A job is not allowed
- # to be created if there is another job with the same [company_name],
- # language_code and requisition_id.
- #
- # The maximum number of allowed characters is 255.
- "processingOptions": { # Input only. # Optional. Options for job processing.
- #
- # Options for job processing.
- "disableStreetAddressResolution": True or False, # Optional. If set to `true`, the service does not attempt to resolve a
- # more precise address for the job.
- "htmlSanitization": "A String", # Optional. Option for job HTML content sanitization. Applied fields are:
- #
- # * description
- # * applicationInfo.instruction
- # * incentives
- # * qualifications
- # * responsibilities
- #
- # HTML tags in these fields may be stripped if sanitiazation is not
- # disabled.
- #
- # Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.
- },
- "jobEndTime": "A String", # Optional. The end timestamp of the job. Typically this field is used for contracting
- # engagements. Invalid timestamps are ignored.
- "derivedInfo": { # Output only. # Output only. Derived details about the job posting.
- #
- # Derived details about the job posting.
- "locations": [ # Structured locations of the job, resolved from Job.addresses.
- #
- # locations are exactly matched to Job.addresses in the same
- # order.
- { # Output only.
- #
- # A resource that represents a location with full geographic information.
- "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the
- # location bounding box in which a circle with the specified radius
- # centered from LatLng covers the area associated with the job location.
- # For example, currently, "Mountain View, CA, USA" has a radius of
- # 6.17 miles.
- "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair.
- # of doubles representing degrees latitude and degrees longitude. Unless
- # specified otherwise, this must conform to the
- # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
- # standard</a>. Values must be within normalized ranges.
- "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
- "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
- },
- "postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information,
- # such as postal delivery and payments addresses. Given a postal address,
- # a postal service can deliver items to a premises, P.O. Box, or other
- # delivery location.
- # Given a postal address, a postal service can deliver items to a premise, P.O.
- # Box or similar.
- # It is not intended to model geographical locations (roads, towns,
- # mountains).
- #
- # In typical usage an address would be created via user input or from importing
- # existing data, depending on the type of process.
- #
- # Advice on address input / editing:
- # - Use an i18n-ready address widget such as
- # https://github.com/google/libaddressinput)
- # - Users should not be presented with UI elements for input or editing of
- # fields outside countries where that field is used.
- #
- # For more guidance on how to use this schema, please see:
- # https://support.google.com/business/answer/6397478
- "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require
- # postal codes to be present, but where they are used, they may trigger
- # additional validation with other parts of the address (e.g. state/zip
- # validation in the U.S.A.).
- "languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if
- # known). This is often the UI language of the input form or is expected
- # to match one of the languages used in the address' country/region, or their
- # transliterated equivalents.
- # This can affect formatting in certain countries, but is not critical
- # to the correctness of the data and will never affect any validation or
- # other non-formatting related operations.
- #
- # If this value is not known, it should be omitted (rather than specifying a
- # possibly incorrect default).
- #
- # Examples: "zh-Hant", "ja", "ja-Latn", "en".
- "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used
- # in most regions. Where it is used, the value is either a string like
- # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
- # alone, representing the "sector code" (Jamaica), "delivery area indicator"
- # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
- "recipients": [ # Optional. The recipient at the address.
- # This field may, under certain circumstances, contain multiline information.
- # For example, it might contain "care of" information.
- "A String",
- ],
- "sublocality": "A String", # Optional. Sublocality of the address.
- # For example, this can be neighborhoods, boroughs, districts.
- "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is
- # the latest revision.
- #
- # All new revisions **must** be backward compatible with old revisions.
- "locality": "A String", # Optional. Generally refers to the city/town portion of the address.
- # Examples: US city, IT comune, UK post town.
- # In regions of the world where localities are not well defined or do not fit
- # into this structure well, leave locality empty and use address_lines.
- "administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal
- # addresses of a country or region.
- # For example, this can be a state, a province, an oblast, or a prefecture.
- # Specifically, for Spain this is the province and not the autonomous
- # community (e.g. "Barcelona" and not "Catalonia").
- # Many countries don't use an administrative area in postal addresses. E.g.
- # in Switzerland this should be left unpopulated.
- "organization": "A String", # Optional. The name of the organization at the address.
- "addressLines": [ # Unstructured address lines describing the lower levels of an address.
- #
- # Because values in address_lines do not have type information and may
- # sometimes contain multiple values in a single field (e.g.
- # "Austin, TX"), it is important that the line order is clear. The order of
- # address lines should be "envelope order" for the country/region of the
- # address. In places where this can vary (e.g. Japan), address_language is
- # used to make it explicit (e.g. "ja" for large-to-small ordering and
- # "ja-Latn" or "en" for small-to-large). This way, the most specific line of
- # an address can be selected based on the language.
- #
- # The minimum permitted structural representation of an address consists
- # of a region_code with all remaining information placed in the
- # address_lines. It would be possible to format such an address very
- # approximately without geocoding, but no semantic reasoning could be
- # made about any of the address components until it was at least
- # partially resolved.
- #
- # Creating an address only containing a region_code and address_lines, and
- # then geocoding is the recommended way to handle completely unstructured
- # addresses (as opposed to guessing which parts of the address should be
- # localities or administrative areas).
- "A String",
- ],
- "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This
- # is never inferred and it is up to the user to ensure the value is
- # correct. See http://cldr.unicode.org/ and
- # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
- # for details. Example: "CH" for Switzerland.
- },
- "locationType": "A String", # The type of a location, which corresponds to the address lines field of
- # PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
- # LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
- # LocationType#LOCALITY.
- },
- ],
- "jobCategories": [ # Job categories derived from Job.title and Job.description.
- "A String",
- ],
- },
- "incentives": "A String", # Optional. A description of bonus, commission, and other compensation
- # incentives associated with the job not including salary or pay.
- #
- # The maximum number of allowed characters is 10,000.
- "employmentTypes": [ # Optional. The employment type(s) of a job, for example,
- # full time or
- # part time.
- "A String",
- ],
- "postingCreateTime": "A String", # Output only. The timestamp when this job posting was created.
- "addresses": [ # Optional but strongly recommended for the best service experience.
- #
- # Location(s) where the employer is looking to hire for this job posting.
- #
- # Specifying the full street address(es) of the hiring location enables
- # better API results, especially job searches by commute time.
- #
- # At most 50 locations are allowed for best search performance. If a job has
- # more locations, it is suggested to split it into multiple jobs with unique
- # requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', etc.) as
- # multiple jobs with the same company_name, language_code and
- # requisition_id are not allowed. If the original requisition_id must
- # be preserved, a custom field should be used for storage. It is also
- # suggested to group the locations that close to each other in the same job
- # for better search experience.
- #
- # The maximum number of allowed characters is 500.
- "A String",
- ],
- "companyName": "A String", # Required. The resource name of the company listing the job, such as
- # "projects/api-test-project/companies/foo".
- "description": "A String", # Required. The description of the job, which typically includes a multi-paragraph
- # description of the company and related information. Separate fields are
- # provided on the job object for responsibilities,
- # qualifications, and other job characteristics. Use of
- # these separate job fields is recommended.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 100,000.
- "jobStartTime": "A String", # Optional. The start timestamp of the job in UTC time zone. Typically this field
- # is used for contracting engagements. Invalid timestamps are ignored.
- "degreeTypes": [ # Optional. The desired education degrees for the job, such as Bachelors, Masters.
- "A String",
- ],
- "compensationInfo": { # Job compensation details. # Optional. Job compensation information.
- "annualizedTotalCompensationRange": { # Compensation range. # Output only. Annualized total compensation range. Computed as
- # all compensation entries' CompensationEntry.compensation times
- # CompensationEntry.expected_units_per_year.
- #
- # See CompensationEntry for explanation on compensation annualization.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- "entries": [ # Optional. Job compensation information.
- #
- # At most one entry can be of type
- # CompensationInfo.CompensationType.BASE, which is
- # referred as ** base compensation entry ** for the job.
- { # A compensation entry that represents one component of compensation, such
- # as base pay, bonus, or other compensation type.
- #
- # Annualization: One compensation entry can be annualized if
- # - it contains valid amount or range.
- # - and its expected_units_per_year is set or can be derived.
- # Its annualized range is determined as (amount or range) times
- # expected_units_per_year.
- "amount": { # Represents an amount of money with its currency type. # Optional. Compensation amount.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "type": "A String", # Optional. Compensation type.
- #
- # Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED.
- "range": { # Compensation range. # Optional. Compensation range.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- "expectedUnitsPerYear": 3.14, # Optional. Expected number of units paid each year. If not specified, when
- # Job.employment_types is FULLTIME, a default value is inferred
- # based on unit. Default values:
- # - HOURLY: 2080
- # - DAILY: 260
- # - WEEKLY: 52
- # - MONTHLY: 12
- # - ANNUAL: 1
- "description": "A String", # Optional. Compensation description. For example, could
- # indicate equity terms or provide additional context to an estimated
- # bonus.
- "unit": "A String", # Optional. Frequency of the specified amount.
- #
- # Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
- },
- ],
- "annualizedBaseCompensationRange": { # Compensation range. # Output only. Annualized base compensation range. Computed as
- # base compensation entry's CompensationEntry.compensation times
- # CompensationEntry.expected_units_per_year.
- #
- # See CompensationEntry for explanation on compensation annualization.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- },
- "responsibilities": "A String", # Optional. A description of job responsibilities. The use of this field is
- # recommended as an alternative to using the more general description
- # field.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 10,000.
- "department": "A String", # Optional. The department or functional area within the company with the open
- # position.
- #
- # The maximum number of allowed characters is 255.
"applicationInfo": { # Application related details of a job posting. # Required. At least one field within ApplicationInfo must be specified.
#
# Job application information.
+ "instruction": "A String", # Optional but at least one of uris,
+ # emails or instruction must be
+ # specified.
+ #
+ # Use this field to provide instructions, such as "Mail your application
+ # to ...", that a candidate can follow to apply for the job.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 3,000.
"uris": [ # Optional but at least one of uris,
# emails or instruction must be
# specified.
@@ -2282,18 +1909,81 @@
# The maximum number of allowed characters for each entry is 255.
"A String",
],
- "instruction": "A String", # Optional but at least one of uris,
- # emails or instruction must be
- # specified.
- #
- # Use this field to provide instructions, such as "Mail your application
- # to ...", that a candidate can follow to apply for the job.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 3,000.
},
+ "responsibilities": "A String", # Optional. A description of job responsibilities. The use of this field is
+ # recommended as an alternative to using the more general description
+ # field.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 10,000.
+ "companyName": "A String", # Required. The resource name of the company listing the job, such as
+ # "projects/api-test-project/companies/foo".
+ "promotionValue": 42, # Optional. A promotion value of the job, as determined by the client.
+ # The value determines the sort order of the jobs returned when searching for
+ # jobs using the featured jobs search call, with higher promotional values
+ # being returned first and ties being resolved by relevance sort. Only the
+ # jobs with a promotionValue >0 are returned in a FEATURED_JOB_SEARCH.
+ #
+ # Default value is 0, and negative values are treated as 0.
+ "degreeTypes": [ # Optional. The desired education degrees for the job, such as Bachelors, Masters.
+ "A String",
+ ],
+ "description": "A String", # Required. The description of the job, which typically includes a multi-paragraph
+ # description of the company and related information. Separate fields are
+ # provided on the job object for responsibilities,
+ # qualifications, and other job characteristics. Use of
+ # these separate job fields is recommended.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 100,000.
+ "title": "A String", # Required. The title of the job, such as "Software Engineer"
+ #
+ # The maximum number of allowed characters is 500.
+ "postingPublishTime": "A String", # Optional. The timestamp this job posting was most recently published. The default
+ # value is the time the request arrives at the server. Invalid timestamps are
+ # ignored.
+ "postingCreateTime": "A String", # Output only. The timestamp when this job posting was created.
+ "incentives": "A String", # Optional. A description of bonus, commission, and other compensation
+ # incentives associated with the job not including salary or pay.
+ #
+ # The maximum number of allowed characters is 10,000.
+ "jobEndTime": "A String", # Optional. The end timestamp of the job. Typically this field is used for contracting
+ # engagements. Invalid timestamps are ignored.
+ "addresses": [ # Optional but strongly recommended for the best service experience.
+ #
+ # Location(s) where the employer is looking to hire for this job posting.
+ #
+ # Specifying the full street address(es) of the hiring location enables
+ # better API results, especially job searches by commute time.
+ #
+ # At most 50 locations are allowed for best search performance. If a job has
+ # more locations, it is suggested to split it into multiple jobs with unique
+ # requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', etc.) as
+ # multiple jobs with the same company_name, language_code and
+ # requisition_id are not allowed. If the original requisition_id must
+ # be preserved, a custom field should be used for storage. It is also
+ # suggested to group the locations that close to each other in the same job
+ # for better search experience.
+ #
+ # The maximum number of allowed characters is 500.
+ "A String",
+ ],
+ "jobLevel": "A String", # Optional. The experience level associated with the job, such as "Entry Level".
+ "jobBenefits": [ # Optional. The benefits included with the job.
+ "A String",
+ ],
+ "qualifications": "A String", # Optional. A description of the qualifications required to perform the
+ # job. The use of this field is recommended
+ # as an alternative to using the more general description field.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 10,000.
"postingRegion": "A String", # Optional. The job PostingRegion (for example, state, country) throughout which
# the job is available. If this field is set, a
# LocationFilter in a search query within the job region
@@ -2301,6 +1991,54 @@
# If this field is set to PostingRegion.NATION or
# PostingRegion.ADMINISTRATIVE_AREA, setting job Job.addresses
# to the same location level as this field is strongly recommended.
+ "customAttributes": { # Optional. A map of fields to hold both filterable and non-filterable custom job
+ # attributes that are not covered by the provided structured fields.
+ #
+ # The keys of the map are strings up to 64 bytes and must match the
+ # pattern: a-zA-Z*. For example, key0LikeThis or
+ # KEY_1_LIKE_THIS.
+ #
+ # At most 100 filterable and at most 100 unfilterable keys are supported.
+ # For filterable `string_values`, across all keys at most 200 values are
+ # allowed, with each string no more than 255 characters. For unfilterable
+ # `string_values`, the maximum total size of `string_values` across all keys
+ # is 50KB.
+ "a_key": { # Custom attribute values that are either filterable or non-filterable.
+ "filterable": True or False, # Optional. If the `filterable` flag is true, the custom field values may be used for
+ # custom attribute filters JobQuery.custom_attribute_filter.
+ # If false, these values may not be used for custom attribute filters.
+ #
+ # Default is false.
+ "stringValues": [ # Optional but exactly one of string_values or long_values must
+ # be specified.
+ #
+ # This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
+ # `CASE_INSENSITIVE_MATCH`) search.
+ # For filterable `string_value`s, a maximum total number of 200 values
+ # is allowed, with each `string_value` has a byte size of no more than
+ # 500B. For unfilterable `string_values`, the maximum total byte size of
+ # unfilterable `string_values` is 50KB.
+ #
+ # Empty string is not allowed.
+ "A String",
+ ],
+ "longValues": [ # Optional but exactly one of string_values or long_values must
+ # be specified.
+ #
+ # This field is used to perform number range search.
+ # (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
+ #
+ # Currently at most 1 long_values is supported.
+ "A String",
+ ],
+ },
+ },
+ "postingUpdateTime": "A String", # Output only. The timestamp when this job posting was last updated.
+ "employmentTypes": [ # Optional. The employment type(s) of a job, for example,
+ # full time or
+ # part time.
+ "A String",
+ ],
"postingExpireTime": "A String", # Optional but strongly recommended for the best service
# experience.
#
@@ -2334,52 +2072,163 @@
# expiry_time, or the masks are empty meaning that every field is
# updated, the job posting expires after 30 days from the job's last
# update time. Otherwise the expiration date isn't updated.
- "postingPublishTime": "A String", # Optional. The timestamp this job posting was most recently published. The default
- # value is the time the request arrives at the server. Invalid timestamps are
- # ignored.
- "customAttributes": { # Optional. A map of fields to hold both filterable and non-filterable custom job
- # attributes that are not covered by the provided structured fields.
+ "department": "A String", # Optional. The department or functional area within the company with the open
+ # position.
#
- # The keys of the map are strings up to 64 bytes and must match the
- # pattern: a-zA-Z*. For example, key0LikeThis or
- # KEY_1_LIKE_THIS.
+ # The maximum number of allowed characters is 255.
+ "derivedInfo": { # Output only. # Output only. Derived details about the job posting.
#
- # At most 100 filterable and at most 100 unfilterable keys are supported.
- # For filterable `string_values`, across all keys at most 200 values are
- # allowed, with each string no more than 255 characters. For unfilterable
- # `string_values`, the maximum total size of `string_values` across all keys
- # is 50KB.
- "a_key": { # Custom attribute values that are either filterable or non-filterable.
- "stringValues": [ # Optional but exactly one of string_values or long_values must
- # be specified.
+ # Derived details about the job posting.
+ "locations": [ # Structured locations of the job, resolved from Job.addresses.
+ #
+ # locations are exactly matched to Job.addresses in the same
+ # order.
+ { # Output only.
#
- # This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
- # `CASE_INSENSITIVE_MATCH`) search.
- # For filterable `string_value`s, a maximum total number of 200 values
- # is allowed, with each `string_value` has a byte size of no more than
- # 500B. For unfilterable `string_values`, the maximum total byte size of
- # unfilterable `string_values` is 50KB.
- #
- # Empty string is not allowed.
- "A String",
- ],
- "filterable": True or False, # Optional. If the `filterable` flag is true, the custom field values may be used for
- # custom attribute filters JobQuery.custom_attribute_filter.
- # If false, these values may not be used for custom attribute filters.
- #
- # Default is false.
- "longValues": [ # Optional but exactly one of string_values or long_values must
- # be specified.
- #
- # This field is used to perform number range search.
- # (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
- #
- # Currently at most 1 long_values is supported.
- "A String",
- ],
- },
+ # A resource that represents a location with full geographic information.
+ "postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information,
+ # such as postal delivery and payments addresses. Given a postal address,
+ # a postal service can deliver items to a premises, P.O. Box, or other
+ # delivery location.
+ # Given a postal address, a postal service can deliver items to a premise, P.O.
+ # Box or similar.
+ # It is not intended to model geographical locations (roads, towns,
+ # mountains).
+ #
+ # In typical usage an address would be created via user input or from importing
+ # existing data, depending on the type of process.
+ #
+ # Advice on address input / editing:
+ # - Use an i18n-ready address widget such as
+ # https://github.com/google/libaddressinput)
+ # - Users should not be presented with UI elements for input or editing of
+ # fields outside countries where that field is used.
+ #
+ # For more guidance on how to use this schema, please see:
+ # https://support.google.com/business/answer/6397478
+ "organization": "A String", # Optional. The name of the organization at the address.
+ "sublocality": "A String", # Optional. Sublocality of the address.
+ # For example, this can be neighborhoods, boroughs, districts.
+ "languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if
+ # known). This is often the UI language of the input form or is expected
+ # to match one of the languages used in the address' country/region, or their
+ # transliterated equivalents.
+ # This can affect formatting in certain countries, but is not critical
+ # to the correctness of the data and will never affect any validation or
+ # other non-formatting related operations.
+ #
+ # If this value is not known, it should be omitted (rather than specifying a
+ # possibly incorrect default).
+ #
+ # Examples: "zh-Hant", "ja", "ja-Latn", "en".
+ "administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal
+ # addresses of a country or region.
+ # For example, this can be a state, a province, an oblast, or a prefecture.
+ # Specifically, for Spain this is the province and not the autonomous
+ # community (e.g. "Barcelona" and not "Catalonia").
+ # Many countries don't use an administrative area in postal addresses. E.g.
+ # in Switzerland this should be left unpopulated.
+ "locality": "A String", # Optional. Generally refers to the city/town portion of the address.
+ # Examples: US city, IT comune, UK post town.
+ # In regions of the world where localities are not well defined or do not fit
+ # into this structure well, leave locality empty and use address_lines.
+ "recipients": [ # Optional. The recipient at the address.
+ # This field may, under certain circumstances, contain multiline information.
+ # For example, it might contain "care of" information.
+ "A String",
+ ],
+ "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is
+ # the latest revision.
+ #
+ # All new revisions **must** be backward compatible with old revisions.
+ "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require
+ # postal codes to be present, but where they are used, they may trigger
+ # additional validation with other parts of the address (e.g. state/zip
+ # validation in the U.S.A.).
+ "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used
+ # in most regions. Where it is used, the value is either a string like
+ # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
+ # alone, representing the "sector code" (Jamaica), "delivery area indicator"
+ # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
+ "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This
+ # is never inferred and it is up to the user to ensure the value is
+ # correct. See http://cldr.unicode.org/ and
+ # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
+ # for details. Example: "CH" for Switzerland.
+ "addressLines": [ # Unstructured address lines describing the lower levels of an address.
+ #
+ # Because values in address_lines do not have type information and may
+ # sometimes contain multiple values in a single field (e.g.
+ # "Austin, TX"), it is important that the line order is clear. The order of
+ # address lines should be "envelope order" for the country/region of the
+ # address. In places where this can vary (e.g. Japan), address_language is
+ # used to make it explicit (e.g. "ja" for large-to-small ordering and
+ # "ja-Latn" or "en" for small-to-large). This way, the most specific line of
+ # an address can be selected based on the language.
+ #
+ # The minimum permitted structural representation of an address consists
+ # of a region_code with all remaining information placed in the
+ # address_lines. It would be possible to format such an address very
+ # approximately without geocoding, but no semantic reasoning could be
+ # made about any of the address components until it was at least
+ # partially resolved.
+ #
+ # Creating an address only containing a region_code and address_lines, and
+ # then geocoding is the recommended way to handle completely unstructured
+ # addresses (as opposed to guessing which parts of the address should be
+ # localities or administrative areas).
+ "A String",
+ ],
+ },
+ "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the
+ # location bounding box in which a circle with the specified radius
+ # centered from LatLng covers the area associated with the job location.
+ # For example, currently, "Mountain View, CA, USA" has a radius of
+ # 6.17 miles.
+ "locationType": "A String", # The type of a location, which corresponds to the address lines field of
+ # PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
+ # LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
+ # LocationType#LOCALITY.
+ "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair.
+ # of doubles representing degrees latitude and degrees longitude. Unless
+ # specified otherwise, this must conform to the
+ # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
+ # standard</a>. Values must be within normalized ranges.
+ "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+ "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+ },
+ },
+ ],
+ "jobCategories": [ # Job categories derived from Job.title and Job.description.
+ "A String",
+ ],
},
- "jobLevel": "A String", # Optional. The experience level associated with the job, such as "Entry Level".
+ "jobStartTime": "A String", # Optional. The start timestamp of the job in UTC time zone. Typically this field
+ # is used for contracting engagements. Invalid timestamps are ignored.
+ "visibility": "A String", # Deprecated. The job is only visible to the owner.
+ #
+ # The visibility of the job.
+ #
+ # Defaults to Visibility.ACCOUNT_ONLY if not specified.
+ "processingOptions": { # Input only. # Optional. Options for job processing.
+ #
+ # Options for job processing.
+ "disableStreetAddressResolution": True or False, # Optional. If set to `true`, the service does not attempt to resolve a
+ # more precise address for the job.
+ "htmlSanitization": "A String", # Optional. Option for job HTML content sanitization. Applied fields are:
+ #
+ # * description
+ # * applicationInfo.instruction
+ # * incentives
+ # * qualifications
+ # * responsibilities
+ #
+ # HTML tags in these fields may be stripped if sanitiazation is not
+ # disabled.
+ #
+ # Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.
+ },
+ "companyDisplayName": "A String", # Output only. Display name of the company listing the job.
"languageCode": "A String", # Optional. The language of the posting. This field is distinct from
# any requirements for fluency that are associated with the job.
#
@@ -2391,12 +2240,163 @@
# If this field is unspecified and Job.description is present, detected
# language code based on Job.description is assigned, otherwise
# defaults to 'en_US'.
- "visibility": "A String", # Deprecated. The job is only visible to the owner.
+ "compensationInfo": { # Job compensation details. # Optional. Job compensation information.
+ "annualizedBaseCompensationRange": { # Compensation range. # Output only. Annualized base compensation range. Computed as
+ # base compensation entry's CompensationEntry.compensation times
+ # CompensationEntry.expected_units_per_year.
+ #
+ # See CompensationEntry for explanation on compensation annualization.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ "annualizedTotalCompensationRange": { # Compensation range. # Output only. Annualized total compensation range. Computed as
+ # all compensation entries' CompensationEntry.compensation times
+ # CompensationEntry.expected_units_per_year.
+ #
+ # See CompensationEntry for explanation on compensation annualization.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ "entries": [ # Optional. Job compensation information.
+ #
+ # At most one entry can be of type
+ # CompensationInfo.CompensationType.BASE, which is
+ # referred as ** base compensation entry ** for the job.
+ { # A compensation entry that represents one component of compensation, such
+ # as base pay, bonus, or other compensation type.
+ #
+ # Annualization: One compensation entry can be annualized if
+ # - it contains valid amount or range.
+ # - and its expected_units_per_year is set or can be derived.
+ # Its annualized range is determined as (amount or range) times
+ # expected_units_per_year.
+ "unit": "A String", # Optional. Frequency of the specified amount.
+ #
+ # Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
+ "expectedUnitsPerYear": 3.14, # Optional. Expected number of units paid each year. If not specified, when
+ # Job.employment_types is FULLTIME, a default value is inferred
+ # based on unit. Default values:
+ # - HOURLY: 2080
+ # - DAILY: 260
+ # - WEEKLY: 52
+ # - MONTHLY: 12
+ # - ANNUAL: 1
+ "range": { # Compensation range. # Optional. Compensation range.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ "description": "A String", # Optional. Compensation description. For example, could
+ # indicate equity terms or provide additional context to an estimated
+ # bonus.
+ "type": "A String", # Optional. Compensation type.
+ #
+ # Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED.
+ "amount": { # Represents an amount of money with its currency type. # Optional. Compensation amount.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required during job update.
#
- # The visibility of the job.
+ # The resource name for the job. This is generated by the service when a
+ # job is created.
#
- # Defaults to Visibility.ACCOUNT_ONLY if not specified.
- "postingUpdateTime": "A String", # Output only. The timestamp when this job posting was last updated.
+ # The format is "projects/{project_id}/jobs/{job_id}",
+ # for example, "projects/api-test-project/jobs/1234".
+ #
+ # Use of this field in job queries and API calls is preferred over the use of
+ # requisition_id since this value is unique.
+ "requisitionId": "A String", # Required. The requisition ID, also referred to as the posting ID, assigned by the
+ # client to identify a job. This field is intended to be used by clients
+ # for client identification and tracking of postings. A job is not allowed
+ # to be created if there is another job with the same [company_name],
+ # language_code and requisition_id.
+ #
+ # The maximum number of allowed characters is 255.
},
],
}</pre>
@@ -2443,393 +2443,20 @@
"job": { # A Job resource represents a job posting (also referred to as a "job listing" # Required. The Job to be updated.
# or "job requisition"). A job belongs to a Company, which is the hiring
# entity responsible for the job.
- "name": "A String", # Required during job update.
- #
- # The resource name for the job. This is generated by the service when a
- # job is created.
- #
- # The format is "projects/{project_id}/jobs/{job_id}",
- # for example, "projects/api-test-project/jobs/1234".
- #
- # Use of this field in job queries and API calls is preferred over the use of
- # requisition_id since this value is unique.
- "jobBenefits": [ # Optional. The benefits included with the job.
- "A String",
- ],
- "promotionValue": 42, # Optional. A promotion value of the job, as determined by the client.
- # The value determines the sort order of the jobs returned when searching for
- # jobs using the featured jobs search call, with higher promotional values
- # being returned first and ties being resolved by relevance sort. Only the
- # jobs with a promotionValue >0 are returned in a FEATURED_JOB_SEARCH.
- #
- # Default value is 0, and negative values are treated as 0.
- "title": "A String", # Required. The title of the job, such as "Software Engineer"
- #
- # The maximum number of allowed characters is 500.
- "companyDisplayName": "A String", # Output only. Display name of the company listing the job.
- "qualifications": "A String", # Optional. A description of the qualifications required to perform the
- # job. The use of this field is recommended
- # as an alternative to using the more general description field.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 10,000.
- "requisitionId": "A String", # Required. The requisition ID, also referred to as the posting ID, assigned by the
- # client to identify a job. This field is intended to be used by clients
- # for client identification and tracking of postings. A job is not allowed
- # to be created if there is another job with the same [company_name],
- # language_code and requisition_id.
- #
- # The maximum number of allowed characters is 255.
- "processingOptions": { # Input only. # Optional. Options for job processing.
- #
- # Options for job processing.
- "disableStreetAddressResolution": True or False, # Optional. If set to `true`, the service does not attempt to resolve a
- # more precise address for the job.
- "htmlSanitization": "A String", # Optional. Option for job HTML content sanitization. Applied fields are:
- #
- # * description
- # * applicationInfo.instruction
- # * incentives
- # * qualifications
- # * responsibilities
- #
- # HTML tags in these fields may be stripped if sanitiazation is not
- # disabled.
- #
- # Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.
- },
- "jobEndTime": "A String", # Optional. The end timestamp of the job. Typically this field is used for contracting
- # engagements. Invalid timestamps are ignored.
- "derivedInfo": { # Output only. # Output only. Derived details about the job posting.
- #
- # Derived details about the job posting.
- "locations": [ # Structured locations of the job, resolved from Job.addresses.
- #
- # locations are exactly matched to Job.addresses in the same
- # order.
- { # Output only.
- #
- # A resource that represents a location with full geographic information.
- "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the
- # location bounding box in which a circle with the specified radius
- # centered from LatLng covers the area associated with the job location.
- # For example, currently, "Mountain View, CA, USA" has a radius of
- # 6.17 miles.
- "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair.
- # of doubles representing degrees latitude and degrees longitude. Unless
- # specified otherwise, this must conform to the
- # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
- # standard</a>. Values must be within normalized ranges.
- "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
- "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
- },
- "postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information,
- # such as postal delivery and payments addresses. Given a postal address,
- # a postal service can deliver items to a premises, P.O. Box, or other
- # delivery location.
- # Given a postal address, a postal service can deliver items to a premise, P.O.
- # Box or similar.
- # It is not intended to model geographical locations (roads, towns,
- # mountains).
- #
- # In typical usage an address would be created via user input or from importing
- # existing data, depending on the type of process.
- #
- # Advice on address input / editing:
- # - Use an i18n-ready address widget such as
- # https://github.com/google/libaddressinput)
- # - Users should not be presented with UI elements for input or editing of
- # fields outside countries where that field is used.
- #
- # For more guidance on how to use this schema, please see:
- # https://support.google.com/business/answer/6397478
- "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require
- # postal codes to be present, but where they are used, they may trigger
- # additional validation with other parts of the address (e.g. state/zip
- # validation in the U.S.A.).
- "languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if
- # known). This is often the UI language of the input form or is expected
- # to match one of the languages used in the address' country/region, or their
- # transliterated equivalents.
- # This can affect formatting in certain countries, but is not critical
- # to the correctness of the data and will never affect any validation or
- # other non-formatting related operations.
- #
- # If this value is not known, it should be omitted (rather than specifying a
- # possibly incorrect default).
- #
- # Examples: "zh-Hant", "ja", "ja-Latn", "en".
- "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used
- # in most regions. Where it is used, the value is either a string like
- # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
- # alone, representing the "sector code" (Jamaica), "delivery area indicator"
- # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
- "recipients": [ # Optional. The recipient at the address.
- # This field may, under certain circumstances, contain multiline information.
- # For example, it might contain "care of" information.
- "A String",
- ],
- "sublocality": "A String", # Optional. Sublocality of the address.
- # For example, this can be neighborhoods, boroughs, districts.
- "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is
- # the latest revision.
- #
- # All new revisions **must** be backward compatible with old revisions.
- "locality": "A String", # Optional. Generally refers to the city/town portion of the address.
- # Examples: US city, IT comune, UK post town.
- # In regions of the world where localities are not well defined or do not fit
- # into this structure well, leave locality empty and use address_lines.
- "administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal
- # addresses of a country or region.
- # For example, this can be a state, a province, an oblast, or a prefecture.
- # Specifically, for Spain this is the province and not the autonomous
- # community (e.g. "Barcelona" and not "Catalonia").
- # Many countries don't use an administrative area in postal addresses. E.g.
- # in Switzerland this should be left unpopulated.
- "organization": "A String", # Optional. The name of the organization at the address.
- "addressLines": [ # Unstructured address lines describing the lower levels of an address.
- #
- # Because values in address_lines do not have type information and may
- # sometimes contain multiple values in a single field (e.g.
- # "Austin, TX"), it is important that the line order is clear. The order of
- # address lines should be "envelope order" for the country/region of the
- # address. In places where this can vary (e.g. Japan), address_language is
- # used to make it explicit (e.g. "ja" for large-to-small ordering and
- # "ja-Latn" or "en" for small-to-large). This way, the most specific line of
- # an address can be selected based on the language.
- #
- # The minimum permitted structural representation of an address consists
- # of a region_code with all remaining information placed in the
- # address_lines. It would be possible to format such an address very
- # approximately without geocoding, but no semantic reasoning could be
- # made about any of the address components until it was at least
- # partially resolved.
- #
- # Creating an address only containing a region_code and address_lines, and
- # then geocoding is the recommended way to handle completely unstructured
- # addresses (as opposed to guessing which parts of the address should be
- # localities or administrative areas).
- "A String",
- ],
- "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This
- # is never inferred and it is up to the user to ensure the value is
- # correct. See http://cldr.unicode.org/ and
- # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
- # for details. Example: "CH" for Switzerland.
- },
- "locationType": "A String", # The type of a location, which corresponds to the address lines field of
- # PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
- # LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
- # LocationType#LOCALITY.
- },
- ],
- "jobCategories": [ # Job categories derived from Job.title and Job.description.
- "A String",
- ],
- },
- "incentives": "A String", # Optional. A description of bonus, commission, and other compensation
- # incentives associated with the job not including salary or pay.
- #
- # The maximum number of allowed characters is 10,000.
- "employmentTypes": [ # Optional. The employment type(s) of a job, for example,
- # full time or
- # part time.
- "A String",
- ],
- "postingCreateTime": "A String", # Output only. The timestamp when this job posting was created.
- "addresses": [ # Optional but strongly recommended for the best service experience.
- #
- # Location(s) where the employer is looking to hire for this job posting.
- #
- # Specifying the full street address(es) of the hiring location enables
- # better API results, especially job searches by commute time.
- #
- # At most 50 locations are allowed for best search performance. If a job has
- # more locations, it is suggested to split it into multiple jobs with unique
- # requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', etc.) as
- # multiple jobs with the same company_name, language_code and
- # requisition_id are not allowed. If the original requisition_id must
- # be preserved, a custom field should be used for storage. It is also
- # suggested to group the locations that close to each other in the same job
- # for better search experience.
- #
- # The maximum number of allowed characters is 500.
- "A String",
- ],
- "companyName": "A String", # Required. The resource name of the company listing the job, such as
- # "projects/api-test-project/companies/foo".
- "description": "A String", # Required. The description of the job, which typically includes a multi-paragraph
- # description of the company and related information. Separate fields are
- # provided on the job object for responsibilities,
- # qualifications, and other job characteristics. Use of
- # these separate job fields is recommended.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 100,000.
- "jobStartTime": "A String", # Optional. The start timestamp of the job in UTC time zone. Typically this field
- # is used for contracting engagements. Invalid timestamps are ignored.
- "degreeTypes": [ # Optional. The desired education degrees for the job, such as Bachelors, Masters.
- "A String",
- ],
- "compensationInfo": { # Job compensation details. # Optional. Job compensation information.
- "annualizedTotalCompensationRange": { # Compensation range. # Output only. Annualized total compensation range. Computed as
- # all compensation entries' CompensationEntry.compensation times
- # CompensationEntry.expected_units_per_year.
- #
- # See CompensationEntry for explanation on compensation annualization.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- "entries": [ # Optional. Job compensation information.
- #
- # At most one entry can be of type
- # CompensationInfo.CompensationType.BASE, which is
- # referred as ** base compensation entry ** for the job.
- { # A compensation entry that represents one component of compensation, such
- # as base pay, bonus, or other compensation type.
- #
- # Annualization: One compensation entry can be annualized if
- # - it contains valid amount or range.
- # - and its expected_units_per_year is set or can be derived.
- # Its annualized range is determined as (amount or range) times
- # expected_units_per_year.
- "amount": { # Represents an amount of money with its currency type. # Optional. Compensation amount.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "type": "A String", # Optional. Compensation type.
- #
- # Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED.
- "range": { # Compensation range. # Optional. Compensation range.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- "expectedUnitsPerYear": 3.14, # Optional. Expected number of units paid each year. If not specified, when
- # Job.employment_types is FULLTIME, a default value is inferred
- # based on unit. Default values:
- # - HOURLY: 2080
- # - DAILY: 260
- # - WEEKLY: 52
- # - MONTHLY: 12
- # - ANNUAL: 1
- "description": "A String", # Optional. Compensation description. For example, could
- # indicate equity terms or provide additional context to an estimated
- # bonus.
- "unit": "A String", # Optional. Frequency of the specified amount.
- #
- # Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
- },
- ],
- "annualizedBaseCompensationRange": { # Compensation range. # Output only. Annualized base compensation range. Computed as
- # base compensation entry's CompensationEntry.compensation times
- # CompensationEntry.expected_units_per_year.
- #
- # See CompensationEntry for explanation on compensation annualization.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- },
- "responsibilities": "A String", # Optional. A description of job responsibilities. The use of this field is
- # recommended as an alternative to using the more general description
- # field.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 10,000.
- "department": "A String", # Optional. The department or functional area within the company with the open
- # position.
- #
- # The maximum number of allowed characters is 255.
"applicationInfo": { # Application related details of a job posting. # Required. At least one field within ApplicationInfo must be specified.
#
# Job application information.
+ "instruction": "A String", # Optional but at least one of uris,
+ # emails or instruction must be
+ # specified.
+ #
+ # Use this field to provide instructions, such as "Mail your application
+ # to ...", that a candidate can follow to apply for the job.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 3,000.
"uris": [ # Optional but at least one of uris,
# emails or instruction must be
# specified.
@@ -2850,18 +2477,81 @@
# The maximum number of allowed characters for each entry is 255.
"A String",
],
- "instruction": "A String", # Optional but at least one of uris,
- # emails or instruction must be
- # specified.
- #
- # Use this field to provide instructions, such as "Mail your application
- # to ...", that a candidate can follow to apply for the job.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 3,000.
},
+ "responsibilities": "A String", # Optional. A description of job responsibilities. The use of this field is
+ # recommended as an alternative to using the more general description
+ # field.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 10,000.
+ "companyName": "A String", # Required. The resource name of the company listing the job, such as
+ # "projects/api-test-project/companies/foo".
+ "promotionValue": 42, # Optional. A promotion value of the job, as determined by the client.
+ # The value determines the sort order of the jobs returned when searching for
+ # jobs using the featured jobs search call, with higher promotional values
+ # being returned first and ties being resolved by relevance sort. Only the
+ # jobs with a promotionValue >0 are returned in a FEATURED_JOB_SEARCH.
+ #
+ # Default value is 0, and negative values are treated as 0.
+ "degreeTypes": [ # Optional. The desired education degrees for the job, such as Bachelors, Masters.
+ "A String",
+ ],
+ "description": "A String", # Required. The description of the job, which typically includes a multi-paragraph
+ # description of the company and related information. Separate fields are
+ # provided on the job object for responsibilities,
+ # qualifications, and other job characteristics. Use of
+ # these separate job fields is recommended.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 100,000.
+ "title": "A String", # Required. The title of the job, such as "Software Engineer"
+ #
+ # The maximum number of allowed characters is 500.
+ "postingPublishTime": "A String", # Optional. The timestamp this job posting was most recently published. The default
+ # value is the time the request arrives at the server. Invalid timestamps are
+ # ignored.
+ "postingCreateTime": "A String", # Output only. The timestamp when this job posting was created.
+ "incentives": "A String", # Optional. A description of bonus, commission, and other compensation
+ # incentives associated with the job not including salary or pay.
+ #
+ # The maximum number of allowed characters is 10,000.
+ "jobEndTime": "A String", # Optional. The end timestamp of the job. Typically this field is used for contracting
+ # engagements. Invalid timestamps are ignored.
+ "addresses": [ # Optional but strongly recommended for the best service experience.
+ #
+ # Location(s) where the employer is looking to hire for this job posting.
+ #
+ # Specifying the full street address(es) of the hiring location enables
+ # better API results, especially job searches by commute time.
+ #
+ # At most 50 locations are allowed for best search performance. If a job has
+ # more locations, it is suggested to split it into multiple jobs with unique
+ # requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', etc.) as
+ # multiple jobs with the same company_name, language_code and
+ # requisition_id are not allowed. If the original requisition_id must
+ # be preserved, a custom field should be used for storage. It is also
+ # suggested to group the locations that close to each other in the same job
+ # for better search experience.
+ #
+ # The maximum number of allowed characters is 500.
+ "A String",
+ ],
+ "jobLevel": "A String", # Optional. The experience level associated with the job, such as "Entry Level".
+ "jobBenefits": [ # Optional. The benefits included with the job.
+ "A String",
+ ],
+ "qualifications": "A String", # Optional. A description of the qualifications required to perform the
+ # job. The use of this field is recommended
+ # as an alternative to using the more general description field.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 10,000.
"postingRegion": "A String", # Optional. The job PostingRegion (for example, state, country) throughout which
# the job is available. If this field is set, a
# LocationFilter in a search query within the job region
@@ -2869,6 +2559,54 @@
# If this field is set to PostingRegion.NATION or
# PostingRegion.ADMINISTRATIVE_AREA, setting job Job.addresses
# to the same location level as this field is strongly recommended.
+ "customAttributes": { # Optional. A map of fields to hold both filterable and non-filterable custom job
+ # attributes that are not covered by the provided structured fields.
+ #
+ # The keys of the map are strings up to 64 bytes and must match the
+ # pattern: a-zA-Z*. For example, key0LikeThis or
+ # KEY_1_LIKE_THIS.
+ #
+ # At most 100 filterable and at most 100 unfilterable keys are supported.
+ # For filterable `string_values`, across all keys at most 200 values are
+ # allowed, with each string no more than 255 characters. For unfilterable
+ # `string_values`, the maximum total size of `string_values` across all keys
+ # is 50KB.
+ "a_key": { # Custom attribute values that are either filterable or non-filterable.
+ "filterable": True or False, # Optional. If the `filterable` flag is true, the custom field values may be used for
+ # custom attribute filters JobQuery.custom_attribute_filter.
+ # If false, these values may not be used for custom attribute filters.
+ #
+ # Default is false.
+ "stringValues": [ # Optional but exactly one of string_values or long_values must
+ # be specified.
+ #
+ # This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
+ # `CASE_INSENSITIVE_MATCH`) search.
+ # For filterable `string_value`s, a maximum total number of 200 values
+ # is allowed, with each `string_value` has a byte size of no more than
+ # 500B. For unfilterable `string_values`, the maximum total byte size of
+ # unfilterable `string_values` is 50KB.
+ #
+ # Empty string is not allowed.
+ "A String",
+ ],
+ "longValues": [ # Optional but exactly one of string_values or long_values must
+ # be specified.
+ #
+ # This field is used to perform number range search.
+ # (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
+ #
+ # Currently at most 1 long_values is supported.
+ "A String",
+ ],
+ },
+ },
+ "postingUpdateTime": "A String", # Output only. The timestamp when this job posting was last updated.
+ "employmentTypes": [ # Optional. The employment type(s) of a job, for example,
+ # full time or
+ # part time.
+ "A String",
+ ],
"postingExpireTime": "A String", # Optional but strongly recommended for the best service
# experience.
#
@@ -2902,52 +2640,163 @@
# expiry_time, or the masks are empty meaning that every field is
# updated, the job posting expires after 30 days from the job's last
# update time. Otherwise the expiration date isn't updated.
- "postingPublishTime": "A String", # Optional. The timestamp this job posting was most recently published. The default
- # value is the time the request arrives at the server. Invalid timestamps are
- # ignored.
- "customAttributes": { # Optional. A map of fields to hold both filterable and non-filterable custom job
- # attributes that are not covered by the provided structured fields.
+ "department": "A String", # Optional. The department or functional area within the company with the open
+ # position.
#
- # The keys of the map are strings up to 64 bytes and must match the
- # pattern: a-zA-Z*. For example, key0LikeThis or
- # KEY_1_LIKE_THIS.
+ # The maximum number of allowed characters is 255.
+ "derivedInfo": { # Output only. # Output only. Derived details about the job posting.
#
- # At most 100 filterable and at most 100 unfilterable keys are supported.
- # For filterable `string_values`, across all keys at most 200 values are
- # allowed, with each string no more than 255 characters. For unfilterable
- # `string_values`, the maximum total size of `string_values` across all keys
- # is 50KB.
- "a_key": { # Custom attribute values that are either filterable or non-filterable.
- "stringValues": [ # Optional but exactly one of string_values or long_values must
- # be specified.
+ # Derived details about the job posting.
+ "locations": [ # Structured locations of the job, resolved from Job.addresses.
+ #
+ # locations are exactly matched to Job.addresses in the same
+ # order.
+ { # Output only.
#
- # This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
- # `CASE_INSENSITIVE_MATCH`) search.
- # For filterable `string_value`s, a maximum total number of 200 values
- # is allowed, with each `string_value` has a byte size of no more than
- # 500B. For unfilterable `string_values`, the maximum total byte size of
- # unfilterable `string_values` is 50KB.
- #
- # Empty string is not allowed.
- "A String",
- ],
- "filterable": True or False, # Optional. If the `filterable` flag is true, the custom field values may be used for
- # custom attribute filters JobQuery.custom_attribute_filter.
- # If false, these values may not be used for custom attribute filters.
- #
- # Default is false.
- "longValues": [ # Optional but exactly one of string_values or long_values must
- # be specified.
- #
- # This field is used to perform number range search.
- # (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
- #
- # Currently at most 1 long_values is supported.
- "A String",
- ],
- },
+ # A resource that represents a location with full geographic information.
+ "postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information,
+ # such as postal delivery and payments addresses. Given a postal address,
+ # a postal service can deliver items to a premises, P.O. Box, or other
+ # delivery location.
+ # Given a postal address, a postal service can deliver items to a premise, P.O.
+ # Box or similar.
+ # It is not intended to model geographical locations (roads, towns,
+ # mountains).
+ #
+ # In typical usage an address would be created via user input or from importing
+ # existing data, depending on the type of process.
+ #
+ # Advice on address input / editing:
+ # - Use an i18n-ready address widget such as
+ # https://github.com/google/libaddressinput)
+ # - Users should not be presented with UI elements for input or editing of
+ # fields outside countries where that field is used.
+ #
+ # For more guidance on how to use this schema, please see:
+ # https://support.google.com/business/answer/6397478
+ "organization": "A String", # Optional. The name of the organization at the address.
+ "sublocality": "A String", # Optional. Sublocality of the address.
+ # For example, this can be neighborhoods, boroughs, districts.
+ "languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if
+ # known). This is often the UI language of the input form or is expected
+ # to match one of the languages used in the address' country/region, or their
+ # transliterated equivalents.
+ # This can affect formatting in certain countries, but is not critical
+ # to the correctness of the data and will never affect any validation or
+ # other non-formatting related operations.
+ #
+ # If this value is not known, it should be omitted (rather than specifying a
+ # possibly incorrect default).
+ #
+ # Examples: "zh-Hant", "ja", "ja-Latn", "en".
+ "administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal
+ # addresses of a country or region.
+ # For example, this can be a state, a province, an oblast, or a prefecture.
+ # Specifically, for Spain this is the province and not the autonomous
+ # community (e.g. "Barcelona" and not "Catalonia").
+ # Many countries don't use an administrative area in postal addresses. E.g.
+ # in Switzerland this should be left unpopulated.
+ "locality": "A String", # Optional. Generally refers to the city/town portion of the address.
+ # Examples: US city, IT comune, UK post town.
+ # In regions of the world where localities are not well defined or do not fit
+ # into this structure well, leave locality empty and use address_lines.
+ "recipients": [ # Optional. The recipient at the address.
+ # This field may, under certain circumstances, contain multiline information.
+ # For example, it might contain "care of" information.
+ "A String",
+ ],
+ "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is
+ # the latest revision.
+ #
+ # All new revisions **must** be backward compatible with old revisions.
+ "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require
+ # postal codes to be present, but where they are used, they may trigger
+ # additional validation with other parts of the address (e.g. state/zip
+ # validation in the U.S.A.).
+ "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used
+ # in most regions. Where it is used, the value is either a string like
+ # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
+ # alone, representing the "sector code" (Jamaica), "delivery area indicator"
+ # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
+ "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This
+ # is never inferred and it is up to the user to ensure the value is
+ # correct. See http://cldr.unicode.org/ and
+ # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
+ # for details. Example: "CH" for Switzerland.
+ "addressLines": [ # Unstructured address lines describing the lower levels of an address.
+ #
+ # Because values in address_lines do not have type information and may
+ # sometimes contain multiple values in a single field (e.g.
+ # "Austin, TX"), it is important that the line order is clear. The order of
+ # address lines should be "envelope order" for the country/region of the
+ # address. In places where this can vary (e.g. Japan), address_language is
+ # used to make it explicit (e.g. "ja" for large-to-small ordering and
+ # "ja-Latn" or "en" for small-to-large). This way, the most specific line of
+ # an address can be selected based on the language.
+ #
+ # The minimum permitted structural representation of an address consists
+ # of a region_code with all remaining information placed in the
+ # address_lines. It would be possible to format such an address very
+ # approximately without geocoding, but no semantic reasoning could be
+ # made about any of the address components until it was at least
+ # partially resolved.
+ #
+ # Creating an address only containing a region_code and address_lines, and
+ # then geocoding is the recommended way to handle completely unstructured
+ # addresses (as opposed to guessing which parts of the address should be
+ # localities or administrative areas).
+ "A String",
+ ],
+ },
+ "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the
+ # location bounding box in which a circle with the specified radius
+ # centered from LatLng covers the area associated with the job location.
+ # For example, currently, "Mountain View, CA, USA" has a radius of
+ # 6.17 miles.
+ "locationType": "A String", # The type of a location, which corresponds to the address lines field of
+ # PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
+ # LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
+ # LocationType#LOCALITY.
+ "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair.
+ # of doubles representing degrees latitude and degrees longitude. Unless
+ # specified otherwise, this must conform to the
+ # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
+ # standard</a>. Values must be within normalized ranges.
+ "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+ "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+ },
+ },
+ ],
+ "jobCategories": [ # Job categories derived from Job.title and Job.description.
+ "A String",
+ ],
},
- "jobLevel": "A String", # Optional. The experience level associated with the job, such as "Entry Level".
+ "jobStartTime": "A String", # Optional. The start timestamp of the job in UTC time zone. Typically this field
+ # is used for contracting engagements. Invalid timestamps are ignored.
+ "visibility": "A String", # Deprecated. The job is only visible to the owner.
+ #
+ # The visibility of the job.
+ #
+ # Defaults to Visibility.ACCOUNT_ONLY if not specified.
+ "processingOptions": { # Input only. # Optional. Options for job processing.
+ #
+ # Options for job processing.
+ "disableStreetAddressResolution": True or False, # Optional. If set to `true`, the service does not attempt to resolve a
+ # more precise address for the job.
+ "htmlSanitization": "A String", # Optional. Option for job HTML content sanitization. Applied fields are:
+ #
+ # * description
+ # * applicationInfo.instruction
+ # * incentives
+ # * qualifications
+ # * responsibilities
+ #
+ # HTML tags in these fields may be stripped if sanitiazation is not
+ # disabled.
+ #
+ # Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.
+ },
+ "companyDisplayName": "A String", # Output only. Display name of the company listing the job.
"languageCode": "A String", # Optional. The language of the posting. This field is distinct from
# any requirements for fluency that are associated with the job.
#
@@ -2959,12 +2808,163 @@
# If this field is unspecified and Job.description is present, detected
# language code based on Job.description is assigned, otherwise
# defaults to 'en_US'.
- "visibility": "A String", # Deprecated. The job is only visible to the owner.
+ "compensationInfo": { # Job compensation details. # Optional. Job compensation information.
+ "annualizedBaseCompensationRange": { # Compensation range. # Output only. Annualized base compensation range. Computed as
+ # base compensation entry's CompensationEntry.compensation times
+ # CompensationEntry.expected_units_per_year.
+ #
+ # See CompensationEntry for explanation on compensation annualization.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ "annualizedTotalCompensationRange": { # Compensation range. # Output only. Annualized total compensation range. Computed as
+ # all compensation entries' CompensationEntry.compensation times
+ # CompensationEntry.expected_units_per_year.
+ #
+ # See CompensationEntry for explanation on compensation annualization.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ "entries": [ # Optional. Job compensation information.
+ #
+ # At most one entry can be of type
+ # CompensationInfo.CompensationType.BASE, which is
+ # referred as ** base compensation entry ** for the job.
+ { # A compensation entry that represents one component of compensation, such
+ # as base pay, bonus, or other compensation type.
+ #
+ # Annualization: One compensation entry can be annualized if
+ # - it contains valid amount or range.
+ # - and its expected_units_per_year is set or can be derived.
+ # Its annualized range is determined as (amount or range) times
+ # expected_units_per_year.
+ "unit": "A String", # Optional. Frequency of the specified amount.
+ #
+ # Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
+ "expectedUnitsPerYear": 3.14, # Optional. Expected number of units paid each year. If not specified, when
+ # Job.employment_types is FULLTIME, a default value is inferred
+ # based on unit. Default values:
+ # - HOURLY: 2080
+ # - DAILY: 260
+ # - WEEKLY: 52
+ # - MONTHLY: 12
+ # - ANNUAL: 1
+ "range": { # Compensation range. # Optional. Compensation range.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ "description": "A String", # Optional. Compensation description. For example, could
+ # indicate equity terms or provide additional context to an estimated
+ # bonus.
+ "type": "A String", # Optional. Compensation type.
+ #
+ # Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED.
+ "amount": { # Represents an amount of money with its currency type. # Optional. Compensation amount.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required during job update.
#
- # The visibility of the job.
+ # The resource name for the job. This is generated by the service when a
+ # job is created.
#
- # Defaults to Visibility.ACCOUNT_ONLY if not specified.
- "postingUpdateTime": "A String", # Output only. The timestamp when this job posting was last updated.
+ # The format is "projects/{project_id}/jobs/{job_id}",
+ # for example, "projects/api-test-project/jobs/1234".
+ #
+ # Use of this field in job queries and API calls is preferred over the use of
+ # requisition_id since this value is unique.
+ "requisitionId": "A String", # Required. The requisition ID, also referred to as the posting ID, assigned by the
+ # client to identify a job. This field is intended to be used by clients
+ # for client identification and tracking of postings. A job is not allowed
+ # to be created if there is another job with the same [company_name],
+ # language_code and requisition_id.
+ #
+ # The maximum number of allowed characters is 255.
},
"updateMask": "A String", # Optional but strongly recommended to be provided for the best service
# experience.
@@ -2987,393 +2987,20 @@
{ # A Job resource represents a job posting (also referred to as a "job listing"
# or "job requisition"). A job belongs to a Company, which is the hiring
# entity responsible for the job.
- "name": "A String", # Required during job update.
- #
- # The resource name for the job. This is generated by the service when a
- # job is created.
- #
- # The format is "projects/{project_id}/jobs/{job_id}",
- # for example, "projects/api-test-project/jobs/1234".
- #
- # Use of this field in job queries and API calls is preferred over the use of
- # requisition_id since this value is unique.
- "jobBenefits": [ # Optional. The benefits included with the job.
- "A String",
- ],
- "promotionValue": 42, # Optional. A promotion value of the job, as determined by the client.
- # The value determines the sort order of the jobs returned when searching for
- # jobs using the featured jobs search call, with higher promotional values
- # being returned first and ties being resolved by relevance sort. Only the
- # jobs with a promotionValue >0 are returned in a FEATURED_JOB_SEARCH.
- #
- # Default value is 0, and negative values are treated as 0.
- "title": "A String", # Required. The title of the job, such as "Software Engineer"
- #
- # The maximum number of allowed characters is 500.
- "companyDisplayName": "A String", # Output only. Display name of the company listing the job.
- "qualifications": "A String", # Optional. A description of the qualifications required to perform the
- # job. The use of this field is recommended
- # as an alternative to using the more general description field.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 10,000.
- "requisitionId": "A String", # Required. The requisition ID, also referred to as the posting ID, assigned by the
- # client to identify a job. This field is intended to be used by clients
- # for client identification and tracking of postings. A job is not allowed
- # to be created if there is another job with the same [company_name],
- # language_code and requisition_id.
- #
- # The maximum number of allowed characters is 255.
- "processingOptions": { # Input only. # Optional. Options for job processing.
- #
- # Options for job processing.
- "disableStreetAddressResolution": True or False, # Optional. If set to `true`, the service does not attempt to resolve a
- # more precise address for the job.
- "htmlSanitization": "A String", # Optional. Option for job HTML content sanitization. Applied fields are:
- #
- # * description
- # * applicationInfo.instruction
- # * incentives
- # * qualifications
- # * responsibilities
- #
- # HTML tags in these fields may be stripped if sanitiazation is not
- # disabled.
- #
- # Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.
- },
- "jobEndTime": "A String", # Optional. The end timestamp of the job. Typically this field is used for contracting
- # engagements. Invalid timestamps are ignored.
- "derivedInfo": { # Output only. # Output only. Derived details about the job posting.
- #
- # Derived details about the job posting.
- "locations": [ # Structured locations of the job, resolved from Job.addresses.
- #
- # locations are exactly matched to Job.addresses in the same
- # order.
- { # Output only.
- #
- # A resource that represents a location with full geographic information.
- "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the
- # location bounding box in which a circle with the specified radius
- # centered from LatLng covers the area associated with the job location.
- # For example, currently, "Mountain View, CA, USA" has a radius of
- # 6.17 miles.
- "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair.
- # of doubles representing degrees latitude and degrees longitude. Unless
- # specified otherwise, this must conform to the
- # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
- # standard</a>. Values must be within normalized ranges.
- "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
- "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
- },
- "postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information,
- # such as postal delivery and payments addresses. Given a postal address,
- # a postal service can deliver items to a premises, P.O. Box, or other
- # delivery location.
- # Given a postal address, a postal service can deliver items to a premise, P.O.
- # Box or similar.
- # It is not intended to model geographical locations (roads, towns,
- # mountains).
- #
- # In typical usage an address would be created via user input or from importing
- # existing data, depending on the type of process.
- #
- # Advice on address input / editing:
- # - Use an i18n-ready address widget such as
- # https://github.com/google/libaddressinput)
- # - Users should not be presented with UI elements for input or editing of
- # fields outside countries where that field is used.
- #
- # For more guidance on how to use this schema, please see:
- # https://support.google.com/business/answer/6397478
- "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require
- # postal codes to be present, but where they are used, they may trigger
- # additional validation with other parts of the address (e.g. state/zip
- # validation in the U.S.A.).
- "languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if
- # known). This is often the UI language of the input form or is expected
- # to match one of the languages used in the address' country/region, or their
- # transliterated equivalents.
- # This can affect formatting in certain countries, but is not critical
- # to the correctness of the data and will never affect any validation or
- # other non-formatting related operations.
- #
- # If this value is not known, it should be omitted (rather than specifying a
- # possibly incorrect default).
- #
- # Examples: "zh-Hant", "ja", "ja-Latn", "en".
- "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used
- # in most regions. Where it is used, the value is either a string like
- # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
- # alone, representing the "sector code" (Jamaica), "delivery area indicator"
- # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
- "recipients": [ # Optional. The recipient at the address.
- # This field may, under certain circumstances, contain multiline information.
- # For example, it might contain "care of" information.
- "A String",
- ],
- "sublocality": "A String", # Optional. Sublocality of the address.
- # For example, this can be neighborhoods, boroughs, districts.
- "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is
- # the latest revision.
- #
- # All new revisions **must** be backward compatible with old revisions.
- "locality": "A String", # Optional. Generally refers to the city/town portion of the address.
- # Examples: US city, IT comune, UK post town.
- # In regions of the world where localities are not well defined or do not fit
- # into this structure well, leave locality empty and use address_lines.
- "administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal
- # addresses of a country or region.
- # For example, this can be a state, a province, an oblast, or a prefecture.
- # Specifically, for Spain this is the province and not the autonomous
- # community (e.g. "Barcelona" and not "Catalonia").
- # Many countries don't use an administrative area in postal addresses. E.g.
- # in Switzerland this should be left unpopulated.
- "organization": "A String", # Optional. The name of the organization at the address.
- "addressLines": [ # Unstructured address lines describing the lower levels of an address.
- #
- # Because values in address_lines do not have type information and may
- # sometimes contain multiple values in a single field (e.g.
- # "Austin, TX"), it is important that the line order is clear. The order of
- # address lines should be "envelope order" for the country/region of the
- # address. In places where this can vary (e.g. Japan), address_language is
- # used to make it explicit (e.g. "ja" for large-to-small ordering and
- # "ja-Latn" or "en" for small-to-large). This way, the most specific line of
- # an address can be selected based on the language.
- #
- # The minimum permitted structural representation of an address consists
- # of a region_code with all remaining information placed in the
- # address_lines. It would be possible to format such an address very
- # approximately without geocoding, but no semantic reasoning could be
- # made about any of the address components until it was at least
- # partially resolved.
- #
- # Creating an address only containing a region_code and address_lines, and
- # then geocoding is the recommended way to handle completely unstructured
- # addresses (as opposed to guessing which parts of the address should be
- # localities or administrative areas).
- "A String",
- ],
- "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This
- # is never inferred and it is up to the user to ensure the value is
- # correct. See http://cldr.unicode.org/ and
- # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
- # for details. Example: "CH" for Switzerland.
- },
- "locationType": "A String", # The type of a location, which corresponds to the address lines field of
- # PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
- # LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
- # LocationType#LOCALITY.
- },
- ],
- "jobCategories": [ # Job categories derived from Job.title and Job.description.
- "A String",
- ],
- },
- "incentives": "A String", # Optional. A description of bonus, commission, and other compensation
- # incentives associated with the job not including salary or pay.
- #
- # The maximum number of allowed characters is 10,000.
- "employmentTypes": [ # Optional. The employment type(s) of a job, for example,
- # full time or
- # part time.
- "A String",
- ],
- "postingCreateTime": "A String", # Output only. The timestamp when this job posting was created.
- "addresses": [ # Optional but strongly recommended for the best service experience.
- #
- # Location(s) where the employer is looking to hire for this job posting.
- #
- # Specifying the full street address(es) of the hiring location enables
- # better API results, especially job searches by commute time.
- #
- # At most 50 locations are allowed for best search performance. If a job has
- # more locations, it is suggested to split it into multiple jobs with unique
- # requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', etc.) as
- # multiple jobs with the same company_name, language_code and
- # requisition_id are not allowed. If the original requisition_id must
- # be preserved, a custom field should be used for storage. It is also
- # suggested to group the locations that close to each other in the same job
- # for better search experience.
- #
- # The maximum number of allowed characters is 500.
- "A String",
- ],
- "companyName": "A String", # Required. The resource name of the company listing the job, such as
- # "projects/api-test-project/companies/foo".
- "description": "A String", # Required. The description of the job, which typically includes a multi-paragraph
- # description of the company and related information. Separate fields are
- # provided on the job object for responsibilities,
- # qualifications, and other job characteristics. Use of
- # these separate job fields is recommended.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 100,000.
- "jobStartTime": "A String", # Optional. The start timestamp of the job in UTC time zone. Typically this field
- # is used for contracting engagements. Invalid timestamps are ignored.
- "degreeTypes": [ # Optional. The desired education degrees for the job, such as Bachelors, Masters.
- "A String",
- ],
- "compensationInfo": { # Job compensation details. # Optional. Job compensation information.
- "annualizedTotalCompensationRange": { # Compensation range. # Output only. Annualized total compensation range. Computed as
- # all compensation entries' CompensationEntry.compensation times
- # CompensationEntry.expected_units_per_year.
- #
- # See CompensationEntry for explanation on compensation annualization.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- "entries": [ # Optional. Job compensation information.
- #
- # At most one entry can be of type
- # CompensationInfo.CompensationType.BASE, which is
- # referred as ** base compensation entry ** for the job.
- { # A compensation entry that represents one component of compensation, such
- # as base pay, bonus, or other compensation type.
- #
- # Annualization: One compensation entry can be annualized if
- # - it contains valid amount or range.
- # - and its expected_units_per_year is set or can be derived.
- # Its annualized range is determined as (amount or range) times
- # expected_units_per_year.
- "amount": { # Represents an amount of money with its currency type. # Optional. Compensation amount.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "type": "A String", # Optional. Compensation type.
- #
- # Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED.
- "range": { # Compensation range. # Optional. Compensation range.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- "expectedUnitsPerYear": 3.14, # Optional. Expected number of units paid each year. If not specified, when
- # Job.employment_types is FULLTIME, a default value is inferred
- # based on unit. Default values:
- # - HOURLY: 2080
- # - DAILY: 260
- # - WEEKLY: 52
- # - MONTHLY: 12
- # - ANNUAL: 1
- "description": "A String", # Optional. Compensation description. For example, could
- # indicate equity terms or provide additional context to an estimated
- # bonus.
- "unit": "A String", # Optional. Frequency of the specified amount.
- #
- # Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
- },
- ],
- "annualizedBaseCompensationRange": { # Compensation range. # Output only. Annualized base compensation range. Computed as
- # base compensation entry's CompensationEntry.compensation times
- # CompensationEntry.expected_units_per_year.
- #
- # See CompensationEntry for explanation on compensation annualization.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- },
- "responsibilities": "A String", # Optional. A description of job responsibilities. The use of this field is
- # recommended as an alternative to using the more general description
- # field.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 10,000.
- "department": "A String", # Optional. The department or functional area within the company with the open
- # position.
- #
- # The maximum number of allowed characters is 255.
"applicationInfo": { # Application related details of a job posting. # Required. At least one field within ApplicationInfo must be specified.
#
# Job application information.
+ "instruction": "A String", # Optional but at least one of uris,
+ # emails or instruction must be
+ # specified.
+ #
+ # Use this field to provide instructions, such as "Mail your application
+ # to ...", that a candidate can follow to apply for the job.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 3,000.
"uris": [ # Optional but at least one of uris,
# emails or instruction must be
# specified.
@@ -3394,18 +3021,81 @@
# The maximum number of allowed characters for each entry is 255.
"A String",
],
- "instruction": "A String", # Optional but at least one of uris,
- # emails or instruction must be
- # specified.
- #
- # Use this field to provide instructions, such as "Mail your application
- # to ...", that a candidate can follow to apply for the job.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 3,000.
},
+ "responsibilities": "A String", # Optional. A description of job responsibilities. The use of this field is
+ # recommended as an alternative to using the more general description
+ # field.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 10,000.
+ "companyName": "A String", # Required. The resource name of the company listing the job, such as
+ # "projects/api-test-project/companies/foo".
+ "promotionValue": 42, # Optional. A promotion value of the job, as determined by the client.
+ # The value determines the sort order of the jobs returned when searching for
+ # jobs using the featured jobs search call, with higher promotional values
+ # being returned first and ties being resolved by relevance sort. Only the
+ # jobs with a promotionValue >0 are returned in a FEATURED_JOB_SEARCH.
+ #
+ # Default value is 0, and negative values are treated as 0.
+ "degreeTypes": [ # Optional. The desired education degrees for the job, such as Bachelors, Masters.
+ "A String",
+ ],
+ "description": "A String", # Required. The description of the job, which typically includes a multi-paragraph
+ # description of the company and related information. Separate fields are
+ # provided on the job object for responsibilities,
+ # qualifications, and other job characteristics. Use of
+ # these separate job fields is recommended.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 100,000.
+ "title": "A String", # Required. The title of the job, such as "Software Engineer"
+ #
+ # The maximum number of allowed characters is 500.
+ "postingPublishTime": "A String", # Optional. The timestamp this job posting was most recently published. The default
+ # value is the time the request arrives at the server. Invalid timestamps are
+ # ignored.
+ "postingCreateTime": "A String", # Output only. The timestamp when this job posting was created.
+ "incentives": "A String", # Optional. A description of bonus, commission, and other compensation
+ # incentives associated with the job not including salary or pay.
+ #
+ # The maximum number of allowed characters is 10,000.
+ "jobEndTime": "A String", # Optional. The end timestamp of the job. Typically this field is used for contracting
+ # engagements. Invalid timestamps are ignored.
+ "addresses": [ # Optional but strongly recommended for the best service experience.
+ #
+ # Location(s) where the employer is looking to hire for this job posting.
+ #
+ # Specifying the full street address(es) of the hiring location enables
+ # better API results, especially job searches by commute time.
+ #
+ # At most 50 locations are allowed for best search performance. If a job has
+ # more locations, it is suggested to split it into multiple jobs with unique
+ # requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', etc.) as
+ # multiple jobs with the same company_name, language_code and
+ # requisition_id are not allowed. If the original requisition_id must
+ # be preserved, a custom field should be used for storage. It is also
+ # suggested to group the locations that close to each other in the same job
+ # for better search experience.
+ #
+ # The maximum number of allowed characters is 500.
+ "A String",
+ ],
+ "jobLevel": "A String", # Optional. The experience level associated with the job, such as "Entry Level".
+ "jobBenefits": [ # Optional. The benefits included with the job.
+ "A String",
+ ],
+ "qualifications": "A String", # Optional. A description of the qualifications required to perform the
+ # job. The use of this field is recommended
+ # as an alternative to using the more general description field.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 10,000.
"postingRegion": "A String", # Optional. The job PostingRegion (for example, state, country) throughout which
# the job is available. If this field is set, a
# LocationFilter in a search query within the job region
@@ -3413,6 +3103,54 @@
# If this field is set to PostingRegion.NATION or
# PostingRegion.ADMINISTRATIVE_AREA, setting job Job.addresses
# to the same location level as this field is strongly recommended.
+ "customAttributes": { # Optional. A map of fields to hold both filterable and non-filterable custom job
+ # attributes that are not covered by the provided structured fields.
+ #
+ # The keys of the map are strings up to 64 bytes and must match the
+ # pattern: a-zA-Z*. For example, key0LikeThis or
+ # KEY_1_LIKE_THIS.
+ #
+ # At most 100 filterable and at most 100 unfilterable keys are supported.
+ # For filterable `string_values`, across all keys at most 200 values are
+ # allowed, with each string no more than 255 characters. For unfilterable
+ # `string_values`, the maximum total size of `string_values` across all keys
+ # is 50KB.
+ "a_key": { # Custom attribute values that are either filterable or non-filterable.
+ "filterable": True or False, # Optional. If the `filterable` flag is true, the custom field values may be used for
+ # custom attribute filters JobQuery.custom_attribute_filter.
+ # If false, these values may not be used for custom attribute filters.
+ #
+ # Default is false.
+ "stringValues": [ # Optional but exactly one of string_values or long_values must
+ # be specified.
+ #
+ # This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
+ # `CASE_INSENSITIVE_MATCH`) search.
+ # For filterable `string_value`s, a maximum total number of 200 values
+ # is allowed, with each `string_value` has a byte size of no more than
+ # 500B. For unfilterable `string_values`, the maximum total byte size of
+ # unfilterable `string_values` is 50KB.
+ #
+ # Empty string is not allowed.
+ "A String",
+ ],
+ "longValues": [ # Optional but exactly one of string_values or long_values must
+ # be specified.
+ #
+ # This field is used to perform number range search.
+ # (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
+ #
+ # Currently at most 1 long_values is supported.
+ "A String",
+ ],
+ },
+ },
+ "postingUpdateTime": "A String", # Output only. The timestamp when this job posting was last updated.
+ "employmentTypes": [ # Optional. The employment type(s) of a job, for example,
+ # full time or
+ # part time.
+ "A String",
+ ],
"postingExpireTime": "A String", # Optional but strongly recommended for the best service
# experience.
#
@@ -3446,52 +3184,163 @@
# expiry_time, or the masks are empty meaning that every field is
# updated, the job posting expires after 30 days from the job's last
# update time. Otherwise the expiration date isn't updated.
- "postingPublishTime": "A String", # Optional. The timestamp this job posting was most recently published. The default
- # value is the time the request arrives at the server. Invalid timestamps are
- # ignored.
- "customAttributes": { # Optional. A map of fields to hold both filterable and non-filterable custom job
- # attributes that are not covered by the provided structured fields.
+ "department": "A String", # Optional. The department or functional area within the company with the open
+ # position.
#
- # The keys of the map are strings up to 64 bytes and must match the
- # pattern: a-zA-Z*. For example, key0LikeThis or
- # KEY_1_LIKE_THIS.
+ # The maximum number of allowed characters is 255.
+ "derivedInfo": { # Output only. # Output only. Derived details about the job posting.
#
- # At most 100 filterable and at most 100 unfilterable keys are supported.
- # For filterable `string_values`, across all keys at most 200 values are
- # allowed, with each string no more than 255 characters. For unfilterable
- # `string_values`, the maximum total size of `string_values` across all keys
- # is 50KB.
- "a_key": { # Custom attribute values that are either filterable or non-filterable.
- "stringValues": [ # Optional but exactly one of string_values or long_values must
- # be specified.
+ # Derived details about the job posting.
+ "locations": [ # Structured locations of the job, resolved from Job.addresses.
+ #
+ # locations are exactly matched to Job.addresses in the same
+ # order.
+ { # Output only.
#
- # This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
- # `CASE_INSENSITIVE_MATCH`) search.
- # For filterable `string_value`s, a maximum total number of 200 values
- # is allowed, with each `string_value` has a byte size of no more than
- # 500B. For unfilterable `string_values`, the maximum total byte size of
- # unfilterable `string_values` is 50KB.
- #
- # Empty string is not allowed.
- "A String",
- ],
- "filterable": True or False, # Optional. If the `filterable` flag is true, the custom field values may be used for
- # custom attribute filters JobQuery.custom_attribute_filter.
- # If false, these values may not be used for custom attribute filters.
- #
- # Default is false.
- "longValues": [ # Optional but exactly one of string_values or long_values must
- # be specified.
- #
- # This field is used to perform number range search.
- # (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
- #
- # Currently at most 1 long_values is supported.
- "A String",
- ],
- },
+ # A resource that represents a location with full geographic information.
+ "postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information,
+ # such as postal delivery and payments addresses. Given a postal address,
+ # a postal service can deliver items to a premises, P.O. Box, or other
+ # delivery location.
+ # Given a postal address, a postal service can deliver items to a premise, P.O.
+ # Box or similar.
+ # It is not intended to model geographical locations (roads, towns,
+ # mountains).
+ #
+ # In typical usage an address would be created via user input or from importing
+ # existing data, depending on the type of process.
+ #
+ # Advice on address input / editing:
+ # - Use an i18n-ready address widget such as
+ # https://github.com/google/libaddressinput)
+ # - Users should not be presented with UI elements for input or editing of
+ # fields outside countries where that field is used.
+ #
+ # For more guidance on how to use this schema, please see:
+ # https://support.google.com/business/answer/6397478
+ "organization": "A String", # Optional. The name of the organization at the address.
+ "sublocality": "A String", # Optional. Sublocality of the address.
+ # For example, this can be neighborhoods, boroughs, districts.
+ "languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if
+ # known). This is often the UI language of the input form or is expected
+ # to match one of the languages used in the address' country/region, or their
+ # transliterated equivalents.
+ # This can affect formatting in certain countries, but is not critical
+ # to the correctness of the data and will never affect any validation or
+ # other non-formatting related operations.
+ #
+ # If this value is not known, it should be omitted (rather than specifying a
+ # possibly incorrect default).
+ #
+ # Examples: "zh-Hant", "ja", "ja-Latn", "en".
+ "administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal
+ # addresses of a country or region.
+ # For example, this can be a state, a province, an oblast, or a prefecture.
+ # Specifically, for Spain this is the province and not the autonomous
+ # community (e.g. "Barcelona" and not "Catalonia").
+ # Many countries don't use an administrative area in postal addresses. E.g.
+ # in Switzerland this should be left unpopulated.
+ "locality": "A String", # Optional. Generally refers to the city/town portion of the address.
+ # Examples: US city, IT comune, UK post town.
+ # In regions of the world where localities are not well defined or do not fit
+ # into this structure well, leave locality empty and use address_lines.
+ "recipients": [ # Optional. The recipient at the address.
+ # This field may, under certain circumstances, contain multiline information.
+ # For example, it might contain "care of" information.
+ "A String",
+ ],
+ "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is
+ # the latest revision.
+ #
+ # All new revisions **must** be backward compatible with old revisions.
+ "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require
+ # postal codes to be present, but where they are used, they may trigger
+ # additional validation with other parts of the address (e.g. state/zip
+ # validation in the U.S.A.).
+ "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used
+ # in most regions. Where it is used, the value is either a string like
+ # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
+ # alone, representing the "sector code" (Jamaica), "delivery area indicator"
+ # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
+ "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This
+ # is never inferred and it is up to the user to ensure the value is
+ # correct. See http://cldr.unicode.org/ and
+ # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
+ # for details. Example: "CH" for Switzerland.
+ "addressLines": [ # Unstructured address lines describing the lower levels of an address.
+ #
+ # Because values in address_lines do not have type information and may
+ # sometimes contain multiple values in a single field (e.g.
+ # "Austin, TX"), it is important that the line order is clear. The order of
+ # address lines should be "envelope order" for the country/region of the
+ # address. In places where this can vary (e.g. Japan), address_language is
+ # used to make it explicit (e.g. "ja" for large-to-small ordering and
+ # "ja-Latn" or "en" for small-to-large). This way, the most specific line of
+ # an address can be selected based on the language.
+ #
+ # The minimum permitted structural representation of an address consists
+ # of a region_code with all remaining information placed in the
+ # address_lines. It would be possible to format such an address very
+ # approximately without geocoding, but no semantic reasoning could be
+ # made about any of the address components until it was at least
+ # partially resolved.
+ #
+ # Creating an address only containing a region_code and address_lines, and
+ # then geocoding is the recommended way to handle completely unstructured
+ # addresses (as opposed to guessing which parts of the address should be
+ # localities or administrative areas).
+ "A String",
+ ],
+ },
+ "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the
+ # location bounding box in which a circle with the specified radius
+ # centered from LatLng covers the area associated with the job location.
+ # For example, currently, "Mountain View, CA, USA" has a radius of
+ # 6.17 miles.
+ "locationType": "A String", # The type of a location, which corresponds to the address lines field of
+ # PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
+ # LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
+ # LocationType#LOCALITY.
+ "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair.
+ # of doubles representing degrees latitude and degrees longitude. Unless
+ # specified otherwise, this must conform to the
+ # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
+ # standard</a>. Values must be within normalized ranges.
+ "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+ "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+ },
+ },
+ ],
+ "jobCategories": [ # Job categories derived from Job.title and Job.description.
+ "A String",
+ ],
},
- "jobLevel": "A String", # Optional. The experience level associated with the job, such as "Entry Level".
+ "jobStartTime": "A String", # Optional. The start timestamp of the job in UTC time zone. Typically this field
+ # is used for contracting engagements. Invalid timestamps are ignored.
+ "visibility": "A String", # Deprecated. The job is only visible to the owner.
+ #
+ # The visibility of the job.
+ #
+ # Defaults to Visibility.ACCOUNT_ONLY if not specified.
+ "processingOptions": { # Input only. # Optional. Options for job processing.
+ #
+ # Options for job processing.
+ "disableStreetAddressResolution": True or False, # Optional. If set to `true`, the service does not attempt to resolve a
+ # more precise address for the job.
+ "htmlSanitization": "A String", # Optional. Option for job HTML content sanitization. Applied fields are:
+ #
+ # * description
+ # * applicationInfo.instruction
+ # * incentives
+ # * qualifications
+ # * responsibilities
+ #
+ # HTML tags in these fields may be stripped if sanitiazation is not
+ # disabled.
+ #
+ # Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.
+ },
+ "companyDisplayName": "A String", # Output only. Display name of the company listing the job.
"languageCode": "A String", # Optional. The language of the posting. This field is distinct from
# any requirements for fluency that are associated with the job.
#
@@ -3503,12 +3352,163 @@
# If this field is unspecified and Job.description is present, detected
# language code based on Job.description is assigned, otherwise
# defaults to 'en_US'.
- "visibility": "A String", # Deprecated. The job is only visible to the owner.
+ "compensationInfo": { # Job compensation details. # Optional. Job compensation information.
+ "annualizedBaseCompensationRange": { # Compensation range. # Output only. Annualized base compensation range. Computed as
+ # base compensation entry's CompensationEntry.compensation times
+ # CompensationEntry.expected_units_per_year.
+ #
+ # See CompensationEntry for explanation on compensation annualization.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ "annualizedTotalCompensationRange": { # Compensation range. # Output only. Annualized total compensation range. Computed as
+ # all compensation entries' CompensationEntry.compensation times
+ # CompensationEntry.expected_units_per_year.
+ #
+ # See CompensationEntry for explanation on compensation annualization.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ "entries": [ # Optional. Job compensation information.
+ #
+ # At most one entry can be of type
+ # CompensationInfo.CompensationType.BASE, which is
+ # referred as ** base compensation entry ** for the job.
+ { # A compensation entry that represents one component of compensation, such
+ # as base pay, bonus, or other compensation type.
+ #
+ # Annualization: One compensation entry can be annualized if
+ # - it contains valid amount or range.
+ # - and its expected_units_per_year is set or can be derived.
+ # Its annualized range is determined as (amount or range) times
+ # expected_units_per_year.
+ "unit": "A String", # Optional. Frequency of the specified amount.
+ #
+ # Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
+ "expectedUnitsPerYear": 3.14, # Optional. Expected number of units paid each year. If not specified, when
+ # Job.employment_types is FULLTIME, a default value is inferred
+ # based on unit. Default values:
+ # - HOURLY: 2080
+ # - DAILY: 260
+ # - WEEKLY: 52
+ # - MONTHLY: 12
+ # - ANNUAL: 1
+ "range": { # Compensation range. # Optional. Compensation range.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ "description": "A String", # Optional. Compensation description. For example, could
+ # indicate equity terms or provide additional context to an estimated
+ # bonus.
+ "type": "A String", # Optional. Compensation type.
+ #
+ # Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED.
+ "amount": { # Represents an amount of money with its currency type. # Optional. Compensation amount.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required during job update.
#
- # The visibility of the job.
+ # The resource name for the job. This is generated by the service when a
+ # job is created.
#
- # Defaults to Visibility.ACCOUNT_ONLY if not specified.
- "postingUpdateTime": "A String", # Output only. The timestamp when this job posting was last updated.
+ # The format is "projects/{project_id}/jobs/{job_id}",
+ # for example, "projects/api-test-project/jobs/1234".
+ #
+ # Use of this field in job queries and API calls is preferred over the use of
+ # requisition_id since this value is unique.
+ "requisitionId": "A String", # Required. The requisition ID, also referred to as the posting ID, assigned by the
+ # client to identify a job. This field is intended to be used by clients
+ # for client identification and tracking of postings. A job is not allowed
+ # to be created if there is another job with the same [company_name],
+ # language_code and requisition_id.
+ #
+ # The maximum number of allowed characters is 255.
}</pre>
</div>
@@ -3531,6 +3531,143 @@
{ # Input only.
#
# The Request body of the `SearchJobs` call.
+ "requestMetadata": { # Input only. # Required. The meta information collected about the job searcher, used to improve the
+ # search quality of the service. The identifiers (such as `user_id`) are
+ # provided by users, and must be unique and consistent.
+ #
+ # Meta information related to the job searcher or entity
+ # conducting the job search. This information is used to improve the
+ # performance of the service.
+ "userId": "A String", # Required. A unique user identification string, as determined by the client.
+ # To have the strongest positive impact on search quality
+ # make sure the client-level is unique.
+ # Obfuscate this field for privacy concerns before
+ # providing it to the service.
+ #
+ # If this field is not available for some reason, send "UNKNOWN". Note
+ # that any improvements to the model for a particular tenant
+ # site, rely on this field being set correctly to a unique user_id.
+ #
+ # The maximum number of allowed characters is 255.
+ "sessionId": "A String", # Required. A unique session identification string. A session is defined as the
+ # duration of an end user's interaction with the service over a certain
+ # period.
+ # Obfuscate this field for privacy concerns before
+ # providing it to the service.
+ #
+ # If this field is not available for some reason, send "UNKNOWN". Note
+ # that any improvements to the model for a particular tenant
+ # site, rely on this field being set correctly to some unique session_id.
+ #
+ # The maximum number of allowed characters is 255.
+ "deviceInfo": { # Device information collected from the job seeker, candidate, or # Optional. The type of device used by the job seeker at the time of the call to the
+ # service.
+ # other entity conducting the job search. Providing this information improves
+ # the quality of the search results across devices.
+ "id": "A String", # Optional. A device-specific ID. The ID must be a unique identifier that
+ # distinguishes the device from other devices.
+ "deviceType": "A String", # Optional. Type of the device.
+ },
+ "domain": "A String", # Required. The client-defined scope or source of the service call, which typically
+ # is the domain on
+ # which the service has been implemented and is currently being run.
+ #
+ # For example, if the service is being run by client <em>Foo, Inc.</em>, on
+ # job board www.foo.com and career site www.bar.com, then this field is
+ # set to "foo.com" for use on the job board, and "bar.com" for use on the
+ # career site.
+ #
+ # If this field isn't available for some reason, send "UNKNOWN".
+ # Any improvements to the model for a particular tenant site rely on this
+ # field being set correctly to a domain.
+ #
+ # The maximum number of allowed characters is 255.
+ },
+ "offset": 42, # Optional. An integer that specifies the current offset (that is, starting result
+ # location, amongst the jobs deemed by the API as relevant) in search
+ # results. This field is only considered if page_token is unset.
+ #
+ # The maximum allowed value is 5000. Otherwise an error is thrown.
+ #
+ # For example, 0 means to return results starting from the first matching
+ # job, and 10 means to return from the 11th job. This can be used for
+ # pagination, (for example, pageSize = 10 and offset = 10 means to return
+ # from the second page).
+ "histogramFacets": { # Input only. # Optional. Histogram requests for jobs matching JobQuery.
+ #
+ # Histogram facets to be specified in SearchJobsRequest.
+ "customAttributeHistogramFacets": [ # Optional. Specifies the custom attributes histogram requests.
+ # Duplicate values of CustomAttributeHistogramRequest.key are not
+ # allowed.
+ { # Custom attributes histogram request. An error is thrown if neither
+ # string_value_histogram or long_value_histogram_bucketing_option has
+ # been defined.
+ "longValueHistogramBucketingOption": { # Input only. # Optional. Specifies buckets used to perform a range histogram on Job's
+ # filterable long custom field values, or min/max value requirements.
+ #
+ # Use this field to specify bucketing option for the histogram search response.
+ "requiresMinMax": True or False, # Optional. If set to true, the histogram result includes minimum/maximum
+ # value of the numeric field.
+ "bucketBounds": [ # Required. Two adjacent values form a histogram bucket. Values should be in
+ # ascending order. For example, if [5, 10, 15] are provided, four buckets are
+ # created: (-inf, 5), 5, 10), [10, 15), [15, inf). At most 20
+ # [buckets_bound is supported.
+ 3.14,
+ ],
+ },
+ "stringValueHistogram": True or False, # Optional. If set to true, the response includes the histogram value for
+ # each key as a string.
+ "key": "A String", # Required. Specifies the custom field key to perform a histogram on. If specified
+ # without `long_value_histogram_bucketing_option`, histogram on string values
+ # of the given `key` is triggered, otherwise histogram is performed on long
+ # values.
+ },
+ ],
+ "simpleHistogramFacets": [ # Optional. Specifies the simple type of histogram facets, for example,
+ # `COMPANY_SIZE`, `EMPLOYMENT_TYPE` etc.
+ "A String",
+ ],
+ "compensationHistogramFacets": [ # Optional. Specifies compensation field-based histogram requests.
+ # Duplicate values of CompensationHistogramRequest.type are not allowed.
+ { # Input only.
+ #
+ # Compensation based histogram request.
+ "type": "A String", # Required. Type of the request, representing which field the histogramming should be
+ # performed over. A single request can only specify one histogram of each
+ # `CompensationHistogramRequestType`.
+ "bucketingOption": { # Input only. # Required. Numeric histogram options, like buckets, whether include min or max value.
+ #
+ # Use this field to specify bucketing option for the histogram search response.
+ "requiresMinMax": True or False, # Optional. If set to true, the histogram result includes minimum/maximum
+ # value of the numeric field.
+ "bucketBounds": [ # Required. Two adjacent values form a histogram bucket. Values should be in
+ # ascending order. For example, if [5, 10, 15] are provided, four buckets are
+ # created: (-inf, 5), 5, 10), [10, 15), [15, inf). At most 20
+ # [buckets_bound is supported.
+ 3.14,
+ ],
+ },
+ },
+ ],
+ },
+ "requirePreciseResultSize": True or False, # Optional. Controls if the search job request requires the return of a precise
+ # count of the first 300 results. Setting this to `true` ensures
+ # consistency in the number of results per page. Best practice is to set this
+ # value to true if a client allows users to jump directly to a
+ # non-sequential search results page.
+ #
+ # Enabling this flag may adversely impact performance.
+ #
+ # Defaults to false.
+ "searchMode": "A String", # Optional. Mode of a search.
+ #
+ # Defaults to SearchMode.JOB_SEARCH.
+ "pageToken": "A String", # Optional. The token specifying the current offset within
+ # search results. See SearchJobsResponse.next_page_token for
+ # an explanation of how to obtain the next set of query results.
+ "pageSize": 42, # Optional. A limit on the number of jobs returned in the search results.
+ # Increasing this value above the default value of 10 can increase search
+ # response time. The value can be between 1 and 100.
"disableKeywordMatch": True or False, # Optional. Controls whether to disable exact keyword match on Job.job_title,
# Job.description, Job.company_display_name, Job.locations,
# Job.qualifications. When disable keyword match is turned off, a
@@ -3550,197 +3687,16 @@
# keyword match improves recall of subsequent search requests.
#
# Defaults to false.
+ "jobView": "A String", # Optional. The desired job attributes returned for jobs in the
+ # search response. Defaults to JobView.SMALL if no value is specified.
"enableBroadening": True or False, # Optional. Controls whether to broaden the search when it produces sparse results.
# Broadened queries append results to the end of the matching results
# list.
#
# Defaults to false.
- "offset": 42, # Optional. An integer that specifies the current offset (that is, starting result
- # location, amongst the jobs deemed by the API as relevant) in search
- # results. This field is only considered if page_token is unset.
- #
- # The maximum allowed value is 5000. Otherwise an error is thrown.
- #
- # For example, 0 means to return results starting from the first matching
- # job, and 10 means to return from the 11th job. This can be used for
- # pagination, (for example, pageSize = 10 and offset = 10 means to return
- # from the second page).
- "pageSize": 42, # Optional. A limit on the number of jobs returned in the search results.
- # Increasing this value above the default value of 10 can increase search
- # response time. The value can be between 1 and 100.
- "histogramFacets": { # Input only. # Optional. Histogram requests for jobs matching JobQuery.
- #
- # Histogram facets to be specified in SearchJobsRequest.
- "compensationHistogramFacets": [ # Optional. Specifies compensation field-based histogram requests.
- # Duplicate values of CompensationHistogramRequest.type are not allowed.
- { # Input only.
- #
- # Compensation based histogram request.
- "bucketingOption": { # Input only. # Required. Numeric histogram options, like buckets, whether include min or max value.
- #
- # Use this field to specify bucketing option for the histogram search response.
- "bucketBounds": [ # Required. Two adjacent values form a histogram bucket. Values should be in
- # ascending order. For example, if [5, 10, 15] are provided, four buckets are
- # created: (-inf, 5), 5, 10), [10, 15), [15, inf). At most 20
- # [buckets_bound is supported.
- 3.14,
- ],
- "requiresMinMax": True or False, # Optional. If set to true, the histogram result includes minimum/maximum
- # value of the numeric field.
- },
- "type": "A String", # Required. Type of the request, representing which field the histogramming should be
- # performed over. A single request can only specify one histogram of each
- # `CompensationHistogramRequestType`.
- },
- ],
- "customAttributeHistogramFacets": [ # Optional. Specifies the custom attributes histogram requests.
- # Duplicate values of CustomAttributeHistogramRequest.key are not
- # allowed.
- { # Custom attributes histogram request. An error is thrown if neither
- # string_value_histogram or long_value_histogram_bucketing_option has
- # been defined.
- "longValueHistogramBucketingOption": { # Input only. # Optional. Specifies buckets used to perform a range histogram on Job's
- # filterable long custom field values, or min/max value requirements.
- #
- # Use this field to specify bucketing option for the histogram search response.
- "bucketBounds": [ # Required. Two adjacent values form a histogram bucket. Values should be in
- # ascending order. For example, if [5, 10, 15] are provided, four buckets are
- # created: (-inf, 5), 5, 10), [10, 15), [15, inf). At most 20
- # [buckets_bound is supported.
- 3.14,
- ],
- "requiresMinMax": True or False, # Optional. If set to true, the histogram result includes minimum/maximum
- # value of the numeric field.
- },
- "key": "A String", # Required. Specifies the custom field key to perform a histogram on. If specified
- # without `long_value_histogram_bucketing_option`, histogram on string values
- # of the given `key` is triggered, otherwise histogram is performed on long
- # values.
- "stringValueHistogram": True or False, # Optional. If set to true, the response includes the histogram value for
- # each key as a string.
- },
- ],
- "simpleHistogramFacets": [ # Optional. Specifies the simple type of histogram facets, for example,
- # `COMPANY_SIZE`, `EMPLOYMENT_TYPE` etc.
- "A String",
- ],
- },
- "orderBy": "A String", # Optional. The criteria determining how search results are sorted. Default is
- # "relevance desc".
- #
- # Supported options are:
- #
- # * `"relevance desc"`: By relevance descending, as determined by the API
- # algorithms. Relevance thresholding of query results is only available
- # with this ordering.
- # * `"posting_publish_time desc"`: By Job.posting_publish_time
- # descending.
- # * `"posting_update_time desc"`: By Job.posting_update_time
- # descending.
- # * `"title"`: By Job.title ascending.
- # * `"title desc"`: By Job.title descending.
- # * `"annualized_base_compensation"`: By job's
- # CompensationInfo.annualized_base_compensation_range ascending. Jobs
- # whose annualized base compensation is unspecified are put at the end of
- # search results.
- # * `"annualized_base_compensation desc"`: By job's
- # CompensationInfo.annualized_base_compensation_range descending. Jobs
- # whose annualized base compensation is unspecified are put at the end of
- # search results.
- # * `"annualized_total_compensation"`: By job's
- # CompensationInfo.annualized_total_compensation_range ascending. Jobs
- # whose annualized base compensation is unspecified are put at the end of
- # search results.
- # * `"annualized_total_compensation desc"`: By job's
- # CompensationInfo.annualized_total_compensation_range descending. Jobs
- # whose annualized base compensation is unspecified are put at the end of
- # search results.
"jobQuery": { # Input only. # Optional. Query used to search against jobs, such as keyword, location filters, etc.
#
# The query required to perform a search query.
- "customAttributeFilter": "A String", # Optional. This filter specifies a structured syntax to match against the
- # Job.custom_attributes marked as `filterable`.
- #
- # The syntax for this expression is a subset of SQL syntax.
- #
- # Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the
- # left of the operator is a custom field key and the right of the operator
- # is a number or a quoted string. You must escape backslash (\\) and
- # quote (\") characters.
- #
- # Supported functions are `LOWER([field_name])` to
- # perform a case insensitive match and `EMPTY([field_name])` to filter on the
- # existence of a key.
- #
- # Boolean expressions (AND/OR/NOT) are supported up to 3 levels of
- # nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100
- # comparisons or functions are allowed in the expression. The expression
- # must be < 6000 bytes in length.
- #
- # Sample Query:
- # `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND
- # driving_years > 10`
- "publishTimeRange": { # Message representing a period of time between two timestamps. # Optional. Jobs published within a range specified by this filter are searched
- # against.
- "startTime": "A String", # Begin of the period.
- "endTime": "A String", # End of the period.
- },
- "locationFilters": [ # Optional. The location filter specifies geo-regions containing the jobs to
- # search against. See LocationFilter for more information.
- #
- # If a location value isn't specified, jobs fitting the other search
- # criteria are retrieved regardless of where they're located.
- #
- # If multiple values are specified, jobs are retrieved from any of the
- # specified locations. If different values are specified for the
- # LocationFilter.distance_in_miles parameter, the maximum provided
- # distance is used for all locations.
- #
- # At most 5 location filters are allowed.
- { # Input only.
- #
- # Geographic region of the search.
- "regionCode": "A String", # Optional. CLDR region code of the country/region of the address. This is used
- # to address ambiguity of the user-input location, for example, "Liverpool"
- # against "Liverpool, NY, US" or "Liverpool, UK".
- #
- # Set this field if all the jobs to search against are from a same region,
- # or jobs are world-wide, but the job seeker is from a specific region.
- #
- # See http://cldr.unicode.org/ and
- # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
- # for details. Example: "CH" for Switzerland.
- "address": "A String", # Optional. The address name, such as "Mountain View" or "Bay Area".
- "distanceInMiles": 3.14, # Optional. The distance_in_miles is applied when the location being searched for is
- # identified as a city or smaller. When the location being searched for is a
- # state or larger, this field is ignored.
- "telecommutePreference": "A String", # Optional. Allows the client to return jobs without a
- # set location, specifically, telecommuting jobs (telecommuting is considered
- # by the service as a special location.
- # Job.posting_region indicates if a job permits telecommuting.
- # If this field is set to TelecommutePreference.TELECOMMUTE_ALLOWED,
- # telecommuting jobs are searched, and address and lat_lng are
- # ignored. If not set or set to
- # TelecommutePreference.TELECOMMUTE_EXCLUDED, telecommute job are not
- # searched.
- #
- # This filter can be used by itself to search exclusively for telecommuting
- # jobs, or it can be combined with another location
- # filter to search for a combination of job locations,
- # such as "Mountain View" or "telecommuting" jobs. However, when used in
- # combination with other location filters, telecommuting jobs can be
- # treated as less relevant than other jobs in the search response.
- "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # Optional. The latitude and longitude of the geographic center from which to
- # search. This field's ignored if `address` is provided.
- # of doubles representing degrees latitude and degrees longitude. Unless
- # specified otherwise, this must conform to the
- # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
- # standard</a>. Values must be within normalized ranges.
- "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
- "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
- },
- },
- ],
"commuteFilter": { # Input only. # Optional. Allows filtering jobs by commute time with different travel methods (for
# example, driving or public transit). Note: This only works with COMMUTE
# MODE. When specified, [JobQuery.location_filters] is
@@ -3749,6 +3705,7 @@
# Currently we don't support sorting by commute time.
#
# Parameters needed for commute search.
+ "commuteMethod": "A String", # Required. The method of transportation for which to calculate the commute time.
"travelDuration": "A String", # Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
# (one hour). Format is `123s`.
"startCoordinates": { # An object representing a latitude/longitude pair. This is expressed as a pair # Required. The latitude and longitude of the location from which to calculate the
@@ -3760,8 +3717,20 @@
"longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
"latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
},
- "commuteMethod": "A String", # Required. The method of transportation for which to calculate the commute time.
"roadTraffic": "A String", # Optional. Specifies the traffic density to use when calculating commute time.
+ "departureTime": { # Represents a time of day. The date and time zone are either not significant # Optional. The departure time used to calculate traffic impact, represented as
+ # google.type.TimeOfDay in local time zone.
+ #
+ # Currently traffic model is restricted to hour level resolution.
+ # or are specified elsewhere. An API may choose to allow leap seconds. Related
+ # types are google.type.Date and `google.protobuf.Timestamp`.
+ "seconds": 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
+ # allow the value 60 if it allows leap-seconds.
+ "minutes": 42, # Minutes of hour of day. Must be from 0 to 59.
+ "hours": 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
+ # to allow the value "24:00:00" for scenarios like business closing time.
+ "nanos": 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
+ },
"allowImpreciseAddresses": True or False, # Optional. If true, jobs without "precise" addresses (street level addresses or GPS
# coordinates) might also be returned. For city and coarser level addresses,
# text matching is used. If this field is set to false or is not specified,
@@ -3772,99 +3741,7 @@
# able to calculate accurate commute times to jobs with city level and
# coarser address information. Jobs with imprecise addresses will return a
# `travel_duration` time of 0 regardless of distance from the job seeker.
- "departureTime": { # Represents a time of day. The date and time zone are either not significant # Optional. The departure time used to calculate traffic impact, represented as
- # google.type.TimeOfDay in local time zone.
- #
- # Currently traffic model is restricted to hour level resolution.
- # or are specified elsewhere. An API may choose to allow leap seconds. Related
- # types are google.type.Date and `google.protobuf.Timestamp`.
- "hours": 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
- # to allow the value "24:00:00" for scenarios like business closing time.
- "nanos": 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
- "seconds": 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
- # allow the value 60 if it allows leap-seconds.
- "minutes": 42, # Minutes of hour of day. Must be from 0 to 59.
- },
},
- "languageCodes": [ # Optional. This filter specifies the locale of jobs to search against,
- # for example, "en-US".
- #
- # If a value isn't specified, the search results can contain jobs in any
- # locale.
- #
- #
- # Language codes should be in BCP-47 format, such as "en-US" or "sr-Latn".
- # For more information, see
- # [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
- #
- # At most 10 language code filters are allowed.
- "A String",
- ],
- "query": "A String", # Optional. The query string that matches against the job title, description, and
- # location fields.
- #
- # The maximum number of allowed characters is 255.
- "compensationFilter": { # Input only. # Optional. This search filter is applied only to
- # Job.compensation_info. For example, if the filter is specified
- # as "Hourly job with per-hour compensation > $15", only jobs meeting
- # these criteria are searched. If a filter isn't defined, all open jobs
- # are searched.
- #
- # Filter on job compensation type and amount.
- "range": { # Compensation range. # Optional. Compensation range.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- "type": "A String", # Required. Type of filter.
- "includeJobsWithUnspecifiedCompensationRange": True or False, # Optional. If set to true, jobs with unspecified compensation range fields are
- # included.
- "units": [ # Required. Specify desired `base compensation entry's`
- # CompensationInfo.CompensationUnit.
- "A String",
- ],
- },
- "disableSpellCheck": True or False, # Optional. This flag controls the spell-check feature. If false, the
- # service attempts to correct a misspelled query,
- # for example, "enginee" is corrected to "engineer".
- #
- # Defaults to false: a spell check is performed.
- "companyDisplayNames": [ # Optional. This filter specifies the exact company display
- # name of the jobs to search against.
- #
- # If a value isn't specified, jobs within the search results are
- # associated with any company.
- #
- # If multiple values are specified, jobs within the search results may be
- # associated with any of the specified companies.
- #
- # At most 20 company display name filters are allowed.
- "A String",
- ],
"jobCategories": [ # Optional. The category filter specifies the categories of jobs to search against.
# See Category for more information.
#
@@ -3897,6 +3774,47 @@
# Language code should be in BCP-47 format, such as "en-US" or "sr-Latn".
# For more information, see
# [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
+ "customAttributeFilter": "A String", # Optional. This filter specifies a structured syntax to match against the
+ # Job.custom_attributes marked as `filterable`.
+ #
+ # The syntax for this expression is a subset of SQL syntax.
+ #
+ # Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the
+ # left of the operator is a custom field key and the right of the operator
+ # is a number or a quoted string. You must escape backslash (\\) and
+ # quote (\") characters.
+ #
+ # Supported functions are `LOWER([field_name])` to
+ # perform a case insensitive match and `EMPTY([field_name])` to filter on the
+ # existence of a key.
+ #
+ # Boolean expressions (AND/OR/NOT) are supported up to 3 levels of
+ # nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100
+ # comparisons or functions are allowed in the expression. The expression
+ # must be < 6000 bytes in length.
+ #
+ # Sample Query:
+ # `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND
+ # driving_years > 10`
+ "publishTimeRange": { # Message representing a period of time between two timestamps. # Optional. Jobs published within a range specified by this filter are searched
+ # against.
+ "endTime": "A String", # End of the period.
+ "startTime": "A String", # Begin of the period.
+ },
+ "languageCodes": [ # Optional. This filter specifies the locale of jobs to search against,
+ # for example, "en-US".
+ #
+ # If a value isn't specified, the search results can contain jobs in any
+ # locale.
+ #
+ #
+ # Language codes should be in BCP-47 format, such as "en-US" or "sr-Latn".
+ # For more information, see
+ # [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
+ #
+ # At most 10 language code filters are allowed.
+ "A String",
+ ],
"employmentTypes": [ # Optional. The employment type filter specifies the employment type of jobs to
# search against, such as EmploymentType.FULL_TIME.
#
@@ -3907,21 +3825,158 @@
# any of the specified employment types.
"A String",
],
+ "query": "A String", # Optional. The query string that matches against the job title, description, and
+ # location fields.
+ #
+ # The maximum number of allowed characters is 255.
+ "disableSpellCheck": True or False, # Optional. This flag controls the spell-check feature. If false, the
+ # service attempts to correct a misspelled query,
+ # for example, "enginee" is corrected to "engineer".
+ #
+ # Defaults to false: a spell check is performed.
+ "companyDisplayNames": [ # Optional. This filter specifies the exact company display
+ # name of the jobs to search against.
+ #
+ # If a value isn't specified, jobs within the search results are
+ # associated with any company.
+ #
+ # If multiple values are specified, jobs within the search results may be
+ # associated with any of the specified companies.
+ #
+ # At most 20 company display name filters are allowed.
+ "A String",
+ ],
+ "locationFilters": [ # Optional. The location filter specifies geo-regions containing the jobs to
+ # search against. See LocationFilter for more information.
+ #
+ # If a location value isn't specified, jobs fitting the other search
+ # criteria are retrieved regardless of where they're located.
+ #
+ # If multiple values are specified, jobs are retrieved from any of the
+ # specified locations. If different values are specified for the
+ # LocationFilter.distance_in_miles parameter, the maximum provided
+ # distance is used for all locations.
+ #
+ # At most 5 location filters are allowed.
+ { # Input only.
+ #
+ # Geographic region of the search.
+ "telecommutePreference": "A String", # Optional. Allows the client to return jobs without a
+ # set location, specifically, telecommuting jobs (telecommuting is considered
+ # by the service as a special location.
+ # Job.posting_region indicates if a job permits telecommuting.
+ # If this field is set to TelecommutePreference.TELECOMMUTE_ALLOWED,
+ # telecommuting jobs are searched, and address and lat_lng are
+ # ignored. If not set or set to
+ # TelecommutePreference.TELECOMMUTE_EXCLUDED, telecommute job are not
+ # searched.
+ #
+ # This filter can be used by itself to search exclusively for telecommuting
+ # jobs, or it can be combined with another location
+ # filter to search for a combination of job locations,
+ # such as "Mountain View" or "telecommuting" jobs. However, when used in
+ # combination with other location filters, telecommuting jobs can be
+ # treated as less relevant than other jobs in the search response.
+ "distanceInMiles": 3.14, # Optional. The distance_in_miles is applied when the location being searched for is
+ # identified as a city or smaller. When the location being searched for is a
+ # state or larger, this field is ignored.
+ "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # Optional. The latitude and longitude of the geographic center from which to
+ # search. This field's ignored if `address` is provided.
+ # of doubles representing degrees latitude and degrees longitude. Unless
+ # specified otherwise, this must conform to the
+ # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
+ # standard</a>. Values must be within normalized ranges.
+ "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+ "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+ },
+ "regionCode": "A String", # Optional. CLDR region code of the country/region of the address. This is used
+ # to address ambiguity of the user-input location, for example, "Liverpool"
+ # against "Liverpool, NY, US" or "Liverpool, UK".
+ #
+ # Set this field if all the jobs to search against are from a same region,
+ # or jobs are world-wide, but the job seeker is from a specific region.
+ #
+ # See http://cldr.unicode.org/ and
+ # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
+ # for details. Example: "CH" for Switzerland.
+ "address": "A String", # Optional. The address name, such as "Mountain View" or "Bay Area".
+ },
+ ],
+ "compensationFilter": { # Input only. # Optional. This search filter is applied only to
+ # Job.compensation_info. For example, if the filter is specified
+ # as "Hourly job with per-hour compensation > $15", only jobs meeting
+ # these criteria are searched. If a filter isn't defined, all open jobs
+ # are searched.
+ #
+ # Filter on job compensation type and amount.
+ "includeJobsWithUnspecifiedCompensationRange": True or False, # Optional. If set to true, jobs with unspecified compensation range fields are
+ # included.
+ "type": "A String", # Required. Type of filter.
+ "units": [ # Required. Specify desired `base compensation entry's`
+ # CompensationInfo.CompensationUnit.
+ "A String",
+ ],
+ "range": { # Compensation range. # Optional. Compensation range.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ },
},
- "jobView": "A String", # Optional. The desired job attributes returned for jobs in the
- # search response. Defaults to JobView.SMALL if no value is specified.
- "requirePreciseResultSize": True or False, # Optional. Controls if the search job request requires the return of a precise
- # count of the first 300 results. Setting this to `true` ensures
- # consistency in the number of results per page. Best practice is to set this
- # value to true if a client allows users to jump directly to a
- # non-sequential search results page.
+ "orderBy": "A String", # Optional. The criteria determining how search results are sorted. Default is
+ # "relevance desc".
#
- # Enabling this flag may adversely impact performance.
+ # Supported options are:
#
- # Defaults to false.
- "pageToken": "A String", # Optional. The token specifying the current offset within
- # search results. See SearchJobsResponse.next_page_token for
- # an explanation of how to obtain the next set of query results.
+ # * `"relevance desc"`: By relevance descending, as determined by the API
+ # algorithms. Relevance thresholding of query results is only available
+ # with this ordering.
+ # * `"posting_publish_time desc"`: By Job.posting_publish_time
+ # descending.
+ # * `"posting_update_time desc"`: By Job.posting_update_time
+ # descending.
+ # * `"title"`: By Job.title ascending.
+ # * `"title desc"`: By Job.title descending.
+ # * `"annualized_base_compensation"`: By job's
+ # CompensationInfo.annualized_base_compensation_range ascending. Jobs
+ # whose annualized base compensation is unspecified are put at the end of
+ # search results.
+ # * `"annualized_base_compensation desc"`: By job's
+ # CompensationInfo.annualized_base_compensation_range descending. Jobs
+ # whose annualized base compensation is unspecified are put at the end of
+ # search results.
+ # * `"annualized_total_compensation"`: By job's
+ # CompensationInfo.annualized_total_compensation_range ascending. Jobs
+ # whose annualized base compensation is unspecified are put at the end of
+ # search results.
+ # * `"annualized_total_compensation desc"`: By job's
+ # CompensationInfo.annualized_total_compensation_range descending. Jobs
+ # whose annualized base compensation is unspecified are put at the end of
+ # search results.
"diversificationLevel": "A String", # Optional. Controls whether highly similar jobs are returned next to each other in
# the search results. Jobs are identified as highly similar based on
# their titles, job categories, and locations. Highly similar results are
@@ -3931,61 +3986,6 @@
#
# Defaults to DiversificationLevel.SIMPLE if no value
# is specified.
- "searchMode": "A String", # Optional. Mode of a search.
- #
- # Defaults to SearchMode.JOB_SEARCH.
- "requestMetadata": { # Input only. # Required. The meta information collected about the job searcher, used to improve the
- # search quality of the service. The identifiers (such as `user_id`) are
- # provided by users, and must be unique and consistent.
- #
- # Meta information related to the job searcher or entity
- # conducting the job search. This information is used to improve the
- # performance of the service.
- "deviceInfo": { # Device information collected from the job seeker, candidate, or # Optional. The type of device used by the job seeker at the time of the call to the
- # service.
- # other entity conducting the job search. Providing this information improves
- # the quality of the search results across devices.
- "deviceType": "A String", # Optional. Type of the device.
- "id": "A String", # Optional. A device-specific ID. The ID must be a unique identifier that
- # distinguishes the device from other devices.
- },
- "sessionId": "A String", # Required. A unique session identification string. A session is defined as the
- # duration of an end user's interaction with the service over a certain
- # period.
- # Obfuscate this field for privacy concerns before
- # providing it to the service.
- #
- # If this field is not available for some reason, send "UNKNOWN". Note
- # that any improvements to the model for a particular tenant
- # site, rely on this field being set correctly to some unique session_id.
- #
- # The maximum number of allowed characters is 255.
- "domain": "A String", # Required. The client-defined scope or source of the service call, which typically
- # is the domain on
- # which the service has been implemented and is currently being run.
- #
- # For example, if the service is being run by client <em>Foo, Inc.</em>, on
- # job board www.foo.com and career site www.bar.com, then this field is
- # set to "foo.com" for use on the job board, and "bar.com" for use on the
- # career site.
- #
- # If this field isn't available for some reason, send "UNKNOWN".
- # Any improvements to the model for a particular tenant site rely on this
- # field being set correctly to a domain.
- #
- # The maximum number of allowed characters is 255.
- "userId": "A String", # Required. A unique user identification string, as determined by the client.
- # To have the strongest positive impact on search quality
- # make sure the client-level is unique.
- # Obfuscate this field for privacy concerns before
- # providing it to the service.
- #
- # If this field is not available for some reason, send "UNKNOWN". Note
- # that any improvements to the model for a particular tenant
- # site, rely on this field being set correctly to a unique user_id.
- #
- # The maximum number of allowed characters is 255.
- },
}
x__xgafv: string, V1 error format.
@@ -3999,492 +3999,33 @@
{ # Output only.
#
# Response for SearchJob method.
- "metadata": { # Output only. # Additional information for the API invocation, such as the request
- # tracking id.
- #
- # Additional information returned to client, such as debugging information.
- "requestId": "A String", # A unique id associated with this call.
- # This id is logged for tracking purposes.
- },
- "histogramResults": { # Output only. # The histogram results that match specified
- # SearchJobsRequest.histogram_facets.
- #
- # Histogram results that match HistogramFacets specified in
- # SearchJobsRequest.
- "compensationHistogramResults": [ # Specifies compensation field-based histogram results that match
- # HistogramFacets.compensation_histogram_requests.
- { # Output only.
- #
- # Compensation based histogram result.
- "result": { # Output only. # Histogram result.
- #
- # Custom numeric bucketing result.
- "counts": [ # Count within each bucket. Its size is the length of
- # NumericBucketingOption.bucket_bounds plus 1.
- { # Represents count of jobs within one bucket.
- "range": { # Represents starting and ending value of a range in double. # Bucket range on which histogram was performed for the numeric field,
- # that is, the count represents number of jobs in this range.
- "to": 3.14, # Ending value of the bucket range.
- "from": 3.14, # Starting value of the bucket range.
- },
- "count": 42, # Number of jobs whose numeric field value fall into `range`.
- },
- ],
- "minValue": 3.14, # Stores the minimum value of the numeric field. Will be populated only if
- # [NumericBucketingOption.requires_min_max] is set to true.
- "maxValue": 3.14, # Stores the maximum value of the numeric field. Is populated only if
- # [NumericBucketingOption.requires_min_max] is set to true.
- },
- "type": "A String", # Type of the request, corresponding to
- # CompensationHistogramRequest.type.
- },
- ],
- "customAttributeHistogramResults": [ # Specifies histogram results for custom attributes that match
- # HistogramFacets.custom_attribute_histogram_facets.
- { # Output only.
- #
- # Custom attribute histogram result.
- "longValueHistogramResult": { # Output only. # Stores bucketed histogram counting result or min/max values for
- # custom attribute long values associated with `key`.
- #
- # Custom numeric bucketing result.
- "counts": [ # Count within each bucket. Its size is the length of
- # NumericBucketingOption.bucket_bounds plus 1.
- { # Represents count of jobs within one bucket.
- "range": { # Represents starting and ending value of a range in double. # Bucket range on which histogram was performed for the numeric field,
- # that is, the count represents number of jobs in this range.
- "to": 3.14, # Ending value of the bucket range.
- "from": 3.14, # Starting value of the bucket range.
- },
- "count": 42, # Number of jobs whose numeric field value fall into `range`.
- },
- ],
- "minValue": 3.14, # Stores the minimum value of the numeric field. Will be populated only if
- # [NumericBucketingOption.requires_min_max] is set to true.
- "maxValue": 3.14, # Stores the maximum value of the numeric field. Is populated only if
- # [NumericBucketingOption.requires_min_max] is set to true.
- },
- "stringValueHistogramResult": { # Stores a map from the values of string custom field associated
- # with `key` to the number of jobs with that value in this histogram result.
- "a_key": 42,
- },
- "key": "A String", # Stores the key of custom attribute the histogram is performed on.
- },
- ],
- "simpleHistogramResults": [ # Specifies histogram results that matches
- # HistogramFacets.simple_histogram_facets.
- { # Output only.
- #
- # Result of a histogram call. The response contains the histogram map for the
- # search type specified by HistogramResult.field.
- # The response is a map of each filter value to the corresponding count of
- # jobs for that filter.
- "values": { # A map from the values of field to the number of jobs with that value
- # in this search result.
- #
- # Key: search type (filter names, such as the companyName).
- #
- # Values: the count of jobs that match the filter for this search.
- "a_key": 42,
- },
- "searchType": "A String", # The Histogram search filters.
- },
- ],
- },
"matchingJobs": [ # The Job entities that match the specified SearchJobsRequest.
{ # Output only.
#
# Job entry with metadata inside SearchJobsResponse.
+ "searchTextSnippet": "A String", # Contains snippets of text from the Job.description and similar
+ # fields that most closely match a search query's keywords, if available.
+ # All HTML tags in the original fields are stripped when returned in this
+ # field, and matching query keywords are enclosed in HTML bold tags.
+ "jobSummary": "A String", # A summary of the job with core information that's displayed on the search
+ # results listing page.
"job": { # A Job resource represents a job posting (also referred to as a "job listing" # Job resource that matches the specified SearchJobsRequest.
# or "job requisition"). A job belongs to a Company, which is the hiring
# entity responsible for the job.
- "name": "A String", # Required during job update.
- #
- # The resource name for the job. This is generated by the service when a
- # job is created.
- #
- # The format is "projects/{project_id}/jobs/{job_id}",
- # for example, "projects/api-test-project/jobs/1234".
- #
- # Use of this field in job queries and API calls is preferred over the use of
- # requisition_id since this value is unique.
- "jobBenefits": [ # Optional. The benefits included with the job.
- "A String",
- ],
- "promotionValue": 42, # Optional. A promotion value of the job, as determined by the client.
- # The value determines the sort order of the jobs returned when searching for
- # jobs using the featured jobs search call, with higher promotional values
- # being returned first and ties being resolved by relevance sort. Only the
- # jobs with a promotionValue >0 are returned in a FEATURED_JOB_SEARCH.
- #
- # Default value is 0, and negative values are treated as 0.
- "title": "A String", # Required. The title of the job, such as "Software Engineer"
- #
- # The maximum number of allowed characters is 500.
- "companyDisplayName": "A String", # Output only. Display name of the company listing the job.
- "qualifications": "A String", # Optional. A description of the qualifications required to perform the
- # job. The use of this field is recommended
- # as an alternative to using the more general description field.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 10,000.
- "requisitionId": "A String", # Required. The requisition ID, also referred to as the posting ID, assigned by the
- # client to identify a job. This field is intended to be used by clients
- # for client identification and tracking of postings. A job is not allowed
- # to be created if there is another job with the same [company_name],
- # language_code and requisition_id.
- #
- # The maximum number of allowed characters is 255.
- "processingOptions": { # Input only. # Optional. Options for job processing.
- #
- # Options for job processing.
- "disableStreetAddressResolution": True or False, # Optional. If set to `true`, the service does not attempt to resolve a
- # more precise address for the job.
- "htmlSanitization": "A String", # Optional. Option for job HTML content sanitization. Applied fields are:
- #
- # * description
- # * applicationInfo.instruction
- # * incentives
- # * qualifications
- # * responsibilities
- #
- # HTML tags in these fields may be stripped if sanitiazation is not
- # disabled.
- #
- # Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.
- },
- "jobEndTime": "A String", # Optional. The end timestamp of the job. Typically this field is used for contracting
- # engagements. Invalid timestamps are ignored.
- "derivedInfo": { # Output only. # Output only. Derived details about the job posting.
- #
- # Derived details about the job posting.
- "locations": [ # Structured locations of the job, resolved from Job.addresses.
- #
- # locations are exactly matched to Job.addresses in the same
- # order.
- { # Output only.
- #
- # A resource that represents a location with full geographic information.
- "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the
- # location bounding box in which a circle with the specified radius
- # centered from LatLng covers the area associated with the job location.
- # For example, currently, "Mountain View, CA, USA" has a radius of
- # 6.17 miles.
- "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair.
- # of doubles representing degrees latitude and degrees longitude. Unless
- # specified otherwise, this must conform to the
- # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
- # standard</a>. Values must be within normalized ranges.
- "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
- "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
- },
- "postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information,
- # such as postal delivery and payments addresses. Given a postal address,
- # a postal service can deliver items to a premises, P.O. Box, or other
- # delivery location.
- # Given a postal address, a postal service can deliver items to a premise, P.O.
- # Box or similar.
- # It is not intended to model geographical locations (roads, towns,
- # mountains).
- #
- # In typical usage an address would be created via user input or from importing
- # existing data, depending on the type of process.
- #
- # Advice on address input / editing:
- # - Use an i18n-ready address widget such as
- # https://github.com/google/libaddressinput)
- # - Users should not be presented with UI elements for input or editing of
- # fields outside countries where that field is used.
- #
- # For more guidance on how to use this schema, please see:
- # https://support.google.com/business/answer/6397478
- "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require
- # postal codes to be present, but where they are used, they may trigger
- # additional validation with other parts of the address (e.g. state/zip
- # validation in the U.S.A.).
- "languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if
- # known). This is often the UI language of the input form or is expected
- # to match one of the languages used in the address' country/region, or their
- # transliterated equivalents.
- # This can affect formatting in certain countries, but is not critical
- # to the correctness of the data and will never affect any validation or
- # other non-formatting related operations.
- #
- # If this value is not known, it should be omitted (rather than specifying a
- # possibly incorrect default).
- #
- # Examples: "zh-Hant", "ja", "ja-Latn", "en".
- "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used
- # in most regions. Where it is used, the value is either a string like
- # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
- # alone, representing the "sector code" (Jamaica), "delivery area indicator"
- # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
- "recipients": [ # Optional. The recipient at the address.
- # This field may, under certain circumstances, contain multiline information.
- # For example, it might contain "care of" information.
- "A String",
- ],
- "sublocality": "A String", # Optional. Sublocality of the address.
- # For example, this can be neighborhoods, boroughs, districts.
- "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is
- # the latest revision.
- #
- # All new revisions **must** be backward compatible with old revisions.
- "locality": "A String", # Optional. Generally refers to the city/town portion of the address.
- # Examples: US city, IT comune, UK post town.
- # In regions of the world where localities are not well defined or do not fit
- # into this structure well, leave locality empty and use address_lines.
- "administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal
- # addresses of a country or region.
- # For example, this can be a state, a province, an oblast, or a prefecture.
- # Specifically, for Spain this is the province and not the autonomous
- # community (e.g. "Barcelona" and not "Catalonia").
- # Many countries don't use an administrative area in postal addresses. E.g.
- # in Switzerland this should be left unpopulated.
- "organization": "A String", # Optional. The name of the organization at the address.
- "addressLines": [ # Unstructured address lines describing the lower levels of an address.
- #
- # Because values in address_lines do not have type information and may
- # sometimes contain multiple values in a single field (e.g.
- # "Austin, TX"), it is important that the line order is clear. The order of
- # address lines should be "envelope order" for the country/region of the
- # address. In places where this can vary (e.g. Japan), address_language is
- # used to make it explicit (e.g. "ja" for large-to-small ordering and
- # "ja-Latn" or "en" for small-to-large). This way, the most specific line of
- # an address can be selected based on the language.
- #
- # The minimum permitted structural representation of an address consists
- # of a region_code with all remaining information placed in the
- # address_lines. It would be possible to format such an address very
- # approximately without geocoding, but no semantic reasoning could be
- # made about any of the address components until it was at least
- # partially resolved.
- #
- # Creating an address only containing a region_code and address_lines, and
- # then geocoding is the recommended way to handle completely unstructured
- # addresses (as opposed to guessing which parts of the address should be
- # localities or administrative areas).
- "A String",
- ],
- "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This
- # is never inferred and it is up to the user to ensure the value is
- # correct. See http://cldr.unicode.org/ and
- # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
- # for details. Example: "CH" for Switzerland.
- },
- "locationType": "A String", # The type of a location, which corresponds to the address lines field of
- # PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
- # LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
- # LocationType#LOCALITY.
- },
- ],
- "jobCategories": [ # Job categories derived from Job.title and Job.description.
- "A String",
- ],
- },
- "incentives": "A String", # Optional. A description of bonus, commission, and other compensation
- # incentives associated with the job not including salary or pay.
- #
- # The maximum number of allowed characters is 10,000.
- "employmentTypes": [ # Optional. The employment type(s) of a job, for example,
- # full time or
- # part time.
- "A String",
- ],
- "postingCreateTime": "A String", # Output only. The timestamp when this job posting was created.
- "addresses": [ # Optional but strongly recommended for the best service experience.
- #
- # Location(s) where the employer is looking to hire for this job posting.
- #
- # Specifying the full street address(es) of the hiring location enables
- # better API results, especially job searches by commute time.
- #
- # At most 50 locations are allowed for best search performance. If a job has
- # more locations, it is suggested to split it into multiple jobs with unique
- # requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', etc.) as
- # multiple jobs with the same company_name, language_code and
- # requisition_id are not allowed. If the original requisition_id must
- # be preserved, a custom field should be used for storage. It is also
- # suggested to group the locations that close to each other in the same job
- # for better search experience.
- #
- # The maximum number of allowed characters is 500.
- "A String",
- ],
- "companyName": "A String", # Required. The resource name of the company listing the job, such as
- # "projects/api-test-project/companies/foo".
- "description": "A String", # Required. The description of the job, which typically includes a multi-paragraph
- # description of the company and related information. Separate fields are
- # provided on the job object for responsibilities,
- # qualifications, and other job characteristics. Use of
- # these separate job fields is recommended.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 100,000.
- "jobStartTime": "A String", # Optional. The start timestamp of the job in UTC time zone. Typically this field
- # is used for contracting engagements. Invalid timestamps are ignored.
- "degreeTypes": [ # Optional. The desired education degrees for the job, such as Bachelors, Masters.
- "A String",
- ],
- "compensationInfo": { # Job compensation details. # Optional. Job compensation information.
- "annualizedTotalCompensationRange": { # Compensation range. # Output only. Annualized total compensation range. Computed as
- # all compensation entries' CompensationEntry.compensation times
- # CompensationEntry.expected_units_per_year.
- #
- # See CompensationEntry for explanation on compensation annualization.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- "entries": [ # Optional. Job compensation information.
- #
- # At most one entry can be of type
- # CompensationInfo.CompensationType.BASE, which is
- # referred as ** base compensation entry ** for the job.
- { # A compensation entry that represents one component of compensation, such
- # as base pay, bonus, or other compensation type.
- #
- # Annualization: One compensation entry can be annualized if
- # - it contains valid amount or range.
- # - and its expected_units_per_year is set or can be derived.
- # Its annualized range is determined as (amount or range) times
- # expected_units_per_year.
- "amount": { # Represents an amount of money with its currency type. # Optional. Compensation amount.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "type": "A String", # Optional. Compensation type.
- #
- # Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED.
- "range": { # Compensation range. # Optional. Compensation range.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- "expectedUnitsPerYear": 3.14, # Optional. Expected number of units paid each year. If not specified, when
- # Job.employment_types is FULLTIME, a default value is inferred
- # based on unit. Default values:
- # - HOURLY: 2080
- # - DAILY: 260
- # - WEEKLY: 52
- # - MONTHLY: 12
- # - ANNUAL: 1
- "description": "A String", # Optional. Compensation description. For example, could
- # indicate equity terms or provide additional context to an estimated
- # bonus.
- "unit": "A String", # Optional. Frequency of the specified amount.
- #
- # Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
- },
- ],
- "annualizedBaseCompensationRange": { # Compensation range. # Output only. Annualized base compensation range. Computed as
- # base compensation entry's CompensationEntry.compensation times
- # CompensationEntry.expected_units_per_year.
- #
- # See CompensationEntry for explanation on compensation annualization.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- },
- "responsibilities": "A String", # Optional. A description of job responsibilities. The use of this field is
- # recommended as an alternative to using the more general description
- # field.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 10,000.
- "department": "A String", # Optional. The department or functional area within the company with the open
- # position.
- #
- # The maximum number of allowed characters is 255.
"applicationInfo": { # Application related details of a job posting. # Required. At least one field within ApplicationInfo must be specified.
#
# Job application information.
+ "instruction": "A String", # Optional but at least one of uris,
+ # emails or instruction must be
+ # specified.
+ #
+ # Use this field to provide instructions, such as "Mail your application
+ # to ...", that a candidate can follow to apply for the job.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 3,000.
"uris": [ # Optional but at least one of uris,
# emails or instruction must be
# specified.
@@ -4505,18 +4046,81 @@
# The maximum number of allowed characters for each entry is 255.
"A String",
],
- "instruction": "A String", # Optional but at least one of uris,
- # emails or instruction must be
- # specified.
- #
- # Use this field to provide instructions, such as "Mail your application
- # to ...", that a candidate can follow to apply for the job.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 3,000.
},
+ "responsibilities": "A String", # Optional. A description of job responsibilities. The use of this field is
+ # recommended as an alternative to using the more general description
+ # field.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 10,000.
+ "companyName": "A String", # Required. The resource name of the company listing the job, such as
+ # "projects/api-test-project/companies/foo".
+ "promotionValue": 42, # Optional. A promotion value of the job, as determined by the client.
+ # The value determines the sort order of the jobs returned when searching for
+ # jobs using the featured jobs search call, with higher promotional values
+ # being returned first and ties being resolved by relevance sort. Only the
+ # jobs with a promotionValue >0 are returned in a FEATURED_JOB_SEARCH.
+ #
+ # Default value is 0, and negative values are treated as 0.
+ "degreeTypes": [ # Optional. The desired education degrees for the job, such as Bachelors, Masters.
+ "A String",
+ ],
+ "description": "A String", # Required. The description of the job, which typically includes a multi-paragraph
+ # description of the company and related information. Separate fields are
+ # provided on the job object for responsibilities,
+ # qualifications, and other job characteristics. Use of
+ # these separate job fields is recommended.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 100,000.
+ "title": "A String", # Required. The title of the job, such as "Software Engineer"
+ #
+ # The maximum number of allowed characters is 500.
+ "postingPublishTime": "A String", # Optional. The timestamp this job posting was most recently published. The default
+ # value is the time the request arrives at the server. Invalid timestamps are
+ # ignored.
+ "postingCreateTime": "A String", # Output only. The timestamp when this job posting was created.
+ "incentives": "A String", # Optional. A description of bonus, commission, and other compensation
+ # incentives associated with the job not including salary or pay.
+ #
+ # The maximum number of allowed characters is 10,000.
+ "jobEndTime": "A String", # Optional. The end timestamp of the job. Typically this field is used for contracting
+ # engagements. Invalid timestamps are ignored.
+ "addresses": [ # Optional but strongly recommended for the best service experience.
+ #
+ # Location(s) where the employer is looking to hire for this job posting.
+ #
+ # Specifying the full street address(es) of the hiring location enables
+ # better API results, especially job searches by commute time.
+ #
+ # At most 50 locations are allowed for best search performance. If a job has
+ # more locations, it is suggested to split it into multiple jobs with unique
+ # requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', etc.) as
+ # multiple jobs with the same company_name, language_code and
+ # requisition_id are not allowed. If the original requisition_id must
+ # be preserved, a custom field should be used for storage. It is also
+ # suggested to group the locations that close to each other in the same job
+ # for better search experience.
+ #
+ # The maximum number of allowed characters is 500.
+ "A String",
+ ],
+ "jobLevel": "A String", # Optional. The experience level associated with the job, such as "Entry Level".
+ "jobBenefits": [ # Optional. The benefits included with the job.
+ "A String",
+ ],
+ "qualifications": "A String", # Optional. A description of the qualifications required to perform the
+ # job. The use of this field is recommended
+ # as an alternative to using the more general description field.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 10,000.
"postingRegion": "A String", # Optional. The job PostingRegion (for example, state, country) throughout which
# the job is available. If this field is set, a
# LocationFilter in a search query within the job region
@@ -4524,6 +4128,54 @@
# If this field is set to PostingRegion.NATION or
# PostingRegion.ADMINISTRATIVE_AREA, setting job Job.addresses
# to the same location level as this field is strongly recommended.
+ "customAttributes": { # Optional. A map of fields to hold both filterable and non-filterable custom job
+ # attributes that are not covered by the provided structured fields.
+ #
+ # The keys of the map are strings up to 64 bytes and must match the
+ # pattern: a-zA-Z*. For example, key0LikeThis or
+ # KEY_1_LIKE_THIS.
+ #
+ # At most 100 filterable and at most 100 unfilterable keys are supported.
+ # For filterable `string_values`, across all keys at most 200 values are
+ # allowed, with each string no more than 255 characters. For unfilterable
+ # `string_values`, the maximum total size of `string_values` across all keys
+ # is 50KB.
+ "a_key": { # Custom attribute values that are either filterable or non-filterable.
+ "filterable": True or False, # Optional. If the `filterable` flag is true, the custom field values may be used for
+ # custom attribute filters JobQuery.custom_attribute_filter.
+ # If false, these values may not be used for custom attribute filters.
+ #
+ # Default is false.
+ "stringValues": [ # Optional but exactly one of string_values or long_values must
+ # be specified.
+ #
+ # This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
+ # `CASE_INSENSITIVE_MATCH`) search.
+ # For filterable `string_value`s, a maximum total number of 200 values
+ # is allowed, with each `string_value` has a byte size of no more than
+ # 500B. For unfilterable `string_values`, the maximum total byte size of
+ # unfilterable `string_values` is 50KB.
+ #
+ # Empty string is not allowed.
+ "A String",
+ ],
+ "longValues": [ # Optional but exactly one of string_values or long_values must
+ # be specified.
+ #
+ # This field is used to perform number range search.
+ # (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
+ #
+ # Currently at most 1 long_values is supported.
+ "A String",
+ ],
+ },
+ },
+ "postingUpdateTime": "A String", # Output only. The timestamp when this job posting was last updated.
+ "employmentTypes": [ # Optional. The employment type(s) of a job, for example,
+ # full time or
+ # part time.
+ "A String",
+ ],
"postingExpireTime": "A String", # Optional but strongly recommended for the best service
# experience.
#
@@ -4557,52 +4209,163 @@
# expiry_time, or the masks are empty meaning that every field is
# updated, the job posting expires after 30 days from the job's last
# update time. Otherwise the expiration date isn't updated.
- "postingPublishTime": "A String", # Optional. The timestamp this job posting was most recently published. The default
- # value is the time the request arrives at the server. Invalid timestamps are
- # ignored.
- "customAttributes": { # Optional. A map of fields to hold both filterable and non-filterable custom job
- # attributes that are not covered by the provided structured fields.
+ "department": "A String", # Optional. The department or functional area within the company with the open
+ # position.
#
- # The keys of the map are strings up to 64 bytes and must match the
- # pattern: a-zA-Z*. For example, key0LikeThis or
- # KEY_1_LIKE_THIS.
+ # The maximum number of allowed characters is 255.
+ "derivedInfo": { # Output only. # Output only. Derived details about the job posting.
#
- # At most 100 filterable and at most 100 unfilterable keys are supported.
- # For filterable `string_values`, across all keys at most 200 values are
- # allowed, with each string no more than 255 characters. For unfilterable
- # `string_values`, the maximum total size of `string_values` across all keys
- # is 50KB.
- "a_key": { # Custom attribute values that are either filterable or non-filterable.
- "stringValues": [ # Optional but exactly one of string_values or long_values must
- # be specified.
+ # Derived details about the job posting.
+ "locations": [ # Structured locations of the job, resolved from Job.addresses.
+ #
+ # locations are exactly matched to Job.addresses in the same
+ # order.
+ { # Output only.
#
- # This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
- # `CASE_INSENSITIVE_MATCH`) search.
- # For filterable `string_value`s, a maximum total number of 200 values
- # is allowed, with each `string_value` has a byte size of no more than
- # 500B. For unfilterable `string_values`, the maximum total byte size of
- # unfilterable `string_values` is 50KB.
- #
- # Empty string is not allowed.
- "A String",
- ],
- "filterable": True or False, # Optional. If the `filterable` flag is true, the custom field values may be used for
- # custom attribute filters JobQuery.custom_attribute_filter.
- # If false, these values may not be used for custom attribute filters.
- #
- # Default is false.
- "longValues": [ # Optional but exactly one of string_values or long_values must
- # be specified.
- #
- # This field is used to perform number range search.
- # (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
- #
- # Currently at most 1 long_values is supported.
- "A String",
- ],
- },
+ # A resource that represents a location with full geographic information.
+ "postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information,
+ # such as postal delivery and payments addresses. Given a postal address,
+ # a postal service can deliver items to a premises, P.O. Box, or other
+ # delivery location.
+ # Given a postal address, a postal service can deliver items to a premise, P.O.
+ # Box or similar.
+ # It is not intended to model geographical locations (roads, towns,
+ # mountains).
+ #
+ # In typical usage an address would be created via user input or from importing
+ # existing data, depending on the type of process.
+ #
+ # Advice on address input / editing:
+ # - Use an i18n-ready address widget such as
+ # https://github.com/google/libaddressinput)
+ # - Users should not be presented with UI elements for input or editing of
+ # fields outside countries where that field is used.
+ #
+ # For more guidance on how to use this schema, please see:
+ # https://support.google.com/business/answer/6397478
+ "organization": "A String", # Optional. The name of the organization at the address.
+ "sublocality": "A String", # Optional. Sublocality of the address.
+ # For example, this can be neighborhoods, boroughs, districts.
+ "languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if
+ # known). This is often the UI language of the input form or is expected
+ # to match one of the languages used in the address' country/region, or their
+ # transliterated equivalents.
+ # This can affect formatting in certain countries, but is not critical
+ # to the correctness of the data and will never affect any validation or
+ # other non-formatting related operations.
+ #
+ # If this value is not known, it should be omitted (rather than specifying a
+ # possibly incorrect default).
+ #
+ # Examples: "zh-Hant", "ja", "ja-Latn", "en".
+ "administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal
+ # addresses of a country or region.
+ # For example, this can be a state, a province, an oblast, or a prefecture.
+ # Specifically, for Spain this is the province and not the autonomous
+ # community (e.g. "Barcelona" and not "Catalonia").
+ # Many countries don't use an administrative area in postal addresses. E.g.
+ # in Switzerland this should be left unpopulated.
+ "locality": "A String", # Optional. Generally refers to the city/town portion of the address.
+ # Examples: US city, IT comune, UK post town.
+ # In regions of the world where localities are not well defined or do not fit
+ # into this structure well, leave locality empty and use address_lines.
+ "recipients": [ # Optional. The recipient at the address.
+ # This field may, under certain circumstances, contain multiline information.
+ # For example, it might contain "care of" information.
+ "A String",
+ ],
+ "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is
+ # the latest revision.
+ #
+ # All new revisions **must** be backward compatible with old revisions.
+ "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require
+ # postal codes to be present, but where they are used, they may trigger
+ # additional validation with other parts of the address (e.g. state/zip
+ # validation in the U.S.A.).
+ "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used
+ # in most regions. Where it is used, the value is either a string like
+ # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
+ # alone, representing the "sector code" (Jamaica), "delivery area indicator"
+ # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
+ "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This
+ # is never inferred and it is up to the user to ensure the value is
+ # correct. See http://cldr.unicode.org/ and
+ # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
+ # for details. Example: "CH" for Switzerland.
+ "addressLines": [ # Unstructured address lines describing the lower levels of an address.
+ #
+ # Because values in address_lines do not have type information and may
+ # sometimes contain multiple values in a single field (e.g.
+ # "Austin, TX"), it is important that the line order is clear. The order of
+ # address lines should be "envelope order" for the country/region of the
+ # address. In places where this can vary (e.g. Japan), address_language is
+ # used to make it explicit (e.g. "ja" for large-to-small ordering and
+ # "ja-Latn" or "en" for small-to-large). This way, the most specific line of
+ # an address can be selected based on the language.
+ #
+ # The minimum permitted structural representation of an address consists
+ # of a region_code with all remaining information placed in the
+ # address_lines. It would be possible to format such an address very
+ # approximately without geocoding, but no semantic reasoning could be
+ # made about any of the address components until it was at least
+ # partially resolved.
+ #
+ # Creating an address only containing a region_code and address_lines, and
+ # then geocoding is the recommended way to handle completely unstructured
+ # addresses (as opposed to guessing which parts of the address should be
+ # localities or administrative areas).
+ "A String",
+ ],
+ },
+ "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the
+ # location bounding box in which a circle with the specified radius
+ # centered from LatLng covers the area associated with the job location.
+ # For example, currently, "Mountain View, CA, USA" has a radius of
+ # 6.17 miles.
+ "locationType": "A String", # The type of a location, which corresponds to the address lines field of
+ # PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
+ # LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
+ # LocationType#LOCALITY.
+ "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair.
+ # of doubles representing degrees latitude and degrees longitude. Unless
+ # specified otherwise, this must conform to the
+ # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
+ # standard</a>. Values must be within normalized ranges.
+ "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+ "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+ },
+ },
+ ],
+ "jobCategories": [ # Job categories derived from Job.title and Job.description.
+ "A String",
+ ],
},
- "jobLevel": "A String", # Optional. The experience level associated with the job, such as "Entry Level".
+ "jobStartTime": "A String", # Optional. The start timestamp of the job in UTC time zone. Typically this field
+ # is used for contracting engagements. Invalid timestamps are ignored.
+ "visibility": "A String", # Deprecated. The job is only visible to the owner.
+ #
+ # The visibility of the job.
+ #
+ # Defaults to Visibility.ACCOUNT_ONLY if not specified.
+ "processingOptions": { # Input only. # Optional. Options for job processing.
+ #
+ # Options for job processing.
+ "disableStreetAddressResolution": True or False, # Optional. If set to `true`, the service does not attempt to resolve a
+ # more precise address for the job.
+ "htmlSanitization": "A String", # Optional. Option for job HTML content sanitization. Applied fields are:
+ #
+ # * description
+ # * applicationInfo.instruction
+ # * incentives
+ # * qualifications
+ # * responsibilities
+ #
+ # HTML tags in these fields may be stripped if sanitiazation is not
+ # disabled.
+ #
+ # Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.
+ },
+ "companyDisplayName": "A String", # Output only. Display name of the company listing the job.
"languageCode": "A String", # Optional. The language of the posting. This field is distinct from
# any requirements for fluency that are associated with the job.
#
@@ -4614,46 +4377,174 @@
# If this field is unspecified and Job.description is present, detected
# language code based on Job.description is assigned, otherwise
# defaults to 'en_US'.
- "visibility": "A String", # Deprecated. The job is only visible to the owner.
+ "compensationInfo": { # Job compensation details. # Optional. Job compensation information.
+ "annualizedBaseCompensationRange": { # Compensation range. # Output only. Annualized base compensation range. Computed as
+ # base compensation entry's CompensationEntry.compensation times
+ # CompensationEntry.expected_units_per_year.
+ #
+ # See CompensationEntry for explanation on compensation annualization.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ "annualizedTotalCompensationRange": { # Compensation range. # Output only. Annualized total compensation range. Computed as
+ # all compensation entries' CompensationEntry.compensation times
+ # CompensationEntry.expected_units_per_year.
+ #
+ # See CompensationEntry for explanation on compensation annualization.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ "entries": [ # Optional. Job compensation information.
+ #
+ # At most one entry can be of type
+ # CompensationInfo.CompensationType.BASE, which is
+ # referred as ** base compensation entry ** for the job.
+ { # A compensation entry that represents one component of compensation, such
+ # as base pay, bonus, or other compensation type.
+ #
+ # Annualization: One compensation entry can be annualized if
+ # - it contains valid amount or range.
+ # - and its expected_units_per_year is set or can be derived.
+ # Its annualized range is determined as (amount or range) times
+ # expected_units_per_year.
+ "unit": "A String", # Optional. Frequency of the specified amount.
+ #
+ # Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
+ "expectedUnitsPerYear": 3.14, # Optional. Expected number of units paid each year. If not specified, when
+ # Job.employment_types is FULLTIME, a default value is inferred
+ # based on unit. Default values:
+ # - HOURLY: 2080
+ # - DAILY: 260
+ # - WEEKLY: 52
+ # - MONTHLY: 12
+ # - ANNUAL: 1
+ "range": { # Compensation range. # Optional. Compensation range.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ "description": "A String", # Optional. Compensation description. For example, could
+ # indicate equity terms or provide additional context to an estimated
+ # bonus.
+ "type": "A String", # Optional. Compensation type.
+ #
+ # Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED.
+ "amount": { # Represents an amount of money with its currency type. # Optional. Compensation amount.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required during job update.
#
- # The visibility of the job.
+ # The resource name for the job. This is generated by the service when a
+ # job is created.
#
- # Defaults to Visibility.ACCOUNT_ONLY if not specified.
- "postingUpdateTime": "A String", # Output only. The timestamp when this job posting was last updated.
+ # The format is "projects/{project_id}/jobs/{job_id}",
+ # for example, "projects/api-test-project/jobs/1234".
+ #
+ # Use of this field in job queries and API calls is preferred over the use of
+ # requisition_id since this value is unique.
+ "requisitionId": "A String", # Required. The requisition ID, also referred to as the posting ID, assigned by the
+ # client to identify a job. This field is intended to be used by clients
+ # for client identification and tracking of postings. A job is not allowed
+ # to be created if there is another job with the same [company_name],
+ # language_code and requisition_id.
+ #
+ # The maximum number of allowed characters is 255.
},
- "searchTextSnippet": "A String", # Contains snippets of text from the Job.description and similar
- # fields that most closely match a search query's keywords, if available.
- # All HTML tags in the original fields are stripped when returned in this
- # field, and matching query keywords are enclosed in HTML bold tags.
"jobTitleSnippet": "A String", # Contains snippets of text from the Job.job_title field most
# closely matching a search query's keywords, if available. The matching
# query keywords are enclosed in HTML bold tags.
- "jobSummary": "A String", # A summary of the job with core information that's displayed on the search
- # results listing page.
"commuteInfo": { # Output only. # Commute information which is generated based on specified
# CommuteFilter.
#
# Commute details related to this job.
- "travelDuration": "A String", # The number of seconds required to travel to the job location from the
- # query location. A duration of 0 seconds indicates that the job is not
- # reachable within the requested duration, but was returned as part of an
- # expanded query.
"jobLocation": { # Output only. # Location used as the destination in the commute calculation.
#
# A resource that represents a location with full geographic information.
- "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the
- # location bounding box in which a circle with the specified radius
- # centered from LatLng covers the area associated with the job location.
- # For example, currently, "Mountain View, CA, USA" has a radius of
- # 6.17 miles.
- "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair.
- # of doubles representing degrees latitude and degrees longitude. Unless
- # specified otherwise, this must conform to the
- # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
- # standard</a>. Values must be within normalized ranges.
- "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
- "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
- },
"postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information,
# such as postal delivery and payments addresses. Given a postal address,
# a postal service can deliver items to a premises, P.O. Box, or other
@@ -4674,10 +4565,9 @@
#
# For more guidance on how to use this schema, please see:
# https://support.google.com/business/answer/6397478
- "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require
- # postal codes to be present, but where they are used, they may trigger
- # additional validation with other parts of the address (e.g. state/zip
- # validation in the U.S.A.).
+ "organization": "A String", # Optional. The name of the organization at the address.
+ "sublocality": "A String", # Optional. Sublocality of the address.
+ # For example, this can be neighborhoods, boroughs, districts.
"languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if
# known). This is often the UI language of the input form or is expected
# to match one of the languages used in the address' country/region, or their
@@ -4690,26 +4580,6 @@
# possibly incorrect default).
#
# Examples: "zh-Hant", "ja", "ja-Latn", "en".
- "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used
- # in most regions. Where it is used, the value is either a string like
- # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
- # alone, representing the "sector code" (Jamaica), "delivery area indicator"
- # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
- "recipients": [ # Optional. The recipient at the address.
- # This field may, under certain circumstances, contain multiline information.
- # For example, it might contain "care of" information.
- "A String",
- ],
- "sublocality": "A String", # Optional. Sublocality of the address.
- # For example, this can be neighborhoods, boroughs, districts.
- "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is
- # the latest revision.
- #
- # All new revisions **must** be backward compatible with old revisions.
- "locality": "A String", # Optional. Generally refers to the city/town portion of the address.
- # Examples: US city, IT comune, UK post town.
- # In regions of the world where localities are not well defined or do not fit
- # into this structure well, leave locality empty and use address_lines.
"administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal
# addresses of a country or region.
# For example, this can be a state, a province, an oblast, or a prefecture.
@@ -4717,7 +4587,33 @@
# community (e.g. "Barcelona" and not "Catalonia").
# Many countries don't use an administrative area in postal addresses. E.g.
# in Switzerland this should be left unpopulated.
- "organization": "A String", # Optional. The name of the organization at the address.
+ "locality": "A String", # Optional. Generally refers to the city/town portion of the address.
+ # Examples: US city, IT comune, UK post town.
+ # In regions of the world where localities are not well defined or do not fit
+ # into this structure well, leave locality empty and use address_lines.
+ "recipients": [ # Optional. The recipient at the address.
+ # This field may, under certain circumstances, contain multiline information.
+ # For example, it might contain "care of" information.
+ "A String",
+ ],
+ "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is
+ # the latest revision.
+ #
+ # All new revisions **must** be backward compatible with old revisions.
+ "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require
+ # postal codes to be present, but where they are used, they may trigger
+ # additional validation with other parts of the address (e.g. state/zip
+ # validation in the U.S.A.).
+ "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used
+ # in most regions. Where it is used, the value is either a string like
+ # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
+ # alone, representing the "sector code" (Jamaica), "delivery area indicator"
+ # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
+ "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This
+ # is never inferred and it is up to the user to ensure the value is
+ # correct. See http://cldr.unicode.org/ and
+ # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
+ # for details. Example: "CH" for Switzerland.
"addressLines": [ # Unstructured address lines describing the lower levels of an address.
#
# Because values in address_lines do not have type information and may
@@ -4742,28 +4638,32 @@
# localities or administrative areas).
"A String",
],
- "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This
- # is never inferred and it is up to the user to ensure the value is
- # correct. See http://cldr.unicode.org/ and
- # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
- # for details. Example: "CH" for Switzerland.
},
+ "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the
+ # location bounding box in which a circle with the specified radius
+ # centered from LatLng covers the area associated with the job location.
+ # For example, currently, "Mountain View, CA, USA" has a radius of
+ # 6.17 miles.
"locationType": "A String", # The type of a location, which corresponds to the address lines field of
# PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
# LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
# LocationType#LOCALITY.
+ "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair.
+ # of doubles representing degrees latitude and degrees longitude. Unless
+ # specified otherwise, this must conform to the
+ # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
+ # standard</a>. Values must be within normalized ranges.
+ "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+ "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+ },
},
+ "travelDuration": "A String", # The number of seconds required to travel to the job location from the
+ # query location. A duration of 0 seconds indicates that the job is not
+ # reachable within the requested duration, but was returned as part of an
+ # expanded query.
},
},
],
- "nextPageToken": "A String", # The token that specifies the starting position of the next page of results.
- # This field is empty if there are no more results.
- "spellCorrection": { # Output only. # The spell checking result, and correction.
- #
- # Spell check result.
- "corrected": True or False, # Indicates if the query was corrected by the spell checker.
- "correctedText": "A String", # Correction output consisting of the corrected keyword string.
- },
"broadenedQueryJobsCount": 42, # If query broadening is enabled, we may append additional results from the
# broadened query. This number indicates how many of the jobs returned in the
# jobs field are from the broadened query. These results are always at the
@@ -4771,32 +4671,12 @@
# set, all the jobs in the jobs list are from the original
# (without broadening) query. If this field is non-zero, subsequent requests
# with offset after this result set should contain all broadened results.
- "estimatedTotalSize": 42, # An estimation of the number of jobs that match the specified query.
- #
- # This number is not guaranteed to be accurate. For accurate results,
- # see enable_precise_result_size.
- "totalSize": 42, # The precise result count, which is available only if the client set
- # enable_precise_result_size to `true`, or if the response
- # is the last page of results. Otherwise, the value is `-1`.
"locationFilters": [ # The location filters that the service applied to the specified query. If
# any filters are lat-lng based, the JobLocation.location_type is
# JobLocation.LocationType#LOCATION_TYPE_UNSPECIFIED.
{ # Output only.
#
# A resource that represents a location with full geographic information.
- "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the
- # location bounding box in which a circle with the specified radius
- # centered from LatLng covers the area associated with the job location.
- # For example, currently, "Mountain View, CA, USA" has a radius of
- # 6.17 miles.
- "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair.
- # of doubles representing degrees latitude and degrees longitude. Unless
- # specified otherwise, this must conform to the
- # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
- # standard</a>. Values must be within normalized ranges.
- "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
- "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
- },
"postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information,
# such as postal delivery and payments addresses. Given a postal address,
# a postal service can deliver items to a premises, P.O. Box, or other
@@ -4817,10 +4697,9 @@
#
# For more guidance on how to use this schema, please see:
# https://support.google.com/business/answer/6397478
- "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require
- # postal codes to be present, but where they are used, they may trigger
- # additional validation with other parts of the address (e.g. state/zip
- # validation in the U.S.A.).
+ "organization": "A String", # Optional. The name of the organization at the address.
+ "sublocality": "A String", # Optional. Sublocality of the address.
+ # For example, this can be neighborhoods, boroughs, districts.
"languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if
# known). This is often the UI language of the input form or is expected
# to match one of the languages used in the address' country/region, or their
@@ -4833,26 +4712,6 @@
# possibly incorrect default).
#
# Examples: "zh-Hant", "ja", "ja-Latn", "en".
- "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used
- # in most regions. Where it is used, the value is either a string like
- # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
- # alone, representing the "sector code" (Jamaica), "delivery area indicator"
- # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
- "recipients": [ # Optional. The recipient at the address.
- # This field may, under certain circumstances, contain multiline information.
- # For example, it might contain "care of" information.
- "A String",
- ],
- "sublocality": "A String", # Optional. Sublocality of the address.
- # For example, this can be neighborhoods, boroughs, districts.
- "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is
- # the latest revision.
- #
- # All new revisions **must** be backward compatible with old revisions.
- "locality": "A String", # Optional. Generally refers to the city/town portion of the address.
- # Examples: US city, IT comune, UK post town.
- # In regions of the world where localities are not well defined or do not fit
- # into this structure well, leave locality empty and use address_lines.
"administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal
# addresses of a country or region.
# For example, this can be a state, a province, an oblast, or a prefecture.
@@ -4860,7 +4719,33 @@
# community (e.g. "Barcelona" and not "Catalonia").
# Many countries don't use an administrative area in postal addresses. E.g.
# in Switzerland this should be left unpopulated.
- "organization": "A String", # Optional. The name of the organization at the address.
+ "locality": "A String", # Optional. Generally refers to the city/town portion of the address.
+ # Examples: US city, IT comune, UK post town.
+ # In regions of the world where localities are not well defined or do not fit
+ # into this structure well, leave locality empty and use address_lines.
+ "recipients": [ # Optional. The recipient at the address.
+ # This field may, under certain circumstances, contain multiline information.
+ # For example, it might contain "care of" information.
+ "A String",
+ ],
+ "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is
+ # the latest revision.
+ #
+ # All new revisions **must** be backward compatible with old revisions.
+ "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require
+ # postal codes to be present, but where they are used, they may trigger
+ # additional validation with other parts of the address (e.g. state/zip
+ # validation in the U.S.A.).
+ "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used
+ # in most regions. Where it is used, the value is either a string like
+ # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
+ # alone, representing the "sector code" (Jamaica), "delivery area indicator"
+ # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
+ "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This
+ # is never inferred and it is up to the user to ensure the value is
+ # correct. See http://cldr.unicode.org/ and
+ # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
+ # for details. Example: "CH" for Switzerland.
"addressLines": [ # Unstructured address lines describing the lower levels of an address.
#
# Because values in address_lines do not have type information and may
@@ -4885,18 +4770,133 @@
# localities or administrative areas).
"A String",
],
- "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This
- # is never inferred and it is up to the user to ensure the value is
- # correct. See http://cldr.unicode.org/ and
- # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
- # for details. Example: "CH" for Switzerland.
},
+ "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the
+ # location bounding box in which a circle with the specified radius
+ # centered from LatLng covers the area associated with the job location.
+ # For example, currently, "Mountain View, CA, USA" has a radius of
+ # 6.17 miles.
"locationType": "A String", # The type of a location, which corresponds to the address lines field of
# PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
# LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
# LocationType#LOCALITY.
+ "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair.
+ # of doubles representing degrees latitude and degrees longitude. Unless
+ # specified otherwise, this must conform to the
+ # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
+ # standard</a>. Values must be within normalized ranges.
+ "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+ "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+ },
},
],
+ "nextPageToken": "A String", # The token that specifies the starting position of the next page of results.
+ # This field is empty if there are no more results.
+ "metadata": { # Output only. # Additional information for the API invocation, such as the request
+ # tracking id.
+ #
+ # Additional information returned to client, such as debugging information.
+ "requestId": "A String", # A unique id associated with this call.
+ # This id is logged for tracking purposes.
+ },
+ "histogramResults": { # Output only. # The histogram results that match specified
+ # SearchJobsRequest.histogram_facets.
+ #
+ # Histogram results that match HistogramFacets specified in
+ # SearchJobsRequest.
+ "compensationHistogramResults": [ # Specifies compensation field-based histogram results that match
+ # HistogramFacets.compensation_histogram_requests.
+ { # Output only.
+ #
+ # Compensation based histogram result.
+ "result": { # Output only. # Histogram result.
+ #
+ # Custom numeric bucketing result.
+ "counts": [ # Count within each bucket. Its size is the length of
+ # NumericBucketingOption.bucket_bounds plus 1.
+ { # Represents count of jobs within one bucket.
+ "count": 42, # Number of jobs whose numeric field value fall into `range`.
+ "range": { # Represents starting and ending value of a range in double. # Bucket range on which histogram was performed for the numeric field,
+ # that is, the count represents number of jobs in this range.
+ "to": 3.14, # Ending value of the bucket range.
+ "from": 3.14, # Starting value of the bucket range.
+ },
+ },
+ ],
+ "maxValue": 3.14, # Stores the maximum value of the numeric field. Is populated only if
+ # [NumericBucketingOption.requires_min_max] is set to true.
+ "minValue": 3.14, # Stores the minimum value of the numeric field. Will be populated only if
+ # [NumericBucketingOption.requires_min_max] is set to true.
+ },
+ "type": "A String", # Type of the request, corresponding to
+ # CompensationHistogramRequest.type.
+ },
+ ],
+ "customAttributeHistogramResults": [ # Specifies histogram results for custom attributes that match
+ # HistogramFacets.custom_attribute_histogram_facets.
+ { # Output only.
+ #
+ # Custom attribute histogram result.
+ "key": "A String", # Stores the key of custom attribute the histogram is performed on.
+ "longValueHistogramResult": { # Output only. # Stores bucketed histogram counting result or min/max values for
+ # custom attribute long values associated with `key`.
+ #
+ # Custom numeric bucketing result.
+ "counts": [ # Count within each bucket. Its size is the length of
+ # NumericBucketingOption.bucket_bounds plus 1.
+ { # Represents count of jobs within one bucket.
+ "count": 42, # Number of jobs whose numeric field value fall into `range`.
+ "range": { # Represents starting and ending value of a range in double. # Bucket range on which histogram was performed for the numeric field,
+ # that is, the count represents number of jobs in this range.
+ "to": 3.14, # Ending value of the bucket range.
+ "from": 3.14, # Starting value of the bucket range.
+ },
+ },
+ ],
+ "maxValue": 3.14, # Stores the maximum value of the numeric field. Is populated only if
+ # [NumericBucketingOption.requires_min_max] is set to true.
+ "minValue": 3.14, # Stores the minimum value of the numeric field. Will be populated only if
+ # [NumericBucketingOption.requires_min_max] is set to true.
+ },
+ "stringValueHistogramResult": { # Stores a map from the values of string custom field associated
+ # with `key` to the number of jobs with that value in this histogram result.
+ "a_key": 42,
+ },
+ },
+ ],
+ "simpleHistogramResults": [ # Specifies histogram results that matches
+ # HistogramFacets.simple_histogram_facets.
+ { # Output only.
+ #
+ # Result of a histogram call. The response contains the histogram map for the
+ # search type specified by HistogramResult.field.
+ # The response is a map of each filter value to the corresponding count of
+ # jobs for that filter.
+ "values": { # A map from the values of field to the number of jobs with that value
+ # in this search result.
+ #
+ # Key: search type (filter names, such as the companyName).
+ #
+ # Values: the count of jobs that match the filter for this search.
+ "a_key": 42,
+ },
+ "searchType": "A String", # The Histogram search filters.
+ },
+ ],
+ },
+ "estimatedTotalSize": 42, # An estimation of the number of jobs that match the specified query.
+ #
+ # This number is not guaranteed to be accurate. For accurate results,
+ # see enable_precise_result_size.
+ "totalSize": 42, # The precise result count, which is available only if the client set
+ # enable_precise_result_size to `true`, or if the response
+ # is the last page of results. Otherwise, the value is `-1`.
+ "spellCorrection": { # Output only. # The spell checking result, and correction.
+ #
+ # Spell check result.
+ "corrected": True or False, # Indicates if the query was corrected by the spell checker.
+ "correctedText": "A String", # Correction output consisting of the corrected keyword string.
+ },
}</pre>
</div>
@@ -4924,6 +4924,143 @@
{ # Input only.
#
# The Request body of the `SearchJobs` call.
+ "requestMetadata": { # Input only. # Required. The meta information collected about the job searcher, used to improve the
+ # search quality of the service. The identifiers (such as `user_id`) are
+ # provided by users, and must be unique and consistent.
+ #
+ # Meta information related to the job searcher or entity
+ # conducting the job search. This information is used to improve the
+ # performance of the service.
+ "userId": "A String", # Required. A unique user identification string, as determined by the client.
+ # To have the strongest positive impact on search quality
+ # make sure the client-level is unique.
+ # Obfuscate this field for privacy concerns before
+ # providing it to the service.
+ #
+ # If this field is not available for some reason, send "UNKNOWN". Note
+ # that any improvements to the model for a particular tenant
+ # site, rely on this field being set correctly to a unique user_id.
+ #
+ # The maximum number of allowed characters is 255.
+ "sessionId": "A String", # Required. A unique session identification string. A session is defined as the
+ # duration of an end user's interaction with the service over a certain
+ # period.
+ # Obfuscate this field for privacy concerns before
+ # providing it to the service.
+ #
+ # If this field is not available for some reason, send "UNKNOWN". Note
+ # that any improvements to the model for a particular tenant
+ # site, rely on this field being set correctly to some unique session_id.
+ #
+ # The maximum number of allowed characters is 255.
+ "deviceInfo": { # Device information collected from the job seeker, candidate, or # Optional. The type of device used by the job seeker at the time of the call to the
+ # service.
+ # other entity conducting the job search. Providing this information improves
+ # the quality of the search results across devices.
+ "id": "A String", # Optional. A device-specific ID. The ID must be a unique identifier that
+ # distinguishes the device from other devices.
+ "deviceType": "A String", # Optional. Type of the device.
+ },
+ "domain": "A String", # Required. The client-defined scope or source of the service call, which typically
+ # is the domain on
+ # which the service has been implemented and is currently being run.
+ #
+ # For example, if the service is being run by client <em>Foo, Inc.</em>, on
+ # job board www.foo.com and career site www.bar.com, then this field is
+ # set to "foo.com" for use on the job board, and "bar.com" for use on the
+ # career site.
+ #
+ # If this field isn't available for some reason, send "UNKNOWN".
+ # Any improvements to the model for a particular tenant site rely on this
+ # field being set correctly to a domain.
+ #
+ # The maximum number of allowed characters is 255.
+ },
+ "offset": 42, # Optional. An integer that specifies the current offset (that is, starting result
+ # location, amongst the jobs deemed by the API as relevant) in search
+ # results. This field is only considered if page_token is unset.
+ #
+ # The maximum allowed value is 5000. Otherwise an error is thrown.
+ #
+ # For example, 0 means to return results starting from the first matching
+ # job, and 10 means to return from the 11th job. This can be used for
+ # pagination, (for example, pageSize = 10 and offset = 10 means to return
+ # from the second page).
+ "histogramFacets": { # Input only. # Optional. Histogram requests for jobs matching JobQuery.
+ #
+ # Histogram facets to be specified in SearchJobsRequest.
+ "customAttributeHistogramFacets": [ # Optional. Specifies the custom attributes histogram requests.
+ # Duplicate values of CustomAttributeHistogramRequest.key are not
+ # allowed.
+ { # Custom attributes histogram request. An error is thrown if neither
+ # string_value_histogram or long_value_histogram_bucketing_option has
+ # been defined.
+ "longValueHistogramBucketingOption": { # Input only. # Optional. Specifies buckets used to perform a range histogram on Job's
+ # filterable long custom field values, or min/max value requirements.
+ #
+ # Use this field to specify bucketing option for the histogram search response.
+ "requiresMinMax": True or False, # Optional. If set to true, the histogram result includes minimum/maximum
+ # value of the numeric field.
+ "bucketBounds": [ # Required. Two adjacent values form a histogram bucket. Values should be in
+ # ascending order. For example, if [5, 10, 15] are provided, four buckets are
+ # created: (-inf, 5), 5, 10), [10, 15), [15, inf). At most 20
+ # [buckets_bound is supported.
+ 3.14,
+ ],
+ },
+ "stringValueHistogram": True or False, # Optional. If set to true, the response includes the histogram value for
+ # each key as a string.
+ "key": "A String", # Required. Specifies the custom field key to perform a histogram on. If specified
+ # without `long_value_histogram_bucketing_option`, histogram on string values
+ # of the given `key` is triggered, otherwise histogram is performed on long
+ # values.
+ },
+ ],
+ "simpleHistogramFacets": [ # Optional. Specifies the simple type of histogram facets, for example,
+ # `COMPANY_SIZE`, `EMPLOYMENT_TYPE` etc.
+ "A String",
+ ],
+ "compensationHistogramFacets": [ # Optional. Specifies compensation field-based histogram requests.
+ # Duplicate values of CompensationHistogramRequest.type are not allowed.
+ { # Input only.
+ #
+ # Compensation based histogram request.
+ "type": "A String", # Required. Type of the request, representing which field the histogramming should be
+ # performed over. A single request can only specify one histogram of each
+ # `CompensationHistogramRequestType`.
+ "bucketingOption": { # Input only. # Required. Numeric histogram options, like buckets, whether include min or max value.
+ #
+ # Use this field to specify bucketing option for the histogram search response.
+ "requiresMinMax": True or False, # Optional. If set to true, the histogram result includes minimum/maximum
+ # value of the numeric field.
+ "bucketBounds": [ # Required. Two adjacent values form a histogram bucket. Values should be in
+ # ascending order. For example, if [5, 10, 15] are provided, four buckets are
+ # created: (-inf, 5), 5, 10), [10, 15), [15, inf). At most 20
+ # [buckets_bound is supported.
+ 3.14,
+ ],
+ },
+ },
+ ],
+ },
+ "requirePreciseResultSize": True or False, # Optional. Controls if the search job request requires the return of a precise
+ # count of the first 300 results. Setting this to `true` ensures
+ # consistency in the number of results per page. Best practice is to set this
+ # value to true if a client allows users to jump directly to a
+ # non-sequential search results page.
+ #
+ # Enabling this flag may adversely impact performance.
+ #
+ # Defaults to false.
+ "searchMode": "A String", # Optional. Mode of a search.
+ #
+ # Defaults to SearchMode.JOB_SEARCH.
+ "pageToken": "A String", # Optional. The token specifying the current offset within
+ # search results. See SearchJobsResponse.next_page_token for
+ # an explanation of how to obtain the next set of query results.
+ "pageSize": 42, # Optional. A limit on the number of jobs returned in the search results.
+ # Increasing this value above the default value of 10 can increase search
+ # response time. The value can be between 1 and 100.
"disableKeywordMatch": True or False, # Optional. Controls whether to disable exact keyword match on Job.job_title,
# Job.description, Job.company_display_name, Job.locations,
# Job.qualifications. When disable keyword match is turned off, a
@@ -4943,197 +5080,16 @@
# keyword match improves recall of subsequent search requests.
#
# Defaults to false.
+ "jobView": "A String", # Optional. The desired job attributes returned for jobs in the
+ # search response. Defaults to JobView.SMALL if no value is specified.
"enableBroadening": True or False, # Optional. Controls whether to broaden the search when it produces sparse results.
# Broadened queries append results to the end of the matching results
# list.
#
# Defaults to false.
- "offset": 42, # Optional. An integer that specifies the current offset (that is, starting result
- # location, amongst the jobs deemed by the API as relevant) in search
- # results. This field is only considered if page_token is unset.
- #
- # The maximum allowed value is 5000. Otherwise an error is thrown.
- #
- # For example, 0 means to return results starting from the first matching
- # job, and 10 means to return from the 11th job. This can be used for
- # pagination, (for example, pageSize = 10 and offset = 10 means to return
- # from the second page).
- "pageSize": 42, # Optional. A limit on the number of jobs returned in the search results.
- # Increasing this value above the default value of 10 can increase search
- # response time. The value can be between 1 and 100.
- "histogramFacets": { # Input only. # Optional. Histogram requests for jobs matching JobQuery.
- #
- # Histogram facets to be specified in SearchJobsRequest.
- "compensationHistogramFacets": [ # Optional. Specifies compensation field-based histogram requests.
- # Duplicate values of CompensationHistogramRequest.type are not allowed.
- { # Input only.
- #
- # Compensation based histogram request.
- "bucketingOption": { # Input only. # Required. Numeric histogram options, like buckets, whether include min or max value.
- #
- # Use this field to specify bucketing option for the histogram search response.
- "bucketBounds": [ # Required. Two adjacent values form a histogram bucket. Values should be in
- # ascending order. For example, if [5, 10, 15] are provided, four buckets are
- # created: (-inf, 5), 5, 10), [10, 15), [15, inf). At most 20
- # [buckets_bound is supported.
- 3.14,
- ],
- "requiresMinMax": True or False, # Optional. If set to true, the histogram result includes minimum/maximum
- # value of the numeric field.
- },
- "type": "A String", # Required. Type of the request, representing which field the histogramming should be
- # performed over. A single request can only specify one histogram of each
- # `CompensationHistogramRequestType`.
- },
- ],
- "customAttributeHistogramFacets": [ # Optional. Specifies the custom attributes histogram requests.
- # Duplicate values of CustomAttributeHistogramRequest.key are not
- # allowed.
- { # Custom attributes histogram request. An error is thrown if neither
- # string_value_histogram or long_value_histogram_bucketing_option has
- # been defined.
- "longValueHistogramBucketingOption": { # Input only. # Optional. Specifies buckets used to perform a range histogram on Job's
- # filterable long custom field values, or min/max value requirements.
- #
- # Use this field to specify bucketing option for the histogram search response.
- "bucketBounds": [ # Required. Two adjacent values form a histogram bucket. Values should be in
- # ascending order. For example, if [5, 10, 15] are provided, four buckets are
- # created: (-inf, 5), 5, 10), [10, 15), [15, inf). At most 20
- # [buckets_bound is supported.
- 3.14,
- ],
- "requiresMinMax": True or False, # Optional. If set to true, the histogram result includes minimum/maximum
- # value of the numeric field.
- },
- "key": "A String", # Required. Specifies the custom field key to perform a histogram on. If specified
- # without `long_value_histogram_bucketing_option`, histogram on string values
- # of the given `key` is triggered, otherwise histogram is performed on long
- # values.
- "stringValueHistogram": True or False, # Optional. If set to true, the response includes the histogram value for
- # each key as a string.
- },
- ],
- "simpleHistogramFacets": [ # Optional. Specifies the simple type of histogram facets, for example,
- # `COMPANY_SIZE`, `EMPLOYMENT_TYPE` etc.
- "A String",
- ],
- },
- "orderBy": "A String", # Optional. The criteria determining how search results are sorted. Default is
- # "relevance desc".
- #
- # Supported options are:
- #
- # * `"relevance desc"`: By relevance descending, as determined by the API
- # algorithms. Relevance thresholding of query results is only available
- # with this ordering.
- # * `"posting_publish_time desc"`: By Job.posting_publish_time
- # descending.
- # * `"posting_update_time desc"`: By Job.posting_update_time
- # descending.
- # * `"title"`: By Job.title ascending.
- # * `"title desc"`: By Job.title descending.
- # * `"annualized_base_compensation"`: By job's
- # CompensationInfo.annualized_base_compensation_range ascending. Jobs
- # whose annualized base compensation is unspecified are put at the end of
- # search results.
- # * `"annualized_base_compensation desc"`: By job's
- # CompensationInfo.annualized_base_compensation_range descending. Jobs
- # whose annualized base compensation is unspecified are put at the end of
- # search results.
- # * `"annualized_total_compensation"`: By job's
- # CompensationInfo.annualized_total_compensation_range ascending. Jobs
- # whose annualized base compensation is unspecified are put at the end of
- # search results.
- # * `"annualized_total_compensation desc"`: By job's
- # CompensationInfo.annualized_total_compensation_range descending. Jobs
- # whose annualized base compensation is unspecified are put at the end of
- # search results.
"jobQuery": { # Input only. # Optional. Query used to search against jobs, such as keyword, location filters, etc.
#
# The query required to perform a search query.
- "customAttributeFilter": "A String", # Optional. This filter specifies a structured syntax to match against the
- # Job.custom_attributes marked as `filterable`.
- #
- # The syntax for this expression is a subset of SQL syntax.
- #
- # Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the
- # left of the operator is a custom field key and the right of the operator
- # is a number or a quoted string. You must escape backslash (\\) and
- # quote (\") characters.
- #
- # Supported functions are `LOWER([field_name])` to
- # perform a case insensitive match and `EMPTY([field_name])` to filter on the
- # existence of a key.
- #
- # Boolean expressions (AND/OR/NOT) are supported up to 3 levels of
- # nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100
- # comparisons or functions are allowed in the expression. The expression
- # must be < 6000 bytes in length.
- #
- # Sample Query:
- # `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND
- # driving_years > 10`
- "publishTimeRange": { # Message representing a period of time between two timestamps. # Optional. Jobs published within a range specified by this filter are searched
- # against.
- "startTime": "A String", # Begin of the period.
- "endTime": "A String", # End of the period.
- },
- "locationFilters": [ # Optional. The location filter specifies geo-regions containing the jobs to
- # search against. See LocationFilter for more information.
- #
- # If a location value isn't specified, jobs fitting the other search
- # criteria are retrieved regardless of where they're located.
- #
- # If multiple values are specified, jobs are retrieved from any of the
- # specified locations. If different values are specified for the
- # LocationFilter.distance_in_miles parameter, the maximum provided
- # distance is used for all locations.
- #
- # At most 5 location filters are allowed.
- { # Input only.
- #
- # Geographic region of the search.
- "regionCode": "A String", # Optional. CLDR region code of the country/region of the address. This is used
- # to address ambiguity of the user-input location, for example, "Liverpool"
- # against "Liverpool, NY, US" or "Liverpool, UK".
- #
- # Set this field if all the jobs to search against are from a same region,
- # or jobs are world-wide, but the job seeker is from a specific region.
- #
- # See http://cldr.unicode.org/ and
- # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
- # for details. Example: "CH" for Switzerland.
- "address": "A String", # Optional. The address name, such as "Mountain View" or "Bay Area".
- "distanceInMiles": 3.14, # Optional. The distance_in_miles is applied when the location being searched for is
- # identified as a city or smaller. When the location being searched for is a
- # state or larger, this field is ignored.
- "telecommutePreference": "A String", # Optional. Allows the client to return jobs without a
- # set location, specifically, telecommuting jobs (telecommuting is considered
- # by the service as a special location.
- # Job.posting_region indicates if a job permits telecommuting.
- # If this field is set to TelecommutePreference.TELECOMMUTE_ALLOWED,
- # telecommuting jobs are searched, and address and lat_lng are
- # ignored. If not set or set to
- # TelecommutePreference.TELECOMMUTE_EXCLUDED, telecommute job are not
- # searched.
- #
- # This filter can be used by itself to search exclusively for telecommuting
- # jobs, or it can be combined with another location
- # filter to search for a combination of job locations,
- # such as "Mountain View" or "telecommuting" jobs. However, when used in
- # combination with other location filters, telecommuting jobs can be
- # treated as less relevant than other jobs in the search response.
- "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # Optional. The latitude and longitude of the geographic center from which to
- # search. This field's ignored if `address` is provided.
- # of doubles representing degrees latitude and degrees longitude. Unless
- # specified otherwise, this must conform to the
- # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
- # standard</a>. Values must be within normalized ranges.
- "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
- "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
- },
- },
- ],
"commuteFilter": { # Input only. # Optional. Allows filtering jobs by commute time with different travel methods (for
# example, driving or public transit). Note: This only works with COMMUTE
# MODE. When specified, [JobQuery.location_filters] is
@@ -5142,6 +5098,7 @@
# Currently we don't support sorting by commute time.
#
# Parameters needed for commute search.
+ "commuteMethod": "A String", # Required. The method of transportation for which to calculate the commute time.
"travelDuration": "A String", # Required. The maximum travel time in seconds. The maximum allowed value is `3600s`
# (one hour). Format is `123s`.
"startCoordinates": { # An object representing a latitude/longitude pair. This is expressed as a pair # Required. The latitude and longitude of the location from which to calculate the
@@ -5153,8 +5110,20 @@
"longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
"latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
},
- "commuteMethod": "A String", # Required. The method of transportation for which to calculate the commute time.
"roadTraffic": "A String", # Optional. Specifies the traffic density to use when calculating commute time.
+ "departureTime": { # Represents a time of day. The date and time zone are either not significant # Optional. The departure time used to calculate traffic impact, represented as
+ # google.type.TimeOfDay in local time zone.
+ #
+ # Currently traffic model is restricted to hour level resolution.
+ # or are specified elsewhere. An API may choose to allow leap seconds. Related
+ # types are google.type.Date and `google.protobuf.Timestamp`.
+ "seconds": 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
+ # allow the value 60 if it allows leap-seconds.
+ "minutes": 42, # Minutes of hour of day. Must be from 0 to 59.
+ "hours": 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
+ # to allow the value "24:00:00" for scenarios like business closing time.
+ "nanos": 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
+ },
"allowImpreciseAddresses": True or False, # Optional. If true, jobs without "precise" addresses (street level addresses or GPS
# coordinates) might also be returned. For city and coarser level addresses,
# text matching is used. If this field is set to false or is not specified,
@@ -5165,99 +5134,7 @@
# able to calculate accurate commute times to jobs with city level and
# coarser address information. Jobs with imprecise addresses will return a
# `travel_duration` time of 0 regardless of distance from the job seeker.
- "departureTime": { # Represents a time of day. The date and time zone are either not significant # Optional. The departure time used to calculate traffic impact, represented as
- # google.type.TimeOfDay in local time zone.
- #
- # Currently traffic model is restricted to hour level resolution.
- # or are specified elsewhere. An API may choose to allow leap seconds. Related
- # types are google.type.Date and `google.protobuf.Timestamp`.
- "hours": 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
- # to allow the value "24:00:00" for scenarios like business closing time.
- "nanos": 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
- "seconds": 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
- # allow the value 60 if it allows leap-seconds.
- "minutes": 42, # Minutes of hour of day. Must be from 0 to 59.
- },
},
- "languageCodes": [ # Optional. This filter specifies the locale of jobs to search against,
- # for example, "en-US".
- #
- # If a value isn't specified, the search results can contain jobs in any
- # locale.
- #
- #
- # Language codes should be in BCP-47 format, such as "en-US" or "sr-Latn".
- # For more information, see
- # [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
- #
- # At most 10 language code filters are allowed.
- "A String",
- ],
- "query": "A String", # Optional. The query string that matches against the job title, description, and
- # location fields.
- #
- # The maximum number of allowed characters is 255.
- "compensationFilter": { # Input only. # Optional. This search filter is applied only to
- # Job.compensation_info. For example, if the filter is specified
- # as "Hourly job with per-hour compensation > $15", only jobs meeting
- # these criteria are searched. If a filter isn't defined, all open jobs
- # are searched.
- #
- # Filter on job compensation type and amount.
- "range": { # Compensation range. # Optional. Compensation range.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- "type": "A String", # Required. Type of filter.
- "includeJobsWithUnspecifiedCompensationRange": True or False, # Optional. If set to true, jobs with unspecified compensation range fields are
- # included.
- "units": [ # Required. Specify desired `base compensation entry's`
- # CompensationInfo.CompensationUnit.
- "A String",
- ],
- },
- "disableSpellCheck": True or False, # Optional. This flag controls the spell-check feature. If false, the
- # service attempts to correct a misspelled query,
- # for example, "enginee" is corrected to "engineer".
- #
- # Defaults to false: a spell check is performed.
- "companyDisplayNames": [ # Optional. This filter specifies the exact company display
- # name of the jobs to search against.
- #
- # If a value isn't specified, jobs within the search results are
- # associated with any company.
- #
- # If multiple values are specified, jobs within the search results may be
- # associated with any of the specified companies.
- #
- # At most 20 company display name filters are allowed.
- "A String",
- ],
"jobCategories": [ # Optional. The category filter specifies the categories of jobs to search against.
# See Category for more information.
#
@@ -5290,6 +5167,47 @@
# Language code should be in BCP-47 format, such as "en-US" or "sr-Latn".
# For more information, see
# [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
+ "customAttributeFilter": "A String", # Optional. This filter specifies a structured syntax to match against the
+ # Job.custom_attributes marked as `filterable`.
+ #
+ # The syntax for this expression is a subset of SQL syntax.
+ #
+ # Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the
+ # left of the operator is a custom field key and the right of the operator
+ # is a number or a quoted string. You must escape backslash (\\) and
+ # quote (\") characters.
+ #
+ # Supported functions are `LOWER([field_name])` to
+ # perform a case insensitive match and `EMPTY([field_name])` to filter on the
+ # existence of a key.
+ #
+ # Boolean expressions (AND/OR/NOT) are supported up to 3 levels of
+ # nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100
+ # comparisons or functions are allowed in the expression. The expression
+ # must be < 6000 bytes in length.
+ #
+ # Sample Query:
+ # `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND
+ # driving_years > 10`
+ "publishTimeRange": { # Message representing a period of time between two timestamps. # Optional. Jobs published within a range specified by this filter are searched
+ # against.
+ "endTime": "A String", # End of the period.
+ "startTime": "A String", # Begin of the period.
+ },
+ "languageCodes": [ # Optional. This filter specifies the locale of jobs to search against,
+ # for example, "en-US".
+ #
+ # If a value isn't specified, the search results can contain jobs in any
+ # locale.
+ #
+ #
+ # Language codes should be in BCP-47 format, such as "en-US" or "sr-Latn".
+ # For more information, see
+ # [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
+ #
+ # At most 10 language code filters are allowed.
+ "A String",
+ ],
"employmentTypes": [ # Optional. The employment type filter specifies the employment type of jobs to
# search against, such as EmploymentType.FULL_TIME.
#
@@ -5300,21 +5218,158 @@
# any of the specified employment types.
"A String",
],
+ "query": "A String", # Optional. The query string that matches against the job title, description, and
+ # location fields.
+ #
+ # The maximum number of allowed characters is 255.
+ "disableSpellCheck": True or False, # Optional. This flag controls the spell-check feature. If false, the
+ # service attempts to correct a misspelled query,
+ # for example, "enginee" is corrected to "engineer".
+ #
+ # Defaults to false: a spell check is performed.
+ "companyDisplayNames": [ # Optional. This filter specifies the exact company display
+ # name of the jobs to search against.
+ #
+ # If a value isn't specified, jobs within the search results are
+ # associated with any company.
+ #
+ # If multiple values are specified, jobs within the search results may be
+ # associated with any of the specified companies.
+ #
+ # At most 20 company display name filters are allowed.
+ "A String",
+ ],
+ "locationFilters": [ # Optional. The location filter specifies geo-regions containing the jobs to
+ # search against. See LocationFilter for more information.
+ #
+ # If a location value isn't specified, jobs fitting the other search
+ # criteria are retrieved regardless of where they're located.
+ #
+ # If multiple values are specified, jobs are retrieved from any of the
+ # specified locations. If different values are specified for the
+ # LocationFilter.distance_in_miles parameter, the maximum provided
+ # distance is used for all locations.
+ #
+ # At most 5 location filters are allowed.
+ { # Input only.
+ #
+ # Geographic region of the search.
+ "telecommutePreference": "A String", # Optional. Allows the client to return jobs without a
+ # set location, specifically, telecommuting jobs (telecommuting is considered
+ # by the service as a special location.
+ # Job.posting_region indicates if a job permits telecommuting.
+ # If this field is set to TelecommutePreference.TELECOMMUTE_ALLOWED,
+ # telecommuting jobs are searched, and address and lat_lng are
+ # ignored. If not set or set to
+ # TelecommutePreference.TELECOMMUTE_EXCLUDED, telecommute job are not
+ # searched.
+ #
+ # This filter can be used by itself to search exclusively for telecommuting
+ # jobs, or it can be combined with another location
+ # filter to search for a combination of job locations,
+ # such as "Mountain View" or "telecommuting" jobs. However, when used in
+ # combination with other location filters, telecommuting jobs can be
+ # treated as less relevant than other jobs in the search response.
+ "distanceInMiles": 3.14, # Optional. The distance_in_miles is applied when the location being searched for is
+ # identified as a city or smaller. When the location being searched for is a
+ # state or larger, this field is ignored.
+ "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # Optional. The latitude and longitude of the geographic center from which to
+ # search. This field's ignored if `address` is provided.
+ # of doubles representing degrees latitude and degrees longitude. Unless
+ # specified otherwise, this must conform to the
+ # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
+ # standard</a>. Values must be within normalized ranges.
+ "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+ "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+ },
+ "regionCode": "A String", # Optional. CLDR region code of the country/region of the address. This is used
+ # to address ambiguity of the user-input location, for example, "Liverpool"
+ # against "Liverpool, NY, US" or "Liverpool, UK".
+ #
+ # Set this field if all the jobs to search against are from a same region,
+ # or jobs are world-wide, but the job seeker is from a specific region.
+ #
+ # See http://cldr.unicode.org/ and
+ # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
+ # for details. Example: "CH" for Switzerland.
+ "address": "A String", # Optional. The address name, such as "Mountain View" or "Bay Area".
+ },
+ ],
+ "compensationFilter": { # Input only. # Optional. This search filter is applied only to
+ # Job.compensation_info. For example, if the filter is specified
+ # as "Hourly job with per-hour compensation > $15", only jobs meeting
+ # these criteria are searched. If a filter isn't defined, all open jobs
+ # are searched.
+ #
+ # Filter on job compensation type and amount.
+ "includeJobsWithUnspecifiedCompensationRange": True or False, # Optional. If set to true, jobs with unspecified compensation range fields are
+ # included.
+ "type": "A String", # Required. Type of filter.
+ "units": [ # Required. Specify desired `base compensation entry's`
+ # CompensationInfo.CompensationUnit.
+ "A String",
+ ],
+ "range": { # Compensation range. # Optional. Compensation range.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ },
},
- "jobView": "A String", # Optional. The desired job attributes returned for jobs in the
- # search response. Defaults to JobView.SMALL if no value is specified.
- "requirePreciseResultSize": True or False, # Optional. Controls if the search job request requires the return of a precise
- # count of the first 300 results. Setting this to `true` ensures
- # consistency in the number of results per page. Best practice is to set this
- # value to true if a client allows users to jump directly to a
- # non-sequential search results page.
+ "orderBy": "A String", # Optional. The criteria determining how search results are sorted. Default is
+ # "relevance desc".
#
- # Enabling this flag may adversely impact performance.
+ # Supported options are:
#
- # Defaults to false.
- "pageToken": "A String", # Optional. The token specifying the current offset within
- # search results. See SearchJobsResponse.next_page_token for
- # an explanation of how to obtain the next set of query results.
+ # * `"relevance desc"`: By relevance descending, as determined by the API
+ # algorithms. Relevance thresholding of query results is only available
+ # with this ordering.
+ # * `"posting_publish_time desc"`: By Job.posting_publish_time
+ # descending.
+ # * `"posting_update_time desc"`: By Job.posting_update_time
+ # descending.
+ # * `"title"`: By Job.title ascending.
+ # * `"title desc"`: By Job.title descending.
+ # * `"annualized_base_compensation"`: By job's
+ # CompensationInfo.annualized_base_compensation_range ascending. Jobs
+ # whose annualized base compensation is unspecified are put at the end of
+ # search results.
+ # * `"annualized_base_compensation desc"`: By job's
+ # CompensationInfo.annualized_base_compensation_range descending. Jobs
+ # whose annualized base compensation is unspecified are put at the end of
+ # search results.
+ # * `"annualized_total_compensation"`: By job's
+ # CompensationInfo.annualized_total_compensation_range ascending. Jobs
+ # whose annualized base compensation is unspecified are put at the end of
+ # search results.
+ # * `"annualized_total_compensation desc"`: By job's
+ # CompensationInfo.annualized_total_compensation_range descending. Jobs
+ # whose annualized base compensation is unspecified are put at the end of
+ # search results.
"diversificationLevel": "A String", # Optional. Controls whether highly similar jobs are returned next to each other in
# the search results. Jobs are identified as highly similar based on
# their titles, job categories, and locations. Highly similar results are
@@ -5324,61 +5379,6 @@
#
# Defaults to DiversificationLevel.SIMPLE if no value
# is specified.
- "searchMode": "A String", # Optional. Mode of a search.
- #
- # Defaults to SearchMode.JOB_SEARCH.
- "requestMetadata": { # Input only. # Required. The meta information collected about the job searcher, used to improve the
- # search quality of the service. The identifiers (such as `user_id`) are
- # provided by users, and must be unique and consistent.
- #
- # Meta information related to the job searcher or entity
- # conducting the job search. This information is used to improve the
- # performance of the service.
- "deviceInfo": { # Device information collected from the job seeker, candidate, or # Optional. The type of device used by the job seeker at the time of the call to the
- # service.
- # other entity conducting the job search. Providing this information improves
- # the quality of the search results across devices.
- "deviceType": "A String", # Optional. Type of the device.
- "id": "A String", # Optional. A device-specific ID. The ID must be a unique identifier that
- # distinguishes the device from other devices.
- },
- "sessionId": "A String", # Required. A unique session identification string. A session is defined as the
- # duration of an end user's interaction with the service over a certain
- # period.
- # Obfuscate this field for privacy concerns before
- # providing it to the service.
- #
- # If this field is not available for some reason, send "UNKNOWN". Note
- # that any improvements to the model for a particular tenant
- # site, rely on this field being set correctly to some unique session_id.
- #
- # The maximum number of allowed characters is 255.
- "domain": "A String", # Required. The client-defined scope or source of the service call, which typically
- # is the domain on
- # which the service has been implemented and is currently being run.
- #
- # For example, if the service is being run by client <em>Foo, Inc.</em>, on
- # job board www.foo.com and career site www.bar.com, then this field is
- # set to "foo.com" for use on the job board, and "bar.com" for use on the
- # career site.
- #
- # If this field isn't available for some reason, send "UNKNOWN".
- # Any improvements to the model for a particular tenant site rely on this
- # field being set correctly to a domain.
- #
- # The maximum number of allowed characters is 255.
- "userId": "A String", # Required. A unique user identification string, as determined by the client.
- # To have the strongest positive impact on search quality
- # make sure the client-level is unique.
- # Obfuscate this field for privacy concerns before
- # providing it to the service.
- #
- # If this field is not available for some reason, send "UNKNOWN". Note
- # that any improvements to the model for a particular tenant
- # site, rely on this field being set correctly to a unique user_id.
- #
- # The maximum number of allowed characters is 255.
- },
}
x__xgafv: string, V1 error format.
@@ -5392,492 +5392,33 @@
{ # Output only.
#
# Response for SearchJob method.
- "metadata": { # Output only. # Additional information for the API invocation, such as the request
- # tracking id.
- #
- # Additional information returned to client, such as debugging information.
- "requestId": "A String", # A unique id associated with this call.
- # This id is logged for tracking purposes.
- },
- "histogramResults": { # Output only. # The histogram results that match specified
- # SearchJobsRequest.histogram_facets.
- #
- # Histogram results that match HistogramFacets specified in
- # SearchJobsRequest.
- "compensationHistogramResults": [ # Specifies compensation field-based histogram results that match
- # HistogramFacets.compensation_histogram_requests.
- { # Output only.
- #
- # Compensation based histogram result.
- "result": { # Output only. # Histogram result.
- #
- # Custom numeric bucketing result.
- "counts": [ # Count within each bucket. Its size is the length of
- # NumericBucketingOption.bucket_bounds plus 1.
- { # Represents count of jobs within one bucket.
- "range": { # Represents starting and ending value of a range in double. # Bucket range on which histogram was performed for the numeric field,
- # that is, the count represents number of jobs in this range.
- "to": 3.14, # Ending value of the bucket range.
- "from": 3.14, # Starting value of the bucket range.
- },
- "count": 42, # Number of jobs whose numeric field value fall into `range`.
- },
- ],
- "minValue": 3.14, # Stores the minimum value of the numeric field. Will be populated only if
- # [NumericBucketingOption.requires_min_max] is set to true.
- "maxValue": 3.14, # Stores the maximum value of the numeric field. Is populated only if
- # [NumericBucketingOption.requires_min_max] is set to true.
- },
- "type": "A String", # Type of the request, corresponding to
- # CompensationHistogramRequest.type.
- },
- ],
- "customAttributeHistogramResults": [ # Specifies histogram results for custom attributes that match
- # HistogramFacets.custom_attribute_histogram_facets.
- { # Output only.
- #
- # Custom attribute histogram result.
- "longValueHistogramResult": { # Output only. # Stores bucketed histogram counting result or min/max values for
- # custom attribute long values associated with `key`.
- #
- # Custom numeric bucketing result.
- "counts": [ # Count within each bucket. Its size is the length of
- # NumericBucketingOption.bucket_bounds plus 1.
- { # Represents count of jobs within one bucket.
- "range": { # Represents starting and ending value of a range in double. # Bucket range on which histogram was performed for the numeric field,
- # that is, the count represents number of jobs in this range.
- "to": 3.14, # Ending value of the bucket range.
- "from": 3.14, # Starting value of the bucket range.
- },
- "count": 42, # Number of jobs whose numeric field value fall into `range`.
- },
- ],
- "minValue": 3.14, # Stores the minimum value of the numeric field. Will be populated only if
- # [NumericBucketingOption.requires_min_max] is set to true.
- "maxValue": 3.14, # Stores the maximum value of the numeric field. Is populated only if
- # [NumericBucketingOption.requires_min_max] is set to true.
- },
- "stringValueHistogramResult": { # Stores a map from the values of string custom field associated
- # with `key` to the number of jobs with that value in this histogram result.
- "a_key": 42,
- },
- "key": "A String", # Stores the key of custom attribute the histogram is performed on.
- },
- ],
- "simpleHistogramResults": [ # Specifies histogram results that matches
- # HistogramFacets.simple_histogram_facets.
- { # Output only.
- #
- # Result of a histogram call. The response contains the histogram map for the
- # search type specified by HistogramResult.field.
- # The response is a map of each filter value to the corresponding count of
- # jobs for that filter.
- "values": { # A map from the values of field to the number of jobs with that value
- # in this search result.
- #
- # Key: search type (filter names, such as the companyName).
- #
- # Values: the count of jobs that match the filter for this search.
- "a_key": 42,
- },
- "searchType": "A String", # The Histogram search filters.
- },
- ],
- },
"matchingJobs": [ # The Job entities that match the specified SearchJobsRequest.
{ # Output only.
#
# Job entry with metadata inside SearchJobsResponse.
+ "searchTextSnippet": "A String", # Contains snippets of text from the Job.description and similar
+ # fields that most closely match a search query's keywords, if available.
+ # All HTML tags in the original fields are stripped when returned in this
+ # field, and matching query keywords are enclosed in HTML bold tags.
+ "jobSummary": "A String", # A summary of the job with core information that's displayed on the search
+ # results listing page.
"job": { # A Job resource represents a job posting (also referred to as a "job listing" # Job resource that matches the specified SearchJobsRequest.
# or "job requisition"). A job belongs to a Company, which is the hiring
# entity responsible for the job.
- "name": "A String", # Required during job update.
- #
- # The resource name for the job. This is generated by the service when a
- # job is created.
- #
- # The format is "projects/{project_id}/jobs/{job_id}",
- # for example, "projects/api-test-project/jobs/1234".
- #
- # Use of this field in job queries and API calls is preferred over the use of
- # requisition_id since this value is unique.
- "jobBenefits": [ # Optional. The benefits included with the job.
- "A String",
- ],
- "promotionValue": 42, # Optional. A promotion value of the job, as determined by the client.
- # The value determines the sort order of the jobs returned when searching for
- # jobs using the featured jobs search call, with higher promotional values
- # being returned first and ties being resolved by relevance sort. Only the
- # jobs with a promotionValue >0 are returned in a FEATURED_JOB_SEARCH.
- #
- # Default value is 0, and negative values are treated as 0.
- "title": "A String", # Required. The title of the job, such as "Software Engineer"
- #
- # The maximum number of allowed characters is 500.
- "companyDisplayName": "A String", # Output only. Display name of the company listing the job.
- "qualifications": "A String", # Optional. A description of the qualifications required to perform the
- # job. The use of this field is recommended
- # as an alternative to using the more general description field.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 10,000.
- "requisitionId": "A String", # Required. The requisition ID, also referred to as the posting ID, assigned by the
- # client to identify a job. This field is intended to be used by clients
- # for client identification and tracking of postings. A job is not allowed
- # to be created if there is another job with the same [company_name],
- # language_code and requisition_id.
- #
- # The maximum number of allowed characters is 255.
- "processingOptions": { # Input only. # Optional. Options for job processing.
- #
- # Options for job processing.
- "disableStreetAddressResolution": True or False, # Optional. If set to `true`, the service does not attempt to resolve a
- # more precise address for the job.
- "htmlSanitization": "A String", # Optional. Option for job HTML content sanitization. Applied fields are:
- #
- # * description
- # * applicationInfo.instruction
- # * incentives
- # * qualifications
- # * responsibilities
- #
- # HTML tags in these fields may be stripped if sanitiazation is not
- # disabled.
- #
- # Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.
- },
- "jobEndTime": "A String", # Optional. The end timestamp of the job. Typically this field is used for contracting
- # engagements. Invalid timestamps are ignored.
- "derivedInfo": { # Output only. # Output only. Derived details about the job posting.
- #
- # Derived details about the job posting.
- "locations": [ # Structured locations of the job, resolved from Job.addresses.
- #
- # locations are exactly matched to Job.addresses in the same
- # order.
- { # Output only.
- #
- # A resource that represents a location with full geographic information.
- "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the
- # location bounding box in which a circle with the specified radius
- # centered from LatLng covers the area associated with the job location.
- # For example, currently, "Mountain View, CA, USA" has a radius of
- # 6.17 miles.
- "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair.
- # of doubles representing degrees latitude and degrees longitude. Unless
- # specified otherwise, this must conform to the
- # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
- # standard</a>. Values must be within normalized ranges.
- "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
- "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
- },
- "postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information,
- # such as postal delivery and payments addresses. Given a postal address,
- # a postal service can deliver items to a premises, P.O. Box, or other
- # delivery location.
- # Given a postal address, a postal service can deliver items to a premise, P.O.
- # Box or similar.
- # It is not intended to model geographical locations (roads, towns,
- # mountains).
- #
- # In typical usage an address would be created via user input or from importing
- # existing data, depending on the type of process.
- #
- # Advice on address input / editing:
- # - Use an i18n-ready address widget such as
- # https://github.com/google/libaddressinput)
- # - Users should not be presented with UI elements for input or editing of
- # fields outside countries where that field is used.
- #
- # For more guidance on how to use this schema, please see:
- # https://support.google.com/business/answer/6397478
- "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require
- # postal codes to be present, but where they are used, they may trigger
- # additional validation with other parts of the address (e.g. state/zip
- # validation in the U.S.A.).
- "languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if
- # known). This is often the UI language of the input form or is expected
- # to match one of the languages used in the address' country/region, or their
- # transliterated equivalents.
- # This can affect formatting in certain countries, but is not critical
- # to the correctness of the data and will never affect any validation or
- # other non-formatting related operations.
- #
- # If this value is not known, it should be omitted (rather than specifying a
- # possibly incorrect default).
- #
- # Examples: "zh-Hant", "ja", "ja-Latn", "en".
- "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used
- # in most regions. Where it is used, the value is either a string like
- # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
- # alone, representing the "sector code" (Jamaica), "delivery area indicator"
- # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
- "recipients": [ # Optional. The recipient at the address.
- # This field may, under certain circumstances, contain multiline information.
- # For example, it might contain "care of" information.
- "A String",
- ],
- "sublocality": "A String", # Optional. Sublocality of the address.
- # For example, this can be neighborhoods, boroughs, districts.
- "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is
- # the latest revision.
- #
- # All new revisions **must** be backward compatible with old revisions.
- "locality": "A String", # Optional. Generally refers to the city/town portion of the address.
- # Examples: US city, IT comune, UK post town.
- # In regions of the world where localities are not well defined or do not fit
- # into this structure well, leave locality empty and use address_lines.
- "administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal
- # addresses of a country or region.
- # For example, this can be a state, a province, an oblast, or a prefecture.
- # Specifically, for Spain this is the province and not the autonomous
- # community (e.g. "Barcelona" and not "Catalonia").
- # Many countries don't use an administrative area in postal addresses. E.g.
- # in Switzerland this should be left unpopulated.
- "organization": "A String", # Optional. The name of the organization at the address.
- "addressLines": [ # Unstructured address lines describing the lower levels of an address.
- #
- # Because values in address_lines do not have type information and may
- # sometimes contain multiple values in a single field (e.g.
- # "Austin, TX"), it is important that the line order is clear. The order of
- # address lines should be "envelope order" for the country/region of the
- # address. In places where this can vary (e.g. Japan), address_language is
- # used to make it explicit (e.g. "ja" for large-to-small ordering and
- # "ja-Latn" or "en" for small-to-large). This way, the most specific line of
- # an address can be selected based on the language.
- #
- # The minimum permitted structural representation of an address consists
- # of a region_code with all remaining information placed in the
- # address_lines. It would be possible to format such an address very
- # approximately without geocoding, but no semantic reasoning could be
- # made about any of the address components until it was at least
- # partially resolved.
- #
- # Creating an address only containing a region_code and address_lines, and
- # then geocoding is the recommended way to handle completely unstructured
- # addresses (as opposed to guessing which parts of the address should be
- # localities or administrative areas).
- "A String",
- ],
- "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This
- # is never inferred and it is up to the user to ensure the value is
- # correct. See http://cldr.unicode.org/ and
- # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
- # for details. Example: "CH" for Switzerland.
- },
- "locationType": "A String", # The type of a location, which corresponds to the address lines field of
- # PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
- # LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
- # LocationType#LOCALITY.
- },
- ],
- "jobCategories": [ # Job categories derived from Job.title and Job.description.
- "A String",
- ],
- },
- "incentives": "A String", # Optional. A description of bonus, commission, and other compensation
- # incentives associated with the job not including salary or pay.
- #
- # The maximum number of allowed characters is 10,000.
- "employmentTypes": [ # Optional. The employment type(s) of a job, for example,
- # full time or
- # part time.
- "A String",
- ],
- "postingCreateTime": "A String", # Output only. The timestamp when this job posting was created.
- "addresses": [ # Optional but strongly recommended for the best service experience.
- #
- # Location(s) where the employer is looking to hire for this job posting.
- #
- # Specifying the full street address(es) of the hiring location enables
- # better API results, especially job searches by commute time.
- #
- # At most 50 locations are allowed for best search performance. If a job has
- # more locations, it is suggested to split it into multiple jobs with unique
- # requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', etc.) as
- # multiple jobs with the same company_name, language_code and
- # requisition_id are not allowed. If the original requisition_id must
- # be preserved, a custom field should be used for storage. It is also
- # suggested to group the locations that close to each other in the same job
- # for better search experience.
- #
- # The maximum number of allowed characters is 500.
- "A String",
- ],
- "companyName": "A String", # Required. The resource name of the company listing the job, such as
- # "projects/api-test-project/companies/foo".
- "description": "A String", # Required. The description of the job, which typically includes a multi-paragraph
- # description of the company and related information. Separate fields are
- # provided on the job object for responsibilities,
- # qualifications, and other job characteristics. Use of
- # these separate job fields is recommended.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 100,000.
- "jobStartTime": "A String", # Optional. The start timestamp of the job in UTC time zone. Typically this field
- # is used for contracting engagements. Invalid timestamps are ignored.
- "degreeTypes": [ # Optional. The desired education degrees for the job, such as Bachelors, Masters.
- "A String",
- ],
- "compensationInfo": { # Job compensation details. # Optional. Job compensation information.
- "annualizedTotalCompensationRange": { # Compensation range. # Output only. Annualized total compensation range. Computed as
- # all compensation entries' CompensationEntry.compensation times
- # CompensationEntry.expected_units_per_year.
- #
- # See CompensationEntry for explanation on compensation annualization.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- "entries": [ # Optional. Job compensation information.
- #
- # At most one entry can be of type
- # CompensationInfo.CompensationType.BASE, which is
- # referred as ** base compensation entry ** for the job.
- { # A compensation entry that represents one component of compensation, such
- # as base pay, bonus, or other compensation type.
- #
- # Annualization: One compensation entry can be annualized if
- # - it contains valid amount or range.
- # - and its expected_units_per_year is set or can be derived.
- # Its annualized range is determined as (amount or range) times
- # expected_units_per_year.
- "amount": { # Represents an amount of money with its currency type. # Optional. Compensation amount.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "type": "A String", # Optional. Compensation type.
- #
- # Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED.
- "range": { # Compensation range. # Optional. Compensation range.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- "expectedUnitsPerYear": 3.14, # Optional. Expected number of units paid each year. If not specified, when
- # Job.employment_types is FULLTIME, a default value is inferred
- # based on unit. Default values:
- # - HOURLY: 2080
- # - DAILY: 260
- # - WEEKLY: 52
- # - MONTHLY: 12
- # - ANNUAL: 1
- "description": "A String", # Optional. Compensation description. For example, could
- # indicate equity terms or provide additional context to an estimated
- # bonus.
- "unit": "A String", # Optional. Frequency of the specified amount.
- #
- # Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
- },
- ],
- "annualizedBaseCompensationRange": { # Compensation range. # Output only. Annualized base compensation range. Computed as
- # base compensation entry's CompensationEntry.compensation times
- # CompensationEntry.expected_units_per_year.
- #
- # See CompensationEntry for explanation on compensation annualization.
- "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
- # to a maximal compensation value and the currency code is set to
- # match the currency code of
- # min_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
- # to zero and the currency code is set to match the
- # currency code of max_compensation.
- "nanos": 42, # Number of nano (10^-9) units of the amount.
- # The value must be between -999,999,999 and +999,999,999 inclusive.
- # If `units` is positive, `nanos` must be positive or zero.
- # If `units` is zero, `nanos` can be positive, zero, or negative.
- # If `units` is negative, `nanos` must be negative or zero.
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
- "units": "A String", # The whole units of the amount.
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
- "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
- },
- },
- },
- "responsibilities": "A String", # Optional. A description of job responsibilities. The use of this field is
- # recommended as an alternative to using the more general description
- # field.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 10,000.
- "department": "A String", # Optional. The department or functional area within the company with the open
- # position.
- #
- # The maximum number of allowed characters is 255.
"applicationInfo": { # Application related details of a job posting. # Required. At least one field within ApplicationInfo must be specified.
#
# Job application information.
+ "instruction": "A String", # Optional but at least one of uris,
+ # emails or instruction must be
+ # specified.
+ #
+ # Use this field to provide instructions, such as "Mail your application
+ # to ...", that a candidate can follow to apply for the job.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 3,000.
"uris": [ # Optional but at least one of uris,
# emails or instruction must be
# specified.
@@ -5898,18 +5439,81 @@
# The maximum number of allowed characters for each entry is 255.
"A String",
],
- "instruction": "A String", # Optional but at least one of uris,
- # emails or instruction must be
- # specified.
- #
- # Use this field to provide instructions, such as "Mail your application
- # to ...", that a candidate can follow to apply for the job.
- #
- # This field accepts and sanitizes HTML input, and also accepts
- # bold, italic, ordered list, and unordered list markup tags.
- #
- # The maximum number of allowed characters is 3,000.
},
+ "responsibilities": "A String", # Optional. A description of job responsibilities. The use of this field is
+ # recommended as an alternative to using the more general description
+ # field.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 10,000.
+ "companyName": "A String", # Required. The resource name of the company listing the job, such as
+ # "projects/api-test-project/companies/foo".
+ "promotionValue": 42, # Optional. A promotion value of the job, as determined by the client.
+ # The value determines the sort order of the jobs returned when searching for
+ # jobs using the featured jobs search call, with higher promotional values
+ # being returned first and ties being resolved by relevance sort. Only the
+ # jobs with a promotionValue >0 are returned in a FEATURED_JOB_SEARCH.
+ #
+ # Default value is 0, and negative values are treated as 0.
+ "degreeTypes": [ # Optional. The desired education degrees for the job, such as Bachelors, Masters.
+ "A String",
+ ],
+ "description": "A String", # Required. The description of the job, which typically includes a multi-paragraph
+ # description of the company and related information. Separate fields are
+ # provided on the job object for responsibilities,
+ # qualifications, and other job characteristics. Use of
+ # these separate job fields is recommended.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 100,000.
+ "title": "A String", # Required. The title of the job, such as "Software Engineer"
+ #
+ # The maximum number of allowed characters is 500.
+ "postingPublishTime": "A String", # Optional. The timestamp this job posting was most recently published. The default
+ # value is the time the request arrives at the server. Invalid timestamps are
+ # ignored.
+ "postingCreateTime": "A String", # Output only. The timestamp when this job posting was created.
+ "incentives": "A String", # Optional. A description of bonus, commission, and other compensation
+ # incentives associated with the job not including salary or pay.
+ #
+ # The maximum number of allowed characters is 10,000.
+ "jobEndTime": "A String", # Optional. The end timestamp of the job. Typically this field is used for contracting
+ # engagements. Invalid timestamps are ignored.
+ "addresses": [ # Optional but strongly recommended for the best service experience.
+ #
+ # Location(s) where the employer is looking to hire for this job posting.
+ #
+ # Specifying the full street address(es) of the hiring location enables
+ # better API results, especially job searches by commute time.
+ #
+ # At most 50 locations are allowed for best search performance. If a job has
+ # more locations, it is suggested to split it into multiple jobs with unique
+ # requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', etc.) as
+ # multiple jobs with the same company_name, language_code and
+ # requisition_id are not allowed. If the original requisition_id must
+ # be preserved, a custom field should be used for storage. It is also
+ # suggested to group the locations that close to each other in the same job
+ # for better search experience.
+ #
+ # The maximum number of allowed characters is 500.
+ "A String",
+ ],
+ "jobLevel": "A String", # Optional. The experience level associated with the job, such as "Entry Level".
+ "jobBenefits": [ # Optional. The benefits included with the job.
+ "A String",
+ ],
+ "qualifications": "A String", # Optional. A description of the qualifications required to perform the
+ # job. The use of this field is recommended
+ # as an alternative to using the more general description field.
+ #
+ # This field accepts and sanitizes HTML input, and also accepts
+ # bold, italic, ordered list, and unordered list markup tags.
+ #
+ # The maximum number of allowed characters is 10,000.
"postingRegion": "A String", # Optional. The job PostingRegion (for example, state, country) throughout which
# the job is available. If this field is set, a
# LocationFilter in a search query within the job region
@@ -5917,6 +5521,54 @@
# If this field is set to PostingRegion.NATION or
# PostingRegion.ADMINISTRATIVE_AREA, setting job Job.addresses
# to the same location level as this field is strongly recommended.
+ "customAttributes": { # Optional. A map of fields to hold both filterable and non-filterable custom job
+ # attributes that are not covered by the provided structured fields.
+ #
+ # The keys of the map are strings up to 64 bytes and must match the
+ # pattern: a-zA-Z*. For example, key0LikeThis or
+ # KEY_1_LIKE_THIS.
+ #
+ # At most 100 filterable and at most 100 unfilterable keys are supported.
+ # For filterable `string_values`, across all keys at most 200 values are
+ # allowed, with each string no more than 255 characters. For unfilterable
+ # `string_values`, the maximum total size of `string_values` across all keys
+ # is 50KB.
+ "a_key": { # Custom attribute values that are either filterable or non-filterable.
+ "filterable": True or False, # Optional. If the `filterable` flag is true, the custom field values may be used for
+ # custom attribute filters JobQuery.custom_attribute_filter.
+ # If false, these values may not be used for custom attribute filters.
+ #
+ # Default is false.
+ "stringValues": [ # Optional but exactly one of string_values or long_values must
+ # be specified.
+ #
+ # This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
+ # `CASE_INSENSITIVE_MATCH`) search.
+ # For filterable `string_value`s, a maximum total number of 200 values
+ # is allowed, with each `string_value` has a byte size of no more than
+ # 500B. For unfilterable `string_values`, the maximum total byte size of
+ # unfilterable `string_values` is 50KB.
+ #
+ # Empty string is not allowed.
+ "A String",
+ ],
+ "longValues": [ # Optional but exactly one of string_values or long_values must
+ # be specified.
+ #
+ # This field is used to perform number range search.
+ # (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
+ #
+ # Currently at most 1 long_values is supported.
+ "A String",
+ ],
+ },
+ },
+ "postingUpdateTime": "A String", # Output only. The timestamp when this job posting was last updated.
+ "employmentTypes": [ # Optional. The employment type(s) of a job, for example,
+ # full time or
+ # part time.
+ "A String",
+ ],
"postingExpireTime": "A String", # Optional but strongly recommended for the best service
# experience.
#
@@ -5950,52 +5602,163 @@
# expiry_time, or the masks are empty meaning that every field is
# updated, the job posting expires after 30 days from the job's last
# update time. Otherwise the expiration date isn't updated.
- "postingPublishTime": "A String", # Optional. The timestamp this job posting was most recently published. The default
- # value is the time the request arrives at the server. Invalid timestamps are
- # ignored.
- "customAttributes": { # Optional. A map of fields to hold both filterable and non-filterable custom job
- # attributes that are not covered by the provided structured fields.
+ "department": "A String", # Optional. The department or functional area within the company with the open
+ # position.
#
- # The keys of the map are strings up to 64 bytes and must match the
- # pattern: a-zA-Z*. For example, key0LikeThis or
- # KEY_1_LIKE_THIS.
+ # The maximum number of allowed characters is 255.
+ "derivedInfo": { # Output only. # Output only. Derived details about the job posting.
#
- # At most 100 filterable and at most 100 unfilterable keys are supported.
- # For filterable `string_values`, across all keys at most 200 values are
- # allowed, with each string no more than 255 characters. For unfilterable
- # `string_values`, the maximum total size of `string_values` across all keys
- # is 50KB.
- "a_key": { # Custom attribute values that are either filterable or non-filterable.
- "stringValues": [ # Optional but exactly one of string_values or long_values must
- # be specified.
+ # Derived details about the job posting.
+ "locations": [ # Structured locations of the job, resolved from Job.addresses.
+ #
+ # locations are exactly matched to Job.addresses in the same
+ # order.
+ { # Output only.
#
- # This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
- # `CASE_INSENSITIVE_MATCH`) search.
- # For filterable `string_value`s, a maximum total number of 200 values
- # is allowed, with each `string_value` has a byte size of no more than
- # 500B. For unfilterable `string_values`, the maximum total byte size of
- # unfilterable `string_values` is 50KB.
- #
- # Empty string is not allowed.
- "A String",
- ],
- "filterable": True or False, # Optional. If the `filterable` flag is true, the custom field values may be used for
- # custom attribute filters JobQuery.custom_attribute_filter.
- # If false, these values may not be used for custom attribute filters.
- #
- # Default is false.
- "longValues": [ # Optional but exactly one of string_values or long_values must
- # be specified.
- #
- # This field is used to perform number range search.
- # (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
- #
- # Currently at most 1 long_values is supported.
- "A String",
- ],
- },
+ # A resource that represents a location with full geographic information.
+ "postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information,
+ # such as postal delivery and payments addresses. Given a postal address,
+ # a postal service can deliver items to a premises, P.O. Box, or other
+ # delivery location.
+ # Given a postal address, a postal service can deliver items to a premise, P.O.
+ # Box or similar.
+ # It is not intended to model geographical locations (roads, towns,
+ # mountains).
+ #
+ # In typical usage an address would be created via user input or from importing
+ # existing data, depending on the type of process.
+ #
+ # Advice on address input / editing:
+ # - Use an i18n-ready address widget such as
+ # https://github.com/google/libaddressinput)
+ # - Users should not be presented with UI elements for input or editing of
+ # fields outside countries where that field is used.
+ #
+ # For more guidance on how to use this schema, please see:
+ # https://support.google.com/business/answer/6397478
+ "organization": "A String", # Optional. The name of the organization at the address.
+ "sublocality": "A String", # Optional. Sublocality of the address.
+ # For example, this can be neighborhoods, boroughs, districts.
+ "languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if
+ # known). This is often the UI language of the input form or is expected
+ # to match one of the languages used in the address' country/region, or their
+ # transliterated equivalents.
+ # This can affect formatting in certain countries, but is not critical
+ # to the correctness of the data and will never affect any validation or
+ # other non-formatting related operations.
+ #
+ # If this value is not known, it should be omitted (rather than specifying a
+ # possibly incorrect default).
+ #
+ # Examples: "zh-Hant", "ja", "ja-Latn", "en".
+ "administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal
+ # addresses of a country or region.
+ # For example, this can be a state, a province, an oblast, or a prefecture.
+ # Specifically, for Spain this is the province and not the autonomous
+ # community (e.g. "Barcelona" and not "Catalonia").
+ # Many countries don't use an administrative area in postal addresses. E.g.
+ # in Switzerland this should be left unpopulated.
+ "locality": "A String", # Optional. Generally refers to the city/town portion of the address.
+ # Examples: US city, IT comune, UK post town.
+ # In regions of the world where localities are not well defined or do not fit
+ # into this structure well, leave locality empty and use address_lines.
+ "recipients": [ # Optional. The recipient at the address.
+ # This field may, under certain circumstances, contain multiline information.
+ # For example, it might contain "care of" information.
+ "A String",
+ ],
+ "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is
+ # the latest revision.
+ #
+ # All new revisions **must** be backward compatible with old revisions.
+ "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require
+ # postal codes to be present, but where they are used, they may trigger
+ # additional validation with other parts of the address (e.g. state/zip
+ # validation in the U.S.A.).
+ "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used
+ # in most regions. Where it is used, the value is either a string like
+ # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
+ # alone, representing the "sector code" (Jamaica), "delivery area indicator"
+ # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
+ "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This
+ # is never inferred and it is up to the user to ensure the value is
+ # correct. See http://cldr.unicode.org/ and
+ # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
+ # for details. Example: "CH" for Switzerland.
+ "addressLines": [ # Unstructured address lines describing the lower levels of an address.
+ #
+ # Because values in address_lines do not have type information and may
+ # sometimes contain multiple values in a single field (e.g.
+ # "Austin, TX"), it is important that the line order is clear. The order of
+ # address lines should be "envelope order" for the country/region of the
+ # address. In places where this can vary (e.g. Japan), address_language is
+ # used to make it explicit (e.g. "ja" for large-to-small ordering and
+ # "ja-Latn" or "en" for small-to-large). This way, the most specific line of
+ # an address can be selected based on the language.
+ #
+ # The minimum permitted structural representation of an address consists
+ # of a region_code with all remaining information placed in the
+ # address_lines. It would be possible to format such an address very
+ # approximately without geocoding, but no semantic reasoning could be
+ # made about any of the address components until it was at least
+ # partially resolved.
+ #
+ # Creating an address only containing a region_code and address_lines, and
+ # then geocoding is the recommended way to handle completely unstructured
+ # addresses (as opposed to guessing which parts of the address should be
+ # localities or administrative areas).
+ "A String",
+ ],
+ },
+ "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the
+ # location bounding box in which a circle with the specified radius
+ # centered from LatLng covers the area associated with the job location.
+ # For example, currently, "Mountain View, CA, USA" has a radius of
+ # 6.17 miles.
+ "locationType": "A String", # The type of a location, which corresponds to the address lines field of
+ # PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
+ # LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
+ # LocationType#LOCALITY.
+ "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair.
+ # of doubles representing degrees latitude and degrees longitude. Unless
+ # specified otherwise, this must conform to the
+ # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
+ # standard</a>. Values must be within normalized ranges.
+ "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+ "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+ },
+ },
+ ],
+ "jobCategories": [ # Job categories derived from Job.title and Job.description.
+ "A String",
+ ],
},
- "jobLevel": "A String", # Optional. The experience level associated with the job, such as "Entry Level".
+ "jobStartTime": "A String", # Optional. The start timestamp of the job in UTC time zone. Typically this field
+ # is used for contracting engagements. Invalid timestamps are ignored.
+ "visibility": "A String", # Deprecated. The job is only visible to the owner.
+ #
+ # The visibility of the job.
+ #
+ # Defaults to Visibility.ACCOUNT_ONLY if not specified.
+ "processingOptions": { # Input only. # Optional. Options for job processing.
+ #
+ # Options for job processing.
+ "disableStreetAddressResolution": True or False, # Optional. If set to `true`, the service does not attempt to resolve a
+ # more precise address for the job.
+ "htmlSanitization": "A String", # Optional. Option for job HTML content sanitization. Applied fields are:
+ #
+ # * description
+ # * applicationInfo.instruction
+ # * incentives
+ # * qualifications
+ # * responsibilities
+ #
+ # HTML tags in these fields may be stripped if sanitiazation is not
+ # disabled.
+ #
+ # Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.
+ },
+ "companyDisplayName": "A String", # Output only. Display name of the company listing the job.
"languageCode": "A String", # Optional. The language of the posting. This field is distinct from
# any requirements for fluency that are associated with the job.
#
@@ -6007,46 +5770,174 @@
# If this field is unspecified and Job.description is present, detected
# language code based on Job.description is assigned, otherwise
# defaults to 'en_US'.
- "visibility": "A String", # Deprecated. The job is only visible to the owner.
+ "compensationInfo": { # Job compensation details. # Optional. Job compensation information.
+ "annualizedBaseCompensationRange": { # Compensation range. # Output only. Annualized base compensation range. Computed as
+ # base compensation entry's CompensationEntry.compensation times
+ # CompensationEntry.expected_units_per_year.
+ #
+ # See CompensationEntry for explanation on compensation annualization.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ "annualizedTotalCompensationRange": { # Compensation range. # Output only. Annualized total compensation range. Computed as
+ # all compensation entries' CompensationEntry.compensation times
+ # CompensationEntry.expected_units_per_year.
+ #
+ # See CompensationEntry for explanation on compensation annualization.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ "entries": [ # Optional. Job compensation information.
+ #
+ # At most one entry can be of type
+ # CompensationInfo.CompensationType.BASE, which is
+ # referred as ** base compensation entry ** for the job.
+ { # A compensation entry that represents one component of compensation, such
+ # as base pay, bonus, or other compensation type.
+ #
+ # Annualization: One compensation entry can be annualized if
+ # - it contains valid amount or range.
+ # - and its expected_units_per_year is set or can be derived.
+ # Its annualized range is determined as (amount or range) times
+ # expected_units_per_year.
+ "unit": "A String", # Optional. Frequency of the specified amount.
+ #
+ # Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
+ "expectedUnitsPerYear": 3.14, # Optional. Expected number of units paid each year. If not specified, when
+ # Job.employment_types is FULLTIME, a default value is inferred
+ # based on unit. Default values:
+ # - HOURLY: 2080
+ # - DAILY: 260
+ # - WEEKLY: 52
+ # - MONTHLY: 12
+ # - ANNUAL: 1
+ "range": { # Compensation range. # Optional. Compensation range.
+ "maxCompensation": { # Represents an amount of money with its currency type. # Optional. The maximum amount of compensation. If left empty, the value is set
+ # to a maximal compensation value and the currency code is set to
+ # match the currency code of
+ # min_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ "minCompensation": { # Represents an amount of money with its currency type. # Optional. The minimum amount of compensation. If left empty, the value is set
+ # to zero and the currency code is set to match the
+ # currency code of max_compensation.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ "description": "A String", # Optional. Compensation description. For example, could
+ # indicate equity terms or provide additional context to an estimated
+ # bonus.
+ "type": "A String", # Optional. Compensation type.
+ #
+ # Default is CompensationUnit.COMPENSATION_TYPE_UNSPECIFIED.
+ "amount": { # Represents an amount of money with its currency type. # Optional. Compensation amount.
+ "nanos": 42, # Number of nano (10^-9) units of the amount.
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
+ # If `units` is positive, `nanos` must be positive or zero.
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
+ # If `units` is negative, `nanos` must be negative or zero.
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+ "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+ "units": "A String", # The whole units of the amount.
+ # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+ },
+ },
+ ],
+ },
+ "name": "A String", # Required during job update.
#
- # The visibility of the job.
+ # The resource name for the job. This is generated by the service when a
+ # job is created.
#
- # Defaults to Visibility.ACCOUNT_ONLY if not specified.
- "postingUpdateTime": "A String", # Output only. The timestamp when this job posting was last updated.
+ # The format is "projects/{project_id}/jobs/{job_id}",
+ # for example, "projects/api-test-project/jobs/1234".
+ #
+ # Use of this field in job queries and API calls is preferred over the use of
+ # requisition_id since this value is unique.
+ "requisitionId": "A String", # Required. The requisition ID, also referred to as the posting ID, assigned by the
+ # client to identify a job. This field is intended to be used by clients
+ # for client identification and tracking of postings. A job is not allowed
+ # to be created if there is another job with the same [company_name],
+ # language_code and requisition_id.
+ #
+ # The maximum number of allowed characters is 255.
},
- "searchTextSnippet": "A String", # Contains snippets of text from the Job.description and similar
- # fields that most closely match a search query's keywords, if available.
- # All HTML tags in the original fields are stripped when returned in this
- # field, and matching query keywords are enclosed in HTML bold tags.
"jobTitleSnippet": "A String", # Contains snippets of text from the Job.job_title field most
# closely matching a search query's keywords, if available. The matching
# query keywords are enclosed in HTML bold tags.
- "jobSummary": "A String", # A summary of the job with core information that's displayed on the search
- # results listing page.
"commuteInfo": { # Output only. # Commute information which is generated based on specified
# CommuteFilter.
#
# Commute details related to this job.
- "travelDuration": "A String", # The number of seconds required to travel to the job location from the
- # query location. A duration of 0 seconds indicates that the job is not
- # reachable within the requested duration, but was returned as part of an
- # expanded query.
"jobLocation": { # Output only. # Location used as the destination in the commute calculation.
#
# A resource that represents a location with full geographic information.
- "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the
- # location bounding box in which a circle with the specified radius
- # centered from LatLng covers the area associated with the job location.
- # For example, currently, "Mountain View, CA, USA" has a radius of
- # 6.17 miles.
- "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair.
- # of doubles representing degrees latitude and degrees longitude. Unless
- # specified otherwise, this must conform to the
- # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
- # standard</a>. Values must be within normalized ranges.
- "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
- "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
- },
"postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information,
# such as postal delivery and payments addresses. Given a postal address,
# a postal service can deliver items to a premises, P.O. Box, or other
@@ -6067,10 +5958,9 @@
#
# For more guidance on how to use this schema, please see:
# https://support.google.com/business/answer/6397478
- "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require
- # postal codes to be present, but where they are used, they may trigger
- # additional validation with other parts of the address (e.g. state/zip
- # validation in the U.S.A.).
+ "organization": "A String", # Optional. The name of the organization at the address.
+ "sublocality": "A String", # Optional. Sublocality of the address.
+ # For example, this can be neighborhoods, boroughs, districts.
"languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if
# known). This is often the UI language of the input form or is expected
# to match one of the languages used in the address' country/region, or their
@@ -6083,26 +5973,6 @@
# possibly incorrect default).
#
# Examples: "zh-Hant", "ja", "ja-Latn", "en".
- "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used
- # in most regions. Where it is used, the value is either a string like
- # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
- # alone, representing the "sector code" (Jamaica), "delivery area indicator"
- # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
- "recipients": [ # Optional. The recipient at the address.
- # This field may, under certain circumstances, contain multiline information.
- # For example, it might contain "care of" information.
- "A String",
- ],
- "sublocality": "A String", # Optional. Sublocality of the address.
- # For example, this can be neighborhoods, boroughs, districts.
- "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is
- # the latest revision.
- #
- # All new revisions **must** be backward compatible with old revisions.
- "locality": "A String", # Optional. Generally refers to the city/town portion of the address.
- # Examples: US city, IT comune, UK post town.
- # In regions of the world where localities are not well defined or do not fit
- # into this structure well, leave locality empty and use address_lines.
"administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal
# addresses of a country or region.
# For example, this can be a state, a province, an oblast, or a prefecture.
@@ -6110,7 +5980,33 @@
# community (e.g. "Barcelona" and not "Catalonia").
# Many countries don't use an administrative area in postal addresses. E.g.
# in Switzerland this should be left unpopulated.
- "organization": "A String", # Optional. The name of the organization at the address.
+ "locality": "A String", # Optional. Generally refers to the city/town portion of the address.
+ # Examples: US city, IT comune, UK post town.
+ # In regions of the world where localities are not well defined or do not fit
+ # into this structure well, leave locality empty and use address_lines.
+ "recipients": [ # Optional. The recipient at the address.
+ # This field may, under certain circumstances, contain multiline information.
+ # For example, it might contain "care of" information.
+ "A String",
+ ],
+ "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is
+ # the latest revision.
+ #
+ # All new revisions **must** be backward compatible with old revisions.
+ "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require
+ # postal codes to be present, but where they are used, they may trigger
+ # additional validation with other parts of the address (e.g. state/zip
+ # validation in the U.S.A.).
+ "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used
+ # in most regions. Where it is used, the value is either a string like
+ # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
+ # alone, representing the "sector code" (Jamaica), "delivery area indicator"
+ # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
+ "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This
+ # is never inferred and it is up to the user to ensure the value is
+ # correct. See http://cldr.unicode.org/ and
+ # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
+ # for details. Example: "CH" for Switzerland.
"addressLines": [ # Unstructured address lines describing the lower levels of an address.
#
# Because values in address_lines do not have type information and may
@@ -6135,28 +6031,32 @@
# localities or administrative areas).
"A String",
],
- "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This
- # is never inferred and it is up to the user to ensure the value is
- # correct. See http://cldr.unicode.org/ and
- # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
- # for details. Example: "CH" for Switzerland.
},
+ "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the
+ # location bounding box in which a circle with the specified radius
+ # centered from LatLng covers the area associated with the job location.
+ # For example, currently, "Mountain View, CA, USA" has a radius of
+ # 6.17 miles.
"locationType": "A String", # The type of a location, which corresponds to the address lines field of
# PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
# LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
# LocationType#LOCALITY.
+ "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair.
+ # of doubles representing degrees latitude and degrees longitude. Unless
+ # specified otherwise, this must conform to the
+ # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
+ # standard</a>. Values must be within normalized ranges.
+ "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+ "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+ },
},
+ "travelDuration": "A String", # The number of seconds required to travel to the job location from the
+ # query location. A duration of 0 seconds indicates that the job is not
+ # reachable within the requested duration, but was returned as part of an
+ # expanded query.
},
},
],
- "nextPageToken": "A String", # The token that specifies the starting position of the next page of results.
- # This field is empty if there are no more results.
- "spellCorrection": { # Output only. # The spell checking result, and correction.
- #
- # Spell check result.
- "corrected": True or False, # Indicates if the query was corrected by the spell checker.
- "correctedText": "A String", # Correction output consisting of the corrected keyword string.
- },
"broadenedQueryJobsCount": 42, # If query broadening is enabled, we may append additional results from the
# broadened query. This number indicates how many of the jobs returned in the
# jobs field are from the broadened query. These results are always at the
@@ -6164,32 +6064,12 @@
# set, all the jobs in the jobs list are from the original
# (without broadening) query. If this field is non-zero, subsequent requests
# with offset after this result set should contain all broadened results.
- "estimatedTotalSize": 42, # An estimation of the number of jobs that match the specified query.
- #
- # This number is not guaranteed to be accurate. For accurate results,
- # see enable_precise_result_size.
- "totalSize": 42, # The precise result count, which is available only if the client set
- # enable_precise_result_size to `true`, or if the response
- # is the last page of results. Otherwise, the value is `-1`.
"locationFilters": [ # The location filters that the service applied to the specified query. If
# any filters are lat-lng based, the JobLocation.location_type is
# JobLocation.LocationType#LOCATION_TYPE_UNSPECIFIED.
{ # Output only.
#
# A resource that represents a location with full geographic information.
- "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the
- # location bounding box in which a circle with the specified radius
- # centered from LatLng covers the area associated with the job location.
- # For example, currently, "Mountain View, CA, USA" has a radius of
- # 6.17 miles.
- "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair.
- # of doubles representing degrees latitude and degrees longitude. Unless
- # specified otherwise, this must conform to the
- # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
- # standard</a>. Values must be within normalized ranges.
- "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
- "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
- },
"postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information,
# such as postal delivery and payments addresses. Given a postal address,
# a postal service can deliver items to a premises, P.O. Box, or other
@@ -6210,10 +6090,9 @@
#
# For more guidance on how to use this schema, please see:
# https://support.google.com/business/answer/6397478
- "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require
- # postal codes to be present, but where they are used, they may trigger
- # additional validation with other parts of the address (e.g. state/zip
- # validation in the U.S.A.).
+ "organization": "A String", # Optional. The name of the organization at the address.
+ "sublocality": "A String", # Optional. Sublocality of the address.
+ # For example, this can be neighborhoods, boroughs, districts.
"languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if
# known). This is often the UI language of the input form or is expected
# to match one of the languages used in the address' country/region, or their
@@ -6226,26 +6105,6 @@
# possibly incorrect default).
#
# Examples: "zh-Hant", "ja", "ja-Latn", "en".
- "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used
- # in most regions. Where it is used, the value is either a string like
- # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
- # alone, representing the "sector code" (Jamaica), "delivery area indicator"
- # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
- "recipients": [ # Optional. The recipient at the address.
- # This field may, under certain circumstances, contain multiline information.
- # For example, it might contain "care of" information.
- "A String",
- ],
- "sublocality": "A String", # Optional. Sublocality of the address.
- # For example, this can be neighborhoods, boroughs, districts.
- "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is
- # the latest revision.
- #
- # All new revisions **must** be backward compatible with old revisions.
- "locality": "A String", # Optional. Generally refers to the city/town portion of the address.
- # Examples: US city, IT comune, UK post town.
- # In regions of the world where localities are not well defined or do not fit
- # into this structure well, leave locality empty and use address_lines.
"administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal
# addresses of a country or region.
# For example, this can be a state, a province, an oblast, or a prefecture.
@@ -6253,7 +6112,33 @@
# community (e.g. "Barcelona" and not "Catalonia").
# Many countries don't use an administrative area in postal addresses. E.g.
# in Switzerland this should be left unpopulated.
- "organization": "A String", # Optional. The name of the organization at the address.
+ "locality": "A String", # Optional. Generally refers to the city/town portion of the address.
+ # Examples: US city, IT comune, UK post town.
+ # In regions of the world where localities are not well defined or do not fit
+ # into this structure well, leave locality empty and use address_lines.
+ "recipients": [ # Optional. The recipient at the address.
+ # This field may, under certain circumstances, contain multiline information.
+ # For example, it might contain "care of" information.
+ "A String",
+ ],
+ "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is
+ # the latest revision.
+ #
+ # All new revisions **must** be backward compatible with old revisions.
+ "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require
+ # postal codes to be present, but where they are used, they may trigger
+ # additional validation with other parts of the address (e.g. state/zip
+ # validation in the U.S.A.).
+ "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used
+ # in most regions. Where it is used, the value is either a string like
+ # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
+ # alone, representing the "sector code" (Jamaica), "delivery area indicator"
+ # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
+ "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This
+ # is never inferred and it is up to the user to ensure the value is
+ # correct. See http://cldr.unicode.org/ and
+ # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
+ # for details. Example: "CH" for Switzerland.
"addressLines": [ # Unstructured address lines describing the lower levels of an address.
#
# Because values in address_lines do not have type information and may
@@ -6278,18 +6163,133 @@
# localities or administrative areas).
"A String",
],
- "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This
- # is never inferred and it is up to the user to ensure the value is
- # correct. See http://cldr.unicode.org/ and
- # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
- # for details. Example: "CH" for Switzerland.
},
+ "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the
+ # location bounding box in which a circle with the specified radius
+ # centered from LatLng covers the area associated with the job location.
+ # For example, currently, "Mountain View, CA, USA" has a radius of
+ # 6.17 miles.
"locationType": "A String", # The type of a location, which corresponds to the address lines field of
# PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
# LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
# LocationType#LOCALITY.
+ "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair.
+ # of doubles representing degrees latitude and degrees longitude. Unless
+ # specified otherwise, this must conform to the
+ # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
+ # standard</a>. Values must be within normalized ranges.
+ "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+ "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+ },
},
],
+ "nextPageToken": "A String", # The token that specifies the starting position of the next page of results.
+ # This field is empty if there are no more results.
+ "metadata": { # Output only. # Additional information for the API invocation, such as the request
+ # tracking id.
+ #
+ # Additional information returned to client, such as debugging information.
+ "requestId": "A String", # A unique id associated with this call.
+ # This id is logged for tracking purposes.
+ },
+ "histogramResults": { # Output only. # The histogram results that match specified
+ # SearchJobsRequest.histogram_facets.
+ #
+ # Histogram results that match HistogramFacets specified in
+ # SearchJobsRequest.
+ "compensationHistogramResults": [ # Specifies compensation field-based histogram results that match
+ # HistogramFacets.compensation_histogram_requests.
+ { # Output only.
+ #
+ # Compensation based histogram result.
+ "result": { # Output only. # Histogram result.
+ #
+ # Custom numeric bucketing result.
+ "counts": [ # Count within each bucket. Its size is the length of
+ # NumericBucketingOption.bucket_bounds plus 1.
+ { # Represents count of jobs within one bucket.
+ "count": 42, # Number of jobs whose numeric field value fall into `range`.
+ "range": { # Represents starting and ending value of a range in double. # Bucket range on which histogram was performed for the numeric field,
+ # that is, the count represents number of jobs in this range.
+ "to": 3.14, # Ending value of the bucket range.
+ "from": 3.14, # Starting value of the bucket range.
+ },
+ },
+ ],
+ "maxValue": 3.14, # Stores the maximum value of the numeric field. Is populated only if
+ # [NumericBucketingOption.requires_min_max] is set to true.
+ "minValue": 3.14, # Stores the minimum value of the numeric field. Will be populated only if
+ # [NumericBucketingOption.requires_min_max] is set to true.
+ },
+ "type": "A String", # Type of the request, corresponding to
+ # CompensationHistogramRequest.type.
+ },
+ ],
+ "customAttributeHistogramResults": [ # Specifies histogram results for custom attributes that match
+ # HistogramFacets.custom_attribute_histogram_facets.
+ { # Output only.
+ #
+ # Custom attribute histogram result.
+ "key": "A String", # Stores the key of custom attribute the histogram is performed on.
+ "longValueHistogramResult": { # Output only. # Stores bucketed histogram counting result or min/max values for
+ # custom attribute long values associated with `key`.
+ #
+ # Custom numeric bucketing result.
+ "counts": [ # Count within each bucket. Its size is the length of
+ # NumericBucketingOption.bucket_bounds plus 1.
+ { # Represents count of jobs within one bucket.
+ "count": 42, # Number of jobs whose numeric field value fall into `range`.
+ "range": { # Represents starting and ending value of a range in double. # Bucket range on which histogram was performed for the numeric field,
+ # that is, the count represents number of jobs in this range.
+ "to": 3.14, # Ending value of the bucket range.
+ "from": 3.14, # Starting value of the bucket range.
+ },
+ },
+ ],
+ "maxValue": 3.14, # Stores the maximum value of the numeric field. Is populated only if
+ # [NumericBucketingOption.requires_min_max] is set to true.
+ "minValue": 3.14, # Stores the minimum value of the numeric field. Will be populated only if
+ # [NumericBucketingOption.requires_min_max] is set to true.
+ },
+ "stringValueHistogramResult": { # Stores a map from the values of string custom field associated
+ # with `key` to the number of jobs with that value in this histogram result.
+ "a_key": 42,
+ },
+ },
+ ],
+ "simpleHistogramResults": [ # Specifies histogram results that matches
+ # HistogramFacets.simple_histogram_facets.
+ { # Output only.
+ #
+ # Result of a histogram call. The response contains the histogram map for the
+ # search type specified by HistogramResult.field.
+ # The response is a map of each filter value to the corresponding count of
+ # jobs for that filter.
+ "values": { # A map from the values of field to the number of jobs with that value
+ # in this search result.
+ #
+ # Key: search type (filter names, such as the companyName).
+ #
+ # Values: the count of jobs that match the filter for this search.
+ "a_key": 42,
+ },
+ "searchType": "A String", # The Histogram search filters.
+ },
+ ],
+ },
+ "estimatedTotalSize": 42, # An estimation of the number of jobs that match the specified query.
+ #
+ # This number is not guaranteed to be accurate. For accurate results,
+ # see enable_precise_result_size.
+ "totalSize": 42, # The precise result count, which is available only if the client set
+ # enable_precise_result_size to `true`, or if the response
+ # is the last page of results. Otherwise, the value is `-1`.
+ "spellCorrection": { # Output only. # The spell checking result, and correction.
+ #
+ # Spell check result.
+ "corrected": True or False, # Indicates if the query was corrected by the spell checker.
+ "correctedText": "A String", # Correction output consisting of the corrected keyword string.
+ },
}</pre>
</div>