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



2054
2055
2056
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2054

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



2052
2053
2054
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2052

def categories
  @categories
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2059
2060
2061
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2059

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