Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ListRootCategoriesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2beta1/classes.rb,
generated/google/apis/dlp_v2beta1/representations.rb,
generated/google/apis/dlp_v2beta1/representations.rb

Overview

Response for ListRootCategories request.

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

Returns a new instance of GooglePrivacyDlpV2beta1ListRootCategoriesResponse



2405
2406
2407
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2405

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

Instance Attribute Details

#categoriesArray<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CategoryDescription>

List of all into type categories supported by the API. Corresponds to the JSON property categories



2403
2404
2405
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2403

def categories
  @categories
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2410
2411
2412
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2410

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