Class: Google::Apis::DlpV2::GooglePrivacyDlpV2QuoteInfo

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

Message for infoType-dependent details parsed from quote.

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

Returns a new instance of GooglePrivacyDlpV2QuoteInfo.



5055
5056
5057
# File 'generated/google/apis/dlp_v2/classes.rb', line 5055

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

Instance Attribute Details

#date_timeGoogle::Apis::DlpV2::GooglePrivacyDlpV2DateTime

Message for a date time object. e.g. 2018-01-01, 5th August. Corresponds to the JSON property dateTime



5053
5054
5055
# File 'generated/google/apis/dlp_v2/classes.rb', line 5053

def date_time
  @date_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5060
5061
5062
# File 'generated/google/apis/dlp_v2/classes.rb', line 5060

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