Class: Google::Apis::SheetsV4::AddChartRequest
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::AddChartRequest
- 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
Adds a chart to a sheet in the spreadsheet.
Instance Attribute Summary collapse
-
#chart ⇒ Google::Apis::SheetsV4::EmbeddedChart
A chart embedded in a sheet.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddChartRequest
constructor
A new instance of AddChartRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AddChartRequest
Returns a new instance of AddChartRequest.
5075 5076 5077 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5075 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
5073 5074 5075 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5073 def chart @chart end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5080 5081 5082 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5080 def update!(**args) @chart = args[:chart] if args.key?(:chart) end |