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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SuggestedListProperties

Returns a new instance of SuggestedListProperties



4166
4167
4168
# File 'generated/google/apis/docs_v1/classes.rb', line 4166

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



4157
4158
4159
# File 'generated/google/apis/docs_v1/classes.rb', line 4157

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



4164
4165
4166
# File 'generated/google/apis/docs_v1/classes.rb', line 4164

def list_properties_suggestion_state
  @list_properties_suggestion_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4171
4172
4173
4174
# File 'generated/google/apis/docs_v1/classes.rb', line 4171

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