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

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

Overview

The response message for listing DLP jobs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2ListDlpJobsResponse

Returns a new instance of GooglePrivacyDlpV2ListDlpJobsResponse.



6054
6055
6056
# File 'lib/google/apis/dlp_v2/classes.rb', line 6054

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



6047
6048
6049
# File 'lib/google/apis/dlp_v2/classes.rb', line 6047

def jobs
  @jobs
end

#next_page_tokenString

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

Returns:

  • (String)


6052
6053
6054
# File 'lib/google/apis/dlp_v2/classes.rb', line 6052

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6059
6060
6061
6062
# File 'lib/google/apis/dlp_v2/classes.rb', line 6059

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