Class: Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse

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

Response message for ListInspectTemplates.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2ListInspectTemplatesResponse

Returns a new instance of GooglePrivacyDlpV2ListInspectTemplatesResponse.



6767
6768
6769
# File 'lib/google/apis/dlp_v2/classes.rb', line 6767

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

Instance Attribute Details

#inspect_templatesArray<Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate>

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest. Corresponds to the JSON property inspectTemplates



6759
6760
6761
# File 'lib/google/apis/dlp_v2/classes.rb', line 6759

def inspect_templates
  @inspect_templates
end

#next_page_tokenString

If the next page is available then the next page token to be used in the following ListInspectTemplates request. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


6765
6766
6767
# File 'lib/google/apis/dlp_v2/classes.rb', line 6765

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6772
6773
6774
6775
# File 'lib/google/apis/dlp_v2/classes.rb', line 6772

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