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.topics.getIamPolicy
.
Synopsis
- type ProjectsTopicsGetIAMPolicyResource = "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)))))))
- projectsTopicsGetIAMPolicy :: Text -> ProjectsTopicsGetIAMPolicy
- data ProjectsTopicsGetIAMPolicy
- ptgipXgafv :: Lens' ProjectsTopicsGetIAMPolicy (Maybe Xgafv)
- ptgipUploadProtocol :: Lens' ProjectsTopicsGetIAMPolicy (Maybe Text)
- ptgipAccessToken :: Lens' ProjectsTopicsGetIAMPolicy (Maybe Text)
- ptgipUploadType :: Lens' ProjectsTopicsGetIAMPolicy (Maybe Text)
- ptgipResource :: Lens' ProjectsTopicsGetIAMPolicy Text
- ptgipCallback :: Lens' ProjectsTopicsGetIAMPolicy (Maybe Text)
REST Resource
type ProjectsTopicsGetIAMPolicyResource = "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.topics.getIamPolicy
method which the
ProjectsTopicsGetIAMPolicy
request conforms to.
Creating a Request
projectsTopicsGetIAMPolicy Source #
Creates a value of ProjectsTopicsGetIAMPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsTopicsGetIAMPolicy 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: projectsTopicsGetIAMPolicy
smart constructor.
Instances
Request Lenses
ptgipXgafv :: Lens' ProjectsTopicsGetIAMPolicy (Maybe Xgafv) Source #
V1 error format.
ptgipUploadProtocol :: Lens' ProjectsTopicsGetIAMPolicy (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ptgipAccessToken :: Lens' ProjectsTopicsGetIAMPolicy (Maybe Text) Source #
OAuth access token.
ptgipUploadType :: Lens' ProjectsTopicsGetIAMPolicy (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ptgipResource :: Lens' ProjectsTopicsGetIAMPolicy Text Source #
REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
ptgipCallback :: Lens' ProjectsTopicsGetIAMPolicy (Maybe Text) Source #
JSONP