Class: Google::Apis::SlidesV1::RefreshSheetsChartRequest

Inherits:
Object
  • Object
show all
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

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ RefreshSheetsChartRequest

Returns a new instance of RefreshSheetsChartRequest



2560
2561
2562
# File 'generated/google/apis/slides_v1/classes.rb', line 2560

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#object_id_propString

The object ID of the chart to refresh. Corresponds to the JSON property objectId

Returns:

  • (String)


2558
2559
2560
# File 'generated/google/apis/slides_v1/classes.rb', line 2558

def object_id_prop
  @object_id_prop
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2565
2566
2567
# File 'generated/google/apis/slides_v1/classes.rb', line 2565

def update!(**args)
  @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
end