gogol-storage-transfer-0.4.0: Google Storage Transfer 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.StorageTransfer.GoogleServiceAccounts.Get

Contents

Description

Returns the Google service account that is used by Storage Transfer Service to access buckets in the project where transfers run or in other projects. Each Google service account is associated with one Google Cloud Platform Console project. Users should add this service account to the Google Cloud Storage bucket ACLs to grant access to Storage Transfer Service. This service account is created and owned by Storage Transfer Service and can only be used by Storage Transfer Service.

See: Storage Transfer API Reference for storagetransfer.googleServiceAccounts.get.

Synopsis

REST Resource

type GoogleServiceAccountsGetResource = "v1" :> ("googleServiceAccounts" :> (Capture "projectId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleServiceAccount)))))))) Source #

A resource alias for storagetransfer.googleServiceAccounts.get method which the GoogleServiceAccountsGet request conforms to.

Creating a Request

googleServiceAccountsGet Source #

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

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

data GoogleServiceAccountsGet Source #

Returns the Google service account that is used by Storage Transfer Service to access buckets in the project where transfers run or in other projects. Each Google service account is associated with one Google Cloud Platform Console project. Users should add this service account to the Google Cloud Storage bucket ACLs to grant access to Storage Transfer Service. This service account is created and owned by Storage Transfer Service and can only be used by Storage Transfer Service.

See: googleServiceAccountsGet smart constructor.

Instances
Eq GoogleServiceAccountsGet Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.GoogleServiceAccounts.Get

Data GoogleServiceAccountsGet Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.GoogleServiceAccounts.Get

Methods

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

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

toConstr :: GoogleServiceAccountsGet -> Constr #

dataTypeOf :: GoogleServiceAccountsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GoogleServiceAccountsGet Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.GoogleServiceAccounts.Get

Generic GoogleServiceAccountsGet Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.GoogleServiceAccounts.Get

Associated Types

type Rep GoogleServiceAccountsGet :: Type -> Type #

GoogleRequest GoogleServiceAccountsGet Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.GoogleServiceAccounts.Get

type Rep GoogleServiceAccountsGet Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.GoogleServiceAccounts.Get

type Rep GoogleServiceAccountsGet = D1 (MetaData "GoogleServiceAccountsGet" "Network.Google.Resource.StorageTransfer.GoogleServiceAccounts.Get" "gogol-storage-transfer-0.4.0-GGwHgHZplO0LWcGDc7JAZR" False) (C1 (MetaCons "GoogleServiceAccountsGet'" PrefixI True) ((S1 (MetaSel (Just "_gsagXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_gsagUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gsagAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_gsagUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gsagProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_gsagCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes GoogleServiceAccountsGet Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.GoogleServiceAccounts.Get

type Scopes GoogleServiceAccountsGet = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs GoogleServiceAccountsGet Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.GoogleServiceAccounts.Get

Request Lenses

gsagUploadProtocol :: Lens' GoogleServiceAccountsGet (Maybe Text) Source #

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

gsagUploadType :: Lens' GoogleServiceAccountsGet (Maybe Text) Source #

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

gsagProjectId :: Lens' GoogleServiceAccountsGet Text Source #

The ID of the Google Cloud Platform Console project that the Google service account is associated with. Required.