class Google::Apis::DocsV1::DocumentStyleSuggestionState

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

Attributes

background_suggestion_state[RW]

A mask that indicates which of the fields on the base Background have been changed in this suggestion. For any field set to true, the Backgound has a new suggested value. Corresponds to the JSON property `backgroundSuggestionState` @return [Google::Apis::DocsV1::BackgroundSuggestionState]

default_header_id_suggested[RW]

Indicates if there was a suggested change to default_header_id. Corresponds to the JSON property `defaultHeaderIdSuggested` @return [Boolean]

default_header_id_suggested?[RW]

Indicates if there was a suggested change to default_header_id. Corresponds to the JSON property `defaultHeaderIdSuggested` @return [Boolean]

even_page_header_id_suggested[RW]

Indicates if there was a suggested change to even_page_header_id. Corresponds to the JSON property `evenPageHeaderIdSuggested` @return [Boolean]

even_page_header_id_suggested?[RW]

Indicates if there was a suggested change to even_page_header_id. Corresponds to the JSON property `evenPageHeaderIdSuggested` @return [Boolean]

first_page_header_id_suggested[RW]

Indicates if there was a suggested change to first_page_header_id. Corresponds to the JSON property `firstPageHeaderIdSuggested` @return [Boolean]

first_page_header_id_suggested?[RW]

Indicates if there was a suggested change to first_page_header_id. Corresponds to the JSON property `firstPageHeaderIdSuggested` @return [Boolean]

margin_bottom_suggested[RW]

Indicates if there was a suggested change to margin_bottom. Corresponds to the JSON property `marginBottomSuggested` @return [Boolean]

margin_bottom_suggested?[RW]

Indicates if there was a suggested change to margin_bottom. Corresponds to the JSON property `marginBottomSuggested` @return [Boolean]

margin_header_suggested[RW]

Indicates if there was a suggested change to margin_header. Corresponds to the JSON property `marginHeaderSuggested` @return [Boolean]

margin_header_suggested?[RW]

Indicates if there was a suggested change to margin_header. Corresponds to the JSON property `marginHeaderSuggested` @return [Boolean]

margin_left_suggested[RW]

Indicates if there was a suggested change to margin_left. Corresponds to the JSON property `marginLeftSuggested` @return [Boolean]

margin_left_suggested?[RW]

Indicates if there was a suggested change to margin_left. Corresponds to the JSON property `marginLeftSuggested` @return [Boolean]

margin_right_suggested[RW]

Indicates if there was a suggested change to margin_right. Corresponds to the JSON property `marginRightSuggested` @return [Boolean]

margin_right_suggested?[RW]

Indicates if there was a suggested change to margin_right. Corresponds to the JSON property `marginRightSuggested` @return [Boolean]

margin_top_suggested[RW]

Indicates if there was a suggested change to margin_top. Corresponds to the JSON property `marginTopSuggested` @return [Boolean]

margin_top_suggested?[RW]

Indicates if there was a suggested change to margin_top. Corresponds to the JSON property `marginTopSuggested` @return [Boolean]

page_number_start_suggested[RW]

Indicates if there was a suggested change to page_number_start. Corresponds to the JSON property `pageNumberStartSuggested` @return [Boolean]

page_number_start_suggested?[RW]

Indicates if there was a suggested change to page_number_start. Corresponds to the JSON property `pageNumberStartSuggested` @return [Boolean]

page_size_suggestion_state[RW]

A mask that indicates which of the fields on the base Size have been changed in this suggestion. For any field set to true, the Size has a new suggested value. Corresponds to the JSON property `pageSizeSuggestionState` @return [Google::Apis::DocsV1::SizeSuggestionState]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 1248
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/docs_v1/classes.rb, line 1253
def update!(**args)
  @background_suggestion_state = args[:background_suggestion_state] if args.key?(:background_suggestion_state)
  @default_footer_id_suggested = args[:default_footer_id_suggested] if args.key?(:default_footer_id_suggested)
  @default_header_id_suggested = args[:default_header_id_suggested] if args.key?(:default_header_id_suggested)
  @even_page_footer_id_suggested = args[:even_page_footer_id_suggested] if args.key?(:even_page_footer_id_suggested)
  @even_page_header_id_suggested = args[:even_page_header_id_suggested] if args.key?(:even_page_header_id_suggested)
  @first_page_footer_id_suggested = args[:first_page_footer_id_suggested] if args.key?(:first_page_footer_id_suggested)
  @first_page_header_id_suggested = args[:first_page_header_id_suggested] if args.key?(:first_page_header_id_suggested)
  @margin_bottom_suggested = args[:margin_bottom_suggested] if args.key?(:margin_bottom_suggested)
  @margin_footer_suggested = args[:margin_footer_suggested] if args.key?(:margin_footer_suggested)
  @margin_header_suggested = args[:margin_header_suggested] if args.key?(:margin_header_suggested)
  @margin_left_suggested = args[:margin_left_suggested] if args.key?(:margin_left_suggested)
  @margin_right_suggested = args[:margin_right_suggested] if args.key?(:margin_right_suggested)
  @margin_top_suggested = args[:margin_top_suggested] if args.key?(:margin_top_suggested)
  @page_number_start_suggested = args[:page_number_start_suggested] if args.key?(:page_number_start_suggested)
  @page_size_suggestion_state = args[:page_size_suggestion_state] if args.key?(:page_size_suggestion_state)
  @use_custom_header_footer_margins_suggested = args[:use_custom_header_footer_margins_suggested] if args.key?(:use_custom_header_footer_margins_suggested)
  @use_even_page_header_footer_suggested = args[:use_even_page_header_footer_suggested] if args.key?(:use_even_page_header_footer_suggested)
  @use_first_page_header_footer_suggested = args[:use_first_page_header_footer_suggested] if args.key?(:use_first_page_header_footer_suggested)
end