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
-
#border ⇒ Google::Apis::SheetsV4::EmbeddedObjectBorder
A border along an embedded object.
-
#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.
Constructor Details
#initialize(**args) ⇒ EmbeddedChart
Returns a new instance of EmbeddedChart.
5225 5226 5227 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5225 def initialize(**args) update!(**args) end |
Instance Attribute Details
#border ⇒ Google::Apis::SheetsV4::EmbeddedObjectBorder
A border along an embedded object.
Corresponds to the JSON property border
5208 5209 5210 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5208 def border @border end |
#chart_id ⇒ Fixnum
The ID of the chart.
Corresponds to the JSON property chartId
5213 5214 5215 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5213 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
5218 5219 5220 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5218 def position @position end |
#spec ⇒ Google::Apis::SheetsV4::ChartSpec
The specifications of a chart.
Corresponds to the JSON property spec
5223 5224 5225 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5223 def spec @spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5230 5231 5232 5233 5234 5235 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 5230 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 |