Class: Google::Apis::DocsV1::DateElementPropertiesSuggestionState
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::DateElementPropertiesSuggestionState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/docs_v1/classes.rb,
lib/google/apis/docs_v1/representations.rb,
lib/google/apis/docs_v1/representations.rb
Overview
A mask that indicates which of the fields on the base DateElementProperties have been changed in this suggestion. For any field set to true, there's a new suggested value.
Instance Attribute Summary collapse
-
#date_format_suggested ⇒ Boolean
(also: #date_format_suggested?)
Indicates if there was a suggested change to date_format.
-
#locale_suggested ⇒ Boolean
(also: #locale_suggested?)
Indicates if there was a suggested change to locale.
-
#time_format_suggested ⇒ Boolean
(also: #time_format_suggested?)
Indicates if there was a suggested change to time_format.
-
#time_zone_id_suggested ⇒ Boolean
(also: #time_zone_id_suggested?)
Indicates if there was a suggested change to time_zone_id.
-
#timestamp_suggested ⇒ Boolean
(also: #timestamp_suggested?)
Indicates if there was a suggested change to timestamp.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DateElementPropertiesSuggestionState
constructor
A new instance of DateElementPropertiesSuggestionState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DateElementPropertiesSuggestionState
904 905 906 |
# File 'lib/google/apis/docs_v1/classes.rb', line 904 def initialize(**args) update!(**args) end |
Instance Attribute Details
#date_format_suggested ⇒ Boolean Also known as: date_format_suggested?
Indicates if there was a suggested change to date_format.
Corresponds to the JSON property dateFormatSuggested
877 878 879 |
# File 'lib/google/apis/docs_v1/classes.rb', line 877 def date_format_suggested @date_format_suggested end |
#locale_suggested ⇒ Boolean Also known as: locale_suggested?
Indicates if there was a suggested change to locale.
Corresponds to the JSON property localeSuggested
883 884 885 |
# File 'lib/google/apis/docs_v1/classes.rb', line 883 def locale_suggested @locale_suggested end |
#time_format_suggested ⇒ Boolean Also known as: time_format_suggested?
Indicates if there was a suggested change to time_format.
Corresponds to the JSON property timeFormatSuggested
889 890 891 |
# File 'lib/google/apis/docs_v1/classes.rb', line 889 def time_format_suggested @time_format_suggested end |
#time_zone_id_suggested ⇒ Boolean Also known as: time_zone_id_suggested?
Indicates if there was a suggested change to time_zone_id.
Corresponds to the JSON property timeZoneIdSuggested
895 896 897 |
# File 'lib/google/apis/docs_v1/classes.rb', line 895 def time_zone_id_suggested @time_zone_id_suggested end |
#timestamp_suggested ⇒ Boolean Also known as: timestamp_suggested?
Indicates if there was a suggested change to timestamp.
Corresponds to the JSON property timestampSuggested
901 902 903 |
# File 'lib/google/apis/docs_v1/classes.rb', line 901 def end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
909 910 911 912 913 914 915 |
# File 'lib/google/apis/docs_v1/classes.rb', line 909 def update!(**args) @date_format_suggested = args[:date_format_suggested] if args.key?(:date_format_suggested) @locale_suggested = args[:locale_suggested] if args.key?(:locale_suggested) @time_format_suggested = args[:time_format_suggested] if args.key?(:time_format_suggested) @time_zone_id_suggested = args[:time_zone_id_suggested] if args.key?(:time_zone_id_suggested) = args[:timestamp_suggested] if args.key?(:timestamp_suggested) end |