Class: Google::Apis::DocsV1::SuggestedListProperties

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/docs_v1/classes.rb,
generated/google/apis/docs_v1/representations.rb,
generated/google/apis/docs_v1/representations.rb

Overview

A suggested change to ListProperties.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SuggestedListProperties

Returns a new instance of SuggestedListProperties.



4712
4713
4714
# File 'generated/google/apis/docs_v1/classes.rb', line 4712

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

Instance Attribute Details

#list_propertiesGoogle::Apis::DocsV1::ListProperties

The properties of a list which describe the look and feel of bullets belonging to paragraphs associated with a list. Corresponds to the JSON property listProperties



4703
4704
4705
# File 'generated/google/apis/docs_v1/classes.rb', line 4703

def list_properties
  @list_properties
end

#list_properties_suggestion_stateGoogle::Apis::DocsV1::ListPropertiesSuggestionState

A mask that indicates which of the fields on the base ListProperties have been changed in this suggestion. For any field set to true, there is a new suggested value. Corresponds to the JSON property listPropertiesSuggestionState



4710
4711
4712
# File 'generated/google/apis/docs_v1/classes.rb', line 4710

def list_properties_suggestion_state
  @list_properties_suggestion_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4717
4718
4719
4720
# File 'generated/google/apis/docs_v1/classes.rb', line 4717

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