Class: Google::Apis::DocsV1::ParagraphStyleSuggestionState

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/docs_v1/classes.rb,
lib/google/apis/docs_v1/representations.rb,
lib/google/apis/docs_v1/representations.rb

Overview

A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. For any field set to true, there's a new suggested value.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ParagraphStyleSuggestionState

Returns a new instance of ParagraphStyleSuggestionState.



3518
3519
3520
# File 'lib/google/apis/docs_v1/classes.rb', line 3518

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

Instance Attribute Details

#alignment_suggestedBoolean Also known as: alignment_suggested?

Indicates if there was a suggested change to alignment. Corresponds to the JSON property alignmentSuggested

Returns:

  • (Boolean)


3394
3395
3396
# File 'lib/google/apis/docs_v1/classes.rb', line 3394

def alignment_suggested
  @alignment_suggested
end

#avoid_widow_and_orphan_suggestedBoolean Also known as: avoid_widow_and_orphan_suggested?

Indicates if there was a suggested change to avoid_widow_and_orphan. Corresponds to the JSON property avoidWidowAndOrphanSuggested

Returns:

  • (Boolean)


3400
3401
3402
# File 'lib/google/apis/docs_v1/classes.rb', line 3400

def avoid_widow_and_orphan_suggested
  @avoid_widow_and_orphan_suggested
end

#border_between_suggestedBoolean Also known as: border_between_suggested?

Indicates if there was a suggested change to border_between. Corresponds to the JSON property borderBetweenSuggested

Returns:

  • (Boolean)


3406
3407
3408
# File 'lib/google/apis/docs_v1/classes.rb', line 3406

def border_between_suggested
  @border_between_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)


3412
3413
3414
# File 'lib/google/apis/docs_v1/classes.rb', line 3412

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)


3418
3419
3420
# File 'lib/google/apis/docs_v1/classes.rb', line 3418

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)


3424
3425
3426
# File 'lib/google/apis/docs_v1/classes.rb', line 3424

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)


3430
3431
3432
# File 'lib/google/apis/docs_v1/classes.rb', line 3430

def border_top_suggested
  @border_top_suggested
end

#direction_suggestedBoolean Also known as: direction_suggested?

Indicates if there was a suggested change to direction. Corresponds to the JSON property directionSuggested

Returns:

  • (Boolean)


3436
3437
3438
# File 'lib/google/apis/docs_v1/classes.rb', line 3436

def direction_suggested
  @direction_suggested
end

#heading_id_suggestedBoolean Also known as: heading_id_suggested?

Indicates if there was a suggested change to heading_id. Corresponds to the JSON property headingIdSuggested

Returns:

  • (Boolean)


3442
3443
3444
# File 'lib/google/apis/docs_v1/classes.rb', line 3442

def heading_id_suggested
  @heading_id_suggested
end

#indent_end_suggestedBoolean Also known as: indent_end_suggested?

Indicates if there was a suggested change to indent_end. Corresponds to the JSON property indentEndSuggested

Returns:

  • (Boolean)


3448
3449
3450
# File 'lib/google/apis/docs_v1/classes.rb', line 3448

def indent_end_suggested
  @indent_end_suggested
end

#indent_first_line_suggestedBoolean Also known as: indent_first_line_suggested?

Indicates if there was a suggested change to indent_first_line. Corresponds to the JSON property indentFirstLineSuggested

Returns:

  • (Boolean)


3454
3455
3456
# File 'lib/google/apis/docs_v1/classes.rb', line 3454

def indent_first_line_suggested
  @indent_first_line_suggested
end

#indent_start_suggestedBoolean Also known as: indent_start_suggested?

Indicates if there was a suggested change to indent_start. Corresponds to the JSON property indentStartSuggested

Returns:

  • (Boolean)


3460
3461
3462
# File 'lib/google/apis/docs_v1/classes.rb', line 3460

def indent_start_suggested
  @indent_start_suggested
end

#keep_lines_together_suggestedBoolean Also known as: keep_lines_together_suggested?

Indicates if there was a suggested change to keep_lines_together. Corresponds to the JSON property keepLinesTogetherSuggested

Returns:

  • (Boolean)


3466
3467
3468
# File 'lib/google/apis/docs_v1/classes.rb', line 3466

def keep_lines_together_suggested
  @keep_lines_together_suggested
end

#keep_with_next_suggestedBoolean Also known as: keep_with_next_suggested?

Indicates if there was a suggested change to keep_with_next. Corresponds to the JSON property keepWithNextSuggested

Returns:

  • (Boolean)


3472
3473
3474
# File 'lib/google/apis/docs_v1/classes.rb', line 3472

