gogol-resourcemanager-0.2.0: Google Cloud Resource Manager SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.CloudResourceManager.Organizations.Get

Contents

Description

Fetches an Organization resource identified by the specified resource name.

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

Synopsis

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

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:

data OrganizationsGet Source #

Fetches an Organization resource identified by the specified resource name.

See: organizationsGet smart constructor.

Instances

Eq OrganizationsGet Source # 
Data OrganizationsGet Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OrganizationsGet -> c OrganizationsGet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OrganizationsGet #

toConstr :: OrganizationsGet -> Constr #

dataTypeOf :: OrganizationsGet -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c OrganizationsGet) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OrganizationsGet) #

gmapT :: (forall b. Data b => b -> b) -> OrganizationsGet -> OrganizationsGet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OrganizationsGet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OrganizationsGet -> r #

gmapQ :: (forall d. Data d => d -> u) -> OrganizationsGet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OrganizationsGet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OrganizationsGet -> m OrganizationsGet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OrganizationsGet -> m OrganizationsGet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OrganizationsGet -> m OrganizationsGet #

Show OrganizationsGet Source # 
Generic OrganizationsGet Source # 
GoogleRequest OrganizationsGet Source # 
type Rep OrganizationsGet Source # 
type Rep OrganizationsGet = D1 (MetaData "OrganizationsGet" "Network.Google.Resource.CloudResourceManager.Organizations.Get" "gogol-resourcemanager-0.2.0-FBQgYKxOn1DB2jZFGS8Zll" False) (C1 (MetaCons "OrganizationsGet'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_oggXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) (S1 (MetaSel (Just Symbol "_oggUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_oggPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_oggAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_oggUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_oggBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_oggName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_oggCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes OrganizationsGet Source # 
type Scopes OrganizationsGet = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/cloud-platform.read-only" ([] Symbol))
type Rs OrganizationsGet Source # 

Request Lenses

oggUploadProtocol :: Lens' OrganizationsGet (Maybe Text) Source #

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

oggPp :: Lens' OrganizationsGet Bool Source #

Pretty-print response.

oggUploadType :: Lens' OrganizationsGet (Maybe Text) Source #

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

oggName :: Lens' OrganizationsGet Text Source #

The resource name of the Organization to fetch, e.g. "organizations/1234".