class Google::Apis::SheetsV4::UpdateChartSpecRequest

Updates a chart's specifications. (This does not move or resize a chart. To move or resize a chart, use UpdateEmbeddedObjectPositionRequest.)

Attributes

chart_id[RW]

The ID of the chart to update. Corresponds to the JSON property `chartId` @return [Fixnum]

spec[RW]

The specifications of a chart. Corresponds to the JSON property `spec` @return [Google::Apis::SheetsV4::ChartSpec]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 10373
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sheets_v4/classes.rb, line 10378
def update!(**args)
  @chart_id = args[:chart_id] if args.key?(:chart_id)
  @spec = args[:spec] if args.key?(:spec)
end