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



3025
3026
3027
# File 'generated/google/apis/dlp_v2/classes.rb', line 3025

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



3018
3019
3020
# File 'generated/google/apis/dlp_v2/classes.rb', line 3018

def jobs
  @jobs
end

#next_page_tokenString

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

Returns:

  • (String)


3023
3024
3025
# File 'generated/google/apis/dlp_v2/classes.rb', line 3023

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3030
3031
3032
3033
# File 'generated/google/apis/dlp_v2/classes.rb', line 3030

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