gogol-dlp-0.5.0: Google Cloud Data Loss Prevention (DLP) SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.DLP.Projects.DlpJobs.List

Contents

Description

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

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

projectsDlpJobsList Source #

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
Eq ProjectsDlpJobsList Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.DlpJobs.List

Data ProjectsDlpJobsList Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.DlpJobs.List

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectsDlpJobsList -> c ProjectsDlpJobsList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectsDlpJobsList #

toConstr :: ProjectsDlpJobsList -> Constr #

dataTypeOf :: ProjectsDlpJobsList -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProjectsDlpJobsList) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectsDlpJobsList) #

gmapT :: (forall b. Data b => b -> b) -> ProjectsDlpJobsList -> ProjectsDlpJobsList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsDlpJobsList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsDlpJobsList -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProjectsDlpJobsList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectsDlpJobsList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectsDlpJobsList -> m ProjectsDlpJobsList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsDlpJobsList -> m ProjectsDlpJobsList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsDlpJobsList -> m ProjectsDlpJobsList #

Show ProjectsDlpJobsList Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.DlpJobs.List

Generic ProjectsDlpJobsList Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.DlpJobs.List

Associated Types

type Rep ProjectsDlpJobsList :: Type -> Type #

GoogleRequest ProjectsDlpJobsList Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.DlpJobs.List

Associated Types

type Rs ProjectsDlpJobsList :: Type #

type Scopes ProjectsDlpJobsList :: [Symbol] #

type Rep ProjectsDlpJobsList Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.DlpJobs.List

type Scopes ProjectsDlpJobsList Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.DlpJobs.List

type Scopes ProjectsDlpJobsList = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs ProjectsDlpJobsList Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.DlpJobs.List

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`

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.