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 |
Deletes specified company. Prerequisite: The company has no jobs associated with it.
See: Cloud Talent Solution API Reference for jobs.projects.companies.delete
.
Synopsis
- 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)))))))
- projectsCompaniesDelete :: Text -> ProjectsCompaniesDelete
- data ProjectsCompaniesDelete
- pcdXgafv :: Lens' ProjectsCompaniesDelete (Maybe Xgafv)
- pcdUploadProtocol :: Lens' ProjectsCompaniesDelete (Maybe Text)
- pcdAccessToken :: Lens' ProjectsCompaniesDelete (Maybe Text)
- pcdUploadType :: Lens' ProjectsCompaniesDelete (Maybe Text)
- pcdName :: Lens' ProjectsCompaniesDelete Text
- pcdCallback :: Lens' ProjectsCompaniesDelete (Maybe Text)
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
Request Lenses
pcdUploadProtocol :: Lens' ProjectsCompaniesDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pcdAccessToken :: Lens' ProjectsCompaniesDelete (Maybe Text) Source #
OAuth access token.
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".
pcdCallback :: Lens' ProjectsCompaniesDelete (Maybe Text) Source #
JSONP