Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, h1, h2, h3, div, span, p, pre, a { |
| 5 | margin: 0; |
| 6 | padding: 0; |
| 7 | border: 0; |
| 8 | font-weight: inherit; |
| 9 | font-style: inherit; |
| 10 | font-size: 100%; |
| 11 | font-family: inherit; |
| 12 | vertical-align: baseline; |
| 13 | } |
| 14 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, h2, h3 { |
| 50 | border-bottom: solid #CCC 1px; |
| 51 | } |
| 52 | |
| 53 | .toc_element { |
| 54 | margin-top: 0.5em; |
| 55 | } |
| 56 | |
| 57 | .firstline { |
| 58 | margin-left: 2 em; |
| 59 | } |
| 60 | |
| 61 | .method { |
| 62 | margin-top: 1em; |
| 63 | border: solid 1px #CCC; |
| 64 | padding: 1em; |
| 65 | background: #EEE; |
| 66 | } |
| 67 | |
| 68 | .details { |
| 69 | font-weight: bold; |
| 70 | font-size: 14px; |
| 71 | } |
| 72 | |
| 73 | </style> |
| 74 | |
| 75 | <h1><a href="jobs_v3p1beta1.html">Cloud Talent Solution API</a> . <a href="jobs_v3p1beta1.projects.html">projects</a> . <a href="jobs_v3p1beta1.projects.companies.html">companies</a></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 78 | <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 79 | <p class="firstline">Creates a new company entity.</p> |
| 80 | <p class="toc_element"> |
| 81 | <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p> |
| 82 | <p class="firstline">Deletes specified company.</p> |
| 83 | <p class="toc_element"> |
| 84 | <code><a href="#get">get(name, x__xgafv=None)</a></code></p> |
| 85 | <p class="firstline">Retrieves specified company.</p> |
| 86 | <p class="toc_element"> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 87 | <code><a href="#list">list(parent, pageToken=None, requireOpenJobs=None, pageSize=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 88 | <p class="firstline">Lists all companies associated with the service account.</p> |
| 89 | <p class="toc_element"> |
| 90 | <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> |
| 91 | <p class="firstline">Retrieves the next page of results.</p> |
| 92 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 93 | <code><a href="#patch">patch(name, body=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 94 | <p class="firstline">Updates specified company. Company names can't be updated. To update a</p> |
| 95 | <h3>Method Details</h3> |
| 96 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 97 | <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 98 | <pre>Creates a new company entity. |
| 99 | |
| 100 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 101 | parent: string, Required. Resource name of the project under which the company is created. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 102 | |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 103 | The format is "projects/{project_id}", for example, |
| 104 | "projects/api-test-project". (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 105 | body: object, The request body. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 106 | The object takes the form of: |
| 107 | |
| 108 | { # Input only. |
| 109 | # |
| 110 | # The Request of the CreateCompany method. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 111 | "company": { # A Company resource represents a company in the service. A company is the # Required. The company to be created. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 112 | # entity that owns job postings, that is, the hiring entity responsible for |
| 113 | # employing applicants for the job position. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 114 | "imageUri": "A String", # Optional. A URI that hosts the employer's company logo. |
| 115 | "size": "A String", # Optional. The employer's company size. |
| 116 | "hiringAgency": True or False, # Optional. Set to true if it is the hiring agency that post jobs for other |
| 117 | # employers. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 118 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 119 | # Defaults to false if not provided. |
| 120 | "websiteUri": "A String", # Optional. The URI representing the company's primary web site or home page, |
| 121 | # for example, "https://www.google.com". |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 122 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 123 | # The maximum number of allowed characters is 255. |
| 124 | "careerSiteUri": "A String", # Optional. The URI to employer's career site or careers page on the employer's web |
| 125 | # site, for example, "https://careers.google.com". |
| 126 | "externalId": "A String", # Required. Client side company identifier, used to uniquely identify the |
| 127 | # company. |
| 128 | # |
| 129 | # The maximum number of allowed characters is 255. |
| 130 | "displayName": "A String", # Required. The display name of the company, for example, "Google LLC". |
| 131 | "headquartersAddress": "A String", # Optional. The street address of the company's main headquarters, which may be |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 132 | # different from the job location. The service attempts |
| 133 | # to geolocate the provided address, and populates a more specific |
| 134 | # location wherever possible in DerivedInfo.headquarters_location. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 135 | "keywordSearchableJobCustomAttributes": [ # Optional. A list of keys of filterable Job.custom_attributes, whose |
| 136 | # corresponding `string_values` are used in keyword search. Jobs with |
| 137 | # `string_values` under these specified field keys are returned if any |
| 138 | # of the values matches the search keyword. Custom field values with |
| 139 | # parenthesis, brackets and special symbols won't be properly searchable, |
| 140 | # and those keyword queries need to be surrounded by quotes. |
| 141 | "A String", |
| 142 | ], |
| 143 | "derivedInfo": { # Derived details about the company. # Output only. Derived details about the company. |
| 144 | "headquartersLocation": { # Output only. # A structured headquarters location of the company, resolved from |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 145 | # Company.hq_location if provided. |
| 146 | # |
| 147 | # A resource that represents a location with full geographic information. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 148 | "postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 149 | # such as postal delivery and payments addresses. Given a postal address, |
| 150 | # a postal service can deliver items to a premises, P.O. Box, or other |
| 151 | # delivery location. |
| 152 | # Given a postal address, a postal service can deliver items to a premise, P.O. |
| 153 | # Box or similar. |
| 154 | # It is not intended to model geographical locations (roads, towns, |
| 155 | # mountains). |
| 156 | # |
| 157 | # In typical usage an address would be created via user input or from importing |
| 158 | # existing data, depending on the type of process. |
| 159 | # |
| 160 | # Advice on address input / editing: |
| 161 | # - Use an i18n-ready address widget such as |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 162 | # https://github.com/google/libaddressinput) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 163 | # - Users should not be presented with UI elements for input or editing of |
| 164 | # fields outside countries where that field is used. |
| 165 | # |
| 166 | # For more guidance on how to use this schema, please see: |
| 167 | # https://support.google.com/business/answer/6397478 |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 168 | "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is |
| 169 | # the latest revision. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 170 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 171 | # All new revisions **must** be backward compatible with old revisions. |
| 172 | "locality": "A String", # Optional. Generally refers to the city/town portion of the address. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 173 | # Examples: US city, IT comune, UK post town. |
| 174 | # In regions of the world where localities are not well defined or do not fit |
| 175 | # into this structure well, leave locality empty and use address_lines. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 176 | "administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 177 | # addresses of a country or region. |
| 178 | # For example, this can be a state, a province, an oblast, or a prefecture. |
| 179 | # Specifically, for Spain this is the province and not the autonomous |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 180 | # community (e.g. "Barcelona" and not "Catalonia"). |
| 181 | # Many countries don't use an administrative area in postal addresses. E.g. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 182 | # in Switzerland this should be left unpopulated. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 183 | "organization": "A String", # Optional. The name of the organization at the address. |
| 184 | "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This |
| 185 | # is never inferred and it is up to the user to ensure the value is |
| 186 | # correct. See http://cldr.unicode.org/ and |
| 187 | # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html |
| 188 | # for details. Example: "CH" for Switzerland. |
| 189 | "addressLines": [ # Unstructured address lines describing the lower levels of an address. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 190 | # |
| 191 | # Because values in address_lines do not have type information and may |
| 192 | # sometimes contain multiple values in a single field (e.g. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 193 | # "Austin, TX"), it is important that the line order is clear. The order of |
| 194 | # address lines should be "envelope order" for the country/region of the |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 195 | # address. In places where this can vary (e.g. Japan), address_language is |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 196 | # used to make it explicit (e.g. "ja" for large-to-small ordering and |
| 197 | # "ja-Latn" or "en" for small-to-large). This way, the most specific line of |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 198 | # an address can be selected based on the language. |
| 199 | # |
| 200 | # The minimum permitted structural representation of an address consists |
| 201 | # of a region_code with all remaining information placed in the |
| 202 | # address_lines. It would be possible to format such an address very |
| 203 | # approximately without geocoding, but no semantic reasoning could be |
| 204 | # made about any of the address components until it was at least |
| 205 | # partially resolved. |
| 206 | # |
| 207 | # Creating an address only containing a region_code and address_lines, and |
| 208 | # then geocoding is the recommended way to handle completely unstructured |
| 209 | # addresses (as opposed to guessing which parts of the address should be |
| 210 | # localities or administrative areas). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 211 | "A String", |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 212 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 213 | "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 214 | # postal codes to be present, but where they are used, they may trigger |
| 215 | # additional validation with other parts of the address (e.g. state/zip |
| 216 | # validation in the U.S.A.). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 217 | "languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if |
| 218 | # known). This is often the UI language of the input form or is expected |
| 219 | # to match one of the languages used in the address' country/region, or their |
| 220 | # transliterated equivalents. |
| 221 | # This can affect formatting in certain countries, but is not critical |
| 222 | # to the correctness of the data and will never affect any validation or |
| 223 | # other non-formatting related operations. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 224 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 225 | # If this value is not known, it should be omitted (rather than specifying a |
| 226 | # possibly incorrect default). |
| 227 | # |
| 228 | # Examples: "zh-Hant", "ja", "ja-Latn", "en". |
| 229 | "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used |
| 230 | # in most regions. Where it is used, the value is either a string like |
| 231 | # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number |
| 232 | # alone, representing the "sector code" (Jamaica), "delivery area indicator" |
| 233 | # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire). |
| 234 | "recipients": [ # Optional. The recipient at the address. |
| 235 | # This field may, under certain circumstances, contain multiline information. |
| 236 | # For example, it might contain "care of" information. |
| 237 | "A String", |
| 238 | ], |
| 239 | "sublocality": "A String", # Optional. Sublocality of the address. |
| 240 | # For example, this can be neighborhoods, boroughs, districts. |
| 241 | }, |
| 242 | "locationType": "A String", # The type of a location, which corresponds to the address lines field of |
| 243 | # PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of |
| 244 | # LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of |
| 245 | # LocationType#LOCALITY. |
| 246 | "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the |
| 247 | # location bounding box in which a circle with the specified radius |
| 248 | # centered from LatLng covers the area associated with the job location. |
| 249 | # For example, currently, "Mountain View, CA, USA" has a radius of |
| 250 | # 6.17 miles. |
| 251 | "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair. |
| 252 | # of doubles representing degrees latitude and degrees longitude. Unless |
| 253 | # specified otherwise, this must conform to the |
| 254 | # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84 |
| 255 | # standard</a>. Values must be within normalized ranges. |
| 256 | "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0]. |
| 257 | "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0]. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 258 | }, |
| 259 | }, |
| 260 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 261 | "suspended": True or False, # Output only. Indicates whether a company is flagged to be suspended from |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 262 | # public availability by the service when job content appears suspicious, |
| 263 | # abusive, or spammy. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 264 | "eeoText": "A String", # Optional. Equal Employment Opportunity legal disclaimer text to be |
| 265 | # associated with all jobs, and typically to be displayed in all |
| 266 | # roles. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 267 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 268 | # The maximum number of allowed characters is 500. |
| 269 | "name": "A String", # Required during company update. |
| 270 | # |
| 271 | # The resource name for a company. This is generated by the service when a |
| 272 | # company is created. |
| 273 | # |
| 274 | # The format is "projects/{project_id}/companies/{company_id}", for example, |
| 275 | # "projects/api-test-project/companies/foo". |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 276 | }, |
| 277 | } |
| 278 | |
| 279 | x__xgafv: string, V1 error format. |
| 280 | Allowed values |
| 281 | 1 - v1 error format |
| 282 | 2 - v2 error format |
| 283 | |
| 284 | Returns: |
| 285 | An object of the form: |
| 286 | |
| 287 | { # A Company resource represents a company in the service. A company is the |
| 288 | # entity that owns job postings, that is, the hiring entity responsible for |
| 289 | # employing applicants for the job position. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 290 | "imageUri": "A String", # Optional. A URI that hosts the employer's company logo. |
| 291 | "size": "A String", # Optional. The employer's company size. |
| 292 | "hiringAgency": True or False, # Optional. Set to true if it is the hiring agency that post jobs for other |
| 293 | # employers. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 294 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 295 | # Defaults to false if not provided. |
| 296 | "websiteUri": "A String", # Optional. The URI representing the company's primary web site or home page, |
| 297 | # for example, "https://www.google.com". |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 298 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 299 | # The maximum number of allowed characters is 255. |
| 300 | "careerSiteUri": "A String", # Optional. The URI to employer's career site or careers page on the employer's web |
| 301 | # site, for example, "https://careers.google.com". |
| 302 | "externalId": "A String", # Required. Client side company identifier, used to uniquely identify the |
| 303 | # company. |
| 304 | # |
| 305 | # The maximum number of allowed characters is 255. |
| 306 | "displayName": "A String", # Required. The display name of the company, for example, "Google LLC". |
| 307 | "headquartersAddress": "A String", # Optional. The street address of the company's main headquarters, which may be |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 308 | # different from the job location. The service attempts |
| 309 | # to geolocate the provided address, and populates a more specific |
| 310 | # location wherever possible in DerivedInfo.headquarters_location. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 311 | "keywordSearchableJobCustomAttributes": [ # Optional. A list of keys of filterable Job.custom_attributes, whose |
| 312 | # corresponding `string_values` are used in keyword search. Jobs with |
| 313 | # `string_values` under these specified field keys are returned if any |
| 314 | # of the values matches the search keyword. Custom field values with |
| 315 | # parenthesis, brackets and special symbols won't be properly searchable, |
| 316 | # and those keyword queries need to be surrounded by quotes. |
| 317 | "A String", |
| 318 | ], |
| 319 | "derivedInfo": { # Derived details about the company. # Output only. Derived details about the company. |
| 320 | "headquartersLocation": { # Output only. # A structured headquarters location of the company, resolved from |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 321 | # Company.hq_location if provided. |
| 322 | # |
| 323 | # A resource that represents a location with full geographic information. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 324 | "postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 325 | # such as postal delivery and payments addresses. Given a postal address, |
| 326 | # a postal service can deliver items to a premises, P.O. Box, or other |
| 327 | # delivery location. |
| 328 | # Given a postal address, a postal service can deliver items to a premise, P.O. |
| 329 | # Box or similar. |
| 330 | # It is not intended to model geographical locations (roads, towns, |
| 331 | # mountains). |
| 332 | # |
| 333 | # In typical usage an address would be created via user input or from importing |
| 334 | # existing data, depending on the type of process. |
| 335 | # |
| 336 | # Advice on address input / editing: |
| 337 | # - Use an i18n-ready address widget such as |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 338 | # https://github.com/google/libaddressinput) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 339 | # - Users should not be presented with UI elements for input or editing of |
| 340 | # fields outside countries where that field is used. |
| 341 | # |
| 342 | # For more guidance on how to use this schema, please see: |
| 343 | # https://support.google.com/business/answer/6397478 |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 344 | "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is |
| 345 | # the latest revision. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 346 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 347 | # All new revisions **must** be backward compatible with old revisions. |
| 348 | "locality": "A String", # Optional. Generally refers to the city/town portion of the address. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 349 | # Examples: US city, IT comune, UK post town. |
| 350 | # In regions of the world where localities are not well defined or do not fit |
| 351 | # into this structure well, leave locality empty and use address_lines. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 352 | "administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 353 | # addresses of a country or region. |
| 354 | # For example, this can be a state, a province, an oblast, or a prefecture. |
| 355 | # Specifically, for Spain this is the province and not the autonomous |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 356 | # community (e.g. "Barcelona" and not "Catalonia"). |
| 357 | # Many countries don't use an administrative area in postal addresses. E.g. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 358 | # in Switzerland this should be left unpopulated. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 359 | "organization": "A String", # Optional. The name of the organization at the address. |
| 360 | "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This |
| 361 | # is never inferred and it is up to the user to ensure the value is |
| 362 | # correct. See http://cldr.unicode.org/ and |
| 363 | # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html |
| 364 | # for details. Example: "CH" for Switzerland. |
| 365 | "addressLines": [ # Unstructured address lines describing the lower levels of an address. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 366 | # |
| 367 | # Because values in address_lines do not have type information and may |
| 368 | # sometimes contain multiple values in a single field (e.g. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 369 | # "Austin, TX"), it is important that the line order is clear. The order of |
| 370 | # address lines should be "envelope order" for the country/region of the |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 371 | # address. In places where this can vary (e.g. Japan), address_language is |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 372 | # used to make it explicit (e.g. "ja" for large-to-small ordering and |
| 373 | # "ja-Latn" or "en" for small-to-large). This way, the most specific line of |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 374 | # an address can be selected based on the language. |
| 375 | # |
| 376 | # The minimum permitted structural representation of an address consists |
| 377 | # of a region_code with all remaining information placed in the |
| 378 | # address_lines. It would be possible to format such an address very |
| 379 | # approximately without geocoding, but no semantic reasoning could be |
| 380 | # made about any of the address components until it was at least |
| 381 | # partially resolved. |
| 382 | # |
| 383 | # Creating an address only containing a region_code and address_lines, and |
| 384 | # then geocoding is the recommended way to handle completely unstructured |
| 385 | # addresses (as opposed to guessing which parts of the address should be |
| 386 | # localities or administrative areas). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 387 | "A String", |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 388 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 389 | "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 390 | # postal codes to be present, but where they are used, they may trigger |
| 391 | # additional validation with other parts of the address (e.g. state/zip |
| 392 | # validation in the U.S.A.). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 393 | "languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if |
| 394 | # known). This is often the UI language of the input form or is expected |
| 395 | # to match one of the languages used in the address' country/region, or their |
| 396 | # transliterated equivalents. |
| 397 | # This can affect formatting in certain countries, but is not critical |
| 398 | # to the correctness of the data and will never affect any validation or |
| 399 | # other non-formatting related operations. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 400 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 401 | # If this value is not known, it should be omitted (rather than specifying a |
| 402 | # possibly incorrect default). |
| 403 | # |
| 404 | # Examples: "zh-Hant", "ja", "ja-Latn", "en". |
| 405 | "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used |
| 406 | # in most regions. Where it is used, the value is either a string like |
| 407 | # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number |
| 408 | # alone, representing the "sector code" (Jamaica), "delivery area indicator" |
| 409 | # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire). |
| 410 | "recipients": [ # Optional. The recipient at the address. |
| 411 | # This field may, under certain circumstances, contain multiline information. |
| 412 | # For example, it might contain "care of" information. |
| 413 | "A String", |
| 414 | ], |
| 415 | "sublocality": "A String", # Optional. Sublocality of the address. |
| 416 | # For example, this can be neighborhoods, boroughs, districts. |
| 417 | }, |
| 418 | "locationType": "A String", # The type of a location, which corresponds to the address lines field of |
| 419 | # PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of |
| 420 | # LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of |
| 421 | # LocationType#LOCALITY. |
| 422 | "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the |
| 423 | # location bounding box in which a circle with the specified radius |
| 424 | # centered from LatLng covers the area associated with the job location. |
| 425 | # For example, currently, "Mountain View, CA, USA" has a radius of |
| 426 | # 6.17 miles. |
| 427 | "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair. |
| 428 | # of doubles representing degrees latitude and degrees longitude. Unless |
| 429 | # specified otherwise, this must conform to the |
| 430 | # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84 |
| 431 | # standard</a>. Values must be within normalized ranges. |
| 432 | "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0]. |
| 433 | "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0]. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 434 | }, |
| 435 | }, |
| 436 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 437 | "suspended": True or False, # Output only. Indicates whether a company is flagged to be suspended from |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 438 | # public availability by the service when job content appears suspicious, |
| 439 | # abusive, or spammy. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 440 | "eeoText": "A String", # Optional. Equal Employment Opportunity legal disclaimer text to be |
| 441 | # associated with all jobs, and typically to be displayed in all |
| 442 | # roles. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 443 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 444 | # The maximum number of allowed characters is 500. |
| 445 | "name": "A String", # Required during company update. |
| 446 | # |
| 447 | # The resource name for a company. This is generated by the service when a |
| 448 | # company is created. |
| 449 | # |
| 450 | # The format is "projects/{project_id}/companies/{company_id}", for example, |
| 451 | # "projects/api-test-project/companies/foo". |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 452 | }</pre> |
| 453 | </div> |
| 454 | |
| 455 | <div class="method"> |
| 456 | <code class="details" id="delete">delete(name, x__xgafv=None)</code> |
| 457 | <pre>Deletes specified company. |
| 458 | Prerequisite: The company has no jobs associated with it. |
| 459 | |
| 460 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 461 | name: string, Required. The resource name of the company to be deleted. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 462 | |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 463 | The format is "projects/{project_id}/companies/{company_id}", for example, |
| 464 | "projects/api-test-project/companies/foo". (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 465 | x__xgafv: string, V1 error format. |
| 466 | Allowed values |
| 467 | 1 - v1 error format |
| 468 | 2 - v2 error format |
| 469 | |
| 470 | Returns: |
| 471 | An object of the form: |
| 472 | |
| 473 | { # A generic empty message that you can re-use to avoid defining duplicated |
| 474 | # empty messages in your APIs. A typical example is to use it as the request |
| 475 | # or the response type of an API method. For instance: |
| 476 | # |
| 477 | # service Foo { |
| 478 | # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); |
| 479 | # } |
| 480 | # |
| 481 | # The JSON representation for `Empty` is empty JSON object `{}`. |
| 482 | }</pre> |
| 483 | </div> |
| 484 | |
| 485 | <div class="method"> |
| 486 | <code class="details" id="get">get(name, x__xgafv=None)</code> |
| 487 | <pre>Retrieves specified company. |
| 488 | |
| 489 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 490 | name: string, Required. The resource name of the company to be retrieved. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 491 | |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 492 | The format is "projects/{project_id}/companies/{company_id}", for example, |
| 493 | "projects/api-test-project/companies/foo". (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 494 | x__xgafv: string, V1 error format. |
| 495 | Allowed values |
| 496 | 1 - v1 error format |
| 497 | 2 - v2 error format |
| 498 | |
| 499 | Returns: |
| 500 | An object of the form: |
| 501 | |
| 502 | { # A Company resource represents a company in the service. A company is the |
| 503 | # entity that owns job postings, that is, the hiring entity responsible for |
| 504 | # employing applicants for the job position. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 505 | "imageUri": "A String", # Optional. A URI that hosts the employer's company logo. |
| 506 | "size": "A String", # Optional. The employer's company size. |
| 507 | "hiringAgency": True or False, # Optional. Set to true if it is the hiring agency that post jobs for other |
| 508 | # employers. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 509 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 510 | # Defaults to false if not provided. |
| 511 | "websiteUri": "A String", # Optional. The URI representing the company's primary web site or home page, |
| 512 | # for example, "https://www.google.com". |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 513 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 514 | # The maximum number of allowed characters is 255. |
| 515 | "careerSiteUri": "A String", # Optional. The URI to employer's career site or careers page on the employer's web |
| 516 | # site, for example, "https://careers.google.com". |
| 517 | "externalId": "A String", # Required. Client side company identifier, used to uniquely identify the |
| 518 | # company. |
| 519 | # |
| 520 | # The maximum number of allowed characters is 255. |
| 521 | "displayName": "A String", # Required. The display name of the company, for example, "Google LLC". |
| 522 | "headquartersAddress": "A String", # Optional. The street address of the company's main headquarters, which may be |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 523 | # different from the job location. The service attempts |
| 524 | # to geolocate the provided address, and populates a more specific |
| 525 | # location wherever possible in DerivedInfo.headquarters_location. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 526 | "keywordSearchableJobCustomAttributes": [ # Optional. A list of keys of filterable Job.custom_attributes, whose |
| 527 | # corresponding `string_values` are used in keyword search. Jobs with |
| 528 | # `string_values` under these specified field keys are returned if any |
| 529 | # of the values matches the search keyword. Custom field values with |
| 530 | # parenthesis, brackets and special symbols won't be properly searchable, |
| 531 | # and those keyword queries need to be surrounded by quotes. |
| 532 | "A String", |
| 533 | ], |
| 534 | "derivedInfo": { # Derived details about the company. # Output only. Derived details about the company. |
| 535 | "headquartersLocation": { # Output only. # A structured headquarters location of the company, resolved from |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 536 | # Company.hq_location if provided. |
| 537 | # |
| 538 | # A resource that represents a location with full geographic information. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 539 | "postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 540 | # such as postal delivery and payments addresses. Given a postal address, |
| 541 | # a postal service can deliver items to a premises, P.O. Box, or other |
| 542 | # delivery location. |
| 543 | # Given a postal address, a postal service can deliver items to a premise, P.O. |
| 544 | # Box or similar. |
| 545 | # It is not intended to model geographical locations (roads, towns, |
| 546 | # mountains). |
| 547 | # |
| 548 | # In typical usage an address would be created via user input or from importing |
| 549 | # existing data, depending on the type of process. |
| 550 | # |
| 551 | # Advice on address input / editing: |
| 552 | # - Use an i18n-ready address widget such as |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 553 | # https://github.com/google/libaddressinput) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 554 | # - Users should not be presented with UI elements for input or editing of |
| 555 | # fields outside countries where that field is used. |
| 556 | # |
| 557 | # For more guidance on how to use this schema, please see: |
| 558 | # https://support.google.com/business/answer/6397478 |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 559 | "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is |
| 560 | # the latest revision. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 561 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 562 | # All new revisions **must** be backward compatible with old revisions. |
| 563 | "locality": "A String", # Optional. Generally refers to the city/town portion of the address. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 564 | # Examples: US city, IT comune, UK post town. |
| 565 | # In regions of the world where localities are not well defined or do not fit |
| 566 | # into this structure well, leave locality empty and use address_lines. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 567 | "administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 568 | # addresses of a country or region. |
| 569 | # For example, this can be a state, a province, an oblast, or a prefecture. |
| 570 | # Specifically, for Spain this is the province and not the autonomous |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 571 | # community (e.g. "Barcelona" and not "Catalonia"). |
| 572 | # Many countries don't use an administrative area in postal addresses. E.g. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 573 | # in Switzerland this should be left unpopulated. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 574 | "organization": "A String", # Optional. The name of the organization at the address. |
| 575 | "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This |
| 576 | # is never inferred and it is up to the user to ensure the value is |
| 577 | # correct. See http://cldr.unicode.org/ and |
| 578 | # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html |
| 579 | # for details. Example: "CH" for Switzerland. |
| 580 | "addressLines": [ # Unstructured address lines describing the lower levels of an address. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 581 | # |
| 582 | # Because values in address_lines do not have type information and may |
| 583 | # sometimes contain multiple values in a single field (e.g. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 584 | # "Austin, TX"), it is important that the line order is clear. The order of |
| 585 | # address lines should be "envelope order" for the country/region of the |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 586 | # address. In places where this can vary (e.g. Japan), address_language is |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 587 | # used to make it explicit (e.g. "ja" for large-to-small ordering and |
| 588 | # "ja-Latn" or "en" for small-to-large). This way, the most specific line of |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 589 | # an address can be selected based on the language. |
| 590 | # |
| 591 | # The minimum permitted structural representation of an address consists |
| 592 | # of a region_code with all remaining information placed in the |
| 593 | # address_lines. It would be possible to format such an address very |
| 594 | # approximately without geocoding, but no semantic reasoning could be |
| 595 | # made about any of the address components until it was at least |
| 596 | # partially resolved. |
| 597 | # |
| 598 | # Creating an address only containing a region_code and address_lines, and |
| 599 | # then geocoding is the recommended way to handle completely unstructured |
| 600 | # addresses (as opposed to guessing which parts of the address should be |
| 601 | # localities or administrative areas). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 602 | "A String", |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 603 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 604 | "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 605 | # postal codes to be present, but where they are used, they may trigger |
| 606 | # additional validation with other parts of the address (e.g. state/zip |
| 607 | # validation in the U.S.A.). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 608 | "languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if |
| 609 | # known). This is often the UI language of the input form or is expected |
| 610 | # to match one of the languages used in the address' country/region, or their |
| 611 | # transliterated equivalents. |
| 612 | # This can affect formatting in certain countries, but is not critical |
| 613 | # to the correctness of the data and will never affect any validation or |
| 614 | # other non-formatting related operations. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 615 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 616 | # If this value is not known, it should be omitted (rather than specifying a |
| 617 | # possibly incorrect default). |
| 618 | # |
| 619 | # Examples: "zh-Hant", "ja", "ja-Latn", "en". |
| 620 | "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used |
| 621 | # in most regions. Where it is used, the value is either a string like |
| 622 | # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number |
| 623 | # alone, representing the "sector code" (Jamaica), "delivery area indicator" |
| 624 | # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire). |
| 625 | "recipients": [ # Optional. The recipient at the address. |
| 626 | # This field may, under certain circumstances, contain multiline information. |
| 627 | # For example, it might contain "care of" information. |
| 628 | "A String", |
| 629 | ], |
| 630 | "sublocality": "A String", # Optional. Sublocality of the address. |
| 631 | # For example, this can be neighborhoods, boroughs, districts. |
| 632 | }, |
| 633 | "locationType": "A String", # The type of a location, which corresponds to the address lines field of |
| 634 | # PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of |
| 635 | # LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of |
| 636 | # LocationType#LOCALITY. |
| 637 | "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the |
| 638 | # location bounding box in which a circle with the specified radius |
| 639 | # centered from LatLng covers the area associated with the job location. |
| 640 | # For example, currently, "Mountain View, CA, USA" has a radius of |
| 641 | # 6.17 miles. |
| 642 | "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair. |
| 643 | # of doubles representing degrees latitude and degrees longitude. Unless |
| 644 | # specified otherwise, this must conform to the |
| 645 | # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84 |
| 646 | # standard</a>. Values must be within normalized ranges. |
| 647 | "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0]. |
| 648 | "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0]. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 649 | }, |
| 650 | }, |
| 651 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 652 | "suspended": True or False, # Output only. Indicates whether a company is flagged to be suspended from |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 653 | # public availability by the service when job content appears suspicious, |
| 654 | # abusive, or spammy. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 655 | "eeoText": "A String", # Optional. Equal Employment Opportunity legal disclaimer text to be |
| 656 | # associated with all jobs, and typically to be displayed in all |
| 657 | # roles. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 658 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 659 | # The maximum number of allowed characters is 500. |
| 660 | "name": "A String", # Required during company update. |
| 661 | # |
| 662 | # The resource name for a company. This is generated by the service when a |
| 663 | # company is created. |
| 664 | # |
| 665 | # The format is "projects/{project_id}/companies/{company_id}", for example, |
| 666 | # "projects/api-test-project/companies/foo". |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 667 | }</pre> |
| 668 | </div> |
| 669 | |
| 670 | <div class="method"> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 671 | <code class="details" id="list">list(parent, pageToken=None, requireOpenJobs=None, pageSize=None, x__xgafv=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 672 | <pre>Lists all companies associated with the service account. |
| 673 | |
| 674 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 675 | parent: string, Required. Resource name of the project under which the company is created. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 676 | |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 677 | The format is "projects/{project_id}", for example, |
| 678 | "projects/api-test-project". (required) |
| 679 | pageToken: string, Optional. The starting indicator from which to return results. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 680 | requireOpenJobs: boolean, Optional. Set to true if the companies requested must have open jobs. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 681 | |
| 682 | Defaults to false. |
| 683 | |
| 684 | If true, at most page_size of companies are fetched, among which |
| 685 | only those with open jobs are returned. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 686 | pageSize: integer, Optional. The maximum number of companies to be returned, at most 100. |
| 687 | Default is 100 if a non-positive number is provided. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 688 | x__xgafv: string, V1 error format. |
| 689 | Allowed values |
| 690 | 1 - v1 error format |
| 691 | 2 - v2 error format |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 692 | |
| 693 | Returns: |
| 694 | An object of the form: |
| 695 | |
| 696 | { # Output only. |
| 697 | # |
| 698 | # The List companies response object. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 699 | "nextPageToken": "A String", # A token to retrieve the next page of results. |
| 700 | "companies": [ # Companies for the current client. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 701 | { # A Company resource represents a company in the service. A company is the |
| 702 | # entity that owns job postings, that is, the hiring entity responsible for |
| 703 | # employing applicants for the job position. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 704 | "imageUri": "A String", # Optional. A URI that hosts the employer's company logo. |
| 705 | "size": "A String", # Optional. The employer's company size. |
| 706 | "hiringAgency": True or False, # Optional. Set to true if it is the hiring agency that post jobs for other |
| 707 | # employers. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 708 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 709 | # Defaults to false if not provided. |
| 710 | "websiteUri": "A String", # Optional. The URI representing the company's primary web site or home page, |
| 711 | # for example, "https://www.google.com". |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 712 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 713 | # The maximum number of allowed characters is 255. |
| 714 | "careerSiteUri": "A String", # Optional. The URI to employer's career site or careers page on the employer's web |
| 715 | # site, for example, "https://careers.google.com". |
| 716 | "externalId": "A String", # Required. Client side company identifier, used to uniquely identify the |
| 717 | # company. |
| 718 | # |
| 719 | # The maximum number of allowed characters is 255. |
| 720 | "displayName": "A String", # Required. The display name of the company, for example, "Google LLC". |
| 721 | "headquartersAddress": "A String", # Optional. The street address of the company's main headquarters, which may be |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 722 | # different from the job location. The service attempts |
| 723 | # to geolocate the provided address, and populates a more specific |
| 724 | # location wherever possible in DerivedInfo.headquarters_location. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 725 | "keywordSearchableJobCustomAttributes": [ # Optional. A list of keys of filterable Job.custom_attributes, whose |
| 726 | # corresponding `string_values` are used in keyword search. Jobs with |
| 727 | # `string_values` under these specified field keys are returned if any |
| 728 | # of the values matches the search keyword. Custom field values with |
| 729 | # parenthesis, brackets and special symbols won't be properly searchable, |
| 730 | # and those keyword queries need to be surrounded by quotes. |
| 731 | "A String", |
| 732 | ], |
| 733 | "derivedInfo": { # Derived details about the company. # Output only. Derived details about the company. |
| 734 | "headquartersLocation": { # Output only. # A structured headquarters location of the company, resolved from |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 735 | # Company.hq_location if provided. |
| 736 | # |
| 737 | # A resource that represents a location with full geographic information. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 738 | "postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 739 | # such as postal delivery and payments addresses. Given a postal address, |
| 740 | # a postal service can deliver items to a premises, P.O. Box, or other |
| 741 | # delivery location. |
| 742 | # Given a postal address, a postal service can deliver items to a premise, P.O. |
| 743 | # Box or similar. |
| 744 | # It is not intended to model geographical locations (roads, towns, |
| 745 | # mountains). |
| 746 | # |
| 747 | # In typical usage an address would be created via user input or from importing |
| 748 | # existing data, depending on the type of process. |
| 749 | # |
| 750 | # Advice on address input / editing: |
| 751 | # - Use an i18n-ready address widget such as |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 752 | # https://github.com/google/libaddressinput) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 753 | # - Users should not be presented with UI elements for input or editing of |
| 754 | # fields outside countries where that field is used. |
| 755 | # |
| 756 | # For more guidance on how to use this schema, please see: |
| 757 | # https://support.google.com/business/answer/6397478 |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 758 | "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is |
| 759 | # the latest revision. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 760 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 761 | # All new revisions **must** be backward compatible with old revisions. |
| 762 | "locality": "A String", # Optional. Generally refers to the city/town portion of the address. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 763 | # Examples: US city, IT comune, UK post town. |
| 764 | # In regions of the world where localities are not well defined or do not fit |
| 765 | # into this structure well, leave locality empty and use address_lines. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 766 | "administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 767 | # addresses of a country or region. |
| 768 | # For example, this can be a state, a province, an oblast, or a prefecture. |
| 769 | # Specifically, for Spain this is the province and not the autonomous |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 770 | # community (e.g. "Barcelona" and not "Catalonia"). |
| 771 | # Many countries don't use an administrative area in postal addresses. E.g. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 772 | # in Switzerland this should be left unpopulated. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 773 | "organization": "A String", # Optional. The name of the organization at the address. |
| 774 | "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This |
| 775 | # is never inferred and it is up to the user to ensure the value is |
| 776 | # correct. See http://cldr.unicode.org/ and |
| 777 | # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html |
| 778 | # for details. Example: "CH" for Switzerland. |
| 779 | "addressLines": [ # Unstructured address lines describing the lower levels of an address. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 780 | # |
| 781 | # Because values in address_lines do not have type information and may |
| 782 | # sometimes contain multiple values in a single field (e.g. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 783 | # "Austin, TX"), it is important that the line order is clear. The order of |
| 784 | # address lines should be "envelope order" for the country/region of the |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 785 | # address. In places where this can vary (e.g. Japan), address_language is |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 786 | # used to make it explicit (e.g. "ja" for large-to-small ordering and |
| 787 | # "ja-Latn" or "en" for small-to-large). This way, the most specific line of |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 788 | # an address can be selected based on the language. |
| 789 | # |
| 790 | # The minimum permitted structural representation of an address consists |
| 791 | # of a region_code with all remaining information placed in the |
| 792 | # address_lines. It would be possible to format such an address very |
| 793 | # approximately without geocoding, but no semantic reasoning could be |
| 794 | # made about any of the address components until it was at least |
| 795 | # partially resolved. |
| 796 | # |
| 797 | # Creating an address only containing a region_code and address_lines, and |
| 798 | # then geocoding is the recommended way to handle completely unstructured |
| 799 | # addresses (as opposed to guessing which parts of the address should be |
| 800 | # localities or administrative areas). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 801 | "A String", |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 802 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 803 | "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 804 | # postal codes to be present, but where they are used, they may trigger |
| 805 | # additional validation with other parts of the address (e.g. state/zip |
| 806 | # validation in the U.S.A.). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 807 | "languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if |
| 808 | # known). This is often the UI language of the input form or is expected |
| 809 | # to match one of the languages used in the address' country/region, or their |
| 810 | # transliterated equivalents. |
| 811 | # This can affect formatting in certain countries, but is not critical |
| 812 | # to the correctness of the data and will never affect any validation or |
| 813 | # other non-formatting related operations. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 814 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 815 | # If this value is not known, it should be omitted (rather than specifying a |
| 816 | # possibly incorrect default). |
| 817 | # |
| 818 | # Examples: "zh-Hant", "ja", "ja-Latn", "en". |
| 819 | "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used |
| 820 | # in most regions. Where it is used, the value is either a string like |
| 821 | # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number |
| 822 | # alone, representing the "sector code" (Jamaica), "delivery area indicator" |
| 823 | # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire). |
| 824 | "recipients": [ # Optional. The recipient at the address. |
| 825 | # This field may, under certain circumstances, contain multiline information. |
| 826 | # For example, it might contain "care of" information. |
| 827 | "A String", |
| 828 | ], |
| 829 | "sublocality": "A String", # Optional. Sublocality of the address. |
| 830 | # For example, this can be neighborhoods, boroughs, districts. |
| 831 | }, |
| 832 | "locationType": "A String", # The type of a location, which corresponds to the address lines field of |
| 833 | # PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of |
| 834 | # LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of |
| 835 | # LocationType#LOCALITY. |
| 836 | "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the |
| 837 | # location bounding box in which a circle with the specified radius |
| 838 | # centered from LatLng covers the area associated with the job location. |
| 839 | # For example, currently, "Mountain View, CA, USA" has a radius of |
| 840 | # 6.17 miles. |
| 841 | "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair. |
| 842 | # of doubles representing degrees latitude and degrees longitude. Unless |
| 843 | # specified otherwise, this must conform to the |
| 844 | # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84 |
| 845 | # standard</a>. Values must be within normalized ranges. |
| 846 | "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0]. |
| 847 | "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0]. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 848 | }, |
| 849 | }, |
| 850 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 851 | "suspended": True or False, # Output only. Indicates whether a company is flagged to be suspended from |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 852 | # public availability by the service when job content appears suspicious, |
| 853 | # abusive, or spammy. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 854 | "eeoText": "A String", # Optional. Equal Employment Opportunity legal disclaimer text to be |
| 855 | # associated with all jobs, and typically to be displayed in all |
| 856 | # roles. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 857 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 858 | # The maximum number of allowed characters is 500. |
| 859 | "name": "A String", # Required during company update. |
| 860 | # |
| 861 | # The resource name for a company. This is generated by the service when a |
| 862 | # company is created. |
| 863 | # |
| 864 | # The format is "projects/{project_id}/companies/{company_id}", for example, |
| 865 | # "projects/api-test-project/companies/foo". |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 866 | }, |
| 867 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 868 | "metadata": { # Output only. # Additional information for the API invocation, such as the request |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 869 | # tracking id. |
| 870 | # |
| 871 | # Additional information returned to client, such as debugging information. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 872 | "requestId": "A String", # A unique id associated with this call. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 873 | # This id is logged for tracking purposes. |
| 874 | }, |
| 875 | }</pre> |
| 876 | </div> |
| 877 | |
| 878 | <div class="method"> |
| 879 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 880 | <pre>Retrieves the next page of results. |
| 881 | |
| 882 | Args: |
| 883 | previous_request: The request for the previous page. (required) |
| 884 | previous_response: The response from the request for the previous page. (required) |
| 885 | |
| 886 | Returns: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 887 | A request object that you can call 'execute()' on to request the next |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 888 | page. Returns None if there are no more items in the collection. |
| 889 | </pre> |
| 890 | </div> |
| 891 | |
| 892 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 893 | <code class="details" id="patch">patch(name, body=None, x__xgafv=None)</code> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 894 | <pre>Updates specified company. Company names can't be updated. To update a |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 895 | company name, delete the company and all jobs associated with it, and only |
| 896 | then re-create them. |
| 897 | |
| 898 | Args: |
| 899 | name: string, Required during company update. |
| 900 | |
| 901 | The resource name for a company. This is generated by the service when a |
| 902 | company is created. |
| 903 | |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 904 | The format is "projects/{project_id}/companies/{company_id}", for example, |
| 905 | "projects/api-test-project/companies/foo". (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 906 | body: object, The request body. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 907 | The object takes the form of: |
| 908 | |
| 909 | { # Input only. |
| 910 | # |
| 911 | # Request for updating a specified company. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 912 | "updateMask": "A String", # Optional but strongly recommended for the best service |
| 913 | # experience. |
| 914 | # |
| 915 | # If update_mask is provided, only the specified fields in |
| 916 | # company are updated. Otherwise all the fields are updated. |
| 917 | # |
| 918 | # A field mask to specify the company fields to be updated. Only |
| 919 | # top level fields of Company are supported. |
| 920 | "company": { # A Company resource represents a company in the service. A company is the # Required. The company resource to replace the current resource in the system. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 921 | # entity that owns job postings, that is, the hiring entity responsible for |
| 922 | # employing applicants for the job position. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 923 | "imageUri": "A String", # Optional. A URI that hosts the employer's company logo. |
| 924 | "size": "A String", # Optional. The employer's company size. |
| 925 | "hiringAgency": True or False, # Optional. Set to true if it is the hiring agency that post jobs for other |
| 926 | # employers. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 927 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 928 | # Defaults to false if not provided. |
| 929 | "websiteUri": "A String", # Optional. The URI representing the company's primary web site or home page, |
| 930 | # for example, "https://www.google.com". |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 931 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 932 | # The maximum number of allowed characters is 255. |
| 933 | "careerSiteUri": "A String", # Optional. The URI to employer's career site or careers page on the employer's web |
| 934 | # site, for example, "https://careers.google.com". |
| 935 | "externalId": "A String", # Required. Client side company identifier, used to uniquely identify the |
| 936 | # company. |
| 937 | # |
| 938 | # The maximum number of allowed characters is 255. |
| 939 | "displayName": "A String", # Required. The display name of the company, for example, "Google LLC". |
| 940 | "headquartersAddress": "A String", # Optional. The street address of the company's main headquarters, which may be |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 941 | # different from the job location. The service attempts |
| 942 | # to geolocate the provided address, and populates a more specific |
| 943 | # location wherever possible in DerivedInfo.headquarters_location. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 944 | "keywordSearchableJobCustomAttributes": [ # Optional. A list of keys of filterable Job.custom_attributes, whose |
| 945 | # corresponding `string_values` are used in keyword search. Jobs with |
| 946 | # `string_values` under these specified field keys are returned if any |
| 947 | # of the values matches the search keyword. Custom field values with |
| 948 | # parenthesis, brackets and special symbols won't be properly searchable, |
| 949 | # and those keyword queries need to be surrounded by quotes. |
| 950 | "A String", |
| 951 | ], |
| 952 | "derivedInfo": { # Derived details about the company. # Output only. Derived details about the company. |
| 953 | "headquartersLocation": { # Output only. # A structured headquarters location of the company, resolved from |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 954 | # Company.hq_location if provided. |
| 955 | # |
| 956 | # A resource that represents a location with full geographic information. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 957 | "postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 958 | # such as postal delivery and payments addresses. Given a postal address, |
| 959 | # a postal service can deliver items to a premises, P.O. Box, or other |
| 960 | # delivery location. |
| 961 | # Given a postal address, a postal service can deliver items to a premise, P.O. |
| 962 | # Box or similar. |
| 963 | # It is not intended to model geographical locations (roads, towns, |
| 964 | # mountains). |
| 965 | # |
| 966 | # In typical usage an address would be created via user input or from importing |
| 967 | # existing data, depending on the type of process. |
| 968 | # |
| 969 | # Advice on address input / editing: |
| 970 | # - Use an i18n-ready address widget such as |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 971 | # https://github.com/google/libaddressinput) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 972 | # - Users should not be presented with UI elements for input or editing of |
| 973 | # fields outside countries where that field is used. |
| 974 | # |
| 975 | # For more guidance on how to use this schema, please see: |
| 976 | # https://support.google.com/business/answer/6397478 |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 977 | "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is |
| 978 | # the latest revision. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 979 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 980 | # All new revisions **must** be backward compatible with old revisions. |
| 981 | "locality": "A String", # Optional. Generally refers to the city/town portion of the address. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 982 | # Examples: US city, IT comune, UK post town. |
| 983 | # In regions of the world where localities are not well defined or do not fit |
| 984 | # into this structure well, leave locality empty and use address_lines. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 985 | "administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 986 | # addresses of a country or region. |
| 987 | # For example, this can be a state, a province, an oblast, or a prefecture. |
| 988 | # Specifically, for Spain this is the province and not the autonomous |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 989 | # community (e.g. "Barcelona" and not "Catalonia"). |
| 990 | # Many countries don't use an administrative area in postal addresses. E.g. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 991 | # in Switzerland this should be left unpopulated. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 992 | "organization": "A String", # Optional. The name of the organization at the address. |
| 993 | "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This |
| 994 | # is never inferred and it is up to the user to ensure the value is |
| 995 | # correct. See http://cldr.unicode.org/ and |
| 996 | # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html |
| 997 | # for details. Example: "CH" for Switzerland. |
| 998 | "addressLines": [ # Unstructured address lines describing the lower levels of an address. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 999 | # |
| 1000 | # Because values in address_lines do not have type information and may |
| 1001 | # sometimes contain multiple values in a single field (e.g. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1002 | # "Austin, TX"), it is important that the line order is clear. The order of |
| 1003 | # address lines should be "envelope order" for the country/region of the |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1004 | # address. In places where this can vary (e.g. Japan), address_language is |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1005 | # used to make it explicit (e.g. "ja" for large-to-small ordering and |
| 1006 | # "ja-Latn" or "en" for small-to-large). This way, the most specific line of |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1007 | # an address can be selected based on the language. |
| 1008 | # |
| 1009 | # The minimum permitted structural representation of an address consists |
| 1010 | # of a region_code with all remaining information placed in the |
| 1011 | # address_lines. It would be possible to format such an address very |
| 1012 | # approximately without geocoding, but no semantic reasoning could be |
| 1013 | # made about any of the address components until it was at least |
| 1014 | # partially resolved. |
| 1015 | # |
| 1016 | # Creating an address only containing a region_code and address_lines, and |
| 1017 | # then geocoding is the recommended way to handle completely unstructured |
| 1018 | # addresses (as opposed to guessing which parts of the address should be |
| 1019 | # localities or administrative areas). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1020 | "A String", |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1021 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1022 | "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1023 | # postal codes to be present, but where they are used, they may trigger |
| 1024 | # additional validation with other parts of the address (e.g. state/zip |
| 1025 | # validation in the U.S.A.). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1026 | "languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if |
| 1027 | # known). This is often the UI language of the input form or is expected |
| 1028 | # to match one of the languages used in the address' country/region, or their |
| 1029 | # transliterated equivalents. |
| 1030 | # This can affect formatting in certain countries, but is not critical |
| 1031 | # to the correctness of the data and will never affect any validation or |
| 1032 | # other non-formatting related operations. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1033 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1034 | # If this value is not known, it should be omitted (rather than specifying a |
| 1035 | # possibly incorrect default). |
| 1036 | # |
| 1037 | # Examples: "zh-Hant", "ja", "ja-Latn", "en". |
| 1038 | "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used |
| 1039 | # in most regions. Where it is used, the value is either a string like |
| 1040 | # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number |
| 1041 | # alone, representing the "sector code" (Jamaica), "delivery area indicator" |
| 1042 | # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire). |
| 1043 | "recipients": [ # Optional. The recipient at the address. |
| 1044 | # This field may, under certain circumstances, contain multiline information. |
| 1045 | # For example, it might contain "care of" information. |
| 1046 | "A String", |
| 1047 | ], |
| 1048 | "sublocality": "A String", # Optional. Sublocality of the address. |
| 1049 | # For example, this can be neighborhoods, boroughs, districts. |
| 1050 | }, |
| 1051 | "locationType": "A String", # The type of a location, which corresponds to the address lines field of |
| 1052 | # PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of |
| 1053 | # LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of |
| 1054 | # LocationType#LOCALITY. |
| 1055 | "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the |
| 1056 | # location bounding box in which a circle with the specified radius |
| 1057 | # centered from LatLng covers the area associated with the job location. |
| 1058 | # For example, currently, "Mountain View, CA, USA" has a radius of |
| 1059 | # 6.17 miles. |
| 1060 | "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair. |
| 1061 | # of doubles representing degrees latitude and degrees longitude. Unless |
| 1062 | # specified otherwise, this must conform to the |
| 1063 | # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84 |
| 1064 | # standard</a>. Values must be within normalized ranges. |
| 1065 | "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0]. |
| 1066 | "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0]. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1067 | }, |
| 1068 | }, |
| 1069 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1070 | "suspended": True or False, # Output only. Indicates whether a company is flagged to be suspended from |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1071 | # public availability by the service when job content appears suspicious, |
| 1072 | # abusive, or spammy. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1073 | "eeoText": "A String", # Optional. Equal Employment Opportunity legal disclaimer text to be |
| 1074 | # associated with all jobs, and typically to be displayed in all |
| 1075 | # roles. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1076 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1077 | # The maximum number of allowed characters is 500. |
| 1078 | "name": "A String", # Required during company update. |
| 1079 | # |
| 1080 | # The resource name for a company. This is generated by the service when a |
| 1081 | # company is created. |
| 1082 | # |
| 1083 | # The format is "projects/{project_id}/companies/{company_id}", for example, |
| 1084 | # "projects/api-test-project/companies/foo". |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1085 | }, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1086 | } |
| 1087 | |
| 1088 | x__xgafv: string, V1 error format. |
| 1089 | Allowed values |
| 1090 | 1 - v1 error format |
| 1091 | 2 - v2 error format |
| 1092 | |
| 1093 | Returns: |
| 1094 | An object of the form: |
| 1095 | |
| 1096 | { # A Company resource represents a company in the service. A company is the |
| 1097 | # entity that owns job postings, that is, the hiring entity responsible for |
| 1098 | # employing applicants for the job position. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1099 | "imageUri": "A String", # Optional. A URI that hosts the employer's company logo. |
| 1100 | "size": "A String", # Optional. The employer's company size. |
| 1101 | "hiringAgency": True or False, # Optional. Set to true if it is the hiring agency that post jobs for other |
| 1102 | # employers. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1103 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1104 | # Defaults to false if not provided. |
| 1105 | "websiteUri": "A String", # Optional. The URI representing the company's primary web site or home page, |
| 1106 | # for example, "https://www.google.com". |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1107 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1108 | # The maximum number of allowed characters is 255. |
| 1109 | "careerSiteUri": "A String", # Optional. The URI to employer's career site or careers page on the employer's web |
| 1110 | # site, for example, "https://careers.google.com". |
| 1111 | "externalId": "A String", # Required. Client side company identifier, used to uniquely identify the |
| 1112 | # company. |
| 1113 | # |
| 1114 | # The maximum number of allowed characters is 255. |
| 1115 | "displayName": "A String", # Required. The display name of the company, for example, "Google LLC". |
| 1116 | "headquartersAddress": "A String", # Optional. The street address of the company's main headquarters, which may be |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1117 | # different from the job location. The service attempts |
| 1118 | # to geolocate the provided address, and populates a more specific |
| 1119 | # location wherever possible in DerivedInfo.headquarters_location. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1120 | "keywordSearchableJobCustomAttributes": [ # Optional. A list of keys of filterable Job.custom_attributes, whose |
| 1121 | # corresponding `string_values` are used in keyword search. Jobs with |
| 1122 | # `string_values` under these specified field keys are returned if any |
| 1123 | # of the values matches the search keyword. Custom field values with |
| 1124 | # parenthesis, brackets and special symbols won't be properly searchable, |
| 1125 | # and those keyword queries need to be surrounded by quotes. |
| 1126 | "A String", |
| 1127 | ], |
| 1128 | "derivedInfo": { # Derived details about the company. # Output only. Derived details about the company. |
| 1129 | "headquartersLocation": { # Output only. # A structured headquarters location of the company, resolved from |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1130 | # Company.hq_location if provided. |
| 1131 | # |
| 1132 | # A resource that represents a location with full geographic information. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1133 | "postalAddress": { # Represents a postal address, e.g. for postal delivery or payments addresses. # Postal address of the location that includes human readable information, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1134 | # such as postal delivery and payments addresses. Given a postal address, |
| 1135 | # a postal service can deliver items to a premises, P.O. Box, or other |
| 1136 | # delivery location. |
| 1137 | # Given a postal address, a postal service can deliver items to a premise, P.O. |
| 1138 | # Box or similar. |
| 1139 | # It is not intended to model geographical locations (roads, towns, |
| 1140 | # mountains). |
| 1141 | # |
| 1142 | # In typical usage an address would be created via user input or from importing |
| 1143 | # existing data, depending on the type of process. |
| 1144 | # |
| 1145 | # Advice on address input / editing: |
| 1146 | # - Use an i18n-ready address widget such as |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1147 | # https://github.com/google/libaddressinput) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1148 | # - Users should not be presented with UI elements for input or editing of |
| 1149 | # fields outside countries where that field is used. |
| 1150 | # |
| 1151 | # For more guidance on how to use this schema, please see: |
| 1152 | # https://support.google.com/business/answer/6397478 |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1153 | "revision": 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is |
| 1154 | # the latest revision. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1155 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1156 | # All new revisions **must** be backward compatible with old revisions. |
| 1157 | "locality": "A String", # Optional. Generally refers to the city/town portion of the address. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1158 | # Examples: US city, IT comune, UK post town. |
| 1159 | # In regions of the world where localities are not well defined or do not fit |
| 1160 | # into this structure well, leave locality empty and use address_lines. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1161 | "administrativeArea": "A String", # Optional. Highest administrative subdivision which is used for postal |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1162 | # addresses of a country or region. |
| 1163 | # For example, this can be a state, a province, an oblast, or a prefecture. |
| 1164 | # Specifically, for Spain this is the province and not the autonomous |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1165 | # community (e.g. "Barcelona" and not "Catalonia"). |
| 1166 | # Many countries don't use an administrative area in postal addresses. E.g. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1167 | # in Switzerland this should be left unpopulated. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1168 | "organization": "A String", # Optional. The name of the organization at the address. |
| 1169 | "regionCode": "A String", # Required. CLDR region code of the country/region of the address. This |
| 1170 | # is never inferred and it is up to the user to ensure the value is |
| 1171 | # correct. See http://cldr.unicode.org/ and |
| 1172 | # http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html |
| 1173 | # for details. Example: "CH" for Switzerland. |
| 1174 | "addressLines": [ # Unstructured address lines describing the lower levels of an address. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1175 | # |
| 1176 | # Because values in address_lines do not have type information and may |
| 1177 | # sometimes contain multiple values in a single field (e.g. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1178 | # "Austin, TX"), it is important that the line order is clear. The order of |
| 1179 | # address lines should be "envelope order" for the country/region of the |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1180 | # address. In places where this can vary (e.g. Japan), address_language is |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1181 | # used to make it explicit (e.g. "ja" for large-to-small ordering and |
| 1182 | # "ja-Latn" or "en" for small-to-large). This way, the most specific line of |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1183 | # an address can be selected based on the language. |
| 1184 | # |
| 1185 | # The minimum permitted structural representation of an address consists |
| 1186 | # of a region_code with all remaining information placed in the |
| 1187 | # address_lines. It would be possible to format such an address very |
| 1188 | # approximately without geocoding, but no semantic reasoning could be |
| 1189 | # made about any of the address components until it was at least |
| 1190 | # partially resolved. |
| 1191 | # |
| 1192 | # Creating an address only containing a region_code and address_lines, and |
| 1193 | # then geocoding is the recommended way to handle completely unstructured |
| 1194 | # addresses (as opposed to guessing which parts of the address should be |
| 1195 | # localities or administrative areas). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1196 | "A String", |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1197 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1198 | "postalCode": "A String", # Optional. Postal code of the address. Not all countries use or require |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1199 | # postal codes to be present, but where they are used, they may trigger |
| 1200 | # additional validation with other parts of the address (e.g. state/zip |
| 1201 | # validation in the U.S.A.). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1202 | "languageCode": "A String", # Optional. BCP-47 language code of the contents of this address (if |
| 1203 | # known). This is often the UI language of the input form or is expected |
| 1204 | # to match one of the languages used in the address' country/region, or their |
| 1205 | # transliterated equivalents. |
| 1206 | # This can affect formatting in certain countries, but is not critical |
| 1207 | # to the correctness of the data and will never affect any validation or |
| 1208 | # other non-formatting related operations. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1209 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1210 | # If this value is not known, it should be omitted (rather than specifying a |
| 1211 | # possibly incorrect default). |
| 1212 | # |
| 1213 | # Examples: "zh-Hant", "ja", "ja-Latn", "en". |
| 1214 | "sortingCode": "A String", # Optional. Additional, country-specific, sorting code. This is not used |
| 1215 | # in most regions. Where it is used, the value is either a string like |
| 1216 | # "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number |
| 1217 | # alone, representing the "sector code" (Jamaica), "delivery area indicator" |
| 1218 | # (Malawi) or "post office indicator" (e.g. Côte d'Ivoire). |
| 1219 | "recipients": [ # Optional. The recipient at the address. |
| 1220 | # This field may, under certain circumstances, contain multiline information. |
| 1221 | # For example, it might contain "care of" information. |
| 1222 | "A String", |
| 1223 | ], |
| 1224 | "sublocality": "A String", # Optional. Sublocality of the address. |
| 1225 | # For example, this can be neighborhoods, boroughs, districts. |
| 1226 | }, |
| 1227 | "locationType": "A String", # The type of a location, which corresponds to the address lines field of |
| 1228 | # PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of |
| 1229 | # LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of |
| 1230 | # LocationType#LOCALITY. |
| 1231 | "radiusInMiles": 3.14, # Radius in miles of the job location. This value is derived from the |
| 1232 | # location bounding box in which a circle with the specified radius |
| 1233 | # centered from LatLng covers the area associated with the job location. |
| 1234 | # For example, currently, "Mountain View, CA, USA" has a radius of |
| 1235 | # 6.17 miles. |
| 1236 | "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair # An object representing a latitude/longitude pair. |
| 1237 | # of doubles representing degrees latitude and degrees longitude. Unless |
| 1238 | # specified otherwise, this must conform to the |
| 1239 | # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84 |
| 1240 | # standard</a>. Values must be within normalized ranges. |
| 1241 | "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0]. |
| 1242 | "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0]. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1243 | }, |
| 1244 | }, |
| 1245 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1246 | "suspended": True or False, # Output only. Indicates whether a company is flagged to be suspended from |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1247 | # public availability by the service when job content appears suspicious, |
| 1248 | # abusive, or spammy. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1249 | "eeoText": "A String", # Optional. Equal Employment Opportunity legal disclaimer text to be |
| 1250 | # associated with all jobs, and typically to be displayed in all |
| 1251 | # roles. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1252 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1253 | # The maximum number of allowed characters is 500. |
| 1254 | "name": "A String", # Required during company update. |
| 1255 | # |
| 1256 | # The resource name for a company. This is generated by the service when a |
| 1257 | # company is created. |
| 1258 | # |
| 1259 | # The format is "projects/{project_id}/companies/{company_id}", for example, |
| 1260 | # "projects/api-test-project/companies/foo". |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1261 | }</pre> |
| 1262 | </div> |
| 1263 | |
| 1264 | </body></html> |