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

Contents

Description

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.

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

Synopsis

REST Resource

type ProjectsCompaniesPatchResource = "v3p1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UpdateCompanyRequest :> Patch '[JSON] Company)))))))) Source #

A resource alias for jobs.projects.companies.patch method which the ProjectsCompaniesPatch request conforms to.

Creating a Request

projectsCompaniesPatch Source #

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

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

data ProjectsCompaniesPatch Source #

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.

See: projectsCompaniesPatch smart constructor.

Instances
Eq ProjectsCompaniesPatch Source # 
Instance details

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

Data ProjectsCompaniesPatch Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsCompaniesPatch -> Constr #

dataTypeOf :: ProjectsCompaniesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsCompaniesPatch Source # 
Instance details

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

Generic ProjectsCompaniesPatch Source # 
Instance details

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

Associated Types

type Rep ProjectsCompaniesPatch :: Type -> Type #

GoogleRequest ProjectsCompaniesPatch Source # 
Instance details

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

type Rep ProjectsCompaniesPatch Source # 
Instance details

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

type Rep ProjectsCompaniesPatch = D1 (MetaData "ProjectsCompaniesPatch" "Network.Google.Resource.Jobs.Projects.Companies.Patch" "gogol-jobs-0.4.0-6cOfxKMo2K0CNMHYiLGR3J" False) (C1 (MetaCons "ProjectsCompaniesPatch'" PrefixI True) ((S1 (MetaSel (Just "_pcpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pcpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pcpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pcpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pcpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UpdateCompanyRequest)) :*: (S1 (MetaSel (Just "_pcpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pcpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsCompaniesPatch Source # 
Instance details

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

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

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

Request Lenses

pcpUploadProtocol :: Lens' ProjectsCompaniesPatch (Maybe Text) Source #

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

pcpUploadType :: Lens' ProjectsCompaniesPatch (Maybe Text) Source #

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

pcpName :: Lens' ProjectsCompaniesPatch Text Source #

Required during company update. The resource name for a company. This is generated by the service when a company is created. The format is "projects/{project_id}/companies/{company_id}", for example, "projects/api-test-project/companies/foo".