Class: Google::Apis::SheetsV4::BasicChartDomain

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/sheets_v4/classes.rb,
generated/google/apis/sheets_v4/representations.rb,
generated/google/apis/sheets_v4/representations.rb

Overview

The domain of a chart. For example, if charting stock prices over time, this would be the date.

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

Returns a new instance of BasicChartDomain



5416
5417
5418
# File 'generated/google/apis/sheets_v4/classes.rb', line 5416

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

Instance Attribute Details

#domainGoogle::Apis::SheetsV4::ChartData

The data included in a domain or series. Corresponds to the JSON property domain



5414
5415
5416
# File 'generated/google/apis/sheets_v4/classes.rb', line 5414

def domain
  @domain
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5421
5422
5423
# File 'generated/google/apis/sheets_v4/classes.rb', line 5421

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