Class: Google::Apis::DocsV1::SuggestedDateElementProperties

Inherits:
Object
  • Object
show all
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 suggested change to a DateElementProperties.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SuggestedDateElementProperties

Returns a new instance of SuggestedDateElementProperties.



5699
5700
5701
# File 'lib/google/apis/docs_v1/classes.rb', line 5699

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

Instance Attribute Details

#date_element_propertiesGoogle::Apis::DocsV1::DateElementProperties

Properties of a DateElement. Corresponds to the JSON property dateElementProperties



5690
5691
5692
# File 'lib/google/apis/docs_v1/classes.rb', line 5690

def date_element_properties
  @date_element_properties
end

#date_element_properties_suggestion_stateGoogle::Apis::DocsV1::DateElementPropertiesSuggestionState

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. Corresponds to the JSON property dateElementPropertiesSuggestionState



5697
5698
5699
# File 'lib/google/apis/docs_v1/classes.rb', line 5697

def date_element_properties_suggestion_state
  @date_element_properties_suggestion_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5704
5705
5706
5707
# File 'lib/google/apis/docs_v1/classes.rb', line 5704

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