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



4421
4422
4423
# File 'generated/google/apis/dlp_v2/classes.rb', line 4421

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



4419
4420
4421
# File 'generated/google/apis/dlp_v2/classes.rb', line 4419

def date_time
  @date_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4426
4427
4428
# File 'generated/google/apis/dlp_v2/classes.rb', line 4426

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