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 job triggers. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
See: Cloud Data Loss Prevention (DLP) API Reference for dlp.projects.jobTriggers.list
.
Synopsis
- type ProjectsJobTriggersListResource = "v2" :> (Capture "parent" Text :> ("jobTriggers" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "orderBy" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GooglePrivacyDlpV2ListJobTriggersResponse))))))))))))
- projectsJobTriggersList :: Text -> ProjectsJobTriggersList
- data ProjectsJobTriggersList
- pjtlParent :: Lens' ProjectsJobTriggersList Text
- pjtlXgafv :: Lens' ProjectsJobTriggersList (Maybe Xgafv)
- pjtlUploadProtocol :: Lens' ProjectsJobTriggersList (Maybe Text)
- pjtlOrderBy :: Lens' ProjectsJobTriggersList (Maybe Text)
- pjtlAccessToken :: Lens' ProjectsJobTriggersList (Maybe Text)
- pjtlUploadType :: Lens' ProjectsJobTriggersList (Maybe Text)
- pjtlFilter :: Lens' ProjectsJobTriggersList (Maybe Text)
- pjtlPageToken :: Lens' ProjectsJobTriggersList (Maybe Text)
- pjtlPageSize :: Lens' ProjectsJobTriggersList (Maybe Int32)
- pjtlCallback :: Lens' ProjectsJobTriggersList (Maybe Text)
REST Resource
type ProjectsJobTriggersListResource = "v2" :> (Capture "parent" Text :> ("jobTriggers" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "orderBy" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GooglePrivacyDlpV2ListJobTriggersResponse)))))))))))) Source #
A resource alias for dlp.projects.jobTriggers.list
method which the
ProjectsJobTriggersList
request conforms to.
Creating a Request
projectsJobTriggersList Source #
Creates a value of ProjectsJobTriggersList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsJobTriggersList Source #
Lists job triggers. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
See: projectsJobTriggersList
smart constructor.
Instances
Request Lenses
pjtlParent :: Lens' ProjectsJobTriggersList Text Source #
The parent resource name, for example `projects/my-project-id`.
pjtlUploadProtocol :: Lens' ProjectsJobTriggersList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pjtlOrderBy :: Lens' ProjectsJobTriggersList (Maybe Text) Source #
Optional comma separated list of triggeredJob 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 JobTrigger was created. - `update_time`: corresponds to time the JobTrigger was last updated. - `last_run_time`: corresponds to the last time the JobTrigger ran. - `name`: corresponds to JobTrigger's name. - `display_name`: corresponds to JobTrigger's display name. - `status`: corresponds to JobTrigger's status.
pjtlAccessToken :: Lens' ProjectsJobTriggersList (Maybe Text) Source #
OAuth access token.
pjtlUploadType :: Lens' ProjectsJobTriggersList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pjtlFilter :: Lens' ProjectsJobTriggersList (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: - `status` - HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. Examples: * inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time > \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters.
pjtlPageToken :: Lens' ProjectsJobTriggersList (Maybe Text) Source #
Optional page token to continue retrieval. Comes from previous call to ListJobTriggers. `order_by` field must not change for subsequent calls.
pjtlPageSize :: Lens' ProjectsJobTriggersList (Maybe Int32) Source #
Optional size of the page, can be limited by a server.
pjtlCallback :: Lens' ProjectsJobTriggersList (Maybe Text) Source #
JSONP