Class: Google::Apis::DocsV1::SheetsChartReferenceSuggestionState

Inherits:
Object
  • Object
show all
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 mask that indicates which of the fields on the base SheetsChartReference have been changed in this suggestion. For any field set to true, there is a new suggested value.

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) ⇒ SheetsChartReferenceSuggestionState

Returns a new instance of SheetsChartReferenceSuggestionState.



4709
4710
4711
# File 'generated/google/apis/docs_v1/classes.rb', line 4709

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

Instance Attribute Details

#chart_id_suggestedBoolean Also known as: chart_id_suggested?

Indicates if there was a suggested change to chart_id. Corresponds to the JSON property chartIdSuggested

Returns:

  • (Boolean)


4700
4701
4702
# File 'generated/google/apis/docs_v1/classes.rb', line 4700

def chart_id_suggested
  @chart_id_suggested
end

#spreadsheet_id_suggestedBoolean Also known as: spreadsheet_id_suggested?

Indicates if there was a suggested change to spreadsheet_id. Corresponds to the JSON property spreadsheetIdSuggested

Returns:

  • (Boolean)


4706
4707
4708
# File 'generated/google/apis/docs_v1/classes.rb', line 4706

def spreadsheet_id_suggested
  @spreadsheet_id_suggested
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4714
4715
4716
4717
# File 'generated/google/apis/docs_v1/classes.rb', line 4714

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