Class: Google::Apis::DocsV1::DocumentStyleSuggestionState
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::DocumentStyleSuggestionState
- 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 DocumentStyle have been changed in this suggestion. For any field set to true, there is a new suggested value.
Instance Attribute Summary collapse
-
#background_suggestion_state ⇒ Google::Apis::DocsV1::BackgroundSuggestionState
A mask that indicates which of the fields on the base Background have been changed in this suggestion.
-
#default_footer_id_suggested ⇒ Boolean
(also: #default_footer_id_suggested?)
Indicates if there was a suggested change to default_footer_id.
-
#default_header_id_suggested ⇒ Boolean
(also: #default_header_id_suggested?)
Indicates if there was a suggested change to default_header_id.
-
#even_page_footer_id_suggested ⇒ Boolean
(also: #even_page_footer_id_suggested?)
Indicates if there was a suggested change to even_page_footer_id.
-
#even_page_header_id_suggested ⇒ Boolean
(also: #even_page_header_id_suggested?)
Indicates if there was a suggested change to even_page_header_id.
-
#first_page_footer_id_suggested ⇒ Boolean
(also: #first_page_footer_id_suggested?)
Indicates if there was a suggested change to first_page_footer_id.
-
#first_page_header_id_suggested ⇒ Boolean
(also: #first_page_header_id_suggested?)
Indicates if there was a suggested change to first_page_header_id.
-
#margin_bottom_suggested ⇒ Boolean
(also: #margin_bottom_suggested?)
Indicates if there was a suggested change to margin_bottom.
-
#margin_left_suggested ⇒ Boolean
(also: #margin_left_suggested?)
Indicates if there was a suggested change to margin_left.
-
#margin_right_suggested ⇒ Boolean
(also: #margin_right_suggested?)
Indicates if there was a suggested change to margin_right.
-
#margin_top_suggested ⇒ Boolean
(also: #margin_top_suggested?)
Indicates if there was a suggested change to margin_top.
-
#page_number_start_suggested ⇒ Boolean
(also: #page_number_start_suggested?)
Indicates if there was a suggested change to page_number_start.
-
#page_size_suggestion_state ⇒ Google::Apis::DocsV1::SizeSuggestionState
A mask that indicates which of the fields on the base Size have been changed in this suggestion.
-
#use_even_page_header_footer_suggested ⇒ Boolean
(also: #use_even_page_header_footer_suggested?)
Indicates if there was a suggested change to use_even_page_header_footer.
-
#use_first_page_header_footer_suggested ⇒ Boolean
(also: #use_first_page_header_footer_suggested?)
Indicates if there was a suggested change to use_first_page_header_footer.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DocumentStyleSuggestionState
constructor
A new instance of DocumentStyleSuggestionState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DocumentStyleSuggestionState
Returns a new instance of DocumentStyleSuggestionState.
1284 1285 1286 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1284 def initialize(**args) update!(**args) end |
Instance Attribute Details
#background_suggestion_state ⇒ Google::Apis::DocsV1::BackgroundSuggestionState
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
1196 1197 1198 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1196 def background_suggestion_state @background_suggestion_state end |
#default_footer_id_suggested ⇒ Boolean Also known as:
Indicates if there was a suggested change to default_footer_id.
Corresponds to the JSON property defaultFooterIdSuggested
1201 1202 1203 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1201 def @default_footer_id_suggested end |
#default_header_id_suggested ⇒ Boolean Also known as: default_header_id_suggested?
Indicates if there was a suggested change to default_header_id.
Corresponds to the JSON property defaultHeaderIdSuggested
1207 1208 1209 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1207 def default_header_id_suggested @default_header_id_suggested end |
#even_page_footer_id_suggested ⇒ Boolean Also known as:
Indicates if there was a suggested change to even_page_footer_id.
Corresponds to the JSON property evenPageFooterIdSuggested
1213 1214 1215 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1213 def @even_page_footer_id_suggested end |
#even_page_header_id_suggested ⇒ Boolean Also known as: even_page_header_id_suggested?
Indicates if there was a suggested change to even_page_header_id.
Corresponds to the JSON property evenPageHeaderIdSuggested
1219 1220 1221 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1219 def even_page_header_id_suggested @even_page_header_id_suggested end |
#first_page_footer_id_suggested ⇒ Boolean Also known as:
Indicates if there was a suggested change to first_page_footer_id.
Corresponds to the JSON property firstPageFooterIdSuggested
1225 1226 1227 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1225 def @first_page_footer_id_suggested end |
#first_page_header_id_suggested ⇒ Boolean Also known as: first_page_header_id_suggested?
Indicates if there was a suggested change to first_page_header_id.
Corresponds to the JSON property firstPageHeaderIdSuggested
1231 1232 1233 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1231 def first_page_header_id_suggested @first_page_header_id_suggested end |
#margin_bottom_suggested ⇒ Boolean Also known as: margin_bottom_suggested?
Indicates if there was a suggested change to margin_bottom.
Corresponds to the JSON property marginBottomSuggested
1237 1238 1239 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1237 def margin_bottom_suggested @margin_bottom_suggested end |
#margin_left_suggested ⇒ Boolean Also known as: margin_left_suggested?
Indicates if there was a suggested change to margin_left.
Corresponds to the JSON property marginLeftSuggested
1243 1244 1245 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1243 def margin_left_suggested @margin_left_suggested end |
#margin_right_suggested ⇒ Boolean Also known as: margin_right_suggested?
Indicates if there was a suggested change to margin_right.
Corresponds to the JSON property marginRightSuggested
1249 1250 1251 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1249 def margin_right_suggested @margin_right_suggested end |
#margin_top_suggested ⇒ Boolean Also known as: margin_top_suggested?
Indicates if there was a suggested change to margin_top.
Corresponds to the JSON property marginTopSuggested
1255 1256 1257 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1255 def margin_top_suggested @margin_top_suggested end |
#page_number_start_suggested ⇒ Boolean Also known as: page_number_start_suggested?
Indicates if there was a suggested change to page_number_start.
Corresponds to the JSON property pageNumberStartSuggested
1261 1262 1263 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1261 def page_number_start_suggested @page_number_start_suggested end |
#page_size_suggestion_state ⇒ Google::Apis::DocsV1::SizeSuggestionState
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
1270 1271 1272 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1270 def page_size_suggestion_state @page_size_suggestion_state end |
#use_even_page_header_footer_suggested ⇒ Boolean Also known as:
Indicates if there was a suggested change to use_even_page_header_footer.
Corresponds to the JSON property useEvenPageHeaderFooterSuggested
1275 1276 1277 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1275 def @use_even_page_header_footer_suggested end |
#use_first_page_header_footer_suggested ⇒ Boolean Also known as:
Indicates if there was a suggested change to use_first_page_header_footer.
Corresponds to the JSON property useFirstPageHeaderFooterSuggested
1281 1282 1283 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1281 def @use_first_page_header_footer_suggested end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 |
# File 'generated/google/apis/docs_v1/classes.rb', line 1289 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_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_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 |