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.



4293
4294
4295
# File 'generated/google/apis/dlp_v2/classes.rb', line 4293

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



4286
4287
4288
# File 'generated/google/apis/dlp_v2/classes.rb', line 4286

def jobs
  @jobs
end

#next_page_tokenString

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

Returns:

  • (String)


4291
4292
4293
# File 'generated/google/apis/dlp_v2/classes.rb', line 4291

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4298
4299
4300
4301
# File 'generated/google/apis/dlp_v2/classes.rb', line 4298

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