Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListInspectTemplatesResponse

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

Response message for ListInspectTemplates.

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) ⇒ GooglePrivacyDlpV2beta2ListInspectTemplatesResponse

Returns a new instance of GooglePrivacyDlpV2beta2ListInspectTemplatesResponse



4589
4590
4591
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4589

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

Instance Attribute Details

#inspect_templatesArray<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate>

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



4581
4582
4583
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4581

def inspect_templates
  @inspect_templates
end

#next_page_tokenString

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

Returns:

  • (String)


4587
4588
4589
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4587

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4594
4595
4596
4597
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4594

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