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.



4941
4942
4943
# File 'generated/google/apis/docs_v1/classes.rb', line 4941

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



4932
4933
4934
# File 'generated/google/apis/docs_v1/classes.rb', line 4932

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



4939
4940
4941
# File 'generated/google/apis/docs_v1/classes.rb', line 4939

def list_properties_suggestion_state
  @list_properties_suggestion_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4946
4947
4948
4949
# File 'generated/google/apis/docs_v1/classes.rb', line 4946

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