blob: 6a7662a6176dfacfd8df161899c0878226d7f76b [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></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="jobs_v3p1beta1.projects.clientEvents.html">clientEvents()</a></code>
79</p>
80<p class="firstline">Returns the clientEvents Resource.</p>
81
82<p class="toc_element">
83 <code><a href="jobs_v3p1beta1.projects.companies.html">companies()</a></code>
84</p>
85<p class="firstline">Returns the companies Resource.</p>
86
87<p class="toc_element">
88 <code><a href="jobs_v3p1beta1.projects.jobs.html">jobs()</a></code>
89</p>
90<p class="firstline">Returns the jobs Resource.</p>
91
92<p class="toc_element">
93 <code><a href="jobs_v3p1beta1.projects.operations.html">operations()</a></code>
94</p>
95<p class="firstline">Returns the operations Resource.</p>
96
97<p class="toc_element">
98 <code><a href="#complete">complete(name, languageCode=None, pageSize=None, languageCodes=None, query=None, x__xgafv=None, scope=None, type=None, companyName=None)</a></code></p>
99<p class="firstline">Completes the specified prefix with keyword suggestions.</p>
100<h3>Method Details</h3>
101<div class="method">
102 <code class="details" id="complete">complete(name, languageCode=None, pageSize=None, languageCodes=None, query=None, x__xgafv=None, scope=None, type=None, companyName=None)</code>
103 <pre>Completes the specified prefix with keyword suggestions.
104Intended for use by a job search auto-complete search box.
105
106Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700107 name: string, Required. Resource name of project the completion is performed within.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700108
109The format is "projects/{project_id}", for example,
110"projects/api-test-project". (required)
111 languageCode: string, Deprecated. Use language_codes instead.
112
113Optional.
114
115The language of the query. This is
116the BCP-47 language code, such as "en-US" or "sr-Latn".
117For more information, see
118[Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
119
120For CompletionType.JOB_TITLE type, only open jobs with the same
121language_code are returned.
122
123For CompletionType.COMPANY_NAME type,
124only companies having open jobs with the same language_code are
125returned.
126
127For CompletionType.COMBINED type, only open jobs with the same
128language_code or companies having open jobs with the same
129language_code are returned.
130
131The maximum number of allowed characters is 255.
Dan O'Mearadd494642020-05-01 07:42:23 -0700132 pageSize: integer, Required. Completion result count.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700133
134The maximum allowed page size is 10.
Dan O'Mearadd494642020-05-01 07:42:23 -0700135 languageCodes: string, Optional. The list of languages of the query. This is
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700136the BCP-47 language code, such as "en-US" or "sr-Latn".
137For more information, see
138[Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
139
140For CompletionType.JOB_TITLE type, only open jobs with the same
141language_codes are returned.
142
143For CompletionType.COMPANY_NAME type,
144only companies having open jobs with the same language_codes are
145returned.
146
147For CompletionType.COMBINED type, only open jobs with the same
148language_codes or companies having open jobs with the same
149language_codes are returned.
150
151The maximum number of allowed characters is 255. (repeated)
Dan O'Mearadd494642020-05-01 07:42:23 -0700152 query: string, Required. The query used to generate suggestions.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700153
154The maximum number of allowed characters is 255.
155 x__xgafv: string, V1 error format.
156 Allowed values
157 1 - v1 error format
158 2 - v2 error format
Dan O'Mearadd494642020-05-01 07:42:23 -0700159 scope: string, Optional. The scope of the completion. The defaults is CompletionScope.PUBLIC.
160 type: string, Optional. The completion topic. The default is CompletionType.COMBINED.
161 companyName: string, Optional. If provided, restricts completion to specified company.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700162
163The format is "projects/{project_id}/companies/{company_id}", for example,
164"projects/api-test-project/companies/foo".
165
166Returns:
167 An object of the form:
168
169 { # Output only.
170 #
171 # Response of auto-complete query.
172 "completionResults": [ # Results of the matching job/company candidates.
173 { # Output only.
174 #
175 # Resource that represents completion results.
176 "type": "A String", # The completion topic.
177 "suggestion": "A String", # The suggestion for the query.
178 "imageUri": "A String", # The URI of the company image for CompletionType.COMPANY_NAME.
179 },
180 ],
181 "metadata": { # Output only. # Additional information for the API invocation, such as the request
182 # tracking id.
183 #
184 # Additional information returned to client, such as debugging information.
185 "requestId": "A String", # A unique id associated with this call.
186 # This id is logged for tracking purposes.
187 },
188 }</pre>
189</div>
190
191</body></html>