Class: Google::Apis::DocsV1::EmbeddedObjectSuggestionState

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 EmbeddedObject 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) ⇒ EmbeddedObjectSuggestionState

Returns a new instance of EmbeddedObjectSuggestionState



1345
1346
1347
# File 'generated/google/apis/docs_v1/classes.rb', line 1345

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

Instance Attribute Details

#description_suggestedBoolean Also known as: description_suggested?

Indicates if there was a suggested change to description. Corresponds to the JSON property descriptionSuggested

Returns:

  • (Boolean)


1274
1275
1276
# File 'generated/google/apis/docs_v1/classes.rb', line 1274

def description_suggested
  @description_suggested
end

#embedded_drawing_properties_suggestion_stateGoogle::Apis::DocsV1::EmbeddedDrawingPropertiesSuggestionState

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



1283
1284
1285
# File 'generated/google/apis/docs_v1/classes.rb', line 1283

def embedded_drawing_properties_suggestion_state
  @embedded_drawing_properties_suggestion_state
end

#embedded_object_border_suggestion_stateGoogle::Apis::DocsV1::EmbeddedObjectBorderSuggestionState

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



1290
1291
1292
# File 'generated/google/apis/docs_v1/classes.rb', line 1290

def embedded_object_border_suggestion_state
  @embedded_object_border_suggestion_state
end

#image_properties_suggestion_stateGoogle::Apis::DocsV1::ImagePropertiesSuggestionState

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



1297
1298
1299
# File 'generated/google/apis/docs_v1/classes.rb', line 1297

def image_properties_suggestion_state
  @image_properties_suggestion_state
end

#linked_content_reference_suggestion_stateGoogle::Apis::DocsV1::LinkedContentReferenceSuggestionState

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



1305
1306
1307
# File 'generated/google/apis/docs_v1/classes.rb', line 1305

def linked_content_reference_suggestion_state
  @linked_content_reference_suggestion_state
end

#margin_bottom_suggestedBoolean Also known as: margin_bottom_suggested?

Indicates if there was a suggested change to margin_bottom. Corresponds to the JSON property marginBottomSuggested

Returns:

  • (Boolean)


1310
1311
1312
# File 'generated/google/apis/docs_v1/classes.rb', line 1310

def margin_bottom_suggested
  @margin_bottom_suggested
end

#margin_left_suggestedBoolean Also known as: margin_left_suggested?

Indicates if there was a suggested change to margin_left. Corresponds to the JSON property marginLeftSuggested

Returns:

  • (Boolean)


1316
1317
1318
# File 'generated/google/apis/docs_v1/classes.rb', line 1316

def margin_left_suggested
  @margin_left_suggested
end

#margin_right_suggestedBoolean Also known as: margin_right_suggested?

Indicates if there was a suggested change to margin_right. Corresponds to the JSON property marginRightSuggested

Returns:

  • (Boolean)


1322
1323
1324
# File 'generated/google/apis/docs_v1/classes.rb', line 1322

def margin_right_suggested
  @margin_right_suggested
end

#margin_top_suggestedBoolean Also known as: margin_top_suggested?

Indicates if there was a suggested change to margin_top. Corresponds to the JSON property marginTopSuggested

Returns:

  • (Boolean)


1328
1329
1330
# File 'generated/google/apis/docs_v1/classes.rb', line 1328

def margin_top_suggested
  @margin_top_suggested
end

#size_suggestion_stateGoogle::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 sizeSuggestionState



1337
1338
1339
# File 'generated/google/apis/docs_v1/classes.rb', line 1337

def size_suggestion_state
  @size_suggestion_state
end

#title_suggestedBoolean Also known as: title_suggested?

Indicates if there was a suggested change to title. Corresponds to the JSON property titleSuggested

Returns:

  • (Boolean)


1342
1343
1344
# File 'generated/google/apis/docs_v1/classes.rb', line 1342

def title_suggested
  @title_suggested
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
# File 'generated/google/apis/docs_v1/classes.rb', line 1350

def update!(**args)
  @description_suggested = args[:description_suggested] if args.key?(:description_suggested)
  @embedded_drawing_properties_suggestion_state = args[:embedded_drawing_properties_suggestion_state] if args.key?(:embedded_drawing_properties_suggestion_state)
  @embedded_object_border_suggestion_state = args[:embedded_object_border_suggestion_state] if args.key?(:embedded_object_border_suggestion_state)
  @image_properties_suggestion_state = args[:image_properties_suggestion_state] if args.key?(:image_properties_suggestion_state)
  @linked_content_reference_suggestion_state = args[:linked_content_reference_suggestion_state] if args.key?(:linked_content_reference_suggestion_state)
  @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)
  @size_suggestion_state = args[:size_suggestion_state] if args.key?(:size_suggestion_state)
  @title_suggested = args[:title_suggested] if args.key?(:title_suggested)
end