Class: Google::Apis::SheetsV4::ChartDateTimeRule
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::ChartDateTimeRule
- 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
Allows you to organize the date-time values in a source data column into buckets based on selected parts of their date or time values.
Instance Attribute Summary collapse
-
#type ⇒ String
The type of date-time grouping to apply.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChartDateTimeRule
constructor
A new instance of ChartDateTimeRule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ChartDateTimeRule
Returns a new instance of ChartDateTimeRule.
2800 2801 2802 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 2800 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
The type of date-time grouping to apply.
Corresponds to the JSON property type
2798 2799 2800 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 2798 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2805 2806 2807 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 2805 def update!(**args) @type = args[:type] if args.key?(:type) end |