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 |
Retrieves specified company.
See: Cloud Talent Solution API Reference for jobs.projects.companies.get
.
Synopsis
- type ProjectsCompaniesGetResource = "v3p1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Company)))))))
- projectsCompaniesGet :: Text -> ProjectsCompaniesGet
- data ProjectsCompaniesGet
- pcgXgafv :: Lens' ProjectsCompaniesGet (Maybe Xgafv)
- pcgUploadProtocol :: Lens' ProjectsCompaniesGet (Maybe Text)
- pcgAccessToken :: Lens' ProjectsCompaniesGet (Maybe Text)
- pcgUploadType :: Lens' ProjectsCompaniesGet (Maybe Text)
- pcgName :: Lens' ProjectsCompaniesGet Text
- pcgCallback :: Lens' ProjectsCompaniesGet (Maybe Text)
REST Resource
type ProjectsCompaniesGetResource = "v3p1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Company))))))) Source #
A resource alias for jobs.projects.companies.get
method which the
ProjectsCompaniesGet
request conforms to.
Creating a Request
Creates a value of ProjectsCompaniesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsCompaniesGet Source #
Retrieves specified company.
See: projectsCompaniesGet
smart constructor.
Instances
Request Lenses
pcgUploadProtocol :: Lens' ProjectsCompaniesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pcgAccessToken :: Lens' ProjectsCompaniesGet (Maybe Text) Source #
OAuth access token.
pcgUploadType :: Lens' ProjectsCompaniesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pcgName :: Lens' ProjectsCompaniesGet Text Source #
Required. The resource name of the company to be retrieved. The format is "projects/{project_id}/companies/{company_id}", for example, "projects/api-test-project/companies/foo".
pcgCallback :: Lens' ProjectsCompaniesGet (Maybe Text) Source #
JSONP