Class: Google::Apis::DocsV1::SheetsChartReference
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::SheetsChartReference
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/docs_v1/classes.rb,
generated/google/apis/docs_v1/representations.rb,
generated/google/apis/docs_v1/representations.rb
Overview
A reference to a linked chart embedded from Google Sheets.
Instance Attribute Summary collapse
-
#chart_id ⇒ Fixnum
The ID of the specific chart in the Google Sheets spreadsheet that is embedded.
-
#spreadsheet_id ⇒ String
The ID of the Google Sheets spreadsheet that contains the source chart.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SheetsChartReference
constructor
A new instance of SheetsChartReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SheetsChartReference
Returns a new instance of SheetsChartReference
4284 4285 4286 |
# File 'generated/google/apis/docs_v1/classes.rb', line 4284 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chart_id ⇒ Fixnum
The ID of the specific chart in the Google Sheets spreadsheet that is
embedded.
Corresponds to the JSON property chartId
4277 4278 4279 |
# File 'generated/google/apis/docs_v1/classes.rb', line 4277 def chart_id @chart_id end |
#spreadsheet_id ⇒ String
The ID of the Google Sheets spreadsheet that contains the source chart.
Corresponds to the JSON property spreadsheetId
4282 4283 4284 |
# File 'generated/google/apis/docs_v1/classes.rb', line 4282 def spreadsheet_id @spreadsheet_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4289 4290 4291 4292 |
# File 'generated/google/apis/docs_v1/classes.rb', line 4289 def update!(**args) @chart_id = args[:chart_id] if args.key?(:chart_id) @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) end |