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.



6264
6265
6266
# File 'lib/google/apis/ces_v1/classes.rb', line 6264

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)


6262
6263
6264
# File 'lib/google/apis/ces_v1/classes.rb', line 6262

def time_zone
  @time_zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6269
6270
6271
# File 'lib/google/apis/ces_v1/classes.rb', line 6269

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