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 |
Lists stored infoTypes. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
See: Cloud Data Loss Prevention (DLP) API Reference for dlp.projects.storedInfoTypes.list
.
Synopsis
- type ProjectsStoredInfoTypesListResource = "v2" :> (Capture "parent" Text :> ("storedInfoTypes" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "orderBy" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GooglePrivacyDlpV2ListStoredInfoTypesResponse)))))))))))
- projectsStoredInfoTypesList :: Text -> ProjectsStoredInfoTypesList
- data ProjectsStoredInfoTypesList
- psitlParent :: Lens' ProjectsStoredInfoTypesList Text
- psitlXgafv :: Lens' ProjectsStoredInfoTypesList (Maybe Xgafv)
- psitlUploadProtocol :: Lens' ProjectsStoredInfoTypesList (Maybe Text)
- psitlOrderBy :: Lens' ProjectsStoredInfoTypesList (Maybe Text)
- psitlAccessToken :: Lens' ProjectsStoredInfoTypesList (Maybe Text)
- psitlUploadType :: Lens' ProjectsStoredInfoTypesList (Maybe Text)
- psitlPageToken :: Lens' ProjectsStoredInfoTypesList (Maybe Text)
- psitlPageSize :: Lens' ProjectsStoredInfoTypesList (Maybe Int32)
- psitlCallback :: Lens' ProjectsStoredInfoTypesList (Maybe Text)
REST Resource
type ProjectsStoredInfoTypesListResource = "v2" :> (Capture "parent" Text :> ("storedInfoTypes" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "orderBy" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GooglePrivacyDlpV2ListStoredInfoTypesResponse))))))))))) Source #
A resource alias for dlp.projects.storedInfoTypes.list
method which the
ProjectsStoredInfoTypesList
request conforms to.
Creating a Request
projectsStoredInfoTypesList Source #
Creates a value of ProjectsStoredInfoTypesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsStoredInfoTypesList Source #
Lists stored infoTypes. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.
See: projectsStoredInfoTypesList
smart constructor.
Instances
Request Lenses
psitlParent :: Lens' ProjectsStoredInfoTypesList Text Source #
The parent resource name, for example projects/my-project-id or organizations/my-org-id.
psitlXgafv :: Lens' ProjectsStoredInfoTypesList (Maybe Xgafv) Source #
V1 error format.
psitlUploadProtocol :: Lens' ProjectsStoredInfoTypesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
psitlOrderBy :: Lens' ProjectsStoredInfoTypesList (Maybe Text) Source #
Optional comma separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc, display_name, create_time desc` Supported fields are: - `create_time`: corresponds to time the most recent version of the resource was created. - `state`: corresponds to the state of the resource. - `name`: corresponds to resource name. - `display_name`: corresponds to info type's display name.
psitlAccessToken :: Lens' ProjectsStoredInfoTypesList (Maybe Text) Source #
OAuth access token.
psitlUploadType :: Lens' ProjectsStoredInfoTypesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
psitlPageToken :: Lens' ProjectsStoredInfoTypesList (Maybe Text) Source #
Optional page token to continue retrieval. Comes from previous call to `ListStoredInfoTypes`.
psitlPageSize :: Lens' ProjectsStoredInfoTypesList (Maybe Int32) Source #
Optional size of the page, can be limited by server. If zero server returns a page of max size 100.
psitlCallback :: Lens' ProjectsStoredInfoTypesList (Maybe Text) Source #
JSONP