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 DlpJobs that match the specified filter in the request. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
See: Cloud Data Loss Prevention (DLP) API Reference for dlp.projects.dlpJobs.list
.
Synopsis
- type ProjectsDlpJobsListResource = "v2" :> (Capture "parent" Text :> ("dlpJobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "orderBy" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "type" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GooglePrivacyDlpV2ListDlpJobsResponse)))))))))))))
- projectsDlpJobsList :: Text -> ProjectsDlpJobsList
- data ProjectsDlpJobsList
- pdjlParent :: Lens' ProjectsDlpJobsList Text
- pdjlXgafv :: Lens' ProjectsDlpJobsList (Maybe Xgafv)
- pdjlUploadProtocol :: Lens' ProjectsDlpJobsList (Maybe Text)
- pdjlOrderBy :: Lens' ProjectsDlpJobsList (Maybe Text)
- pdjlAccessToken :: Lens' ProjectsDlpJobsList (Maybe Text)
- pdjlUploadType :: Lens' ProjectsDlpJobsList (Maybe Text)
- pdjlFilter :: Lens' ProjectsDlpJobsList (Maybe Text)
- pdjlPageToken :: Lens' ProjectsDlpJobsList (Maybe Text)
- pdjlType :: Lens' ProjectsDlpJobsList (Maybe Text)
- pdjlPageSize :: Lens' ProjectsDlpJobsList (Maybe Int32)
- pdjlCallback :: Lens' ProjectsDlpJobsList (Maybe Text)
REST Resource
type ProjectsDlpJobsListResource = "v2" :> (Capture "parent" Text :> ("dlpJobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "orderBy" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "type" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GooglePrivacyDlpV2ListDlpJobsResponse))))))))))))) Source #
A resource alias for dlp.projects.dlpJobs.list
method which the
ProjectsDlpJobsList
request conforms to.
Creating a Request
Creates a value of ProjectsDlpJobsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsDlpJobsList Source #
Lists DlpJobs that match the specified filter in the request. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
See: projectsDlpJobsList
smart constructor.
Instances
Request Lenses
pdjlParent :: Lens' ProjectsDlpJobsList Text Source #
The parent resource name, for example projects/my-project-id.
pdjlUploadProtocol :: Lens' ProjectsDlpJobsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pdjlOrderBy :: Lens' ProjectsDlpJobsList (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, end_time asc, create_time desc` Supported fields are: - `create_time`: corresponds to time the job was created. - `end_time`: corresponds to time the job ended. - `name`: corresponds to job's name. - `state`: corresponds to `state`
pdjlAccessToken :: Lens' ProjectsDlpJobsList (Maybe Text) Source #
OAuth access token.
pdjlUploadType :: Lens' ProjectsDlpJobsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pdjlFilter :: Lens' ProjectsDlpJobsList (Maybe Text) Source #
Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of ` `. * Supported fields/values for inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The resource name of the trigger that created job. * Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|FINISHED|FAILED * The operator must be `=` or `!=`. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = done OR state = canceled) The length of this field should be no more than 500 characters.
pdjlPageToken :: Lens' ProjectsDlpJobsList (Maybe Text) Source #
The standard list page token.
pdjlType :: Lens' ProjectsDlpJobsList (Maybe Text) Source #
The type of job. Defaults to `DlpJobType.INSPECT`
pdjlPageSize :: Lens' ProjectsDlpJobsList (Maybe Int32) Source #
The standard list page size.
pdjlCallback :: Lens' ProjectsDlpJobsList (Maybe Text) Source #
JSONP