Class: Google::Apis::SlidesV1::RefreshSheetsChartRequest
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::RefreshSheetsChartRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/slides_v1/classes.rb,
lib/google/apis/slides_v1/representations.rb,
lib/google/apis/slides_v1/representations.rb
Overview
Refreshes an embedded Google Sheets chart by replacing it with the latest version of the chart from Google Sheets. NOTE: Refreshing charts requires at least one of the spreadsheets.readonly, spreadsheets, drive.readonly, or drive OAuth scopes.
Instance Attribute Summary collapse
-
#object_id_prop ⇒ String
The object ID of the chart to refresh.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RefreshSheetsChartRequest
constructor
A new instance of RefreshSheetsChartRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RefreshSheetsChartRequest
Returns a new instance of RefreshSheetsChartRequest.
2566 2567 2568 |
# File 'lib/google/apis/slides_v1/classes.rb', line 2566 def initialize(**args) update!(**args) end |
Instance Attribute Details
#object_id_prop ⇒ String
The object ID of the chart to refresh.
Corresponds to the JSON property objectId
2564 2565 2566 |
# File 'lib/google/apis/slides_v1/classes.rb', line 2564 def object_id_prop @object_id_prop end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2571 2572 2573 |
# File 'lib/google/apis/slides_v1/classes.rb', line 2571 def update!(**args) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) end |