| 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 |
Network.Google.Resource.ServiceBroker.GetIAMPolicy
Description
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
See: Service Broker API Reference for servicebroker.getIamPolicy.
Synopsis
- type GetIAMPolicyResource = "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] GoogleIAMV1__Policy)))))))
- getIAMPolicy :: Text -> GetIAMPolicy
- data GetIAMPolicy
- gipXgafv :: Lens' GetIAMPolicy (Maybe Xgafv)
- gipUploadProtocol :: Lens' GetIAMPolicy (Maybe Text)
- gipAccessToken :: Lens' GetIAMPolicy (Maybe Text)
- gipUploadType :: Lens' GetIAMPolicy (Maybe Text)
- gipResource :: Lens' GetIAMPolicy Text
- gipCallback :: Lens' GetIAMPolicy (Maybe Text)
REST Resource
type GetIAMPolicyResource = "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] GoogleIAMV1__Policy))))))) Source #
A resource alias for servicebroker.getIamPolicy method which the
GetIAMPolicy request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> GetIAMPolicy |
Creates a value of GetIAMPolicy with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetIAMPolicy 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: getIAMPolicy smart constructor.
Instances
Request Lenses
gipUploadProtocol :: Lens' GetIAMPolicy (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
gipAccessToken :: Lens' GetIAMPolicy (Maybe Text) Source #
OAuth access token.
gipUploadType :: Lens' GetIAMPolicy (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
gipResource :: Lens' GetIAMPolicy Text Source #
REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
gipCallback :: Lens' GetIAMPolicy (Maybe Text) Source #
JSONP