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

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

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

Returns a new instance of GooglePrivacyDlpV2TimeZone.



5567
5568
5569
# File 'generated/google/apis/dlp_v2/classes.rb', line 5567

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)


5565
5566
5567
# File 'generated/google/apis/dlp_v2/classes.rb', line 5565

def offset_minutes
  @offset_minutes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5572
5573
5574
# File 'generated/google/apis/dlp_v2/classes.rb', line 5572

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