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.Companies.Create

Contents

Description

Creates a new company entity.

See: Cloud Talent Solution API Reference for jobs.projects.companies.create.

Synopsis

REST Resource

type ProjectsCompaniesCreateResource = "v3p1beta1" :> (Capture "parent" Text :> ("companies" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CreateCompanyRequest :> Post '[JSON] Company))))))))) Source #

A resource alias for jobs.projects.companies.create method which the ProjectsCompaniesCreate request conforms to.

Creating a Request

projectsCompaniesCreate Source #

Creates a value of ProjectsCompaniesCreate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ProjectsCompaniesCreate Source #

Creates a new company entity.

See: projectsCompaniesCreate smart constructor.

Instances
Eq ProjectsCompaniesCreate Source # 
Instance details

Defined in Network.Google.Resource.Jobs.Projects.Companies.Create

Data ProjectsCompaniesCreate Source # 
Instance details

Defined in Network.Google.Resource.Jobs.Projects.Companies.Create

Methods

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

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

toConstr :: ProjectsCompaniesCreate -> Constr #

dataTypeOf :: ProjectsCompaniesCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsCompaniesCreate Source # 
Instance details

Defined in Network.Google.Resource.Jobs.Projects.Companies.Create

Generic ProjectsCompaniesCreate Source # 
Instance details

Defined in Network.Google.Resource.Jobs.Projects.Companies.Create

Associated Types

type Rep ProjectsCompaniesCreate :: Type -> Type #

GoogleRequest ProjectsCompaniesCreate Source # 
Instance details

Defined in Network.Google.Resource.Jobs.Projects.Companies.Create

type Rep ProjectsCompaniesCreate Source # 
Instance details

Defined in Network.Google.Resource.Jobs.Projects.Companies.Create

type Rep ProjectsCompaniesCreate = D1 (MetaData "ProjectsCompaniesCreate" "Network.Google.Resource.Jobs.Projects.Companies.Create" "gogol-jobs-0.4.0-6cOfxKMo2K0CNMHYiLGR3J" False) (C1 (MetaCons "ProjectsCompaniesCreate'" PrefixI True) ((S1 (MetaSel (Just "_pccParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pccXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pccUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pccAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pccUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pccPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CreateCompanyRequest) :*: S1 (MetaSel (Just "_pccCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsCompaniesCreate Source # 
Instance details

Defined in Network.Google.Resource.Jobs.Projects.Companies.Create

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

Defined in Network.Google.Resource.Jobs.Projects.Companies.Create

Request Lenses

pccParent :: Lens' ProjectsCompaniesCreate Text Source #

Required. Resource name of the project under which the company is created. The format is "projects/{project_id}", for example, "projects/api-test-project".

pccUploadProtocol :: Lens' ProjectsCompaniesCreate (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

pccUploadType :: Lens' ProjectsCompaniesCreate (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").