Class: Google::Apis::SlidesV1::SheetsChart
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::SheetsChart
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/slides_v1/classes.rb,
generated/google/apis/slides_v1/representations.rb,
generated/google/apis/slides_v1/representations.rb
Overview
A PageElement kind representing 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.
-
#content_url ⇒ String
The URL of an image of the embedded chart, with a default lifetime of 30 minutes.
-
#sheets_chart_properties ⇒ Google::Apis::SlidesV1::SheetsChartProperties
The properties of the SheetsChart.
-
#spreadsheet_id ⇒ String
The ID of the Google Sheets spreadsheet that contains the source chart.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SheetsChart
constructor
A new instance of SheetsChart.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SheetsChart
Returns a new instance of SheetsChart
3377 3378 3379 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3377 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
3357 3358 3359 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3357 def chart_id @chart_id end |
#content_url ⇒ String
The URL of an image of the embedded chart, with a default lifetime of 30
minutes. This URL is tagged with the account of the requester. Anyone with
the URL effectively accesses the image as the original requester. Access to
the image may be lost if the presentation's sharing settings change.
Corresponds to the JSON property contentUrl
3365 3366 3367 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3365 def content_url @content_url end |
#sheets_chart_properties ⇒ Google::Apis::SlidesV1::SheetsChartProperties
The properties of the SheetsChart.
Corresponds to the JSON property sheetsChartProperties
3370 3371 3372 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3370 def sheets_chart_properties @sheets_chart_properties end |
#spreadsheet_id ⇒ String
The ID of the Google Sheets spreadsheet that contains the source chart.
Corresponds to the JSON property spreadsheetId
3375 3376 3377 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3375 def spreadsheet_id @spreadsheet_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3382 3383 3384 3385 3386 3387 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3382 def update!(**args) @chart_id = args[:chart_id] if args.key?(:chart_id) @content_url = args[:content_url] if args.key?(:content_url) @sheets_chart_properties = args[:sheets_chart_properties] if args.key?(:sheets_chart_properties) @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) end |