Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListDeidentifyTemplatesResponse

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 ListDeidentifyTemplates.

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

Returns a new instance of GooglePrivacyDlpV2beta2ListDeidentifyTemplatesResponse



4519
4520
4521
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4519

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

Instance Attribute Details

#deidentify_templatesArray<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate>

List of deidentify templates, up to page_size in ListDeidentifyTemplatesRequest. Corresponds to the JSON property deidentifyTemplates



4511
4512
4513
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4511

def deidentify_templates
  @deidentify_templates
end

#next_page_tokenString

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

Returns:

  • (String)


4517
4518
4519
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4517

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4524
4525
4526
4527
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4524

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