Class: Google::Apis::SheetsV4::EmbeddedChart
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::SheetsV4::EmbeddedChart
 
 
- 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
A chart embedded in a sheet.
Instance Attribute Summary collapse
- 
  
    
      #chart_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ID of the chart.
 - 
  
    
      #position  ⇒ Google::Apis::SheetsV4::EmbeddedObjectPosition 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The position of an embedded object such as a chart.
 - 
  
    
      #spec  ⇒ Google::Apis::SheetsV4::ChartSpec 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The specifications of a chart.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ EmbeddedChart 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of EmbeddedChart.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ EmbeddedChart
Returns a new instance of EmbeddedChart
      4403 4404 4405  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 4403 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#chart_id ⇒ Fixnum
The ID of the chart.
Corresponds to the JSON property chartId
      4391 4392 4393  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 4391 def chart_id @chart_id end  | 
  
#position ⇒ Google::Apis::SheetsV4::EmbeddedObjectPosition
The position of an embedded object such as a chart.
Corresponds to the JSON property position
      4396 4397 4398  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 4396 def position @position end  | 
  
#spec ⇒ Google::Apis::SheetsV4::ChartSpec
The specifications of a chart.
Corresponds to the JSON property spec
      4401 4402 4403  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 4401 def spec @spec end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      4408 4409 4410 4411 4412  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 4408 def update!(**args) @chart_id = args[:chart_id] if args.key?(:chart_id) @position = args[:position] if args.key?(:position) @spec = args[:spec] if args.key?(:spec) end  |