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

Contents

Description

Deletes specified company. Prerequisite: The company has no jobs associated with it.

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

Synopsis

REST Resource

type ProjectsCompaniesDeleteResource = "v3p1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))) Source #

A resource alias for jobs.projects.companies.delete method which the ProjectsCompaniesDelete request conforms to.

Creating a Request

projectsCompaniesDelete Source #

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

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

data ProjectsCompaniesDelete Source #

Deletes specified company. Prerequisite: The company has no jobs associated with it.

See: projectsCompaniesDelete smart constructor.

Instances
Eq ProjectsCompaniesDelete Source # 
Instance details

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

Data ProjectsCompaniesDelete Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsCompaniesDelete -> Constr #

dataTypeOf :: ProjectsCompaniesDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsCompaniesDelete Source # 
Instance details

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

Generic ProjectsCompaniesDelete Source # 
Instance details

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

Associated Types

type Rep ProjectsCompaniesDelete :: Type -> Type #

GoogleRequest ProjectsCompaniesDelete Source # 
Instance details

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

type Rep ProjectsCompaniesDelete Source # 
Instance details

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

type Rep ProjectsCompaniesDelete = D1 (MetaData "ProjectsCompaniesDelete" "Network.Google.Resource.Jobs.Projects.Companies.Delete" "gogol-jobs-0.4.0-6cOfxKMo2K0CNMHYiLGR3J" False) (C1 (MetaCons "ProjectsCompaniesDelete'" PrefixI True) ((S1 (MetaSel (Just "_pcdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pcdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pcdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pcdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pcdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pcdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsCompaniesDelete Source # 
Instance details

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

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

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

Request Lenses

pcdUploadProtocol :: Lens' ProjectsCompaniesDelete (Maybe Text) Source #

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

pcdUploadType :: Lens' ProjectsCompaniesDelete (Maybe Text) Source #

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

pcdName :: Lens' ProjectsCompaniesDelete Text Source #

Required. The resource name of the company to be deleted. The format is "projects/{project_id}/companies/{company_id}", for example, "projects/api-test-project/companies/foo".