Class: Google::Apis::DlpV2::GooglePrivacyDlpV2StoredType

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

Overview

A reference to a StoredInfoType to use with scanning.

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

Returns a new instance of GooglePrivacyDlpV2StoredType.



5461
5462
5463
# File 'generated/google/apis/dlp_v2/classes.rb', line 5461

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

Instance Attribute Details

#create_timeString

Timestamp indicating when the version of the StoredInfoType used for inspection was created. Output-only field, populated by the system. Corresponds to the JSON property createTime

Returns:

  • (String)


5452
5453
5454
# File 'generated/google/apis/dlp_v2/classes.rb', line 5452

def create_time
  @create_time
end

#nameString

Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342. Corresponds to the JSON property name

Returns:

  • (String)


5459
5460
5461
# File 'generated/google/apis/dlp_v2/classes.rb', line 5459

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5466
5467
5468
5469
# File 'generated/google/apis/dlp_v2/classes.rb', line 5466

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