class Google::Apis::SheetsV4::EmbeddedChart

A chart embedded in a sheet.

Attributes

border[RW]

A border along an embedded object. Corresponds to the JSON property `border` @return [Google::Apis::SheetsV4::EmbeddedObjectBorder]

chart_id[RW]

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

position[RW]

The position of an embedded object such as a chart. Corresponds to the JSON property `position` @return [Google::Apis::SheetsV4::EmbeddedObjectPosition]

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 5227
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 5232
def update!(**args)
  @border = args[:border] if args.key?(:border)
  @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