Class ProjectsResource.DlpJobsResource.ListRequest
Lists DlpJobs that match the specified filter in the request. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn more.
Inheritance
Inherited Members
Namespace: Google.Apis.DLP.v2
Assembly: Google.Apis.DLP.v2.dll
Syntax
public class ProjectsResource.DlpJobsResource.ListRequest : DLPBaseServiceRequest<GooglePrivacyDlpV2ListDlpJobsResponse>, IClientServiceRequest<GooglePrivacyDlpV2ListDlpJobsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
Properties
Filter
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 {field} {operator} {value}
. * Supported
fields/values for inspect jobs: - state
- PENDING|RUNNING|CANCELED|FINISHED|FAILED -
inspected_storage
- DATASTORE|CLOUD_STORAGE|BIGQUERY - trigger_name
- The name of the trigger
that created the job. - 'end_time - Corresponds to the time the job finished. - 'start_time
-
Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - state
-
RUNNING|CANCELED|FINISHED|FAILED - 'end_time - Corresponds to the time the job finished. - 'start_time
- Corresponds to the 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.
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
LocationId
Deprecated. This field has no effect.
Declaration
[RequestParameter("locationId", RequestParameterType.Query)]
public virtual string LocationId { get; set; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
OrderBy
Comma-separated list of fields to order by, followed by asc
or desc
postfix. This list is case
insensitive. The 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 the time the job was created. - end_time
: corresponds to the time the job ended. -
name
: corresponds to the job's name. - state
: corresponds to state
Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
Type | Description |
---|---|
string |
PageSize
The standard list page size.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
The standard list page token.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. Parent resource name. The format of this value varies depending on whether you have
specified a processing
location: + Projects
scope, location specified: projects/{project_id}/locations/{location_id}
+ Projects scope, no
location specified (defaults to global): projects/{project_id}
The following example parent
string specifies a parent project with the identifier example-project
, and specifies the
europe-west3
location for processing data: parent=projects/example-project/locations/europe-west3
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Type
The type of job. Defaults to DlpJobType.INSPECT
Declaration
[RequestParameter("type", RequestParameterType.Query)]
public virtual ProjectsResource.DlpJobsResource.ListRequest.TypeEnum? Type { get; set; }
Property Value
Type | Description |
---|---|
ProjectsResource.DlpJobsResource.ListRequest.TypeEnum? |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()