Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Completes the specified prefix with keyword suggestions. Intended for use by a job search auto-complete search box.
See: Cloud Talent Solution API Reference for jobs.projects.complete
.
Synopsis
- type ProjectsCompleteResource = "v3p1beta1" :> (CaptureMode "name" "complete" Text :> (QueryParams "languageCodes" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "languageCode" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "companyName" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "scope" Text :> (QueryParam "query" Text :> (QueryParam "type" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] CompleteQueryResponse))))))))))))))
- projectsComplete :: Text -> ProjectsComplete
- data ProjectsComplete
- pcLanguageCodes :: Lens' ProjectsComplete [Text]
- pcXgafv :: Lens' ProjectsComplete (Maybe Xgafv)
- pcLanguageCode :: Lens' ProjectsComplete (Maybe Text)
- pcUploadProtocol :: Lens' ProjectsComplete (Maybe Text)
- pcCompanyName :: Lens' ProjectsComplete (Maybe Text)
- pcAccessToken :: Lens' ProjectsComplete (Maybe Text)
- pcUploadType :: Lens' ProjectsComplete (Maybe Text)
- pcName :: Lens' ProjectsComplete Text
- pcScope :: Lens' ProjectsComplete (Maybe Text)
- pcQuery :: Lens' ProjectsComplete (Maybe Text)
- pcType :: Lens' ProjectsComplete (Maybe Text)
- pcPageSize :: Lens' ProjectsComplete (Maybe Int32)
- pcCallback :: Lens' ProjectsComplete (Maybe Text)
REST Resource
type ProjectsCompleteResource = "v3p1beta1" :> (CaptureMode "name" "complete" Text :> (QueryParams "languageCodes" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "languageCode" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "companyName" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "scope" Text :> (QueryParam "query" Text :> (QueryParam "type" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] CompleteQueryResponse)))))))))))))) Source #
A resource alias for jobs.projects.complete
method which the
ProjectsComplete
request conforms to.
Creating a Request
Creates a value of ProjectsComplete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsComplete Source #
Completes the specified prefix with keyword suggestions. Intended for use by a job search auto-complete search box.
See: projectsComplete
smart constructor.
Instances
Request Lenses
pcLanguageCodes :: Lens' ProjectsComplete [Text] Source #
Optional. The list of languages of the query. This is the BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see Tags for Identifying Languages. For CompletionType.JOB_TITLE type, only open jobs with the same language_codes are returned. For CompletionType.COMPANY_NAME type, only companies having open jobs with the same language_codes are returned. For CompletionType.COMBINED type, only open jobs with the same language_codes or companies having open jobs with the same language_codes are returned. The maximum number of allowed characters is 255.
pcLanguageCode :: Lens' ProjectsComplete (Maybe Text) Source #
Deprecated. Use language_codes instead. Optional. The language of the query. This is the BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see Tags for Identifying Languages. For CompletionType.JOB_TITLE type, only open jobs with the same language_code are returned. For CompletionType.COMPANY_NAME type, only companies having open jobs with the same language_code are returned. For CompletionType.COMBINED type, only open jobs with the same language_code or companies having open jobs with the same language_code are returned. The maximum number of allowed characters is 255.
pcUploadProtocol :: Lens' ProjectsComplete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pcCompanyName :: Lens' ProjectsComplete (Maybe Text) Source #
Optional. If provided, restricts completion to specified company. The format is "projects/{project_id}/companies/{company_id}", for example, "projects/api-test-project/companies/foo".
pcAccessToken :: Lens' ProjectsComplete (Maybe Text) Source #
OAuth access token.
pcUploadType :: Lens' ProjectsComplete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pcName :: Lens' ProjectsComplete Text Source #
Required. Resource name of project the completion is performed within. The format is "projects/{project_id}", for example, "projects/api-test-project".
pcScope :: Lens' ProjectsComplete (Maybe Text) Source #
Optional. The scope of the completion. The defaults is CompletionScope.PUBLIC.
pcQuery :: Lens' ProjectsComplete (Maybe Text) Source #
Required. The query used to generate suggestions. The maximum number of allowed characters is 255.
pcType :: Lens' ProjectsComplete (Maybe Text) Source #
Optional. The completion topic. The default is CompletionType.COMBINED.
pcPageSize :: Lens' ProjectsComplete (Maybe Int32) Source #
Required. Completion result count. The maximum allowed page size is 10.
pcCallback :: Lens' ProjectsComplete (Maybe Text) Source #
JSONP