gogol-jobs-0.4.0: Google Cloud Talent Solution SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Jobs.Projects.Complete

Contents

Description

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

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

projectsComplete Source #

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
Eq ProjectsComplete Source # 
Instance details

Defined in Network.Google.Resource.Jobs.Projects.Complete

Data ProjectsComplete Source # 
Instance details

Defined in Network.Google.Resource.Jobs.Projects.Complete

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectsComplete -> c ProjectsComplete #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectsComplete #

toConstr :: ProjectsComplete -> Constr #

dataTypeOf :: ProjectsComplete -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProjectsComplete) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectsComplete) #

gmapT :: (forall b. Data b => b -> b) -> ProjectsComplete -> ProjectsComplete #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsComplete -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsComplete -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProjectsComplete -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectsComplete -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectsComplete -> m ProjectsComplete #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsComplete -> m ProjectsComplete #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsComplete -> m ProjectsComplete #

Show ProjectsComplete Source # 
Instance details

Defined in Network.Google.Resource.Jobs.Projects.Complete

Generic ProjectsComplete Source # 
Instance details

Defined in Network.Google.Resource.Jobs.Projects.Complete

Associated Types

type Rep ProjectsComplete :: Type -> Type #

GoogleRequest ProjectsComplete Source # 
Instance details

Defined in Network.Google.Resource.Jobs.Projects.Complete

Associated Types

type Rs ProjectsComplete :: Type #

type Scopes ProjectsComplete :: [Symbol] #

type Rep ProjectsComplete Source # 
Instance details

Defined in Network.Google.Resource.Jobs.Projects.Complete

type Rep ProjectsComplete = D1 (MetaData "ProjectsComplete" "Network.Google.Resource.Jobs.Projects.Complete" "gogol-jobs-0.4.0-6cOfxKMo2K0CNMHYiLGR3J" False) (C1 (MetaCons "ProjectsComplete'" PrefixI True) (((S1 (MetaSel (Just "_pcLanguageCodes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_pcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pcLanguageCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pcCompanyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_pcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pcName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pcScope") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pcQuery") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pcType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pcPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsComplete Source # 
Instance details

Defined in Network.Google.Resource.Jobs.Projects.Complete

type Scopes ProjectsComplete = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/jobs" ': ([] :: [Symbol]))
type Rs ProjectsComplete Source # 
Instance details

Defined in Network.Google.Resource.Jobs.Projects.Complete

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".

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.