Class: Google::Apis::DocsV1::List
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DocsV1::List
 
 
- 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 List represents the list attributes for a group of paragraphs that all belong to the same list. A paragraph that's part of a list has a reference to the list's ID in its bullet.
Instance Attribute Summary collapse
- 
  
    
      #list_properties  ⇒ Google::Apis::DocsV1::ListProperties 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The properties of a list that describe the look and feel of bullets belonging to paragraphs associated with a list.
 - 
  
    
      #suggested_deletion_ids  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The suggested deletion IDs.
 - 
  
    
      #suggested_insertion_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The suggested insertion ID.
 - 
  
    
      #suggested_list_properties_changes  ⇒ Hash<String,Google::Apis::DocsV1::SuggestedListProperties> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The suggested changes to the list properties, keyed by suggestion ID.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ List 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of List.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ List
Returns a new instance of List.
      2727 2728 2729  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 2727 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#list_properties ⇒ Google::Apis::DocsV1::ListProperties
The properties of a list that describe the look and feel of bullets belonging
to paragraphs associated with a list.
Corresponds to the JSON property listProperties
      2709 2710 2711  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 2709 def list_properties @list_properties end  | 
  
#suggested_deletion_ids ⇒ Array<String>
The suggested deletion IDs. If empty, then there are no suggested deletions of
this list.
Corresponds to the JSON property suggestedDeletionIds
      2715 2716 2717  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 2715 def suggested_deletion_ids @suggested_deletion_ids end  | 
  
#suggested_insertion_id ⇒ String
The suggested insertion ID. If empty, then this is not a suggested insertion.
Corresponds to the JSON property suggestedInsertionId
      2720 2721 2722  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 2720 def suggested_insertion_id @suggested_insertion_id end  | 
  
#suggested_list_properties_changes ⇒ Hash<String,Google::Apis::DocsV1::SuggestedListProperties>
The suggested changes to the list properties, keyed by suggestion ID.
Corresponds to the JSON property suggestedListPropertiesChanges
      2725 2726 2727  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 2725 def suggested_list_properties_changes @suggested_list_properties_changes end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2732 2733 2734 2735 2736 2737  | 
    
      # File 'lib/google/apis/docs_v1/classes.rb', line 2732 def update!(**args) @list_properties = args[:list_properties] if args.key?(:list_properties) @suggested_deletion_ids = args[:suggested_deletion_ids] if args.key?(:suggested_deletion_ids) @suggested_insertion_id = args[:suggested_insertion_id] if args.key?(:suggested_insertion_id) @suggested_list_properties_changes = args[:suggested_list_properties_changes] if args.key?(:suggested_list_properties_changes) end  |