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.



5312
5313
5314
# File 'lib/google/apis/docs_v1/classes.rb', line 5312

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



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

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



5310
5311
5312
# File 'lib/google/apis/docs_v1/classes.rb', line 5310

def list_properties_suggestion_state
  @list_properties_suggestion_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5317
5318
5319
5320
# File 'lib/google/apis/docs_v1/classes.rb', line 5317

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