vendor: update all dependencies

This commit is contained in:
Nick Craig-Wood 2018-06-17 17:59:12 +01:00
parent 3f0789e2db
commit 08021c4636
2474 changed files with 435818 additions and 282709 deletions

View file

@ -286,6 +286,91 @@ func (s *AddConditionalFormatRuleRequest) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// AddDimensionGroupRequest: Creates a group over the specified
// range.
//
// If the requested range is a superset of the range of an existing
// group G,
// then the depth of G is incremented and this new group G' has
// the
// depth of that group. For example, a group [C:D, depth 1] + [B:E]
// results in
// groups [B:E, depth 1] and [C:D, depth 2].
// If the requested range is a subset of the range of an existing group
// G,
// then the depth of the new group G' becomes one greater than the depth
// of G.
// For example, a group [B:E, depth 1] + [C:D] results in groups [B:E,
// depth 1]
// and [C:D, depth 2].
// If the requested range starts before and ends within, or starts
// within and
// ends after, the range of an existing group G, then the range of the
// existing
// group G becomes the union of the ranges, and the new group G'
// has
// depth one greater than the depth of G and range as the intersection
// of the
// ranges. For example, a group [B:D, depth 1] + [C:E] results in groups
// [B:E,
// depth 1] and [C:D, depth 2].
type AddDimensionGroupRequest struct {
// Range: The range over which to create a group.
Range *DimensionRange `json:"range,omitempty"`
// ForceSendFields is a list of field names (e.g. "Range") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Range") to include in API
// requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *AddDimensionGroupRequest) MarshalJSON() ([]byte, error) {
type NoMethod AddDimensionGroupRequest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// AddDimensionGroupResponse: The result of adding a group.
type AddDimensionGroupResponse struct {
// DimensionGroups: All groups of a dimension after adding a group to
// that dimension.
DimensionGroups []*DimensionGroup `json:"dimensionGroups,omitempty"`
// ForceSendFields is a list of field names (e.g. "DimensionGroups") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "DimensionGroups") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
func (s *AddDimensionGroupResponse) MarshalJSON() ([]byte, error) {
type NoMethod AddDimensionGroupResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// AddFilterViewRequest: Adds a filter view.
type AddFilterViewRequest struct {
// Filter: The filter to add. The filterViewId
@ -732,8 +817,8 @@ type BandedRange struct {
// BandedRangeId: The id of the banded range.
BandedRangeId int64 `json:"bandedRangeId,omitempty"`
// ColumnProperties: Properties for column bands. These properties will
// be applied on a column-
// ColumnProperties: Properties for column bands. These properties are
// applied on a column-
// by-column basis throughout all the columns in the range. At least one
// of
// row_properties or column_properties must be specified.
@ -742,8 +827,8 @@ type BandedRange struct {
// Range: The range over which these properties are applied.
Range *GridRange `json:"range,omitempty"`
// RowProperties: Properties for row bands. These properties will be
// applied on a row-by-row
// RowProperties: Properties for row bands. These properties are applied
// on a row-by-row
// basis throughout all the rows in the range. At least one
// of
// row_properties or column_properties must be specified.
@ -943,7 +1028,7 @@ func (s *BasicChartDomain) MarshalJSON() ([]byte, error) {
type BasicChartSeries struct {
// Color: The color for elements (i.e. bars, lines, points) associated
// with this
// series. If empty, a default color will be used.
// series. If empty, a default color is used.
Color *Color `json:"color,omitempty"`
// LineStyle: The line style of this series. Valid only if the
@ -2097,6 +2182,26 @@ type BooleanCondition struct {
// Supported by data validation, conditional formatting and
// filters.
// Requires a single ConditionValue.
// "BOOLEAN" - The cell's value must be TRUE/FALSE or in the list of
// condition values.
// Supported by data validation.
// Renders as a cell checkbox.
// Supports zero, one or two ConditionValues. No
// values indicates the cell must be TRUE or FALSE, where TRUE renders
// as
// checked and FALSE renders as unchecked. One value indicates the
// cell
// will render as checked when it contains that value and unchecked when
// it
// is blank. Two values indicate that the cell will render as checked
// when
// it contains the first value and unchecked when it contains the
// second
// value. For example, ["Yes","No"] indicates that the cell will render
// a
// checked box when it has the value "Yes" and an unchecked box when it
// has
// the value "No".
Type string `json:"type,omitempty"`
// Values: The values of the condition. The number of supported values
@ -2134,7 +2239,7 @@ func (s *BooleanCondition) MarshalJSON() ([]byte, error) {
type BooleanRule struct {
// Condition: The condition of the rule. If the condition evaluates to
// true,
// the format will be applied.
// the format is applied.
Condition *BooleanCondition `json:"condition,omitempty"`
// Format: The format to apply.
@ -2294,7 +2399,7 @@ type BubbleChartSpec struct {
// GroupIds: The data containing the bubble group IDs. All bubbles with
// the same group
// ID will be drawn in the same color. If bubble_sizes is specified
// ID are drawn in the same color. If bubble_sizes is specified
// then
// this field must also be specified but may contain blank values.
// This field is optional.
@ -2526,8 +2631,8 @@ type CellData struct {
EffectiveFormat *CellFormat `json:"effectiveFormat,omitempty"`
// EffectiveValue: The effective value of the cell. For cells with
// formulas, this will be
// the calculated value. For cells with literals, this will be
// formulas, this is
// the calculated value. For cells with literals, this is
// the same as the user_entered_value.
// This field is read-only.
EffectiveValue *ExtendedValue `json:"effectiveValue,omitempty"`
@ -2569,7 +2674,7 @@ type CellData struct {
//
// When writing, the new runs will overwrite any prior runs. When
// writing a
// new user_entered_value, previous runs will be erased.
// new user_entered_value, previous runs are erased.
TextFormatRuns []*TextFormatRun `json:"textFormatRuns,omitempty"`
// UserEnteredFormat: The format the user entered for the cell.
@ -3226,7 +3331,7 @@ type ConditionValue struct {
RelativeDate string `json:"relativeDate,omitempty"`
// UserEnteredValue: A value the condition is based on.
// The value will be parsed as if the user typed into a cell.
// The value is parsed as if the user typed into a cell.
// Formulas are supported (and must begin with an `=` or a '+').
UserEnteredValue string `json:"userEnteredValue,omitempty"`
@ -3263,8 +3368,7 @@ type ConditionalFormatRule struct {
// rule.
GradientRule *GradientRule `json:"gradientRule,omitempty"`
// Ranges: The ranges that will be formatted if the condition is
// true.
// Ranges: The ranges that are formatted if the condition is true.
// All the ranges must be on the same grid.
Ranges []*GridRange `json:"ranges,omitempty"`
@ -3616,6 +3720,95 @@ func (s *DataValidationRule) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// DateTimeRule: 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. For
// example,
// consider a pivot table showing sales transactions by date:
//
// +----------+--------------+
// | Date | SUM of Sales |
// +----------+--------------+
// | 1/1/2017 | $621.14 |
// | 2/3/2017 | $708.84 |
// | 5/8/2017 | $326.84 |
// ...
// +----------+--------------+
// Applying a date-time group rule with a DateTimeRuleType of
// YEAR_MONTH
// results in the following pivot table.
//
// +--------------+--------------+
// | Grouped Date | SUM of Sales |
// +--------------+--------------+
// | 2017-Jan | $53,731.78 |
// | 2017-Feb | $83,475.32 |
// | 2017-Mar | $94,385.05 |
// ...
// +--------------+--------------+
type DateTimeRule struct {
// Type: The type of date-time grouping to apply.
//
// Possible values:
// "DATE_TIME_RULE_TYPE_UNSPECIFIED" - The default type, do not use.
// "SECOND" - Group dates by second, from 0 to 59.
// "MINUTE" - Group dates by minute, from 0 to 59.
// "HOUR" - Group dates by hour using a 24-hour system, from 0 to 23.
// "HOUR_MINUTE" - Group dates by hour and minute using a 24-hour
// system, for example 19:45.
// "HOUR_MINUTE_AMPM" - Group dates by hour and minute using a 12-hour
// system, for example 7:45
// PM. The AM/PM designation is translated based on the
// spreadsheet
// locale.
// "DAY_OF_WEEK" - Group dates by day of week, for example Sunday. The
// days of the week will
// be translated based on the spreadsheet locale.
// "DAY_OF_YEAR" - Group dates by day of year, from 1 to 366. Note
// that dates after Feb. 29
// fall in different buckets in leap years than in non-leap years.
// "DAY_OF_MONTH" - Group dates by day of month, from 1 to 31.
// "DAY_MONTH" - Group dates by day and month, for example 22-Nov. The
// month is
// translated based on the spreadsheet locale.
// "MONTH" - Group dates by month, for example Nov. The month is
// translated based
// on the spreadsheet locale.
// "QUARTER" - Group dates by quarter, for example Q1 (which
// represents Jan-Mar).
// "YEAR" - Group dates by year, for example 2008.
// "YEAR_MONTH" - Group dates by year and month, for example 2008-Nov.
// The month is
// translated based on the spreadsheet locale.
// "YEAR_QUARTER" - Group dates by year and quarter, for example 2008
// Q4.
// "YEAR_MONTH_DAY" - Group dates by year, month, and day, for example
// 2008-11-22.
Type string `json:"type,omitempty"`
// ForceSendFields is a list of field names (e.g. "Type") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Type") to include in API
// requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *DateTimeRule) MarshalJSON() ([]byte, error) {
type NoMethod DateTimeRule
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// DeleteBandingRequest: Removes the banded range with the given ID from
// the spreadsheet.
type DeleteBandingRequest struct {
@ -3769,6 +3962,72 @@ func (s *DeleteDeveloperMetadataResponse) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// DeleteDimensionGroupRequest: Deletes a group over the specified range
// by decrementing the depth of the
// dimensions in the range.
//
// For example, assume the sheet has a depth-1 group over B:E and a
// depth-2
// group over C:D. Deleting a group over D:E leaves the sheet with
// a
// depth-1 group over B:D and a depth-2 group over C:C.
type DeleteDimensionGroupRequest struct {
// Range: The range of the group to be deleted.
Range *DimensionRange `json:"range,omitempty"`
// ForceSendFields is a list of field names (e.g. "Range") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Range") to include in API
// requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *DeleteDimensionGroupRequest) MarshalJSON() ([]byte, error) {
type NoMethod DeleteDimensionGroupRequest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// DeleteDimensionGroupResponse: The result of deleting a group.
type DeleteDimensionGroupResponse struct {
// DimensionGroups: All groups of a dimension after deleting a group
// from that dimension.
DimensionGroups []*DimensionGroup `json:"dimensionGroups,omitempty"`
// ForceSendFields is a list of field names (e.g. "DimensionGroups") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "DimensionGroups") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
func (s *DeleteDimensionGroupResponse) MarshalJSON() ([]byte, error) {
type NoMethod DeleteDimensionGroupResponse
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// DeleteDimensionRequest: Deletes the dimensions from the sheet.
type DeleteDimensionRequest struct {
// Range: The dimensions to delete from the sheet.
@ -3996,7 +4255,7 @@ func (s *DeleteSheetRequest) MarshalJSON() ([]byte, error) {
// with
// the row it was first associated with (what is now row 6). If the
// associated
// object is deleted its metadata will be deleted too.
// object is deleted its metadata is deleted too.
type DeveloperMetadata struct {
// Location: The location where the metadata is associated.
Location *DeveloperMetadataLocation `json:"location,omitempty"`
@ -4264,6 +4523,59 @@ func (s *DeveloperMetadataLookup) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// DimensionGroup: A group over an interval of rows or columns on a
// sheet, which can contain or
// be contained within other groups. A group can be collapsed or
// expanded as a
// unit on the sheet.
type DimensionGroup struct {
// Collapsed: This field is true if this group is collapsed. A collapsed
// group remains
// collapsed if an overlapping group at a shallower depth is
// expanded.
//
// A true value does not imply that all dimensions within the group
// are
// hidden, since a dimension's visibility can change independently from
// this
// group property. However, when this property is updated, all
// dimensions
// within it are set to hidden if this field is true, or set to visible
// if
// this field is false.
Collapsed bool `json:"collapsed,omitempty"`
// Depth: The depth of the group, representing how many groups have a
// range that
// wholly contains the range of this group.
Depth int64 `json:"depth,omitempty"`
// Range: The range over which this group exists.
Range *DimensionRange `json:"range,omitempty"`
// ForceSendFields is a list of field names (e.g. "Collapsed") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Collapsed") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *DimensionGroup) MarshalJSON() ([]byte, error) {
type NoMethod DimensionGroup
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// DimensionProperties: Properties about a dimension.
type DimensionProperties struct {
// DeveloperMetadata: The developer metadata associated with a single
@ -4558,8 +4870,8 @@ func (s *EmbeddedChart) MarshalJSON() ([]byte, error) {
// EmbeddedObjectPosition: The position of an embedded object such as a
// chart.
type EmbeddedObjectPosition struct {
// NewSheet: If true, the embedded object will be put on a new sheet
// whose ID
// NewSheet: If true, the embedded object is put on a new sheet whose
// ID
// is chosen for you. Used only when writing.
NewSheet bool `json:"newSheet,omitempty"`
@ -5065,6 +5377,10 @@ type GridProperties struct {
// ColumnCount: The number of columns in the grid.
ColumnCount int64 `json:"columnCount,omitempty"`
// ColumnGroupControlAfter: True if the column grouping control toggle
// is shown after the group.
ColumnGroupControlAfter bool `json:"columnGroupControlAfter,omitempty"`
// FrozenColumnCount: The number of columns that are frozen in the grid.
FrozenColumnCount int64 `json:"frozenColumnCount,omitempty"`
@ -5077,6 +5393,10 @@ type GridProperties struct {
// RowCount: The number of rows in the grid.
RowCount int64 `json:"rowCount,omitempty"`
// RowGroupControlAfter: True if the row grouping control toggle is
// shown after the group.
RowGroupControlAfter bool `json:"rowGroupControlAfter,omitempty"`
// ForceSendFields is a list of field names (e.g. "ColumnCount") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
@ -5280,14 +5600,13 @@ func (s *HistogramChartSpec) UnmarshalJSON(data []byte) error {
// data column into
// buckets of a constant size. All values from HistogramRule.start
// to
// HistogramRule.end will be placed into groups of
// HistogramRule.end are placed into groups of
// size
// HistogramRule.interval. In addition, all values
// below
// HistogramRule.start will be placed in one group, and all values
// HistogramRule.start are placed in one group, and all values
// above
// HistogramRule.end will be placed in another.
// Only
// HistogramRule.end are placed in another. Only
// HistogramRule.interval is required, though if HistogramRule.start
// and HistogramRule.end are both provided, HistogramRule.start must
// be less than HistogramRule.end. For example, a pivot table
@ -5319,19 +5638,17 @@ func (s *HistogramChartSpec) UnmarshalJSON(data []byte) error {
// | Grand Total | $29.12 |
// +-------------+-------------------+
type HistogramRule struct {
// End: The maximum value at which items will be placed into buckets
// of constant size. Values above end will be lumped into a single
// End: The maximum value at which items are placed into buckets
// of constant size. Values above end are lumped into a single
// bucket.
// This field is optional.
End float64 `json:"end,omitempty"`
// Interval: The size of the buckets that will be created. Must be
// positive.
// Interval: The size of the buckets that are created. Must be positive.
Interval float64 `json:"interval,omitempty"`
// Start: The minimum value at which items will be placed into
// buckets
// of constant size. Values below start will be lumped into a single
// Start: The minimum value at which items are placed into buckets
// of constant size. Values below start are lumped into a single
// bucket.
// This field is optional.
Start float64 `json:"start,omitempty"`
@ -5516,24 +5833,21 @@ type InterpolationPoint struct {
// Possible values:
// "INTERPOLATION_POINT_TYPE_UNSPECIFIED" - The default value, do not
// use.
// "MIN" - The interpolation point will use the minimum value in
// the
// "MIN" - The interpolation point uses the minimum value in the
// cells over the range of the conditional format.
// "MAX" - The interpolation point will use the maximum value in
// the
// "MAX" - The interpolation point uses the maximum value in the
// cells over the range of the conditional format.
// "NUMBER" - The interpolation point will use exactly the value
// "NUMBER" - The interpolation point uses exactly the value
// in
// InterpolationPoint.value.
// "PERCENT" - The interpolation point will be the given percentage
// "PERCENT" - The interpolation point is the given percentage
// over
// all the cells in the range of the conditional format.
// This is equivalent to NUMBER if the value was:
// `=(MAX(FLATTEN(range)) * (value / 100))
// + (MIN(FLATTEN(range)) * (1 - (value / 100)))`
// (where errors in the range are ignored when flattening).
// "PERCENTILE" - The interpolation point will be the given
// percentile
// "PERCENTILE" - The interpolation point is the given percentile
// over all the cells in the range of the conditional format.
// This is equivalent to NUMBER if the value
// was:
@ -5687,7 +6001,8 @@ func (s *LineStyle) MarshalJSON() ([]byte, error) {
// +-------+-------------------+
// could be turned into a pivot table that aggregates population by time
// zone
// by providing a list of groups (e.g. groupName = 'Central',
// by providing a list of groups (for example, groupName =
// 'Central',
// items = ['AL', 'AR', 'IA', ...]) to a manual group rule.
// Note that a similar effect could be achieved by adding a time zone
// column
@ -6348,8 +6663,7 @@ type PivotGroup struct {
// RepeatHeadings: True if the headings in this pivot group should be
// repeated.
// This is only valid for row groupings and will be ignored by
// columns.
// This is only valid for row groupings and is ignored by columns.
//
// By default, we minimize repitition of headings by not showing
// higher
@ -6431,13 +6745,16 @@ func (s *PivotGroup) MarshalJSON() ([]byte, error) {
// a
// PivotGroup that has a rule and a PivotGroup that does not.
type PivotGroupRule struct {
// DateTimeRule: A DateTimeRule.
DateTimeRule *DateTimeRule `json:"dateTimeRule,omitempty"`
// HistogramRule: A HistogramRule.
HistogramRule *HistogramRule `json:"histogramRule,omitempty"`
// ManualRule: A ManualRule.
ManualRule *ManualRule `json:"manualRule,omitempty"`
// ForceSendFields is a list of field names (e.g. "HistogramRule") to
// ForceSendFields is a list of field names (e.g. "DateTimeRule") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
@ -6445,7 +6762,7 @@ type PivotGroupRule struct {
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "HistogramRule") to include
// NullFields is a list of field names (e.g. "DateTimeRule") to include
// in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. However, any field with
// an empty value appearing in NullFields will be sent to the server as
@ -6549,7 +6866,7 @@ type PivotTable struct {
// Criteria: An optional mapping of filters per source column
// offset.
//
// The filters will be applied before aggregating data into the pivot
// The filters are applied before aggregating data into the pivot
// table.
// The map's key is the column offset of the source range that you want
// to
@ -6610,7 +6927,7 @@ type PivotValue struct {
// if
// calculated_display_type is specified as PERCENT_OF_GRAND_TOTAL, all
// the
// pivot values will be displayed as the percentage of the grand total.
// pivot values are displayed as the percentage of the grand total.
// In
// the Sheets UI, this is referred to as "Show As" in the value section
// of a
@ -6872,6 +7189,9 @@ type Request struct {
// AddConditionalFormatRule: Adds a new conditional format rule.
AddConditionalFormatRule *AddConditionalFormatRuleRequest `json:"addConditionalFormatRule,omitempty"`
// AddDimensionGroup: Creates a group over the specified range.
AddDimensionGroup *AddDimensionGroupRequest `json:"addDimensionGroup,omitempty"`
// AddFilterView: Adds a filter view.
AddFilterView *AddFilterViewRequest `json:"addFilterView,omitempty"`
@ -6923,6 +7243,9 @@ type Request struct {
// DeleteDimension: Deletes rows or columns in a sheet.
DeleteDimension *DeleteDimensionRequest `json:"deleteDimension,omitempty"`
// DeleteDimensionGroup: Deletes a group over the specified range.
DeleteDimensionGroup *DeleteDimensionGroupRequest `json:"deleteDimensionGroup,omitempty"`
// DeleteEmbeddedObject: Deletes an embedded object (e.g, chart, image)
// in a sheet.
DeleteEmbeddedObject *DeleteEmbeddedObjectRequest `json:"deleteEmbeddedObject,omitempty"`
@ -7009,6 +7332,9 @@ type Request struct {
// UpdateDeveloperMetadata: Updates an existing developer metadata entry
UpdateDeveloperMetadata *UpdateDeveloperMetadataRequest `json:"updateDeveloperMetadata,omitempty"`
// UpdateDimensionGroup: Updates the state of the specified group.
UpdateDimensionGroup *UpdateDimensionGroupRequest `json:"updateDimensionGroup,omitempty"`
// UpdateDimensionProperties: Updates dimensions' properties.
UpdateDimensionProperties *UpdateDimensionPropertiesRequest `json:"updateDimensionProperties,omitempty"`
@ -7062,6 +7388,9 @@ type Response struct {
// AddChart: A reply from adding a chart.
AddChart *AddChartResponse `json:"addChart,omitempty"`
// AddDimensionGroup: A reply from adding a dimension group.
AddDimensionGroup *AddDimensionGroupResponse `json:"addDimensionGroup,omitempty"`
// AddFilterView: A reply from adding a filter view.
AddFilterView *AddFilterViewResponse `json:"addFilterView,omitempty"`
@ -7086,6 +7415,9 @@ type Response struct {
// entry.
DeleteDeveloperMetadata *DeleteDeveloperMetadataResponse `json:"deleteDeveloperMetadata,omitempty"`
// DeleteDimensionGroup: A reply from deleting a dimension group.
DeleteDimensionGroup *DeleteDimensionGroupResponse `json:"deleteDimensionGroup,omitempty"`
// DuplicateFilterView: A reply from duplicating a filter view.
DuplicateFilterView *DuplicateFilterViewResponse `json:"duplicateFilterView,omitempty"`
@ -7292,8 +7624,7 @@ func (s *SetDataValidationRequest) MarshalJSON() ([]byte, error) {
// Sheet: A sheet in a spreadsheet.
type Sheet struct {
// BandedRanges: The banded (i.e. alternating colors) ranges on this
// sheet.
// BandedRanges: The banded (alternating colors) ranges on this sheet.
BandedRanges []*BandedRange `json:"bandedRanges,omitempty"`
// BasicFilter: The filter on this sheet, if any.
@ -7302,6 +7633,11 @@ type Sheet struct {
// Charts: The specifications of every chart on this sheet.
Charts []*EmbeddedChart `json:"charts,omitempty"`
// ColumnGroups: All column groups on this sheet, ordered by increasing
// range start index,
// then by group depth.
ColumnGroups []*DimensionGroup `json:"columnGroups,omitempty"`
// ConditionalFormats: The conditional format rules in this sheet.
ConditionalFormats []*ConditionalFormatRule `json:"conditionalFormats,omitempty"`
@ -7334,6 +7670,11 @@ type Sheet struct {
// ProtectedRanges: The protected ranges in this sheet.
ProtectedRanges []*ProtectedRange `json:"protectedRanges,omitempty"`
// RowGroups: All row groups on this sheet, ordered by increasing range
// start index, then
// by group depth.
RowGroups []*DimensionGroup `json:"rowGroups,omitempty"`
// ForceSendFields is a list of field names (e.g. "BandedRanges") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
@ -7373,14 +7714,13 @@ type SheetProperties struct {
// Index: The index of the sheet within the spreadsheet.
// When adding or updating sheet properties, if this field
// is excluded then the sheet will be added or moved to the end
// is excluded then the sheet is added or moved to the end
// of the sheet list. When updating sheet indices or inserting
// sheets, movement is considered in "before the move" indexes.
// For example, if there were 3 sheets (S1, S2, S3) in order to
// move S1 ahead of S2 the index would have to be set to 2. A
// sheet
// index update request will be ignored if the requested index
// is
// index update request is ignored if the requested index is
// identical to the sheets current index or if the requested new
// index is equal to the current sheet index + 1.
Index int64 `json:"index,omitempty"`
@ -7952,7 +8292,7 @@ func (s *TreemapChartColorScale) MarshalJSON() ([]byte, error) {
type TreemapChartSpec struct {
// ColorData: The data that determines the background color of each
// treemap data cell.
// This field is optional. If not specified, size_data will be used
// This field is optional. If not specified, size_data is used
// to
// determine background colors. If specified, the data is expected to
// be
@ -8033,7 +8373,7 @@ type TreemapChartSpec struct {
// missing
// data will not be rendered. If color_data is not specified, this
// data
// will be used to determine data cell background colors as well.
// is used to determine data cell background colors as well.
SizeData *ChartData `json:"sizeData,omitempty"`
// TextFormat: The text format for all labels on the chart.
@ -8444,6 +8784,45 @@ func (s *UpdateDeveloperMetadataResponse) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// UpdateDimensionGroupRequest: Updates the state of the specified
// group.
type UpdateDimensionGroupRequest struct {
// DimensionGroup: The group whose state should be updated. The range
// and depth of the group
// should specify a valid group on the sheet, and all other fields
// updated.
DimensionGroup *DimensionGroup `json:"dimensionGroup,omitempty"`
// Fields: The fields that should be updated. At least one field must
// be specified.
// The root `dimensionGroup` is implied and should not be specified.
// A single "*" can be used as short-hand for listing every field.
Fields string `json:"fields,omitempty"`
// ForceSendFields is a list of field names (e.g. "DimensionGroup") to
// unconditionally include in API requests. By default, fields with
// empty values are omitted from API requests. However, any non-pointer,
// non-interface field appearing in ForceSendFields will be sent to the
// server regardless of whether the field is empty or not. This may be
// used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "DimensionGroup") to
// include in API requests with the JSON null value. By default, fields
// with empty values are omitted from API requests. However, any field
// with an empty value appearing in NullFields will be sent to the
// server as null. It is an error if a field in this list has a
// non-empty value. This may be used to include null fields in Patch
// requests.
NullFields []string `json:"-"`
}
func (s *UpdateDimensionGroupRequest) MarshalJSON() ([]byte, error) {
type NoMethod UpdateDimensionGroupRequest
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// UpdateDimensionPropertiesRequest: Updates properties of dimensions
// within the specified range.
type UpdateDimensionPropertiesRequest struct {
@ -11872,8 +12251,9 @@ func (c *SpreadsheetsValuesUpdateCall) IncludeValuesInResponse(includeValuesInRe
// rendered. This is ignored if response_value_render_option
// is
// FORMATTED_VALUE.
// The default dateTime render option is
// [DateTimeRenderOption.SERIAL_NUMBER].
// The default dateTime render option
// is
// DateTimeRenderOption.SERIAL_NUMBER.
//
// Possible values:
// "SERIAL_NUMBER"
@ -12017,7 +12397,7 @@ func (c *SpreadsheetsValuesUpdateCall) Do(opts ...googleapi.CallOption) (*Update
// "type": "string"
// },
// "responseDateTimeRenderOption": {
// "description": "Determines how dates, times, and durations in the response should be\nrendered. This is ignored if response_value_render_option is\nFORMATTED_VALUE.\nThe default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].",
// "description": "Determines how dates, times, and durations in the response should be\nrendered. This is ignored if response_value_render_option is\nFORMATTED_VALUE.\nThe default dateTime render option is\nDateTimeRenderOption.SERIAL_NUMBER.",
// "enum": [
// "SERIAL_NUMBER",
// "FORMATTED_STRING"