Class: Google::Apis::DocsV1::SuggestedTableCellStyle

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

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

Returns a new instance of SuggestedTableCellStyle



4407
4408
4409
# File 'generated/google/apis/docs_v1/classes.rb', line 4407

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

Instance Attribute Details

#table_cell_styleGoogle::Apis::DocsV1::TableCellStyle

The style of a TableCell. Inherited table cell styles are represented as unset fields in this message. A table cell style can inherit from the table's style. Corresponds to the JSON property tableCellStyle



4398
4399
4400
# File 'generated/google/apis/docs_v1/classes.rb', line 4398

def table_cell_style
  @table_cell_style
end

#table_cell_style_suggestion_stateGoogle::Apis::DocsV1::TableCellStyleSuggestionState

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



4405
4406
4407
# File 'generated/google/apis/docs_v1/classes.rb', line 4405

def table_cell_style_suggestion_state
  @table_cell_style_suggestion_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4412
4413
4414
4415
# File 'generated/google/apis/docs_v1/classes.rb', line 4412

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