Class: Google::Apis::DlpV2::GooglePrivacyDlpV2TimeZone

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2TimeZone

Returns a new instance of GooglePrivacyDlpV2TimeZone.



5993
5994
5995
# File 'lib/google/apis/dlp_v2/classes.rb', line 5993

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

Instance Attribute Details

#offset_minutesFixnum

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

Returns:

  • (Fixnum)


5991
5992
5993
# File 'lib/google/apis/dlp_v2/classes.rb', line 5991

def offset_minutes
  @offset_minutes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5998
5999
6000
# File 'lib/google/apis/dlp_v2/classes.rb', line 5998

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