generated/google/apis/sheets_v4/classes.rb in google-api-client-0.36.4 vs generated/google/apis/sheets_v4/classes.rb in google-api-client-0.37.0
- old
+ new
@@ -749,10 +749,15 @@
# // ...
# Corresponds to the JSON property `firstBandColor`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :first_band_color
+ # A color value.
+ # Corresponds to the JSON property `firstBandColorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :first_band_color_style
+
# Represents a color in the RGBA color space. This representation is designed
# for simplicity of conversion to/from color representations in various
# languages over compactness; for example, the fields of this representation
# can be trivially provided to the constructor of "java.awt.Color" in Java; it
# can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
@@ -856,10 +861,15 @@
# // ...
# Corresponds to the JSON property `footerColor`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :footer_color
+ # A color value.
+ # Corresponds to the JSON property `footerColorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :footer_color_style
+
# Represents a color in the RGBA color space. This representation is designed
# for simplicity of conversion to/from color representations in various
# languages over compactness; for example, the fields of this representation
# can be trivially provided to the constructor of "java.awt.Color" in Java; it
# can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
@@ -963,10 +973,15 @@
# // ...
# Corresponds to the JSON property `headerColor`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :header_color
+ # A color value.
+ # Corresponds to the JSON property `headerColorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :header_color_style
+
# Represents a color in the RGBA color space. This representation is designed
# for simplicity of conversion to/from color representations in various
# languages over compactness; for example, the fields of this representation
# can be trivially provided to the constructor of "java.awt.Color" in Java; it
# can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
@@ -1070,20 +1085,29 @@
# // ...
# Corresponds to the JSON property `secondBandColor`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :second_band_color
+ # A color value.
+ # Corresponds to the JSON property `secondBandColorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :second_band_color_style
+
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@first_band_color = args[:first_band_color] if args.key?(:first_band_color)
+ @first_band_color_style = args[:first_band_color_style] if args.key?(:first_band_color_style)
@footer_color = args[:footer_color] if args.key?(:footer_color)
+ @footer_color_style = args[:footer_color_style] if args.key?(:footer_color_style)
@header_color = args[:header_color] if args.key?(:header_color)
+ @header_color_style = args[:header_color_style] if args.key?(:header_color_style)
@second_band_color = args[:second_band_color] if args.key?(:second_band_color)
+ @second_band_color_style = args[:second_band_color_style] if args.key?(:second_band_color_style)
end
end
# Formatting options for baseline value.
class BaselineValueFormat
@@ -1205,10 +1229,15 @@
# // ...
# Corresponds to the JSON property `negativeColor`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :negative_color
+ # A color value.
+ # Corresponds to the JSON property `negativeColorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :negative_color_style
+
# Position settings for text.
# Corresponds to the JSON property `position`
# @return [Google::Apis::SheetsV4::TextPosition]
attr_accessor :position
@@ -1317,10 +1346,15 @@
# // ...
# Corresponds to the JSON property `positiveColor`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :positive_color
+ # A color value.
+ # Corresponds to the JSON property `positiveColorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :positive_color_style
+
# The format of a run of text in a cell.
# Absent values indicate that the field isn't specified.
# Corresponds to the JSON property `textFormat`
# @return [Google::Apis::SheetsV4::TextFormat]
attr_accessor :text_format
@@ -1332,12 +1366,14 @@
# Update properties of this object
def update!(**args)
@comparison_type = args[:comparison_type] if args.key?(:comparison_type)
@description = args[:description] if args.key?(:description)
@negative_color = args[:negative_color] if args.key?(:negative_color)
+ @negative_color_style = args[:negative_color_style] if args.key?(:negative_color_style)
@position = args[:position] if args.key?(:position)
@positive_color = args[:positive_color] if args.key?(:positive_color)
+ @positive_color_style = args[:positive_color_style] if args.key?(:positive_color_style)
@text_format = args[:text_format] if args.key?(:text_format)
end
end
# An axis of the chart.
@@ -1526,10 +1562,15 @@
# // ...
# Corresponds to the JSON property `color`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :color
+ # A color value.
+ # Corresponds to the JSON property `colorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :color_style
+
# Properties that describe the style of a line.
# Corresponds to the JSON property `lineStyle`
# @return [Google::Apis::SheetsV4::LineStyle]
attr_accessor :line_style
@@ -1564,10 +1605,11 @@
end
# Update properties of this object
def update!(**args)
@color = args[:color] if args.key?(:color)
+ @color_style = args[:color_style] if args.key?(:color_style)
@line_style = args[:line_style] if args.key?(:line_style)
@series = args[:series] if args.key?(:series)
@target_axis = args[:target_axis] if args.key?(:target_axis)
@type = args[:type] if args.key?(:type)
end
@@ -1746,14 +1788,13 @@
# The response when clearing a range of values selected with
# DataFilters in a spreadsheet.
class BatchClearValuesByDataFilterResponse
include Google::Apis::Core::Hashable
- # The ranges that were cleared, in A1 notation.
- # (If the requests were for an unbounded range or a ranger larger
- # than the bounds of the sheet, this will be the actual ranges
- # that were cleared, bounded to the sheet's limits.)
+ # The ranges that were cleared, in A1 notation. If the requests are for an
+ # unbounded range or a ranger larger than the bounds of the sheet, this is
+ # the actual ranges that were cleared, bounded to the sheet's limits.
# Corresponds to the JSON property `clearedRanges`
# @return [Array<String>]
attr_accessor :cleared_ranges
# The spreadsheet the updates were applied to.
@@ -1793,14 +1834,13 @@
# The response when clearing a range of values in a spreadsheet.
class BatchClearValuesResponse
include Google::Apis::Core::Hashable
- # The ranges that were cleared, in A1 notation.
- # (If the requests were for an unbounded range or a ranger larger
- # than the bounds of the sheet, this will be the actual ranges
- # that were cleared, bounded to the sheet's limits.)
+ # The ranges that were cleared, in A1 notation. If the requests are for an
+ # unbounded range or a ranger larger than the bounds of the sheet, this is
+ # the actual ranges that were cleared, bounded to the sheet's limits.
# Corresponds to the JSON property `clearedRanges`
# @return [Array<String>]
attr_accessor :cleared_ranges
# The spreadsheet the updates were applied to.
@@ -1822,13 +1862,12 @@
# The request for retrieving a range of values in a spreadsheet selected by a
# set of DataFilters.
class BatchGetValuesByDataFilterRequest
include Google::Apis::Core::Hashable
- # The data filters used to match the ranges of values to retrieve. Ranges
- # that match any of the specified data filters will be included in the
- # response.
+ # The data filters used to match the ranges of values to retrieve. Ranges
+ # that match any of the specified data filters are included in the response.
# Corresponds to the JSON property `dataFilters`
# @return [Array<Google::Apis::SheetsV4::DataFilter>]
attr_accessor :data_filters
# How dates, times, and durations should be represented in the output.
@@ -1839,14 +1878,13 @@
# @return [String]
attr_accessor :date_time_render_option
# The major dimension that results should use.
# For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,
- # then a request that selects that range and sets `majorDimension=ROWS` will
- # return `[[1,2],[3,4]]`,
- # whereas a request that sets `majorDimension=COLUMNS` will return
- # `[[1,3],[2,4]]`.
+ # then a request that selects that range and sets `majorDimension=ROWS`
+ # returns `[[1,2],[3,4]]`, whereas a request that sets
+ # `majorDimension=COLUMNS` returns `[[1,3],[2,4]]`.
# Corresponds to the JSON property `majorDimension`
# @return [String]
attr_accessor :major_dimension
# How values should be represented in the output.
@@ -2000,23 +2038,23 @@
# The request for updating more than one range of values in a spreadsheet.
class BatchUpdateValuesByDataFilterRequest
include Google::Apis::Core::Hashable
# The new values to apply to the spreadsheet. If more than one range is
- # matched by the specified DataFilter the specified values will be
- # applied to all of those ranges.
+ # matched by the specified DataFilter the specified values are applied to
+ # all of those ranges.
# Corresponds to the JSON property `data`
# @return [Array<Google::Apis::SheetsV4::DataFilterValueRange>]
attr_accessor :data
# Determines if the update response should include the values
# of the cells that were updated. By default, responses
# do not include the updated values. The `updatedData` field within
- # each of the BatchUpdateValuesResponse.responses will contain
- # the updated values. If the range to write was larger than than the range
- # actually written, the response will include all values in the requested
- # range (excluding trailing empty rows and columns).
+ # each of the BatchUpdateValuesResponse.responses contains the updated
+ # values. If the range to write was larger than the range actually written,
+ # the response includes all values in the requested range (excluding trailing
+ # empty rows and columns).
# Corresponds to the JSON property `includeValuesInResponse`
# @return [Boolean]
attr_accessor :include_values_in_response
alias_method :include_values_in_response?, :include_values_in_response
@@ -2115,14 +2153,14 @@
attr_accessor :data
# Determines if the update response should include the values
# of the cells that were updated. By default, responses
# do not include the updated values. The `updatedData` field within
- # each of the BatchUpdateValuesResponse.responses will contain
- # the updated values. If the range to write was larger than than the range
- # actually written, the response will include all values in the requested
- # range (excluding trailing empty rows and columns).
+ # each of the BatchUpdateValuesResponse.responses contains the updated
+ # values. If the range to write was larger than the range actually written,
+ # the response includes all values in the requested range (excluding trailing
+ # empty rows and columns).
# Corresponds to the JSON property `includeValuesInResponse`
# @return [Boolean]
attr_accessor :include_values_in_response
alias_method :include_values_in_response?, :include_values_in_response
@@ -2378,10 +2416,15 @@
# // ...
# Corresponds to the JSON property `color`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :color
+ # A color value.
+ # Corresponds to the JSON property `colorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :color_style
+
# The style of the border.
# Corresponds to the JSON property `style`
# @return [String]
attr_accessor :style
@@ -2396,10 +2439,11 @@
end
# Update properties of this object
def update!(**args)
@color = args[:color] if args.key?(:color)
+ @color_style = args[:color_style] if args.key?(:color_style)
@style = args[:style] if args.key?(:style)
@width = args[:width] if args.key?(:width)
end
end
@@ -2549,10 +2593,15 @@
# // ...
# Corresponds to the JSON property `bubbleBorderColor`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :bubble_border_color
+ # A color value.
+ # Corresponds to the JSON property `bubbleBorderColorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :bubble_border_color_style
+
# The data included in a domain or series.
# Corresponds to the JSON property `bubbleLabels`
# @return [Google::Apis::SheetsV4::ChartData]
attr_accessor :bubble_labels
@@ -2610,10 +2659,11 @@
end
# Update properties of this object
def update!(**args)
@bubble_border_color = args[:bubble_border_color] if args.key?(:bubble_border_color)
+ @bubble_border_color_style = args[:bubble_border_color_style] if args.key?(:bubble_border_color_style)
@bubble_labels = args[:bubble_labels] if args.key?(:bubble_labels)
@bubble_max_radius_size = args[:bubble_max_radius_size] if args.key?(:bubble_max_radius_size)
@bubble_min_radius_size = args[:bubble_min_radius_size] if args.key?(:bubble_min_radius_size)
@bubble_opacity = args[:bubble_opacity] if args.key?(:bubble_opacity)
@bubble_sizes = args[:bubble_sizes] if args.key?(:bubble_sizes)
@@ -2929,10 +2979,15 @@
# // ...
# Corresponds to the JSON property `backgroundColor`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :background_color
+ # A color value.
+ # Corresponds to the JSON property `backgroundColorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :background_color_style
+
# The borders of the cell.
# Corresponds to the JSON property `borders`
# @return [Google::Apis::SheetsV4::Borders]
attr_accessor :borders
@@ -2988,10 +3043,11 @@
end
# Update properties of this object
def update!(**args)
@background_color = args[:background_color] if args.key?(:background_color)
+ @background_color_style = args[:background_color_style] if args.key?(:background_color_style)
@borders = args[:borders] if args.key?(:borders)
@horizontal_alignment = args[:horizontal_alignment] if args.key?(:horizontal_alignment)
@hyperlink_display_type = args[:hyperlink_display_type] if args.key?(:hyperlink_display_type)
@number_format = args[:number_format] if args.key?(:number_format)
@padding = args[:padding] if args.key?(:padding)
@@ -3231,10 +3287,15 @@
# // ...
# Corresponds to the JSON property `backgroundColor`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :background_color
+ # A color value.
+ # Corresponds to the JSON property `backgroundColorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :background_color_style
+
# The specification for a basic chart. See BasicChartType for the list
# of charts this supports.
# Corresponds to the JSON property `basicChart`
# @return [Google::Apis::SheetsV4::BasicChartSpec]
attr_accessor :basic_chart
@@ -3357,10 +3418,11 @@
# Update properties of this object
def update!(**args)
@alt_text = args[:alt_text] if args.key?(:alt_text)
@background_color = args[:background_color] if args.key?(:background_color)
+ @background_color_style = args[:background_color_style] if args.key?(:background_color_style)
@basic_chart = args[:basic_chart] if args.key?(:basic_chart)
@bubble_chart = args[:bubble_chart] if args.key?(:bubble_chart)
@candlestick_chart = args[:candlestick_chart] if args.key?(:candlestick_chart)
@font_name = args[:font_name] if args.key?(:font_name)
@hidden_dimension_strategy = args[:hidden_dimension_strategy] if args.key?(:hidden_dimension_strategy)
@@ -4063,13 +4125,13 @@
# Corresponds to the JSON property `majorDimension`
# @return [String]
attr_accessor :major_dimension
# The data to be written. If the provided values exceed any of the ranges
- # matched by the data filter then the request will fail. If the provided
- # values are less than the matched ranges only the specified values will be
- # written, existing values in the matched ranges will remain unaffected.
+ # matched by the data filter then the request fails. If the provided values
+ # are less than the matched ranges only the specified values are written,
+ # existing values in the matched ranges remain unaffected.
# Corresponds to the JSON property `values`
# @return [Array<Array<Object>>]
attr_accessor :values
def initialize(**args)
@@ -5255,10 +5317,15 @@
# // ...
# Corresponds to the JSON property `visibleBackgroundColor`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :visible_background_color
+ # A color value.
+ # Corresponds to the JSON property `visibleBackgroundColorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :visible_background_color_style
+
# Represents a color in the RGBA color space. This representation is designed
# for simplicity of conversion to/from color representations in various
# languages over compactness; for example, the fields of this representation
# can be trivially provided to the constructor of "java.awt.Color" in Java; it
# can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
@@ -5362,20 +5429,27 @@
# // ...
# Corresponds to the JSON property `visibleForegroundColor`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :visible_foreground_color
+ # A color value.
+ # Corresponds to the JSON property `visibleForegroundColorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :visible_foreground_color_style
+
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@condition = args[:condition] if args.key?(:condition)
@hidden_values = args[:hidden_values] if args.key?(:hidden_values)
@visible_background_color = args[:visible_background_color] if args.key?(:visible_background_color)
+ @visible_background_color_style = args[:visible_background_color_style] if args.key?(:visible_background_color_style)
@visible_foreground_color = args[:visible_foreground_color] if args.key?(:visible_foreground_color)
+ @visible_foreground_color_style = args[:visible_foreground_color_style] if args.key?(:visible_foreground_color_style)
end
end
# A filter view.
class FilterView
@@ -6104,10 +6178,15 @@
# // ...
# Corresponds to the JSON property `barColor`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :bar_color
+ # A color value.
+ # Corresponds to the JSON property `barColorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :bar_color_style
+
# The data included in a domain or series.
# Corresponds to the JSON property `data`
# @return [Google::Apis::SheetsV4::ChartData]
attr_accessor :data
@@ -6116,10 +6195,11 @@
end
# Update properties of this object
def update!(**args)
@bar_color = args[:bar_color] if args.key?(:bar_color)
+ @bar_color_style = args[:bar_color_style] if args.key?(:bar_color_style)
@data = args[:data] if args.key?(:data)
end
end
# Inserts rows or columns in a sheet at a particular index.
@@ -6321,10 +6401,15 @@
# // ...
# Corresponds to the JSON property `color`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :color
+ # A color value.
+ # Corresponds to the JSON property `colorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :color_style
+
# How the value should be interpreted.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@@ -6340,10 +6425,11 @@
end
# Update properties of this object
def update!(**args)
@color = args[:color] if args.key?(:color)
+ @color_style = args[:color_style] if args.key?(:color_style)
@type = args[:type] if args.key?(:type)
@value = args[:value] if args.key?(:value)
end
end
@@ -6846,10 +6932,15 @@
# // ...
# Corresponds to the JSON property `nodeColor`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :node_color
+ # A color value.
+ # Corresponds to the JSON property `nodeColorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :node_color_style
+
# The size of the org chart nodes.
# Corresponds to the JSON property `nodeSize`
# @return [String]
attr_accessor :node_size
@@ -6963,10 +7054,15 @@
# // ...
# Corresponds to the JSON property `selectedNodeColor`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :selected_node_color
+ # A color value.
+ # Corresponds to the JSON property `selectedNodeColorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :selected_node_color_style
+
# The data included in a domain or series.
# Corresponds to the JSON property `tooltips`
# @return [Google::Apis::SheetsV4::ChartData]
attr_accessor :tooltips
@@ -6976,13 +7072,15 @@
# Update properties of this object
def update!(**args)
@labels = args[:labels] if args.key?(:labels)
@node_color = args[:node_color] if args.key?(:node_color)
+ @node_color_style = args[:node_color_style] if args.key?(:node_color_style)
@node_size = args[:node_size] if args.key?(:node_size)
@parent_labels = args[:parent_labels] if args.key?(:parent_labels)
@selected_node_color = args[:selected_node_color] if args.key?(:selected_node_color)
+ @selected_node_color_style = args[:selected_node_color_style] if args.key?(:selected_node_color_style)
@tooltips = args[:tooltips] if args.key?(:tooltips)
end
end
# The location an object is overlaid on top of a grid.
@@ -8452,11 +8550,11 @@
class SearchDeveloperMetadataRequest
include Google::Apis::Core::Hashable
# The data filters describing the criteria used to determine which
# DeveloperMetadata entries to return. DeveloperMetadata matching any of the
- # specified filters will be included in the response.
+ # specified filters are included in the response.
# Corresponds to the JSON property `dataFilters`
# @return [Array<Google::Apis::SheetsV4::DataFilter>]
attr_accessor :data_filters
def initialize(**args)
@@ -8806,10 +8904,15 @@
# // ...
# Corresponds to the JSON property `tabColor`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :tab_color
+ # A color value.
+ # Corresponds to the JSON property `tabColorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :tab_color_style
+
# The name of the sheet.
# Corresponds to the JSON property `title`
# @return [String]
attr_accessor :title
@@ -8824,10 +8927,11 @@
@index = args[:index] if args.key?(:index)
@right_to_left = args[:right_to_left] if args.key?(:right_to_left)
@sheet_id = args[:sheet_id] if args.key?(:sheet_id)
@sheet_type = args[:sheet_type] if args.key?(:sheet_type)
@tab_color = args[:tab_color] if args.key?(:tab_color)
+ @tab_color_style = args[:tab_color_style] if args.key?(:tab_color_style)
@title = args[:title] if args.key?(:title)
end
end
# A slicer in a sheet.
@@ -8977,10 +9081,15 @@
# // ...
# Corresponds to the JSON property `backgroundColor`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :background_color
+ # A color value.
+ # Corresponds to the JSON property `backgroundColorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :background_color_style
+
# The column index in the data table on which the filter is applied to.
# Corresponds to the JSON property `columnIndex`
# @return [Fixnum]
attr_accessor :column_index
@@ -9038,10 +9147,11 @@
# Update properties of this object
def update!(**args)
@apply_to_pivot_tables = args[:apply_to_pivot_tables] if args.key?(:apply_to_pivot_tables)
@background_color = args[:background_color] if args.key?(:background_color)
+ @background_color_style = args[:background_color_style] if args.key?(:background_color_style)
@column_index = args[:column_index] if args.key?(:column_index)
@data_range = args[:data_range] if args.key?(:data_range)
@filter_criteria = args[:filter_criteria] if args.key?(:filter_criteria)
@horizontal_alignment = args[:horizontal_alignment] if args.key?(:horizontal_alignment)
@text_format = args[:text_format] if args.key?(:text_format)
@@ -9205,10 +9315,15 @@
# // ...
# Corresponds to the JSON property `backgroundColor`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :background_color
+ # A color value.
+ # Corresponds to the JSON property `backgroundColorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :background_color_style
+
# The dimension the sort should be applied to.
# Corresponds to the JSON property `dimensionIndex`
# @return [Fixnum]
attr_accessor :dimension_index
@@ -9317,10 +9432,15 @@
# // ...
# Corresponds to the JSON property `foregroundColor`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :foreground_color
+ # A color value.
+ # Corresponds to the JSON property `foregroundColorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :foreground_color_style
+
# The order data should be sorted.
# Corresponds to the JSON property `sortOrder`
# @return [String]
attr_accessor :sort_order
@@ -9329,12 +9449,14 @@
end
# Update properties of this object
def update!(**args)
@background_color = args[:background_color] if args.key?(:background_color)
+ @background_color_style = args[:background_color_style] if args.key?(:background_color_style)
@dimension_index = args[:dimension_index] if args.key?(:dimension_index)
@foreground_color = args[:foreground_color] if args.key?(:foreground_color)
+ @foreground_color_style = args[:foreground_color_style] if args.key?(:foreground_color_style)
@sort_order = args[:sort_order] if args.key?(:sort_order)
end
end
# A combination of a source range and how to extend that source.
@@ -9512,12 +9634,12 @@
# / Name of the primary font family.
# Corresponds to the JSON property `primaryFontFamily`
# @return [String]
attr_accessor :primary_font_family
- # The spreadsheet theme color pairs. For update users need to give all pairs
- # of theme colors.
+ # The spreadsheet theme color pairs. To update you must provide all theme
+ # color pairs.
# Corresponds to the JSON property `themeColors`
# @return [Array<Google::Apis::SheetsV4::ThemeColorPair>]
attr_accessor :theme_colors
def initialize(**args)
@@ -9657,10 +9779,15 @@
# // ...
# Corresponds to the JSON property `foregroundColor`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :foreground_color
+ # A color value.
+ # Corresponds to the JSON property `foregroundColorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :foreground_color_style
+
# True if the text is italicized.
# Corresponds to the JSON property `italic`
# @return [Boolean]
attr_accessor :italic
alias_method :italic?, :italic
@@ -9685,10 +9812,11 @@
def update!(**args)
@bold = args[:bold] if args.key?(:bold)
@font_family = args[:font_family] if args.key?(:font_family)
@font_size = args[:font_size] if args.key?(:font_size)
@foreground_color = args[:foreground_color] if args.key?(:foreground_color)
+ @foreground_color_style = args[:foreground_color_style] if args.key?(:foreground_color_style)
@italic = args[:italic] if args.key?(:italic)
@strikethrough = args[:strikethrough] if args.key?(:strikethrough)
@underline = args[:underline] if args.key?(:underline)
end
end
@@ -9970,10 +10098,15 @@
# // ...
# Corresponds to the JSON property `maxValueColor`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :max_value_color
+ # A color value.
+ # Corresponds to the JSON property `maxValueColorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :max_value_color_style
+
# Represents a color in the RGBA color space. This representation is designed
# for simplicity of conversion to/from color representations in various
# languages over compactness; for example, the fields of this representation
# can be trivially provided to the constructor of "java.awt.Color" in Java; it
# can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
@@ -10077,10 +10210,15 @@
# // ...
# Corresponds to the JSON property `midValueColor`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :mid_value_color
+ # A color value.
+ # Corresponds to the JSON property `midValueColorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :mid_value_color_style
+
# Represents a color in the RGBA color space. This representation is designed
# for simplicity of conversion to/from color representations in various
# languages over compactness; for example, the fields of this representation
# can be trivially provided to the constructor of "java.awt.Color" in Java; it
# can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
@@ -10184,10 +10322,15 @@
# // ...
# Corresponds to the JSON property `minValueColor`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :min_value_color
+ # A color value.
+ # Corresponds to the JSON property `minValueColorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :min_value_color_style
+
# Represents a color in the RGBA color space. This representation is designed
# for simplicity of conversion to/from color representations in various
# languages over compactness; for example, the fields of this representation
# can be trivially provided to the constructor of "java.awt.Color" in Java; it
# can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
@@ -10291,20 +10434,29 @@
# // ...
# Corresponds to the JSON property `noDataColor`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :no_data_color
+ # A color value.
+ # Corresponds to the JSON property `noDataColorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :no_data_color_style
+
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@max_value_color = args[:max_value_color] if args.key?(:max_value_color)
+ @max_value_color_style = args[:max_value_color_style] if args.key?(:max_value_color_style)
@mid_value_color = args[:mid_value_color] if args.key?(:mid_value_color)
+ @mid_value_color_style = args[:mid_value_color_style] if args.key?(:mid_value_color_style)
@min_value_color = args[:min_value_color] if args.key?(:min_value_color)
+ @min_value_color_style = args[:min_value_color_style] if args.key?(:min_value_color_style)
@no_data_color = args[:no_data_color] if args.key?(:no_data_color)
+ @no_data_color_style = args[:no_data_color_style] if args.key?(:no_data_color_style)
end
end
# A <a href="/chart/interactive/docs/gallery/treemap">Treemap chart</a>.
class TreemapChartSpec
@@ -10425,10 +10577,15 @@
# // ...
# Corresponds to the JSON property `headerColor`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :header_color
+ # A color value.
+ # Corresponds to the JSON property `headerColorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :header_color_style
+
# True to hide tooltips.
# Corresponds to the JSON property `hideTooltips`
# @return [Boolean]
attr_accessor :hide_tooltips
alias_method :hide_tooltips?, :hide_tooltips
@@ -10491,10 +10648,11 @@
# Update properties of this object
def update!(**args)
@color_data = args[:color_data] if args.key?(:color_data)
@color_scale = args[:color_scale] if args.key?(:color_scale)
@header_color = args[:header_color] if args.key?(:header_color)
+ @header_color_style = args[:header_color_style] if args.key?(:header_color_style)
@hide_tooltips = args[:hide_tooltips] if args.key?(:hide_tooltips)
@hinted_levels = args[:hinted_levels] if args.key?(:hinted_levels)
@labels = args[:labels] if args.key?(:labels)
@levels = args[:levels] if args.key?(:levels)
@max_value = args[:max_value] if args.key?(:max_value)
@@ -11506,10 +11664,15 @@
# // ...
# Corresponds to the JSON property `color`
# @return [Google::Apis::SheetsV4::Color]
attr_accessor :color
+ # A color value.
+ # Corresponds to the JSON property `colorStyle`
+ # @return [Google::Apis::SheetsV4::ColorStyle]
+ attr_accessor :color_style
+
# The label of the column's legend.
# Corresponds to the JSON property `label`
# @return [String]
attr_accessor :label
@@ -11518,9 +11681,10 @@
end
# Update properties of this object
def update!(**args)
@color = args[:color] if args.key?(:color)
+ @color_style = args[:color_style] if args.key?(:color_style)
@label = args[:label] if args.key?(:label)
end
end
# A custom subtotal column for a waterfall chart series.