Class: Google::Apis::CesV1::TimeZoneSettings

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb

Overview

TimeZone settings of the app.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TimeZoneSettings

Returns a new instance of TimeZoneSettings.



6464
6465
6466
# File 'lib/google/apis/ces_v1/classes.rb', line 6464

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

Instance Attribute Details

#time_zoneString

Optional. The time zone of the app from the time zone database, e.g., America/Los_Angeles, Europe/Paris. Corresponds to the JSON property timeZone

Returns:

  • (String)


6462
6463
6464
# File 'lib/google/apis/ces_v1/classes.rb', line 6462

def time_zone
  @time_zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6469
6470
6471
# File 'lib/google/apis/ces_v1/classes.rb', line 6469

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