Copyright | (c) 2015-2016 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 identified by the specified resource name.
See: Google Cloud Resource Manager API Reference for cloudresourcemanager.organizations.get
.
- type OrganizationsGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (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
- oggXgafv :: Lens' OrganizationsGet (Maybe Xgafv)
- oggUploadProtocol :: Lens' OrganizationsGet (Maybe Text)
- oggPp :: Lens' OrganizationsGet Bool
- oggAccessToken :: Lens' OrganizationsGet (Maybe Text)
- oggUploadType :: Lens' OrganizationsGet (Maybe Text)
- oggBearerToken :: Lens' OrganizationsGet (Maybe Text)
- oggName :: Lens' OrganizationsGet Text
- oggCallback :: Lens' OrganizationsGet (Maybe Text)
REST Resource
type OrganizationsGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (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 identified by the specified resource name.
See: organizationsGet
smart constructor.
Request Lenses
oggUploadProtocol :: Lens' OrganizationsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
oggAccessToken :: Lens' OrganizationsGet (Maybe Text) Source #
OAuth access token.
oggUploadType :: Lens' OrganizationsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
oggBearerToken :: Lens' OrganizationsGet (Maybe Text) Source #
OAuth bearer token.
oggName :: Lens' OrganizationsGet Text Source #
The resource name of the Organization to fetch, e.g. "organizations/1234".
oggCallback :: Lens' OrganizationsGet (Maybe Text) Source #
JSONP