class Google::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.

Attributes

angle_suggested[RW]

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

angle_suggested?[RW]

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

brightness_suggested[RW]

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

brightness_suggested?[RW]

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

content_uri_suggested[RW]

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

content_uri_suggested?[RW]

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

contrast_suggested[RW]

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

contrast_suggested?[RW]

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

crop_properties_suggestion_state[RW]

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

source_uri_suggested[RW]

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

source_uri_suggested?[RW]

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

transparency_suggested[RW]

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

transparency_suggested?[RW]

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

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 1915
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 1920
def update!(**args)
  @angle_suggested = args[:angle_suggested] if args.key?(:angle_suggested)
  @brightness_suggested = args[:brightness_suggested] if args.key?(:brightness_suggested)
  @content_uri_suggested = args[:content_uri_suggested] if args.key?(:content_uri_suggested)
  @contrast_suggested = args[:contrast_suggested] if args.key?(:contrast_suggested)
  @crop_properties_suggestion_state = args[:crop_properties_suggestion_state] if args.key?(:crop_properties_suggestion_state)
  @source_uri_suggested = args[:source_uri_suggested] if args.key?(:source_uri_suggested)
  @transparency_suggested = args[:transparency_suggested] if args.key?(:transparency_suggested)
end