Class: Google::Apis::SheetsV4::AddChartResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SheetsV4::AddChartResponse
 
- 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
The result of adding a chart to a spreadsheet.
Instance Attribute Summary collapse
- 
  
    
      #chart  ⇒ Google::Apis::SheetsV4::EmbeddedChart 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A chart embedded in a sheet. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AddChartResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of AddChartResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AddChartResponse
Returns a new instance of AddChartResponse
| 91 92 93 | # File 'generated/google/apis/sheets_v4/classes.rb', line 91 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#chart ⇒ Google::Apis::SheetsV4::EmbeddedChart
A chart embedded in a sheet.
Corresponds to the JSON property chart
| 89 90 91 | # File 'generated/google/apis/sheets_v4/classes.rb', line 89 def chart @chart end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 96 97 98 | # File 'generated/google/apis/sheets_v4/classes.rb', line 96 def update!(**args) @chart = args[:chart] if args.key?(:chart) end |