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.subscriptions.getIamPolicy
.
Synopsis
- type ProjectsSubscriptionsGetIAMPolicyResource = "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)))))))
- projectsSubscriptionsGetIAMPolicy :: Text -> ProjectsSubscriptionsGetIAMPolicy
- data ProjectsSubscriptionsGetIAMPolicy
- psgiampXgafv :: Lens' ProjectsSubscriptionsGetIAMPolicy (Maybe Xgafv)
- psgiampUploadProtocol :: Lens' ProjectsSubscriptionsGetIAMPolicy (Maybe Text)
- psgiampAccessToken :: Lens' ProjectsSubscriptionsGetIAMPolicy (Maybe Text)
- psgiampUploadType :: Lens' ProjectsSubscriptionsGetIAMPolicy (Maybe Text)
- psgiampResource :: Lens' ProjectsSubscriptionsGetIAMPolicy Text
- psgiampCallback :: Lens' ProjectsSubscriptionsGetIAMPolicy (Maybe Text)
REST Resource
type ProjectsSubscriptionsGetIAMPolicyResource = "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.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. Returns an empty policy if the resource exists and does not have a policy set.
See: projectsSubscriptionsGetIAMPolicy
smart constructor.
Instances
Request Lenses
psgiampXgafv :: Lens' ProjectsSubscriptionsGetIAMPolicy (Maybe Xgafv) Source #
V1 error format.
psgiampUploadProtocol :: Lens' ProjectsSubscriptionsGetIAMPolicy (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
psgiampAccessToken :: Lens' ProjectsSubscriptionsGetIAMPolicy (Maybe Text) Source #
OAuth access token.
psgiampUploadType :: Lens' ProjectsSubscriptionsGetIAMPolicy (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
psgiampResource :: Lens' ProjectsSubscriptionsGetIAMPolicy Text Source #
REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.