Class: Google::Privacy::Dlp::V2::ListDlpJobsRequest
- Inherits:
-
Object
- Object
- Google::Privacy::Dlp::V2::ListDlpJobsRequest
- Defined in:
- lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb
Overview
The request message for listing DLP jobs.
Instance Attribute Summary collapse
-
#filter ⇒ String
Optional.
-
#order_by ⇒ String
Optional comma separated list of fields to order by, followed by
asc
ordesc
postfix. -
#page_size ⇒ Integer
The standard list page size.
-
#page_token ⇒ String
The standard list page token.
-
#parent ⇒ String
The parent resource name, for example projects/my-project-id.
-
#type ⇒ Google::Privacy::Dlp::V2::DlpJobType
The type of job.
Instance Attribute Details
#filter ⇒ String
Returns Optional. Allows filtering.
Supported syntax:
- Filter expressions are made up of one or more restrictions.
- Restrictions can be combined by
AND
orOR
logical operators. A sequence of restrictions implicitly usesAND
. - A restriction has the form of
<field> <operator> <value>
. - Supported fields/values for inspect jobs:
state
- PENDING|RUNNING|CANCELED|FINISHED|FAILEDinspected_storage
- DATASTORE|CLOUD_STORAGE|BIGQUERYtrigger_name
- The resource name of the trigger that created job.- 'end_time` - Corresponds to time the job finished.
- 'start_time` - Corresponds to time the job finished.
- Supported fields for risk analysis jobs:
state
- RUNNING|CANCELED|FINISHED|FAILED- 'end_time` - Corresponds to time the job finished.
- 'start_time` - Corresponds to time the job finished.
- 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)
- end_time > \"2017-12-12T00:00:00+00:00\"
The length of this field should be no more than 500 characters.
2353 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 2353 class ListDlpJobsRequest; end |
#order_by ⇒ String
Returns 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 tostate
.
2353 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 2353 class ListDlpJobsRequest; end |
#page_size ⇒ Integer
Returns The standard list page size.
2353 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 2353 class ListDlpJobsRequest; end |
#page_token ⇒ String
Returns The standard list page token.
2353 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 2353 class ListDlpJobsRequest; end |
#parent ⇒ String
Returns The parent resource name, for example projects/my-project-id.
2353 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 2353 class ListDlpJobsRequest; end |
#type ⇒ Google::Privacy::Dlp::V2::DlpJobType
Returns The type of job. Defaults to DlpJobType.INSPECT
.
2353 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 2353 class ListDlpJobsRequest; end |