Class: Google::Apis::DlpV2::GooglePrivacyDlpV2TimeZone
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2TimeZone
- 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
Time zone of the date time object.
Instance Attribute Summary collapse
-
#offset_minutes ⇒ Fixnum
Set only if the offset can be determined.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2TimeZone
constructor
A new instance of GooglePrivacyDlpV2TimeZone.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2TimeZone
Returns a new instance of GooglePrivacyDlpV2TimeZone.
9339 9340 9341 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 9339 def initialize(**args) update!(**args) end |
Instance Attribute Details
#offset_minutes ⇒ Fixnum
Set only if the offset can be determined. Positive for time ahead of UTC. E.g.
For "UTC-9", this value is -540.
Corresponds to the JSON property offsetMinutes
9337 9338 9339 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 9337 def offset_minutes @offset_minutes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9344 9345 9346 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 9344 def update!(**args) @offset_minutes = args[:offset_minutes] if args.key?(:offset_minutes) end |