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 |
Returns permissions that a caller has on the specified resource.
See: Google Cloud Pub/Sub API Reference for pubsub.projects.topics.testIamPermissions
.
- type ProjectsTopicsTestIAMPermissionsResource = "v1" :> (CaptureMode "resource" "testIamPermissions" 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] TestIAMPermissionsRequest :> Post '[JSON] TestIAMPermissionsResponse))))))))))
- projectsTopicsTestIAMPermissions :: TestIAMPermissionsRequest -> Text -> ProjectsTopicsTestIAMPermissions
- data ProjectsTopicsTestIAMPermissions
- pttipXgafv :: Lens' ProjectsTopicsTestIAMPermissions (Maybe Text)
- pttipUploadProtocol :: Lens' ProjectsTopicsTestIAMPermissions (Maybe Text)
- pttipPp :: Lens' ProjectsTopicsTestIAMPermissions Bool
- pttipAccessToken :: Lens' ProjectsTopicsTestIAMPermissions (Maybe Text)
- pttipUploadType :: Lens' ProjectsTopicsTestIAMPermissions (Maybe Text)
- pttipPayload :: Lens' ProjectsTopicsTestIAMPermissions TestIAMPermissionsRequest
- pttipBearerToken :: Lens' ProjectsTopicsTestIAMPermissions (Maybe Text)
- pttipResource :: Lens' ProjectsTopicsTestIAMPermissions Text
- pttipCallback :: Lens' ProjectsTopicsTestIAMPermissions (Maybe Text)
REST Resource
type ProjectsTopicsTestIAMPermissionsResource = "v1" :> (CaptureMode "resource" "testIamPermissions" 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] TestIAMPermissionsRequest :> Post '[JSON] TestIAMPermissionsResponse)))))))))) Source #
A resource alias for pubsub.projects.topics.testIamPermissions
method which the
ProjectsTopicsTestIAMPermissions
request conforms to.
Creating a Request
projectsTopicsTestIAMPermissions Source #
Creates a value of ProjectsTopicsTestIAMPermissions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsTopicsTestIAMPermissions Source #
Returns permissions that a caller has on the specified resource.
See: projectsTopicsTestIAMPermissions
smart constructor.
Request Lenses
pttipXgafv :: Lens' ProjectsTopicsTestIAMPermissions (Maybe Text) Source #
V1 error format.
pttipUploadProtocol :: Lens' ProjectsTopicsTestIAMPermissions (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pttipAccessToken :: Lens' ProjectsTopicsTestIAMPermissions (Maybe Text) Source #
OAuth access token.
pttipUploadType :: Lens' ProjectsTopicsTestIAMPermissions (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pttipPayload :: Lens' ProjectsTopicsTestIAMPermissions TestIAMPermissionsRequest Source #
Multipart request metadata.
pttipBearerToken :: Lens' ProjectsTopicsTestIAMPermissions (Maybe Text) Source #
OAuth bearer token.
pttipResource :: Lens' ProjectsTopicsTestIAMPermissions Text Source #
REQUIRED: The resource for which the policy detail is being requested. `resource` is usually specified as a path. For example, a Project resource is specified as `projects/{project}`.