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 a source.
See: Cloud Security Command Center API Reference for securitycenter.organizations.sources.get
.
Synopsis
- type OrganizationsSourcesGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Source)))))))
- organizationsSourcesGet :: Text -> OrganizationsSourcesGet
- data OrganizationsSourcesGet
- osgXgafv :: Lens' OrganizationsSourcesGet (Maybe Xgafv)
- osgUploadProtocol :: Lens' OrganizationsSourcesGet (Maybe Text)
- osgAccessToken :: Lens' OrganizationsSourcesGet (Maybe Text)
- osgUploadType :: Lens' OrganizationsSourcesGet (Maybe Text)
- osgName :: Lens' OrganizationsSourcesGet Text
- osgCallback :: Lens' OrganizationsSourcesGet (Maybe Text)
REST Resource
type OrganizationsSourcesGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Source))))))) Source #
A resource alias for securitycenter.organizations.sources.get
method which the
OrganizationsSourcesGet
request conforms to.
Creating a Request
organizationsSourcesGet Source #
Creates a value of OrganizationsSourcesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsSourcesGet Source #
Gets a source.
See: organizationsSourcesGet
smart constructor.
Instances
Request Lenses
osgUploadProtocol :: Lens' OrganizationsSourcesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
osgAccessToken :: Lens' OrganizationsSourcesGet (Maybe Text) Source #
OAuth access token.
osgUploadType :: Lens' OrganizationsSourcesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
osgName :: Lens' OrganizationsSourcesGet Text Source #
Relative resource name of the source. Its format is "organizations/[organization_id]/source/[source_id]".
osgCallback :: Lens' OrganizationsSourcesGet (Maybe Text) Source #
JSONP