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 InspectTemplates. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
See: Cloud Data Loss Prevention (DLP) API Reference for dlp.organizations.inspectTemplates.list
.
Synopsis
- type OrganizationsInspectTemplatesListResource = "v2" :> (Capture "parent" Text :> ("inspectTemplates" :> (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] GooglePrivacyDlpV2ListInspectTemplatesResponse)))))))))))
- organizationsInspectTemplatesList :: Text -> OrganizationsInspectTemplatesList
- data OrganizationsInspectTemplatesList
- oitlParent :: Lens' OrganizationsInspectTemplatesList Text
- oitlXgafv :: Lens' OrganizationsInspectTemplatesList (Maybe Xgafv)
- oitlUploadProtocol :: Lens' OrganizationsInspectTemplatesList (Maybe Text)
- oitlOrderBy :: Lens' OrganizationsInspectTemplatesList (Maybe Text)
- oitlAccessToken :: Lens' OrganizationsInspectTemplatesList (Maybe Text)
- oitlUploadType :: Lens' OrganizationsInspectTemplatesList (Maybe Text)
- oitlPageToken :: Lens' OrganizationsInspectTemplatesList (Maybe Text)
- oitlPageSize :: Lens' OrganizationsInspectTemplatesList (Maybe Int32)
- oitlCallback :: Lens' OrganizationsInspectTemplatesList (Maybe Text)
REST Resource
type OrganizationsInspectTemplatesListResource = "v2" :> (Capture "parent" Text :> ("inspectTemplates" :> (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] GooglePrivacyDlpV2ListInspectTemplatesResponse))))))))))) Source #
A resource alias for dlp.organizations.inspectTemplates.list
method which the
OrganizationsInspectTemplatesList
request conforms to.
Creating a Request
organizationsInspectTemplatesList Source #
Creates a value of OrganizationsInspectTemplatesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsInspectTemplatesList Source #
Lists InspectTemplates. See https://cloud.google.com/dlp/docs/creating-templates to learn more.
See: organizationsInspectTemplatesList
smart constructor.
Instances
Request Lenses
oitlParent :: Lens' OrganizationsInspectTemplatesList Text Source #
The parent resource name, for example projects/my-project-id or organizations/my-org-id.
oitlUploadProtocol :: Lens' OrganizationsInspectTemplatesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
oitlOrderBy :: Lens' OrganizationsInspectTemplatesList (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,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to time the template was created. - `update_time`: corresponds to time the template was last updated. - `name`: corresponds to template's name. - `display_name`: corresponds to template's display name.
oitlAccessToken :: Lens' OrganizationsInspectTemplatesList (Maybe Text) Source #
OAuth access token.
oitlUploadType :: Lens' OrganizationsInspectTemplatesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
oitlPageToken :: Lens' OrganizationsInspectTemplatesList (Maybe Text) Source #
Optional page token to continue retrieval. Comes from previous call to `ListInspectTemplates`.
oitlPageSize :: Lens' OrganizationsInspectTemplatesList (Maybe Int32) Source #
Optional size of the page, can be limited by server. If zero server returns a page of max size 100.