Class: Google::Apis::DocsV1::CropPropertiesSuggestionState
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DocsV1::CropPropertiesSuggestionState
 
 
- 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 CropProperties have been changed in this suggestion. For any field set to true, there's a new suggested value.
Instance Attribute Summary collapse
- 
  
    
      #angle_suggested  ⇒ Boolean 
    
    
      (also: #angle_suggested?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Indicates if there was a suggested change to angle.
 - 
  
    
      #offset_bottom_suggested  ⇒ Boolean 
    
    
      (also: #offset_bottom_suggested?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Indicates if there was a suggested change to offset_bottom.
 - 
  
    
      #offset_left_suggested  ⇒ Boolean 
    
    
      (also: #offset_left_suggested?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Indicates if there was a suggested change to offset_left.
 - 
  
    
      #offset_right_suggested  ⇒ Boolean 
    
    
      (also: #offset_right_suggested?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Indicates if there was a suggested change to offset_right.
 - 
  
    
      #offset_top_suggested  ⇒ Boolean 
    
    
      (also: #offset_top_suggested?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Indicates if there was a suggested change to offset_top.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CropPropertiesSuggestionState 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of CropPropertiesSuggestionState.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ CropPropertiesSuggestionState
Returns a new instance of CropPropertiesSuggestionState.
      681 682 683  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 681 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#angle_suggested ⇒ Boolean Also known as: angle_suggested?
Indicates if there was a suggested change to angle.
Corresponds to the JSON property angleSuggested
      654 655 656  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 654 def angle_suggested @angle_suggested end  | 
  
#offset_bottom_suggested ⇒ Boolean Also known as: offset_bottom_suggested?
Indicates if there was a suggested change to offset_bottom.
Corresponds to the JSON property offsetBottomSuggested
      660 661 662  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 660 def offset_bottom_suggested @offset_bottom_suggested end  | 
  
#offset_left_suggested ⇒ Boolean Also known as: offset_left_suggested?
Indicates if there was a suggested change to offset_left.
Corresponds to the JSON property offsetLeftSuggested
      666 667 668  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 666 def offset_left_suggested @offset_left_suggested end  | 
  
#offset_right_suggested ⇒ Boolean Also known as: offset_right_suggested?
Indicates if there was a suggested change to offset_right.
Corresponds to the JSON property offsetRightSuggested
      672 673 674  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 672 def offset_right_suggested @offset_right_suggested end  | 
  
#offset_top_suggested ⇒ Boolean Also known as: offset_top_suggested?
Indicates if there was a suggested change to offset_top.
Corresponds to the JSON property offsetTopSuggested
      678 679 680  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 678 def offset_top_suggested @offset_top_suggested end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      686 687 688 689 690 691 692  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 686 def update!(**args) @angle_suggested = args[:angle_suggested] if args.key?(:angle_suggested) @offset_bottom_suggested = args[:offset_bottom_suggested] if args.key?(:offset_bottom_suggested) @offset_left_suggested = args[:offset_left_suggested] if args.key?(:offset_left_suggested) @offset_right_suggested = args[:offset_right_suggested] if args.key?(:offset_right_suggested) @offset_top_suggested = args[:offset_top_suggested] if args.key?(:offset_top_suggested) end  |