Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TimeZone
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2TimeZone
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/representations.rb
Instance Attribute Summary collapse
-
#offset_minutes ⇒ Fixnum
Set only if the offset can be determined.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2TimeZone
constructor
A new instance of GooglePrivacyDlpV2beta2TimeZone.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2TimeZone
Returns a new instance of GooglePrivacyDlpV2beta2TimeZone
5813 5814 5815 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5813 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
5811 5812 5813 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5811 def offset_minutes @offset_minutes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5818 5819 5820 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5818 def update!(**args) @offset_minutes = args[:offset_minutes] if args.key?(:offset_minutes) end |