Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CategoryDescription

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

Info Type Category description.

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

Returns a new instance of GooglePrivacyDlpV2beta1CategoryDescription



484
485
486
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 484

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

Instance Attribute Details

#display_nameString

Human readable form of the category name. Corresponds to the JSON property displayName

Returns:

  • (String)


477
478
479
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 477

def display_name
  @display_name
end

#nameString

Internal name of the category. Corresponds to the JSON property name

Returns:

  • (String)


482
483
484
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 482

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



489
490
491
492
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 489

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