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 |
Lists all companies associated with the service account.
See: Cloud Talent Solution API Reference for jobs.projects.companies.list
.
Synopsis
- type ProjectsCompaniesListResource = "v3p1beta1" :> (Capture "parent" Text :> ("companies" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "requireOpenJobs" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListCompaniesResponse)))))))))))
- projectsCompaniesList :: Text -> ProjectsCompaniesList
- data ProjectsCompaniesList
- pclParent :: Lens' ProjectsCompaniesList Text
- pclXgafv :: Lens' ProjectsCompaniesList (Maybe Xgafv)
- pclUploadProtocol :: Lens' ProjectsCompaniesList (Maybe Text)
- pclRequireOpenJobs :: Lens' ProjectsCompaniesList (Maybe Bool)
- pclAccessToken :: Lens' ProjectsCompaniesList (Maybe Text)
- pclUploadType :: Lens' ProjectsCompaniesList (Maybe Text)
- pclPageToken :: Lens' ProjectsCompaniesList (Maybe Text)
- pclPageSize :: Lens' ProjectsCompaniesList (Maybe Int32)
- pclCallback :: Lens' ProjectsCompaniesList (Maybe Text)
REST Resource
type ProjectsCompaniesListResource = "v3p1beta1" :> (Capture "parent" Text :> ("companies" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "requireOpenJobs" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListCompaniesResponse))))))))))) Source #
A resource alias for jobs.projects.companies.list
method which the
ProjectsCompaniesList
request conforms to.
Creating a Request
projectsCompaniesList Source #
Creates a value of ProjectsCompaniesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsCompaniesList Source #
Lists all companies associated with the service account.
See: projectsCompaniesList
smart constructor.
Instances
Request Lenses
pclParent :: Lens' ProjectsCompaniesList 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".
pclUploadProtocol :: Lens' ProjectsCompaniesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pclRequireOpenJobs :: Lens' ProjectsCompaniesList (Maybe Bool) Source #
Optional. Set to true if the companies requested must have open jobs. Defaults to false. If true, at most page_size of companies are fetched, among which only those with open jobs are returned.
pclAccessToken :: Lens' ProjectsCompaniesList (Maybe Text) Source #
OAuth access token.
pclUploadType :: Lens' ProjectsCompaniesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pclPageToken :: Lens' ProjectsCompaniesList (Maybe Text) Source #
Optional. The starting indicator from which to return results.
pclPageSize :: Lens' ProjectsCompaniesList (Maybe Int32) Source #
Optional. The maximum number of companies to be returned, at most 100. Default is 100 if a non-positive number is provided.
pclCallback :: Lens' ProjectsCompaniesList (Maybe Text) Source #
JSONP