Class: Google::Apis::DocsV1::TableCellStyleSuggestionState

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

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

Returns a new instance of TableCellStyleSuggestionState.



5528
5529
5530
# File 'generated/google/apis/docs_v1/classes.rb', line 5528

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

Instance Attribute Details

#background_color_suggestedBoolean Also known as: background_color_suggested?

Indicates if there was a suggested change to background_color. Corresponds to the JSON property backgroundColorSuggested

Returns:

  • (Boolean)


5459
5460
5461
# File 'generated/google/apis/docs_v1/classes.rb', line 5459

def background_color_suggested
  @background_color_suggested
end

#border_bottom_suggestedBoolean Also known as: border_bottom_suggested?

Indicates if there was a suggested change to border_bottom. Corresponds to the JSON property borderBottomSuggested

Returns:

  • (Boolean)


5465
5466
5467
# File 'generated/google/apis/docs_v1/classes.rb', line 5465

def border_bottom_suggested
  @border_bottom_suggested
end

#border_left_suggestedBoolean Also known as: border_left_suggested?

Indicates if there was a suggested change to border_left. Corresponds to the JSON property borderLeftSuggested

Returns:

  • (Boolean)


5471
5472
5473
# File 'generated/google/apis/docs_v1/classes.rb', line 5471

def border_left_suggested
  @border_left_suggested
end

#border_right_suggestedBoolean Also known as: border_right_suggested?

Indicates if there was a suggested change to border_right. Corresponds to the JSON property borderRightSuggested

Returns:

  • (Boolean)


5477
5478
5479
# File 'generated/google/apis/docs_v1/classes.rb', line 5477

def border_right_suggested
  @border_right_suggested
end

#border_top_suggestedBoolean Also known as: border_top_suggested?

Indicates if there was a suggested change to border_top. Corresponds to the JSON property borderTopSuggested

Returns:

  • (Boolean)


5483
5484
5485
# File 'generated/google/apis/docs_v1/classes.rb', line 5483

def border_top_suggested
  @border_top_suggested
end

#column_span_suggestedBoolean Also known as: column_span_suggested?

Indicates if there was a suggested change to column_span. Corresponds to the JSON property columnSpanSuggested

Returns:

  • (Boolean)


5489
5490
5491
# File 'generated/google/apis/docs_v1/classes.rb', line 5489

def column_span_suggested
  @column_span_suggested
end

#content_alignment_suggestedBoolean Also known as: content_alignment_suggested?

Indicates if there was a suggested change to content_alignment. Corresponds to the JSON property contentAlignmentSuggested

Returns:

  • (Boolean)


5495
5496
5497
# File 'generated/google/apis/docs_v1/classes.rb', line 5495

def content_alignment_suggested
  @content_alignment_suggested
end

#padding_bottom_suggestedBoolean Also known as: padding_bottom_suggested?

Indicates if there was a suggested change to padding_bottom. Corresponds to the JSON property paddingBottomSuggested

Returns:

  • (Boolean)


5501
5502
5503
# File 'generated/google/apis/docs_v1/classes.rb', line 5501

def padding_bottom_suggested
  @padding_bottom_suggested
end

#padding_left_suggestedBoolean Also known as: padding_left_suggested?

Indicates if there was a suggested change to padding_left. Corresponds to the JSON property paddingLeftSuggested

Returns:

  • (Boolean)


5507
5508
5509
# File 'generated/google/apis/docs_v1/classes.rb', line 5507

def padding_left_suggested
  @padding_left_suggested
end

#padding_right_suggestedBoolean Also known as: padding_right_suggested?

Indicates if there was a suggested change to padding_right. Corresponds to the JSON property paddingRightSuggested

Returns:

  • (Boolean)


5513
5514
5515
# File 'generated/google/apis/docs_v1/classes.rb', line 5513

def padding_right_suggested
  @padding_right_suggested
end

#padding_top_suggestedBoolean Also known as: padding_top_suggested?

Indicates if there was a suggested change to padding_top. Corresponds to the JSON property paddingTopSuggested

Returns:

  • (Boolean)


5519
5520
5521
# File 'generated/google/apis/docs_v1/classes.rb', line 5519

def padding_top_suggested
  @padding_top_suggested
end

#row_span_suggestedBoolean Also known as: row_span_suggested?

Indicates if there was a suggested change to row_span. Corresponds to the JSON property rowSpanSuggested

Returns:

  • (Boolean)


5525
5526
5527
# File 'generated/google/apis/docs_v1/classes.rb', line 5525

def row_span_suggested
  @row_span_suggested
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
# File 'generated/google/apis/docs_v1/classes.rb', line 5533

def update!(**args)
  @background_color_suggested = args[:background_color_suggested] if args.key?(:background_color_suggested)
  @border_bottom_suggested = args[:border_bottom_suggested] if args.key?(:border_bottom_suggested)
  @border_left_suggested = args[:border_left_suggested] if args.key?(:border_left_suggested)
  @border_right_suggested = args[:border_right_suggested] if args.key?(:border_right_suggested)
  @border_top_suggested = args[:border_top_suggested] if args.key?(:border_top_suggested)
  @column_span_suggested = args[:column_span_suggested] if args.key?(:column_span_suggested)
  @content_alignment_suggested = args[:content_alignment_suggested] if args.key?(:content_alignment_suggested)
  @padding_bottom_suggested = args[:padding_bottom_suggested] if args.key?(:padding_bottom_suggested)
  @padding_left_suggested = args[:padding_left_suggested] if args.key?(:padding_left_suggested)
  @padding_right_suggested = args[:padding_right_suggested] if args.key?(:padding_right_suggested)
  @padding_top_suggested = args[:padding_top_suggested] if args.key?(:padding_top_suggested)
  @row_span_suggested = args[:row_span_suggested] if args.key?(:row_span_suggested)
end