gogol-resourcemanager-0.0.1: Google Cloud Resource Manager SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Portabilitynon-portable (GHC extensions)
Safe HaskellNone




Query Organization resources.

See: Google Cloud Resource Manager API Reference for cloudresourcemanager.organizations.list.


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:

Request Lenses

olUploadProtocol :: Lens' OrganizationsList (Maybe Text) Source

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

olPp :: Lens' OrganizationsList Bool Source

Pretty-print response.

olUploadType :: Lens' OrganizationsList (Maybe Text) Source

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

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.