Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListDlpJobsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/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) ⇒ GooglePrivacyDlpV2beta2ListDlpJobsResponse

Returns a new instance of GooglePrivacyDlpV2beta2ListDlpJobsResponse



4544
4545
4546
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4544

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

Instance Attribute Details

#jobsArray<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DlpJob>

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



4537
4538
4539
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4537

def jobs
  @jobs
end

#next_page_tokenString

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

Returns:

  • (String)


4542
4543
4544
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4542

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4549
4550
4551
4552
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4549

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