Class: Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sheets_v4/classes.rb,
 generated/google/apis/sheets_v4/representations.rb,
 generated/google/apis/sheets_v4/representations.rb
Overview
Deletes a conditional format rule at the given index. All subsequent rules' indexes are decremented.
Instance Attribute Summary collapse
- 
  
    
      #index  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The zero-based index of the rule to be deleted. 
- 
  
    
      #sheet_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The sheet the rule is being deleted from. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ DeleteConditionalFormatRuleRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of DeleteConditionalFormatRuleRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeleteConditionalFormatRuleRequest
Returns a new instance of DeleteConditionalFormatRuleRequest
| 3663 3664 3665 | # File 'generated/google/apis/sheets_v4/classes.rb', line 3663 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#index ⇒ Fixnum
The zero-based index of the rule to be deleted.
Corresponds to the JSON property index
| 3656 3657 3658 | # File 'generated/google/apis/sheets_v4/classes.rb', line 3656 def index @index end | 
#sheet_id ⇒ Fixnum
The sheet the rule is being deleted from.
Corresponds to the JSON property sheetId
| 3661 3662 3663 | # File 'generated/google/apis/sheets_v4/classes.rb', line 3661 def sheet_id @sheet_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3668 3669 3670 3671 | # File 'generated/google/apis/sheets_v4/classes.rb', line 3668 def update!(**args) @index = args[:index] if args.key?(:index) @sheet_id = args[:sheet_id] if args.key?(:sheet_id) end |