Class: Google::Privacy::Dlp::V2::ListDlpJobsRequest

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#filterString

Returns 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.

Returns:

  • (String)

    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.



1932
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1932

class ListDlpJobsRequest; end

#page_sizeInteger

Returns The standard list page size.

Returns:

  • (Integer)

    The standard list page size.



1932
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1932

class ListDlpJobsRequest; end

#page_tokenString

Returns The standard list page token.

Returns:

  • (String)

    The standard list page token.



1932
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1932

class ListDlpJobsRequest; end

#parentString

Returns The parent resource name, for example projects/my-project-id.

Returns:

  • (String)

    The parent resource name, for example projects/my-project-id.



1932
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1932

class ListDlpJobsRequest; end

#typeGoogle::Privacy::Dlp::V2::DlpJobType

Returns The type of job. Defaults to +DlpJobType.INSPECT+

Returns:



1932
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1932

class ListDlpJobsRequest; end