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 |
Fetches an Organization resource by id.
See: Google Cloud Resource Manager API Reference for cloudresourcemanager.organizations.get
.
- 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))))))))))
- organizationsGet :: Text -> OrganizationsGet
- data OrganizationsGet
- ogXgafv :: Lens' OrganizationsGet (Maybe Text)
- ogUploadProtocol :: Lens' OrganizationsGet (Maybe Text)
- ogPp :: Lens' OrganizationsGet Bool
- ogAccessToken :: Lens' OrganizationsGet (Maybe Text)
- ogUploadType :: Lens' OrganizationsGet (Maybe Text)
- ogBearerToken :: Lens' OrganizationsGet (Maybe Text)
- ogOrganizationId :: Lens' OrganizationsGet Text
- ogCallback :: Lens' OrganizationsGet (Maybe Text)
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
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:
data OrganizationsGet Source
Fetches an Organization resource by id.
See: organizationsGet
smart constructor.
Request Lenses
ogUploadProtocol :: Lens' OrganizationsGet (Maybe Text) Source
Upload protocol for media (e.g. "raw", "multipart").
ogPp :: Lens' OrganizationsGet Bool Source
Pretty-print response.
ogAccessToken :: Lens' OrganizationsGet (Maybe Text) Source
OAuth access token.
ogUploadType :: Lens' OrganizationsGet (Maybe Text) Source
Legacy upload protocol for media (e.g. "media", "multipart").
ogBearerToken :: Lens' OrganizationsGet (Maybe Text) Source
OAuth bearer token.
ogOrganizationId :: Lens' OrganizationsGet Text Source
The id of the Organization resource to fetch.
ogCallback :: Lens' OrganizationsGet (Maybe Text) Source
JSONP