Class: Google::Apis::DocsV1::SheetsChartReferenceSuggestionState
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::SheetsChartReferenceSuggestionState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/docs_v1/classes.rb,
lib/google/apis/docs_v1/representations.rb,
lib/google/apis/docs_v1/representations.rb
Overview
A mask that indicates which of the fields on the base SheetsChartReference have been changed in this suggestion. For any field set to true, there's a new suggested value.
Instance Attribute Summary collapse
-
#chart_id_suggested ⇒ Boolean
(also: #chart_id_suggested?)
Indicates if there was a suggested change to chart_id.
-
#spreadsheet_id_suggested ⇒ Boolean
(also: #spreadsheet_id_suggested?)
Indicates if there was a suggested change to spreadsheet_id.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SheetsChartReferenceSuggestionState
constructor
A new instance of SheetsChartReferenceSuggestionState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SheetsChartReferenceSuggestionState
Returns a new instance of SheetsChartReferenceSuggestionState.
5451 5452 5453 |
# File 'lib/google/apis/docs_v1/classes.rb', line 5451 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chart_id_suggested ⇒ Boolean Also known as: chart_id_suggested?
Indicates if there was a suggested change to chart_id.
Corresponds to the JSON property chartIdSuggested
5442 5443 5444 |
# File 'lib/google/apis/docs_v1/classes.rb', line 5442 def chart_id_suggested @chart_id_suggested end |
#spreadsheet_id_suggested ⇒ Boolean Also known as: spreadsheet_id_suggested?
Indicates if there was a suggested change to spreadsheet_id.
Corresponds to the JSON property spreadsheetIdSuggested
5448 5449 5450 |
# File 'lib/google/apis/docs_v1/classes.rb', line 5448 def spreadsheet_id_suggested @spreadsheet_id_suggested end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5456 5457 5458 5459 |
# File 'lib/google/apis/docs_v1/classes.rb', line 5456 def update!(**args) @chart_id_suggested = args[:chart_id_suggested] if args.key?(:chart_id_suggested) @spreadsheet_id_suggested = args[:spreadsheet_id_suggested] if args.key?(:spreadsheet_id_suggested) end |