Class OrganizationsResource.LocationsResource.JobTriggersResource.ListRequest
Lists job triggers. See https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers to learn more.
Inheritance
Inherited Members
Namespace: Google.Apis.DLP.v2
Assembly: Google.Apis.DLP.v2.dll
Syntax
public class OrganizationsResource.LocationsResource.JobTriggersResource.ListRequest : DLPBaseServiceRequest<GooglePrivacyDlpV2ListJobTriggersResponse>, IClientServiceRequest<GooglePrivacyDlpV2ListJobTriggersResponse>, 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 triggers: - 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.
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 triggeredJob 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,update_time, create_time desc
Supported fields
are: - create_time
: corresponds to the time the JobTrigger was created. - update_time
:
corresponds to the time the JobTrigger was last updated. - last_run_time
: corresponds to the
last time the JobTrigger ran. - name
: corresponds to the JobTrigger's name. - display_name
:
corresponds to the JobTrigger's display name. - status
: corresponds to JobTrigger's status.
Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
Type | Description |
---|---|
string |
PageSize
Size of the page. This value can be limited by a server.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Page token to continue retrieval. Comes from the previous call to ListJobTriggers. order_by
field must not change for subsequent calls.
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 jobs. Will use DlpJobType.INSPECT
if not set.
Declaration
[RequestParameter("type", RequestParameterType.Query)]
public virtual OrganizationsResource.LocationsResource.JobTriggersResource.ListRequest.TypeEnum? Type { get; set; }
Property Value
Type | Description |
---|---|
OrganizationsResource.LocationsResource.JobTriggersResource.ListRequest.TypeEnum? |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()