Class: Google::Apis::DocsV1::SuggestedDocumentStyle
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DocsV1::SuggestedDocumentStyle
 
 
- 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 suggested change to the DocumentStyle.
Instance Attribute Summary collapse
- 
  
    
      #document_style  ⇒ Google::Apis::DocsV1::DocumentStyle 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The style of the document.
 - 
  
    
      #document_style_suggestion_state  ⇒ Google::Apis::DocsV1::DocumentStyleSuggestionState 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A mask that indicates which of the fields on the base DocumentStyle have been changed in this suggestion.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SuggestedDocumentStyle 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of SuggestedDocumentStyle.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ SuggestedDocumentStyle
Returns a new instance of SuggestedDocumentStyle.
      5247 5248 5249  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 5247 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#document_style ⇒ Google::Apis::DocsV1::DocumentStyle
The style of the document.
Corresponds to the JSON property documentStyle
      5238 5239 5240  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 5238 def document_style @document_style end  | 
  
#document_style_suggestion_state ⇒ 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's a new suggested
value.
Corresponds to the JSON property documentStyleSuggestionState
      5245 5246 5247  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 5245 def document_style_suggestion_state @document_style_suggestion_state end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      5252 5253 5254 5255  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 5252 def update!(**args) @document_style = args[:document_style] if args.key?(:document_style) @document_style_suggestion_state = args[:document_style_suggestion_state] if args.key?(:document_style_suggestion_state) end  |