blob: 8fe6c5c72efe201bbaff49f1f3aeb83b25e96727 [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070081 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070082<p class="firstline">Creates a new company entity.</p>
83<p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070085<p class="firstline">Deletes specified company. Prerequisite: The company has no jobs associated with it.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070086<p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88<p class="firstline">Retrieves specified company.</p>
89<p class="toc_element">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -080090 <code><a href="#list">list(parent, pageSize=None, pageToken=None, requireOpenJobs=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070091<p class="firstline">Lists all companies associated with the service account.</p>
92<p class="toc_element">
93 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
94<p class="firstline">Retrieves the next page of results.</p>
95<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070096 <code><a href="#patch">patch(name, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070097<p class="firstline">Updates specified company. Company names can't be updated. To update a company name, delete the company and all jobs associated with it, and only then re-create them.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070098<h3>Method Details</h3>
99<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102</div>
103
104<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700105 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700106 <pre>Creates a new company entity.
107
108Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700109 parent: string, Required. Resource name of the project under which the company is created. The format is &quot;projects/{project_id}&quot;, for example, &quot;projects/api-test-project&quot;. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700110 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700111 The object takes the form of:
112
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700113{ # Input only. The Request of the CreateCompany method.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800114 &quot;company&quot;: { # A Company resource represents a company in the service. A company is the entity that owns job postings, that is, the hiring entity responsible for employing applicants for the job position. # Required. The company to be created.
115 &quot;careerSiteUri&quot;: &quot;A String&quot;, # Optional. The URI to employer&#x27;s career site or careers page on the employer&#x27;s web site, for example, &quot;https://careers.google.com&quot;.
116 &quot;derivedInfo&quot;: { # Derived details about the company. # Output only. Derived details about the company.
117 &quot;headquartersLocation&quot;: { # Output only. A resource that represents a location with full geographic information. # A structured headquarters location of the company, resolved from Company.hq_location if provided.
yoshi-code-bot108b8192021-05-23 03:48:02 -0700118 &quot;latLng&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # An object representing a latitude/longitude pair.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800119 &quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
120 &quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800121 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800122 &quot;locationType&quot;: &quot;A String&quot;, # The type of a location, which corresponds to the address lines field of PostalAddress. For example, &quot;Downtown, Atlanta, GA, USA&quot; has a type of LocationType#NEIGHBORHOOD, and &quot;Kansas City, KS, USA&quot; has a type of LocationType#LOCALITY.
123 &quot;postalAddress&quot;: { # Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an i18n-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478 # Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.
124 &quot;addressLines&quot;: [ # Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. &quot;Austin, TX&quot;), it is important that the line order is clear. The order of address lines should be &quot;envelope order&quot; for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. &quot;ja&quot; for large-to-small ordering and &quot;ja-Latn&quot; or &quot;en&quot; for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).
125 &quot;A String&quot;,
126 ],
127 &quot;administrativeArea&quot;: &quot;A String&quot;, # Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. &quot;Barcelona&quot; and not &quot;Catalonia&quot;). Many countries don&#x27;t use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.
128 &quot;languageCode&quot;: &quot;A String&quot;, # Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address&#x27; country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: &quot;zh-Hant&quot;, &quot;ja&quot;, &quot;ja-Latn&quot;, &quot;en&quot;.
129 &quot;locality&quot;: &quot;A String&quot;, # Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use address_lines.
130 &quot;organization&quot;: &quot;A String&quot;, # Optional. The name of the organization at the address.
131 &quot;postalCode&quot;: &quot;A String&quot;, # Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (e.g. state/zip validation in the U.S.A.).
132 &quot;recipients&quot;: [ # Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain &quot;care of&quot; information.
133 &quot;A String&quot;,
134 ],
135 &quot;regionCode&quot;: &quot;A String&quot;, # Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: &quot;CH&quot; for Switzerland.
136 &quot;revision&quot;: 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.
137 &quot;sortingCode&quot;: &quot;A String&quot;, # Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like &quot;CEDEX&quot;, optionally followed by a number (e.g. &quot;CEDEX 7&quot;), or just a number alone, representing the &quot;sector code&quot; (Jamaica), &quot;delivery area indicator&quot; (Malawi) or &quot;post office indicator&quot; (e.g. Côte d&#x27;Ivoire).
138 &quot;sublocality&quot;: &quot;A String&quot;, # Optional. Sublocality of the address. For example, this can be neighborhoods, boroughs, districts.
139 },
140 &quot;radiusInMiles&quot;: 3.14, # Radius in miles of the job location. This value is derived from the location bounding box in which a circle with the specified radius centered from LatLng covers the area associated with the job location. For example, currently, &quot;Mountain View, CA, USA&quot; has a radius of 6.17 miles.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800141 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700142 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800143 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the company, for example, &quot;Google LLC&quot;.
144 &quot;eeoText&quot;: &quot;A String&quot;, # Optional. Equal Employment Opportunity legal disclaimer text to be associated with all jobs, and typically to be displayed in all roles. The maximum number of allowed characters is 500.
145 &quot;externalId&quot;: &quot;A String&quot;, # Required. Client side company identifier, used to uniquely identify the company. The maximum number of allowed characters is 255.
146 &quot;headquartersAddress&quot;: &quot;A String&quot;, # Optional. The street address of the company&#x27;s main headquarters, which may be different from the job location. The service attempts to geolocate the provided address, and populates a more specific location wherever possible in DerivedInfo.headquarters_location.
147 &quot;hiringAgency&quot;: True or False, # Optional. Set to true if it is the hiring agency that post jobs for other employers. Defaults to false if not provided.
148 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. A URI that hosts the employer&#x27;s company logo.
149 &quot;keywordSearchableJobCustomAttributes&quot;: [ # Optional. A list of keys of filterable Job.custom_attributes, whose corresponding `string_values` are used in keyword search. Jobs with `string_values` under these specified field keys are returned if any of the values matches the search keyword. Custom field values with parenthesis, brackets and special symbols won&#x27;t be properly searchable, and those keyword queries need to be surrounded by quotes.
150 &quot;A String&quot;,
151 ],
152 &quot;name&quot;: &quot;A String&quot;, # Required during company update. The resource name for a company. This is generated by the service when a company is created. The format is &quot;projects/{project_id}/companies/{company_id}&quot;, for example, &quot;projects/api-test-project/companies/foo&quot;.
153 &quot;size&quot;: &quot;A String&quot;, # Optional. The employer&#x27;s company size.
154 &quot;suspended&quot;: True or False, # Output only. Indicates whether a company is flagged to be suspended from public availability by the service when job content appears suspicious, abusive, or spammy.
155 &quot;websiteUri&quot;: &quot;A String&quot;, # Optional. The URI representing the company&#x27;s primary web site or home page, for example, &quot;https://www.google.com&quot;. The maximum number of allowed characters is 255.
156 },
157}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700158
159 x__xgafv: string, V1 error format.
160 Allowed values
161 1 - v1 error format
162 2 - v2 error format
163
164Returns:
165 An object of the form:
166
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700167 { # A Company resource represents a company in the service. A company is the entity that owns job postings, that is, the hiring entity responsible for employing applicants for the job position.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800168 &quot;careerSiteUri&quot;: &quot;A String&quot;, # Optional. The URI to employer&#x27;s career site or careers page on the employer&#x27;s web site, for example, &quot;https://careers.google.com&quot;.
169 &quot;derivedInfo&quot;: { # Derived details about the company. # Output only. Derived details about the company.
170 &quot;headquartersLocation&quot;: { # Output only. A resource that represents a location with full geographic information. # A structured headquarters location of the company, resolved from Company.hq_location if provided.
yoshi-code-bot108b8192021-05-23 03:48:02 -0700171 &quot;latLng&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # An object representing a latitude/longitude pair.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800172 &quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
173 &quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800174 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800175 &quot;locationType&quot;: &quot;A String&quot;, # The type of a location, which corresponds to the address lines field of PostalAddress. For example, &quot;Downtown, Atlanta, GA, USA&quot; has a type of LocationType#NEIGHBORHOOD, and &quot;Kansas City, KS, USA&quot; has a type of LocationType#LOCALITY.
176 &quot;postalAddress&quot;: { # Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an i18n-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478 # Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.
177 &quot;addressLines&quot;: [ # Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. &quot;Austin, TX&quot;), it is important that the line order is clear. The order of address lines should be &quot;envelope order&quot; for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. &quot;ja&quot; for large-to-small ordering and &quot;ja-Latn&quot; or &quot;en&quot; for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).
178 &quot;A String&quot;,
179 ],
180 &quot;administrativeArea&quot;: &quot;A String&quot;, # Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. &quot;Barcelona&quot; and not &quot;Catalonia&quot;). Many countries don&#x27;t use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.
181 &quot;languageCode&quot;: &quot;A String&quot;, # Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address&#x27; country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: &quot;zh-Hant&quot;, &quot;ja&quot;, &quot;ja-Latn&quot;, &quot;en&quot;.
182 &quot;locality&quot;: &quot;A String&quot;, # Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use address_lines.
183 &quot;organization&quot;: &quot;A String&quot;, # Optional. The name of the organization at the address.
184 &quot;postalCode&quot;: &quot;A String&quot;, # Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (e.g. state/zip validation in the U.S.A.).
185 &quot;recipients&quot;: [ # Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain &quot;care of&quot; information.
186 &quot;A String&quot;,
187 ],
188 &quot;regionCode&quot;: &quot;A String&quot;, # Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: &quot;CH&quot; for Switzerland.
189 &quot;revision&quot;: 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.
190 &quot;sortingCode&quot;: &quot;A String&quot;, # Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like &quot;CEDEX&quot;, optionally followed by a number (e.g. &quot;CEDEX 7&quot;), or just a number alone, representing the &quot;sector code&quot; (Jamaica), &quot;delivery area indicator&quot; (Malawi) or &quot;post office indicator&quot; (e.g. Côte d&#x27;Ivoire).
191 &quot;sublocality&quot;: &quot;A String&quot;, # Optional. Sublocality of the address. For example, this can be neighborhoods, boroughs, districts.
192 },
193 &quot;radiusInMiles&quot;: 3.14, # Radius in miles of the job location. This value is derived from the location bounding box in which a circle with the specified radius centered from LatLng covers the area associated with the job location. For example, currently, &quot;Mountain View, CA, USA&quot; has a radius of 6.17 miles.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800194 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800195 },
196 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the company, for example, &quot;Google LLC&quot;.
197 &quot;eeoText&quot;: &quot;A String&quot;, # Optional. Equal Employment Opportunity legal disclaimer text to be associated with all jobs, and typically to be displayed in all roles. The maximum number of allowed characters is 500.
198 &quot;externalId&quot;: &quot;A String&quot;, # Required. Client side company identifier, used to uniquely identify the company. The maximum number of allowed characters is 255.
199 &quot;headquartersAddress&quot;: &quot;A String&quot;, # Optional. The street address of the company&#x27;s main headquarters, which may be different from the job location. The service attempts to geolocate the provided address, and populates a more specific location wherever possible in DerivedInfo.headquarters_location.
200 &quot;hiringAgency&quot;: True or False, # Optional. Set to true if it is the hiring agency that post jobs for other employers. Defaults to false if not provided.
201 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. A URI that hosts the employer&#x27;s company logo.
202 &quot;keywordSearchableJobCustomAttributes&quot;: [ # Optional. A list of keys of filterable Job.custom_attributes, whose corresponding `string_values` are used in keyword search. Jobs with `string_values` under these specified field keys are returned if any of the values matches the search keyword. Custom field values with parenthesis, brackets and special symbols won&#x27;t be properly searchable, and those keyword queries need to be surrounded by quotes.
203 &quot;A String&quot;,
204 ],
205 &quot;name&quot;: &quot;A String&quot;, # Required during company update. The resource name for a company. This is generated by the service when a company is created. The format is &quot;projects/{project_id}/companies/{company_id}&quot;, for example, &quot;projects/api-test-project/companies/foo&quot;.
206 &quot;size&quot;: &quot;A String&quot;, # Optional. The employer&#x27;s company size.
207 &quot;suspended&quot;: True or False, # Output only. Indicates whether a company is flagged to be suspended from public availability by the service when job content appears suspicious, abusive, or spammy.
208 &quot;websiteUri&quot;: &quot;A String&quot;, # Optional. The URI representing the company&#x27;s primary web site or home page, for example, &quot;https://www.google.com&quot;. The maximum number of allowed characters is 255.
209}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700210</div>
211
212<div class="method">
213 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700214 <pre>Deletes specified company. Prerequisite: The company has no jobs associated with it.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700215
216Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700217 name: string, Required. The resource name of the company to be deleted. The format is &quot;projects/{project_id}/companies/{company_id}&quot;, for example, &quot;projects/api-test-project/companies/foo&quot;. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700218 x__xgafv: string, V1 error format.
219 Allowed values
220 1 - v1 error format
221 2 - v2 error format
222
223Returns:
224 An object of the form:
225
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700226 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800227}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700228</div>
229
230<div class="method">
231 <code class="details" id="get">get(name, x__xgafv=None)</code>
232 <pre>Retrieves specified company.
233
234Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700235 name: string, Required. The resource name of the company to be retrieved. The format is &quot;projects/{project_id}/companies/{company_id}&quot;, for example, &quot;projects/api-test-project/companies/foo&quot;. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700236 x__xgafv: string, V1 error format.
237 Allowed values
238 1 - v1 error format
239 2 - v2 error format
240
241Returns:
242 An object of the form:
243
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700244 { # A Company resource represents a company in the service. A company is the entity that owns job postings, that is, the hiring entity responsible for employing applicants for the job position.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800245 &quot;careerSiteUri&quot;: &quot;A String&quot;, # Optional. The URI to employer&#x27;s career site or careers page on the employer&#x27;s web site, for example, &quot;https://careers.google.com&quot;.
246 &quot;derivedInfo&quot;: { # Derived details about the company. # Output only. Derived details about the company.
247 &quot;headquartersLocation&quot;: { # Output only. A resource that represents a location with full geographic information. # A structured headquarters location of the company, resolved from Company.hq_location if provided.
yoshi-code-bot108b8192021-05-23 03:48:02 -0700248 &quot;latLng&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # An object representing a latitude/longitude pair.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800249 &quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
250 &quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800251 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800252 &quot;locationType&quot;: &quot;A String&quot;, # The type of a location, which corresponds to the address lines field of PostalAddress. For example, &quot;Downtown, Atlanta, GA, USA&quot; has a type of LocationType#NEIGHBORHOOD, and &quot;Kansas City, KS, USA&quot; has a type of LocationType#LOCALITY.
253 &quot;postalAddress&quot;: { # Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an i18n-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478 # Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.
254 &quot;addressLines&quot;: [ # Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. &quot;Austin, TX&quot;), it is important that the line order is clear. The order of address lines should be &quot;envelope order&quot; for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. &quot;ja&quot; for large-to-small ordering and &quot;ja-Latn&quot; or &quot;en&quot; for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).
255 &quot;A String&quot;,
256 ],
257 &quot;administrativeArea&quot;: &quot;A String&quot;, # Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. &quot;Barcelona&quot; and not &quot;Catalonia&quot;). Many countries don&#x27;t use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.
258 &quot;languageCode&quot;: &quot;A String&quot;, # Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address&#x27; country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: &quot;zh-Hant&quot;, &quot;ja&quot;, &quot;ja-Latn&quot;, &quot;en&quot;.
259 &quot;locality&quot;: &quot;A String&quot;, # Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use address_lines.
260 &quot;organization&quot;: &quot;A String&quot;, # Optional. The name of the organization at the address.
261 &quot;postalCode&quot;: &quot;A String&quot;, # Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (e.g. state/zip validation in the U.S.A.).
262 &quot;recipients&quot;: [ # Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain &quot;care of&quot; information.
263 &quot;A String&quot;,
264 ],
265 &quot;regionCode&quot;: &quot;A String&quot;, # Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: &quot;CH&quot; for Switzerland.
266 &quot;revision&quot;: 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.
267 &quot;sortingCode&quot;: &quot;A String&quot;, # Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like &quot;CEDEX&quot;, optionally followed by a number (e.g. &quot;CEDEX 7&quot;), or just a number alone, representing the &quot;sector code&quot; (Jamaica), &quot;delivery area indicator&quot; (Malawi) or &quot;post office indicator&quot; (e.g. Côte d&#x27;Ivoire).
268 &quot;sublocality&quot;: &quot;A String&quot;, # Optional. Sublocality of the address. For example, this can be neighborhoods, boroughs, districts.
269 },
270 &quot;radiusInMiles&quot;: 3.14, # Radius in miles of the job location. This value is derived from the location bounding box in which a circle with the specified radius centered from LatLng covers the area associated with the job location. For example, currently, &quot;Mountain View, CA, USA&quot; has a radius of 6.17 miles.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800271 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800272 },
273 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the company, for example, &quot;Google LLC&quot;.
274 &quot;eeoText&quot;: &quot;A String&quot;, # Optional. Equal Employment Opportunity legal disclaimer text to be associated with all jobs, and typically to be displayed in all roles. The maximum number of allowed characters is 500.
275 &quot;externalId&quot;: &quot;A String&quot;, # Required. Client side company identifier, used to uniquely identify the company. The maximum number of allowed characters is 255.
276 &quot;headquartersAddress&quot;: &quot;A String&quot;, # Optional. The street address of the company&#x27;s main headquarters, which may be different from the job location. The service attempts to geolocate the provided address, and populates a more specific location wherever possible in DerivedInfo.headquarters_location.
277 &quot;hiringAgency&quot;: True or False, # Optional. Set to true if it is the hiring agency that post jobs for other employers. Defaults to false if not provided.
278 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. A URI that hosts the employer&#x27;s company logo.
279 &quot;keywordSearchableJobCustomAttributes&quot;: [ # Optional. A list of keys of filterable Job.custom_attributes, whose corresponding `string_values` are used in keyword search. Jobs with `string_values` under these specified field keys are returned if any of the values matches the search keyword. Custom field values with parenthesis, brackets and special symbols won&#x27;t be properly searchable, and those keyword queries need to be surrounded by quotes.
280 &quot;A String&quot;,
281 ],
282 &quot;name&quot;: &quot;A String&quot;, # Required during company update. The resource name for a company. This is generated by the service when a company is created. The format is &quot;projects/{project_id}/companies/{company_id}&quot;, for example, &quot;projects/api-test-project/companies/foo&quot;.
283 &quot;size&quot;: &quot;A String&quot;, # Optional. The employer&#x27;s company size.
284 &quot;suspended&quot;: True or False, # Output only. Indicates whether a company is flagged to be suspended from public availability by the service when job content appears suspicious, abusive, or spammy.
285 &quot;websiteUri&quot;: &quot;A String&quot;, # Optional. The URI representing the company&#x27;s primary web site or home page, for example, &quot;https://www.google.com&quot;. The maximum number of allowed characters is 255.
286}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700287</div>
288
289<div class="method">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800290 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, requireOpenJobs=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700291 <pre>Lists all companies associated with the service account.
292
293Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700294 parent: string, Required. Resource name of the project under which the company is created. The format is &quot;projects/{project_id}&quot;, for example, &quot;projects/api-test-project&quot;. (required)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700295 pageSize: integer, Optional. The maximum number of companies to be returned, at most 100. Default is 100 if a non-positive number is provided.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800296 pageToken: string, Optional. The starting indicator from which to return results.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800297 requireOpenJobs: boolean, Optional. Set to true if the companies requested must have open jobs. Defaults to false. If true, at most page_size of companies are fetched, among which only those with open jobs are returned.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700298 x__xgafv: string, V1 error format.
299 Allowed values
300 1 - v1 error format
301 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700302
303Returns:
304 An object of the form:
305
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700306 { # Output only. The List companies response object.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800307 &quot;companies&quot;: [ # Companies for the current client.
308 { # A Company resource represents a company in the service. A company is the entity that owns job postings, that is, the hiring entity responsible for employing applicants for the job position.
309 &quot;careerSiteUri&quot;: &quot;A String&quot;, # Optional. The URI to employer&#x27;s career site or careers page on the employer&#x27;s web site, for example, &quot;https://careers.google.com&quot;.
310 &quot;derivedInfo&quot;: { # Derived details about the company. # Output only. Derived details about the company.
311 &quot;headquartersLocation&quot;: { # Output only. A resource that represents a location with full geographic information. # A structured headquarters location of the company, resolved from Company.hq_location if provided.
yoshi-code-bot108b8192021-05-23 03:48:02 -0700312 &quot;latLng&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # An object representing a latitude/longitude pair.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800313 &quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
314 &quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800315 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800316 &quot;locationType&quot;: &quot;A String&quot;, # The type of a location, which corresponds to the address lines field of PostalAddress. For example, &quot;Downtown, Atlanta, GA, USA&quot; has a type of LocationType#NEIGHBORHOOD, and &quot;Kansas City, KS, USA&quot; has a type of LocationType#LOCALITY.
317 &quot;postalAddress&quot;: { # Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an i18n-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478 # Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.
318 &quot;addressLines&quot;: [ # Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. &quot;Austin, TX&quot;), it is important that the line order is clear. The order of address lines should be &quot;envelope order&quot; for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. &quot;ja&quot; for large-to-small ordering and &quot;ja-Latn&quot; or &quot;en&quot; for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).
319 &quot;A String&quot;,
320 ],
321 &quot;administrativeArea&quot;: &quot;A String&quot;, # Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. &quot;Barcelona&quot; and not &quot;Catalonia&quot;). Many countries don&#x27;t use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.
322 &quot;languageCode&quot;: &quot;A String&quot;, # Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address&#x27; country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: &quot;zh-Hant&quot;, &quot;ja&quot;, &quot;ja-Latn&quot;, &quot;en&quot;.
323 &quot;locality&quot;: &quot;A String&quot;, # Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use address_lines.
324 &quot;organization&quot;: &quot;A String&quot;, # Optional. The name of the organization at the address.
325 &quot;postalCode&quot;: &quot;A String&quot;, # Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (e.g. state/zip validation in the U.S.A.).
326 &quot;recipients&quot;: [ # Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain &quot;care of&quot; information.
327 &quot;A String&quot;,
328 ],
329 &quot;regionCode&quot;: &quot;A String&quot;, # Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: &quot;CH&quot; for Switzerland.
330 &quot;revision&quot;: 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.
331 &quot;sortingCode&quot;: &quot;A String&quot;, # Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like &quot;CEDEX&quot;, optionally followed by a number (e.g. &quot;CEDEX 7&quot;), or just a number alone, representing the &quot;sector code&quot; (Jamaica), &quot;delivery area indicator&quot; (Malawi) or &quot;post office indicator&quot; (e.g. Côte d&#x27;Ivoire).
332 &quot;sublocality&quot;: &quot;A String&quot;, # Optional. Sublocality of the address. For example, this can be neighborhoods, boroughs, districts.
333 },
334 &quot;radiusInMiles&quot;: 3.14, # Radius in miles of the job location. This value is derived from the location bounding box in which a circle with the specified radius centered from LatLng covers the area associated with the job location. For example, currently, &quot;Mountain View, CA, USA&quot; has a radius of 6.17 miles.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800335 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700336 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800337 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the company, for example, &quot;Google LLC&quot;.
338 &quot;eeoText&quot;: &quot;A String&quot;, # Optional. Equal Employment Opportunity legal disclaimer text to be associated with all jobs, and typically to be displayed in all roles. The maximum number of allowed characters is 500.
339 &quot;externalId&quot;: &quot;A String&quot;, # Required. Client side company identifier, used to uniquely identify the company. The maximum number of allowed characters is 255.
340 &quot;headquartersAddress&quot;: &quot;A String&quot;, # Optional. The street address of the company&#x27;s main headquarters, which may be different from the job location. The service attempts to geolocate the provided address, and populates a more specific location wherever possible in DerivedInfo.headquarters_location.
341 &quot;hiringAgency&quot;: True or False, # Optional. Set to true if it is the hiring agency that post jobs for other employers. Defaults to false if not provided.
342 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. A URI that hosts the employer&#x27;s company logo.
343 &quot;keywordSearchableJobCustomAttributes&quot;: [ # Optional. A list of keys of filterable Job.custom_attributes, whose corresponding `string_values` are used in keyword search. Jobs with `string_values` under these specified field keys are returned if any of the values matches the search keyword. Custom field values with parenthesis, brackets and special symbols won&#x27;t be properly searchable, and those keyword queries need to be surrounded by quotes.
344 &quot;A String&quot;,
345 ],
346 &quot;name&quot;: &quot;A String&quot;, # Required during company update. The resource name for a company. This is generated by the service when a company is created. The format is &quot;projects/{project_id}/companies/{company_id}&quot;, for example, &quot;projects/api-test-project/companies/foo&quot;.
347 &quot;size&quot;: &quot;A String&quot;, # Optional. The employer&#x27;s company size.
348 &quot;suspended&quot;: True or False, # Output only. Indicates whether a company is flagged to be suspended from public availability by the service when job content appears suspicious, abusive, or spammy.
349 &quot;websiteUri&quot;: &quot;A String&quot;, # Optional. The URI representing the company&#x27;s primary web site or home page, for example, &quot;https://www.google.com&quot;. The maximum number of allowed characters is 255.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800350 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800351 ],
352 &quot;metadata&quot;: { # Output only. Additional information returned to client, such as debugging information. # Additional information for the API invocation, such as the request tracking id.
353 &quot;requestId&quot;: &quot;A String&quot;, # A unique id associated with this call. This id is logged for tracking purposes.
354 },
355 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to retrieve the next page of results.
356}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700357</div>
358
359<div class="method">
360 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
361 <pre>Retrieves the next page of results.
362
363Args:
364 previous_request: The request for the previous page. (required)
365 previous_response: The response from the request for the previous page. (required)
366
367Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700368 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700369 page. Returns None if there are no more items in the collection.
370 </pre>
371</div>
372
373<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700374 <code class="details" id="patch">patch(name, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700375 <pre>Updates specified company. Company names can&#x27;t be updated. To update a company name, delete the company and all jobs associated with it, and only then re-create them.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700376
377Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700378 name: string, Required during company update. The resource name for a company. This is generated by the service when a company is created. The format is &quot;projects/{project_id}/companies/{company_id}&quot;, for example, &quot;projects/api-test-project/companies/foo&quot;. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700379 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700380 The object takes the form of:
381
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700382{ # Input only. Request for updating a specified company.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800383 &quot;company&quot;: { # A Company resource represents a company in the service. A company is the entity that owns job postings, that is, the hiring entity responsible for employing applicants for the job position. # Required. The company resource to replace the current resource in the system.
384 &quot;careerSiteUri&quot;: &quot;A String&quot;, # Optional. The URI to employer&#x27;s career site or careers page on the employer&#x27;s web site, for example, &quot;https://careers.google.com&quot;.
385 &quot;derivedInfo&quot;: { # Derived details about the company. # Output only. Derived details about the company.
386 &quot;headquartersLocation&quot;: { # Output only. A resource that represents a location with full geographic information. # A structured headquarters location of the company, resolved from Company.hq_location if provided.
yoshi-code-bot108b8192021-05-23 03:48:02 -0700387 &quot;latLng&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # An object representing a latitude/longitude pair.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800388 &quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
389 &quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800390 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800391 &quot;locationType&quot;: &quot;A String&quot;, # The type of a location, which corresponds to the address lines field of PostalAddress. For example, &quot;Downtown, Atlanta, GA, USA&quot; has a type of LocationType#NEIGHBORHOOD, and &quot;Kansas City, KS, USA&quot; has a type of LocationType#LOCALITY.
392 &quot;postalAddress&quot;: { # Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an i18n-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478 # Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.
393 &quot;addressLines&quot;: [ # Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. &quot;Austin, TX&quot;), it is important that the line order is clear. The order of address lines should be &quot;envelope order&quot; for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. &quot;ja&quot; for large-to-small ordering and &quot;ja-Latn&quot; or &quot;en&quot; for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).
394 &quot;A String&quot;,
395 ],
396 &quot;administrativeArea&quot;: &quot;A String&quot;, # Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. &quot;Barcelona&quot; and not &quot;Catalonia&quot;). Many countries don&#x27;t use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.
397 &quot;languageCode&quot;: &quot;A String&quot;, # Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address&#x27; country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: &quot;zh-Hant&quot;, &quot;ja&quot;, &quot;ja-Latn&quot;, &quot;en&quot;.
398 &quot;locality&quot;: &quot;A String&quot;, # Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use address_lines.
399 &quot;organization&quot;: &quot;A String&quot;, # Optional. The name of the organization at the address.
400 &quot;postalCode&quot;: &quot;A String&quot;, # Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (e.g. state/zip validation in the U.S.A.).
401 &quot;recipients&quot;: [ # Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain &quot;care of&quot; information.
402 &quot;A String&quot;,
403 ],
404 &quot;regionCode&quot;: &quot;A String&quot;, # Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: &quot;CH&quot; for Switzerland.
405 &quot;revision&quot;: 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.
406 &quot;sortingCode&quot;: &quot;A String&quot;, # Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like &quot;CEDEX&quot;, optionally followed by a number (e.g. &quot;CEDEX 7&quot;), or just a number alone, representing the &quot;sector code&quot; (Jamaica), &quot;delivery area indicator&quot; (Malawi) or &quot;post office indicator&quot; (e.g. Côte d&#x27;Ivoire).
407 &quot;sublocality&quot;: &quot;A String&quot;, # Optional. Sublocality of the address. For example, this can be neighborhoods, boroughs, districts.
408 },
409 &quot;radiusInMiles&quot;: 3.14, # Radius in miles of the job location. This value is derived from the location bounding box in which a circle with the specified radius centered from LatLng covers the area associated with the job location. For example, currently, &quot;Mountain View, CA, USA&quot; has a radius of 6.17 miles.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800410 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700411 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800412 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the company, for example, &quot;Google LLC&quot;.
413 &quot;eeoText&quot;: &quot;A String&quot;, # Optional. Equal Employment Opportunity legal disclaimer text to be associated with all jobs, and typically to be displayed in all roles. The maximum number of allowed characters is 500.
414 &quot;externalId&quot;: &quot;A String&quot;, # Required. Client side company identifier, used to uniquely identify the company. The maximum number of allowed characters is 255.
415 &quot;headquartersAddress&quot;: &quot;A String&quot;, # Optional. The street address of the company&#x27;s main headquarters, which may be different from the job location. The service attempts to geolocate the provided address, and populates a more specific location wherever possible in DerivedInfo.headquarters_location.
416 &quot;hiringAgency&quot;: True or False, # Optional. Set to true if it is the hiring agency that post jobs for other employers. Defaults to false if not provided.
417 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. A URI that hosts the employer&#x27;s company logo.
418 &quot;keywordSearchableJobCustomAttributes&quot;: [ # Optional. A list of keys of filterable Job.custom_attributes, whose corresponding `string_values` are used in keyword search. Jobs with `string_values` under these specified field keys are returned if any of the values matches the search keyword. Custom field values with parenthesis, brackets and special symbols won&#x27;t be properly searchable, and those keyword queries need to be surrounded by quotes.
419 &quot;A String&quot;,
420 ],
421 &quot;name&quot;: &quot;A String&quot;, # Required during company update. The resource name for a company. This is generated by the service when a company is created. The format is &quot;projects/{project_id}/companies/{company_id}&quot;, for example, &quot;projects/api-test-project/companies/foo&quot;.
422 &quot;size&quot;: &quot;A String&quot;, # Optional. The employer&#x27;s company size.
423 &quot;suspended&quot;: True or False, # Output only. Indicates whether a company is flagged to be suspended from public availability by the service when job content appears suspicious, abusive, or spammy.
424 &quot;websiteUri&quot;: &quot;A String&quot;, # Optional. The URI representing the company&#x27;s primary web site or home page, for example, &quot;https://www.google.com&quot;. The maximum number of allowed characters is 255.
425 },
426 &quot;updateMask&quot;: &quot;A String&quot;, # Optional but strongly recommended for the best service experience. If update_mask is provided, only the specified fields in company are updated. Otherwise all the fields are updated. A field mask to specify the company fields to be updated. Only top level fields of Company are supported.
427}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700428
429 x__xgafv: string, V1 error format.
430 Allowed values
431 1 - v1 error format
432 2 - v2 error format
433
434Returns:
435 An object of the form:
436
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700437 { # A Company resource represents a company in the service. A company is the entity that owns job postings, that is, the hiring entity responsible for employing applicants for the job position.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800438 &quot;careerSiteUri&quot;: &quot;A String&quot;, # Optional. The URI to employer&#x27;s career site or careers page on the employer&#x27;s web site, for example, &quot;https://careers.google.com&quot;.
439 &quot;derivedInfo&quot;: { # Derived details about the company. # Output only. Derived details about the company.
440 &quot;headquartersLocation&quot;: { # Output only. A resource that represents a location with full geographic information. # A structured headquarters location of the company, resolved from Company.hq_location if provided.
yoshi-code-bot108b8192021-05-23 03:48:02 -0700441 &quot;latLng&quot;: { # An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. # An object representing a latitude/longitude pair.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800442 &quot;latitude&quot;: 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
443 &quot;longitude&quot;: 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800444 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800445 &quot;locationType&quot;: &quot;A String&quot;, # The type of a location, which corresponds to the address lines field of PostalAddress. For example, &quot;Downtown, Atlanta, GA, USA&quot; has a type of LocationType#NEIGHBORHOOD, and &quot;Kansas City, KS, USA&quot; has a type of LocationType#LOCALITY.
446 &quot;postalAddress&quot;: { # Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an i18n-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: https://support.google.com/business/answer/6397478 # Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.
447 &quot;addressLines&quot;: [ # Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (e.g. &quot;Austin, TX&quot;), it is important that the line order is clear. The order of address lines should be &quot;envelope order&quot; for the country/region of the address. In places where this can vary (e.g. Japan), address_language is used to make it explicit (e.g. &quot;ja&quot; for large-to-small ordering and &quot;ja-Latn&quot; or &quot;en&quot; for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).
448 &quot;A String&quot;,
449 ],
450 &quot;administrativeArea&quot;: &quot;A String&quot;, # Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. &quot;Barcelona&quot; and not &quot;Catalonia&quot;). Many countries don&#x27;t use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.
451 &quot;languageCode&quot;: &quot;A String&quot;, # Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address&#x27; country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: &quot;zh-Hant&quot;, &quot;ja&quot;, &quot;ja-Latn&quot;, &quot;en&quot;.
452 &quot;locality&quot;: &quot;A String&quot;, # Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use address_lines.
453 &quot;organization&quot;: &quot;A String&quot;, # Optional. The name of the organization at the address.
454 &quot;postalCode&quot;: &quot;A String&quot;, # Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (e.g. state/zip validation in the U.S.A.).
455 &quot;recipients&quot;: [ # Optional. The recipient at the address. This field may, under certain circumstances, contain multiline information. For example, it might contain &quot;care of&quot; information.
456 &quot;A String&quot;,
457 ],
458 &quot;regionCode&quot;: &quot;A String&quot;, # Required. CLDR region code of the country/region of the address. This is never inferred and it is up to the user to ensure the value is correct. See http://cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html for details. Example: &quot;CH&quot; for Switzerland.
459 &quot;revision&quot;: 42, # The schema revision of the `PostalAddress`. This must be set to 0, which is the latest revision. All new revisions **must** be backward compatible with old revisions.
460 &quot;sortingCode&quot;: &quot;A String&quot;, # Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like &quot;CEDEX&quot;, optionally followed by a number (e.g. &quot;CEDEX 7&quot;), or just a number alone, representing the &quot;sector code&quot; (Jamaica), &quot;delivery area indicator&quot; (Malawi) or &quot;post office indicator&quot; (e.g. Côte d&#x27;Ivoire).
461 &quot;sublocality&quot;: &quot;A String&quot;, # Optional. Sublocality of the address. For example, this can be neighborhoods, boroughs, districts.
462 },
463 &quot;radiusInMiles&quot;: 3.14, # Radius in miles of the job location. This value is derived from the location bounding box in which a circle with the specified radius centered from LatLng covers the area associated with the job location. For example, currently, &quot;Mountain View, CA, USA&quot; has a radius of 6.17 miles.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800464 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800465 },
466 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the company, for example, &quot;Google LLC&quot;.
467 &quot;eeoText&quot;: &quot;A String&quot;, # Optional. Equal Employment Opportunity legal disclaimer text to be associated with all jobs, and typically to be displayed in all roles. The maximum number of allowed characters is 500.
468 &quot;externalId&quot;: &quot;A String&quot;, # Required. Client side company identifier, used to uniquely identify the company. The maximum number of allowed characters is 255.
469 &quot;headquartersAddress&quot;: &quot;A String&quot;, # Optional. The street address of the company&#x27;s main headquarters, which may be different from the job location. The service attempts to geolocate the provided address, and populates a more specific location wherever possible in DerivedInfo.headquarters_location.
470 &quot;hiringAgency&quot;: True or False, # Optional. Set to true if it is the hiring agency that post jobs for other employers. Defaults to false if not provided.
471 &quot;imageUri&quot;: &quot;A String&quot;, # Optional. A URI that hosts the employer&#x27;s company logo.
472 &quot;keywordSearchableJobCustomAttributes&quot;: [ # Optional. A list of keys of filterable Job.custom_attributes, whose corresponding `string_values` are used in keyword search. Jobs with `string_values` under these specified field keys are returned if any of the values matches the search keyword. Custom field values with parenthesis, brackets and special symbols won&#x27;t be properly searchable, and those keyword queries need to be surrounded by quotes.
473 &quot;A String&quot;,
474 ],
475 &quot;name&quot;: &quot;A String&quot;, # Required during company update. The resource name for a company. This is generated by the service when a company is created. The format is &quot;projects/{project_id}/companies/{company_id}&quot;, for example, &quot;projects/api-test-project/companies/foo&quot;.
476 &quot;size&quot;: &quot;A String&quot;, # Optional. The employer&#x27;s company size.
477 &quot;suspended&quot;: True or False, # Output only. Indicates whether a company is flagged to be suspended from public availability by the service when job content appears suspicious, abusive, or spammy.
478 &quot;websiteUri&quot;: &quot;A String&quot;, # Optional. The URI representing the company&#x27;s primary web site or home page, for example, &quot;https://www.google.com&quot;. The maximum number of allowed characters is 255.
479}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700480</div>
481
482</body></html>