Class: Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2/classes.rb,
generated/google/apis/dlp_v2/representations.rb,
generated/google/apis/dlp_v2/representations.rb

Overview

The response message for listing DLP jobs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2ListDlpJobsResponse

Returns a new instance of GooglePrivacyDlpV2ListDlpJobsResponse



3736
3737
3738
# File 'generated/google/apis/dlp_v2/classes.rb', line 3736

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#jobsArray<Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob>

A list of DlpJobs that matches the specified filter in the request. Corresponds to the JSON property jobs



3729
3730
3731
# File 'generated/google/apis/dlp_v2/classes.rb', line 3729

def jobs
  @jobs
end

#next_page_tokenString

The standard List next-page token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


3734
3735
3736
# File 'generated/google/apis/dlp_v2/classes.rb', line 3734

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3741
3742
3743
3744
# File 'generated/google/apis/dlp_v2/classes.rb', line 3741

def update!(**args)
  @jobs = args[:jobs] if args.key?(:jobs)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end