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




Updates an Organization resource.

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


REST Resource

type OrganizationsUpdateResource = "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 :> (ReqBody `[JSON]` Organization :> Put `[JSON]` Organization))))))))))) Source

A resource alias for cloudresourcemanager.organizations.update method which the OrganizationsUpdate request conforms to.

Creating a Request

organizationsUpdate Source

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

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

Request Lenses

ouUploadProtocol :: Lens' OrganizationsUpdate (Maybe Text) Source

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

ouPp :: Lens' OrganizationsUpdate Bool Source

Pretty-print response.

ouUploadType :: Lens' OrganizationsUpdate (Maybe Text) Source

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

ouPayload :: Lens' OrganizationsUpdate Organization Source

Multipart request metadata.

ouOrganizationId :: Lens' OrganizationsUpdate Text Source

An immutable id for the Organization that is assigned on creation. This should be omitted when creating a new Organization. This field is read-only.