def keep_with_next_suggested
  @keep_with_next_suggested
end

#line_spacing_suggestedBoolean Also known as: line_spacing_suggested?

Indicates if there was a suggested change to line_spacing. Corresponds to the JSON property lineSpacingSuggested

Returns:

  • (Boolean)


3478
3479
3480
# File 'lib/google/apis/docs_v1/classes.rb', line 3478

def line_spacing_suggested
  @line_spacing_suggested
end

#named_style_type_suggestedBoolean Also known as: named_style_type_suggested?

Indicates if there was a suggested change to named_style_type. Corresponds to the JSON property namedStyleTypeSuggested

Returns:

  • (Boolean)


3484
3485
3486
# File 'lib/google/apis/docs_v1/classes.rb', line 3484

def named_style_type_suggested
  @named_style_type_suggested
end

#page_break_before_suggestedBoolean Also known as: page_break_before_suggested?

Indicates if there was a suggested change to page_break_before. Corresponds to the JSON property pageBreakBeforeSuggested

Returns:

  • (Boolean)


3490
3491
3492
# File 'lib/google/apis/docs_v1/classes.rb', line 3490

def page_break_before_suggested
  @page_break_before_suggested
end

#shading_suggestion_stateGoogle::Apis::DocsV1::ShadingSuggestionState

A mask that indicates which of the fields on the base Shading have been changed in this suggested change. For any field set to true, there's a new suggested value. Corresponds to the JSON property shadingSuggestionState



3498
3499
3500
# File 'lib/google/apis/docs_v1/classes.rb', line 3498

def shading_suggestion_state
  @shading_suggestion_state
end

#space_above_suggestedBoolean Also known as: space_above_suggested?

Indicates if there was a suggested change to space_above. Corresponds to the JSON property spaceAboveSuggested

Returns:

  • (Boolean)


3503
3504
3505
# File 'lib/google/apis/docs_v1/classes.rb', line 3503

def space_above_suggested
  @space_above_suggested
end

#space_below_suggestedBoolean Also known as: space_below_suggested?

Indicates if there was a suggested change to space_below. Corresponds to the JSON property spaceBelowSuggested

Returns:

  • (Boolean)


3509
3510
3511
# File 'lib/google/apis/docs_v1/classes.rb', line 3509

def space_below_suggested
  @space_below_suggested
end

#spacing_mode_suggestedBoolean Also known as: spacing_mode_suggested?

Indicates if there was a suggested change to spacing_mode. Corresponds to the JSON property spacingModeSuggested

Returns:

  • (Boolean)


3515
3516
3517
# File 'lib/google/apis/docs_v1/classes.rb', line 3515

def spacing_mode_suggested
  @spacing_mode_suggested
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
# File 'lib/google/apis/docs_v1/classes.rb', line 3523

def update!(**args)
  @alignment_suggested = args[:alignment_suggested] if args.key?(:alignment_suggested)
  @avoid_widow_and_orphan_suggested = args[:avoid_widow_and_orphan_suggested] if args.key?(:avoid_widow_and_orphan_suggested)
  @border_between_suggested = args[:border_between_suggested] if args.key?(:border_between_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)
  @direction_suggested = args[:direction_suggested] if args.key?(:direction_suggested)
  @heading_id_suggested = args[:heading_id_suggested] if args.key?(:heading_id_suggested)
  @indent_end_suggested = args[:indent_end_suggested] if args.key?(:indent_end_suggested)
  @indent_first_line_suggested = args[:indent_first_line_suggested] if args.key?(:indent_first_line_suggested)
  @indent_start_suggested = args[:indent_start_suggested] if args.key?(:indent_start_suggested)
  @keep_lines_together_suggested = args[:keep_lines_together_suggested] if args.key?(:keep_lines_together_suggested)
  @keep_with_next_suggested = args[:keep_with_next_suggested] if args.key?(:keep_with_next_suggested)
  @line_spacing_suggested = args[:line_spacing_suggested] if args.key?(:line_spacing_suggested)
  @named_style_type_suggested = args[:named_style_type_suggested] if args.key?(:named_style_type_suggested)
  @page_break_before_suggested = args[:page_break_before_suggested] if args.key?(:page_break_before_suggested)
  @shading_suggestion_state = args[:shading_suggestion_state] if args.key?(:shading_suggestion_state)
  @space_above_suggested = args[:space_above_suggested] if args.key?(:space_above_suggested)
  @space_below_suggested = args[:space_below_suggested] if args.key?(:space_below_suggested)
  @spacing_mode_suggested = args[:spacing_mode_suggested] if args.key?(:spacing_mode_suggested)
end