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




Fetches an Organization resource by id.

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


REST Resource

type OrganizationsGetResource = "v1beta1" :> ("organizations" :> (Capture "organizationId" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` Organization)))))))))) Source

A resource alias for cloudresourcemanager.organizations.get method which the OrganizationsGet request conforms to.

Creating a Request

organizationsGet Source

Creates a value of OrganizationsGet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

ogUploadProtocol :: Lens' OrganizationsGet (Maybe Text) Source

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

ogPp :: Lens' OrganizationsGet Bool Source

Pretty-print response.

ogUploadType :: Lens' OrganizationsGet (Maybe Text) Source

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

ogOrganizationId :: Lens' OrganizationsGet Text Source

The id of the Organization resource to fetch.