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 |
Updates an Organization resource.
See: Google Cloud Resource Manager API Reference for cloudresourcemanager.organizations.update
.
- 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)))))))))))
- organizationsUpdate :: Organization -> Text -> OrganizationsUpdate
- data OrganizationsUpdate
- ouXgafv :: Lens' OrganizationsUpdate (Maybe Text)
- ouUploadProtocol :: Lens' OrganizationsUpdate (Maybe Text)
- ouPp :: Lens' OrganizationsUpdate Bool
- ouAccessToken :: Lens' OrganizationsUpdate (Maybe Text)
- ouUploadType :: Lens' OrganizationsUpdate (Maybe Text)
- ouPayload :: Lens' OrganizationsUpdate Organization
- ouBearerToken :: Lens' OrganizationsUpdate (Maybe Text)
- ouOrganizationId :: Lens' OrganizationsUpdate Text
- ouCallback :: Lens' OrganizationsUpdate (Maybe Text)
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
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:
data OrganizationsUpdate Source
Updates an Organization resource.
See: organizationsUpdate
smart constructor.
Request Lenses
ouUploadProtocol :: Lens' OrganizationsUpdate (Maybe Text) Source
Upload protocol for media (e.g. "raw", "multipart").
ouPp :: Lens' OrganizationsUpdate Bool Source
Pretty-print response.
ouAccessToken :: Lens' OrganizationsUpdate (Maybe Text) Source
OAuth access token.
ouUploadType :: Lens' OrganizationsUpdate (Maybe Text) Source
Legacy upload protocol for media (e.g. "media", "multipart").
ouPayload :: Lens' OrganizationsUpdate Organization Source
Multipart request metadata.
ouBearerToken :: Lens' OrganizationsUpdate (Maybe Text) Source
OAuth bearer token.
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.
ouCallback :: Lens' OrganizationsUpdate (Maybe Text) Source
JSONP