Class: Google::Apis::SheetsV4::AddChartResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AddChartResponse

Returns a new instance of AddChartResponse



5104
5105
5106
# File 'generated/google/apis/sheets_v4/classes.rb', line 5104

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#chartGoogle::Apis::SheetsV4::EmbeddedChart

A chart embedded in a sheet. Corresponds to the JSON property chart



5102
5103
5104
# File 'generated/google/apis/sheets_v4/classes.rb', line 5102

def chart
  @chart
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5109
5110
5111
# File 'generated/google/apis/sheets_v4/classes.rb', line 5109

def update!(**args)
  @chart = args[:chart] if args.key?(:chart)
end