Copyright | (c) 2015 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`. Is empty if the policy or the resource does not exist.
See: Google Cloud Pub/Sub API Reference for pubsub.projects.subscriptions.getIamPolicy
.
- type ProjectsSubscriptionsGetIAMPolicyResource = "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 :> Get `[JSON]` Policy)))))))))
- projectsSubscriptionsGetIAMPolicy :: Text -> ProjectsSubscriptionsGetIAMPolicy
- data ProjectsSubscriptionsGetIAMPolicy
- psgipXgafv :: Lens' ProjectsSubscriptionsGetIAMPolicy (Maybe Text)
- psgipUploadProtocol :: Lens' ProjectsSubscriptionsGetIAMPolicy (Maybe Text)
- psgipPp :: Lens' ProjectsSubscriptionsGetIAMPolicy Bool
- psgipAccessToken :: Lens' ProjectsSubscriptionsGetIAMPolicy (Maybe Text)
- psgipUploadType :: Lens' ProjectsSubscriptionsGetIAMPolicy (Maybe Text)
- psgipBearerToken :: Lens' ProjectsSubscriptionsGetIAMPolicy (Maybe Text)
- psgipResource :: Lens' ProjectsSubscriptionsGetIAMPolicy Text
- psgipCallback :: Lens' ProjectsSubscriptionsGetIAMPolicy (Maybe Text)
REST Resource
type ProjectsSubscriptionsGetIAMPolicyResource = "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 :> Get `[JSON]` Policy))))))))) Source
A resource alias for pubsub.projects.subscriptions.getIamPolicy
method which the
ProjectsSubscriptionsGetIAMPolicy
request conforms to.
Creating a Request
projectsSubscriptionsGetIAMPolicy Source
Creates a value of ProjectsSubscriptionsGetIAMPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsSubscriptionsGetIAMPolicy Source
Gets the access control policy for a `resource`. Is empty if the policy or the resource does not exist.
See: projectsSubscriptionsGetIAMPolicy
smart constructor.
Request Lenses
psgipXgafv :: Lens' ProjectsSubscriptionsGetIAMPolicy (Maybe Text) Source
V1 error format.
psgipUploadProtocol :: Lens' ProjectsSubscriptionsGetIAMPolicy (Maybe Text) Source
Upload protocol for media (e.g. "raw", "multipart").
psgipPp :: Lens' ProjectsSubscriptionsGetIAMPolicy Bool Source
Pretty-print response.
psgipAccessToken :: Lens' ProjectsSubscriptionsGetIAMPolicy (Maybe Text) Source
OAuth access token.
psgipUploadType :: Lens' ProjectsSubscriptionsGetIAMPolicy (Maybe Text) Source
Legacy upload protocol for media (e.g. "media", "multipart").
psgipBearerToken :: Lens' ProjectsSubscriptionsGetIAMPolicy (Maybe Text) Source
OAuth bearer token.
psgipResource :: Lens' ProjectsSubscriptionsGetIAMPolicy Text Source
REQUIRED: The resource for which policy is being requested. Resource is usually specified as a path, such as, `projects/{project}`.