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

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 ListProperties.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SuggestedListProperties

Returns a new instance of SuggestedListProperties.



5302
5303
5304
# File 'lib/google/apis/docs_v1/classes.rb', line 5302

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

Instance Attribute Details

#list_propertiesGoogle::Apis::DocsV1::ListProperties

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



5293
5294
5295
# File 'lib/google/apis/docs_v1/classes.rb', line 5293

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's a new suggested value. Corresponds to the JSON property listPropertiesSuggestionState



5300
5301
5302
# File 'lib/google/apis/docs_v1/classes.rb', line 5300

def list_properties_suggestion_state
  @list_properties_suggestion_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5307
5308
5309
5310
# File 'lib/google/apis/docs_v1/classes.rb', line 5307

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