gogol-genomics-0.0.1: Google Genomics SDK.

Copyright(c) 2015 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.Genomics.DataSets.GetIAMPolicy

Contents

Description

Gets the access control policy for the dataset. Is empty if the policy or the resource does not exist. See Getting a Policy for more information.

See: API Reference for genomics.datasets.getIamPolicy.

Synopsis

REST Resource

type DataSetsGetIAMPolicyResource = "v1" :> (CaptureMode "resource" "getIamPolicy" 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]` GetIAMPolicyRequest :> Post `[JSON]` Policy)))))))))) Source

A resource alias for genomics.datasets.getIamPolicy method which the DataSetsGetIAMPolicy request conforms to.

Creating a Request

dataSetsGetIAMPolicy Source

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

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

data DataSetsGetIAMPolicy Source

Gets the access control policy for the dataset. Is empty if the policy or the resource does not exist. See Getting a Policy for more information.

See: dataSetsGetIAMPolicy smart constructor.

Request Lenses

dsgipUploadProtocol :: Lens' DataSetsGetIAMPolicy (Maybe Text) Source

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

dsgipPp :: Lens' DataSetsGetIAMPolicy Bool Source

Pretty-print response.

dsgipUploadType :: Lens' DataSetsGetIAMPolicy (Maybe Text) Source

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

dsgipResource :: Lens' DataSetsGetIAMPolicy Text Source

REQUIRED: The resource for which policy is being specified. Format is `datasets/`.