Copyright | (c) 2015 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 |
Query Organization resources.
See: Google Cloud Resource Manager API Reference for cloudresourcemanager.organizations.list
.
- type OrganizationsListResource = "v1beta1" :> ("organizations" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` ListOrganizationsResponse))))))))))))
- organizationsList :: OrganizationsList
- data OrganizationsList
- olXgafv :: Lens' OrganizationsList (Maybe Text)
- olUploadProtocol :: Lens' OrganizationsList (Maybe Text)
- olPp :: Lens' OrganizationsList Bool
- olAccessToken :: Lens' OrganizationsList (Maybe Text)
- olUploadType :: Lens' OrganizationsList (Maybe Text)
- olBearerToken :: Lens' OrganizationsList (Maybe Text)
- olFilter :: Lens' OrganizationsList (Maybe Text)
- olPageToken :: Lens' OrganizationsList (Maybe Text)
- olPageSize :: Lens' OrganizationsList (Maybe Int32)
- olCallback :: Lens' OrganizationsList (Maybe Text)
REST Resource
type OrganizationsListResource = "v1beta1" :> ("organizations" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` ListOrganizationsResponse)))))))))))) Source
A resource alias for cloudresourcemanager.organizations.list
method which the
OrganizationsList
request conforms to.
Creating a Request
organizationsList :: OrganizationsList Source
Creates a value of OrganizationsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsList Source
Query Organization resources.
See: organizationsList
smart constructor.
Request Lenses
olUploadProtocol :: Lens' OrganizationsList (Maybe Text) Source
Upload protocol for media (e.g. "raw", "multipart").
olPp :: Lens' OrganizationsList Bool Source
Pretty-print response.
olAccessToken :: Lens' OrganizationsList (Maybe Text) Source
OAuth access token.
olUploadType :: Lens' OrganizationsList (Maybe Text) Source
Legacy upload protocol for media (e.g. "media", "multipart").
olBearerToken :: Lens' OrganizationsList (Maybe Text) Source
OAuth bearer token.
olFilter :: Lens' OrganizationsList (Maybe Text) Source
An optional query string used to filter the Organizations to be return in the response. Filter rules are case-insensitive. Organizations may be filtered by `owner.directoryCustomerId` or by `domain`, where the domain is a Google for Work domain, for example: |Filter|Description| |------|-----------| |owner.directorycustomerid:123456789|Organizations with `owner.directory_customer_id` equal to `123456789`.| |domain:google.com|Organizations corresponding to the domain `google.com`.| This field is optional.
olPageToken :: Lens' OrganizationsList (Maybe Text) Source
A pagination token returned from a previous call to ListOrganizations that indicates from where listing should continue. This field is optional.
olPageSize :: Lens' OrganizationsList (Maybe Int32) Source
The maximum number of Organizations to return in the response. This field is optional.
olCallback :: Lens' OrganizationsList (Maybe Text) Source
JSONP