Class: Google::Apis::DocsV1::SuggestedTableRowStyle

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 a TableRowStyle.

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) ⇒ SuggestedTableRowStyle

Returns a new instance of SuggestedTableRowStyle.



5095
5096
5097
# File 'generated/google/apis/docs_v1/classes.rb', line 5095

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

Instance Attribute Details

#table_row_styleGoogle::Apis::DocsV1::TableRowStyle

Styles that apply to a table row. Corresponds to the JSON property tableRowStyle



5086
5087
5088
# File 'generated/google/apis/docs_v1/classes.rb', line 5086

def table_row_style
  @table_row_style
end

#table_row_style_suggestion_stateGoogle::Apis::DocsV1::TableRowStyleSuggestionState

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



5093
5094
5095
# File 'generated/google/apis/docs_v1/classes.rb', line 5093

def table_row_style_suggestion_state
  @table_row_style_suggestion_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5100
5101
5102
5103
# File 'generated/google/apis/docs_v1/classes.rb', line 5100

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