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 |
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
See: Cloud Pub/Sub API Reference for pubsub.projects.snapshots.getIamPolicy
.
Synopsis
- type ProjectsSnapshotsGetIAMPolicyResource = "v1" :> (CaptureMode "resource" "getIamPolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Policy)))))))
- projectsSnapshotsGetIAMPolicy :: Text -> ProjectsSnapshotsGetIAMPolicy
- data ProjectsSnapshotsGetIAMPolicy
- psgipXgafv :: Lens' ProjectsSnapshotsGetIAMPolicy (Maybe Xgafv)
- psgipUploadProtocol :: Lens' ProjectsSnapshotsGetIAMPolicy (Maybe Text)
- psgipAccessToken :: Lens' ProjectsSnapshotsGetIAMPolicy (Maybe Text)
- psgipUploadType :: Lens' ProjectsSnapshotsGetIAMPolicy (Maybe Text)
- psgipResource :: Lens' ProjectsSnapshotsGetIAMPolicy Text
- psgipCallback :: Lens' ProjectsSnapshotsGetIAMPolicy (Maybe Text)
REST Resource
type ProjectsSnapshotsGetIAMPolicyResource = "v1" :> (CaptureMode "resource" "getIamPolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Policy))))))) Source #
A resource alias for pubsub.projects.snapshots.getIamPolicy
method which the
ProjectsSnapshotsGetIAMPolicy
request conforms to.
Creating a Request
projectsSnapshotsGetIAMPolicy Source #
Creates a value of ProjectsSnapshotsGetIAMPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsSnapshotsGetIAMPolicy Source #
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
See: projectsSnapshotsGetIAMPolicy
smart constructor.
Instances
Request Lenses
psgipXgafv :: Lens' ProjectsSnapshotsGetIAMPolicy (Maybe Xgafv) Source #
V1 error format.
psgipUploadProtocol :: Lens' ProjectsSnapshotsGetIAMPolicy (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
psgipAccessToken :: Lens' ProjectsSnapshotsGetIAMPolicy (Maybe Text) Source #
OAuth access token.
psgipUploadType :: Lens' ProjectsSnapshotsGetIAMPolicy (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
psgipResource :: Lens' ProjectsSnapshotsGetIAMPolicy Text Source #
REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
psgipCallback :: Lens' ProjectsSnapshotsGetIAMPolicy (Maybe Text) Source #
JSONP