Class: Google::Apis::SheetsV4::ChartCustomNumberFormatOptions
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::ChartCustomNumberFormatOptions
- 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
Custom number formatting options for chart attributes.
Instance Attribute Summary collapse
-
#prefix ⇒ String
Custom prefix to be prepended to the chart attribute.
-
#suffix ⇒ String
Custom suffix to be appended to the chart attribute.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChartCustomNumberFormatOptions
constructor
A new instance of ChartCustomNumberFormatOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ChartCustomNumberFormatOptions
Returns a new instance of ChartCustomNumberFormatOptions.
3056 3057 3058 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3056 def initialize(**args) update!(**args) end |
Instance Attribute Details
#prefix ⇒ String
Custom prefix to be prepended to the chart attribute.
This field is optional.
Corresponds to the JSON property prefix
3048 3049 3050 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3048 def prefix @prefix end |
#suffix ⇒ String
Custom suffix to be appended to the chart attribute.
This field is optional.
Corresponds to the JSON property suffix
3054 3055 3056 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3054 def suffix @suffix end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3061 3062 3063 3064 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3061 def update!(**args) @prefix = args[:prefix] if args.key?(:prefix) @suffix = args[:suffix] if args.key?(:suffix) end |