Class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileClusterType

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

Overview

Message used to identify file cluster type being profiled.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2FileClusterType

Returns a new instance of GooglePrivacyDlpV2FileClusterType.



5472
5473
5474
# File 'lib/google/apis/dlp_v2/classes.rb', line 5472

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

Instance Attribute Details

#clusterString

Cluster type. Corresponds to the JSON property cluster

Returns:

  • (String)


5470
5471
5472
# File 'lib/google/apis/dlp_v2/classes.rb', line 5470

def cluster
  @cluster
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5477
5478
5479
# File 'lib/google/apis/dlp_v2/classes.rb', line 5477

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