mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
295
vendor/google.golang.org/api/sheets/v4/sheets-api.json
generated
vendored
295
vendor/google.golang.org/api/sheets/v4/sheets-api.json
generated
vendored
@@ -809,7 +809,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20190813",
|
||||
"revision": "20191105",
|
||||
"rootUrl": "https://sheets.googleapis.com/",
|
||||
"schemas": {
|
||||
"AddBandingRequest": {
|
||||
@@ -985,6 +985,28 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"AddSlicerRequest": {
|
||||
"description": "Adds a slicer to a sheet in the spreadsheet.",
|
||||
"id": "AddSlicerRequest",
|
||||
"properties": {
|
||||
"slicer": {
|
||||
"$ref": "Slicer",
|
||||
"description": "The slicer that should be added to the spreadsheet, including\nthe position where it should be placed. The slicerId field is optional; if one is not set, an id\nwill be randomly generated. (It is an error to specify the ID\nof a slicer that already exists.)"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"AddSlicerResponse": {
|
||||
"description": "The result of adding a slicer to a spreadsheet.",
|
||||
"id": "AddSlicerResponse",
|
||||
"properties": {
|
||||
"slicer": {
|
||||
"$ref": "Slicer",
|
||||
"description": "The newly added slicer."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"AppendCellsRequest": {
|
||||
"description": "Adds new cells after the last row with data in a sheet,\ninserting new rows into the sheet if necessary.",
|
||||
"id": "AppendCellsRequest",
|
||||
@@ -1136,6 +1158,47 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"BaselineValueFormat": {
|
||||
"description": "Formatting options for baseline value.",
|
||||
"id": "BaselineValueFormat",
|
||||
"properties": {
|
||||
"comparisonType": {
|
||||
"description": "The comparison type of key value with baseline value.",
|
||||
"enum": [
|
||||
"COMPARISON_TYPE_UNDEFINED",
|
||||
"ABSOLUTE_DIFFERENCE",
|
||||
"PERCENTAGE_DIFFERENCE"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Default value, do not use.",
|
||||
"Use absolute difference between key and baseline value.",
|
||||
"Use percentage difference between key and baseline value."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"description": "Description which is appended after the baseline value.\nThis field is optional.",
|
||||
"type": "string"
|
||||
},
|
||||
"negativeColor": {
|
||||
"$ref": "Color",
|
||||
"description": "Color to be used, in case baseline value represents a negative change for\nkey value. This field is optional."
|
||||
},
|
||||
"position": {
|
||||
"$ref": "TextPosition",
|
||||
"description": "Specifies the horizontal text positioning of baseline value.\nThis field is optional. If not specified, default positioning is used."
|
||||
},
|
||||
"positiveColor": {
|
||||
"$ref": "Color",
|
||||
"description": "Color to be used, in case baseline value represents a positive change for\nkey value. This field is optional."
|
||||
},
|
||||
"textFormat": {
|
||||
"$ref": "TextFormat",
|
||||
"description": "Text formatting options for baseline value."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"BasicChartAxis": {
|
||||
"description": "An axis of the chart.\nA chart may not have more than one axis per\naxis position.",
|
||||
"id": "BasicChartAxis",
|
||||
@@ -2281,6 +2344,21 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ChartCustomNumberFormatOptions": {
|
||||
"description": "Custom number formatting options for chart attributes.",
|
||||
"id": "ChartCustomNumberFormatOptions",
|
||||
"properties": {
|
||||
"prefix": {
|
||||
"description": "Custom prefix to be prepended to the chart attribute.\nThis field is optional.",
|
||||
"type": "string"
|
||||
},
|
||||
"suffix": {
|
||||
"description": "Custom suffix to be appended to the chart attribute.\nThis field is optional.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ChartData": {
|
||||
"description": "The data included in a domain or series.",
|
||||
"id": "ChartData",
|
||||
@@ -2368,6 +2446,10 @@
|
||||
"$ref": "PieChartSpec",
|
||||
"description": "A pie chart specification."
|
||||
},
|
||||
"scorecardChart": {
|
||||
"$ref": "ScorecardChartSpec",
|
||||
"description": "A scorecard chart specification."
|
||||
},
|
||||
"subtitle": {
|
||||
"description": "The subtitle of the chart.",
|
||||
"type": "string"
|
||||
@@ -3411,6 +3493,14 @@
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"visibleBackgroundColor": {
|
||||
"$ref": "Color",
|
||||
"description": "The background fill color to filter by; only cells with this fill color are\nshown. Mutually exclusive with all other filter criteria. Requests to set\nthis field will fail with a 400 error if any other filter criteria field is\nset."
|
||||
},
|
||||
"visibleForegroundColor": {
|
||||
"$ref": "Color",
|
||||
"description": "The text color to filter by; only cells with this text color are shown.\nMutually exclusive with all other filter criteria. Requests to set this\nfield will fail with a 400 error if any other filter criteria field is set."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -3876,6 +3966,21 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"KeyValueFormat": {
|
||||
"description": "Formatting options for key value.",
|
||||
"id": "KeyValueFormat",
|
||||
"properties": {
|
||||
"position": {
|
||||
"$ref": "TextPosition",
|
||||
"description": "Specifies the horizontal text positioning of key value.\nThis field is optional. If not specified, default positioning is used."
|
||||
},
|
||||
"textFormat": {
|
||||
"$ref": "TextFormat",
|
||||
"description": "Text formatting options for key value."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"LineStyle": {
|
||||
"description": "Properties that describe the style of a line.",
|
||||
"id": "LineStyle",
|
||||
@@ -4626,6 +4731,10 @@
|
||||
"$ref": "AddSheetRequest",
|
||||
"description": "Adds a sheet."
|
||||
},
|
||||
"addSlicer": {
|
||||
"$ref": "AddSlicerRequest",
|
||||
"description": "Adds a slicer."
|
||||
},
|
||||
"appendCells": {
|
||||
"$ref": "AppendCellsRequest",
|
||||
"description": "Appends cells after the last row with data in a sheet."
|
||||
@@ -4822,6 +4931,10 @@
|
||||
"$ref": "UpdateSheetPropertiesRequest",
|
||||
"description": "Updates a sheet's properties."
|
||||
},
|
||||
"updateSlicerSpec": {
|
||||
"$ref": "UpdateSlicerSpecRequest",
|
||||
"description": "Updates a slicer's specifications."
|
||||
},
|
||||
"updateSpreadsheetProperties": {
|
||||
"$ref": "UpdateSpreadsheetPropertiesRequest",
|
||||
"description": "Updates the spreadsheet's properties."
|
||||
@@ -4861,6 +4974,10 @@
|
||||
"$ref": "AddSheetResponse",
|
||||
"description": "A reply from adding a sheet."
|
||||
},
|
||||
"addSlicer": {
|
||||
"$ref": "AddSlicerResponse",
|
||||
"description": "A reply from adding a slicer."
|
||||
},
|
||||
"createDeveloperMetadata": {
|
||||
"$ref": "CreateDeveloperMetadataResponse",
|
||||
"description": "A reply from creating a developer metadata entry."
|
||||
@@ -4926,6 +5043,74 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ScorecardChartSpec": {
|
||||
"description": "A scorecard chart. Scorecard charts are used to highlight key performance\nindicators, known as KPIs, on the spreadsheet. A scorecard chart can\nrepresent things like total sales, average cost, or a top selling item. You\ncan specify a single data value, or aggregate over a range of data.\nPercentage or absolute difference from a baseline value can be highlighted,\nlike changes over time.",
|
||||
"id": "ScorecardChartSpec",
|
||||
"properties": {
|
||||
"aggregateType": {
|
||||
"description": "The aggregation type for key and baseline chart data in scorecard chart.\nThis field is optional.",
|
||||
"enum": [
|
||||
"CHART_AGGREGATE_TYPE_UNSPECIFIED",
|
||||
"AVERAGE",
|
||||
"COUNT",
|
||||
"MAX",
|
||||
"MEDIAN",
|
||||
"MIN",
|
||||
"SUM"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Default value, do not use.",
|
||||
"Average aggregate function.",
|
||||
"Count aggregate function.",
|
||||
"Maximum aggregate function.",
|
||||
"Median aggregate function.",
|
||||
"Minimum aggregate function.",
|
||||
"Sum aggregate function."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"baselineValueData": {
|
||||
"$ref": "ChartData",
|
||||
"description": "The data for scorecard baseline value.\nThis field is optional."
|
||||
},
|
||||
"baselineValueFormat": {
|
||||
"$ref": "BaselineValueFormat",
|
||||
"description": "Formatting options for baseline value.\nThis field is needed only if baseline_value_data is specified."
|
||||
},
|
||||
"customFormatOptions": {
|
||||
"$ref": "ChartCustomNumberFormatOptions",
|
||||
"description": "Custom formatting options for numeric key/baseline values in scorecard\nchart. This field is used only when number_format_source is set to\nCUSTOM. This field is optional."
|
||||
},
|
||||
"keyValueData": {
|
||||
"$ref": "ChartData",
|
||||
"description": "The data for scorecard key value."
|
||||
},
|
||||
"keyValueFormat": {
|
||||
"$ref": "KeyValueFormat",
|
||||
"description": "Formatting options for key value."
|
||||
},
|
||||
"numberFormatSource": {
|
||||
"description": "The number format source used in the scorecard chart.\nThis field is optional.",
|
||||
"enum": [
|
||||
"CHART_NUMBER_FORMAT_SOURCE_UNDEFINED",
|
||||
"FROM_DATA",
|
||||
"CUSTOM"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Default value, do not use.",
|
||||
"Inherit number formatting from data.",
|
||||
"Apply custom formatting as specified by ChartCustomNumberFormatOptions."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"scaleFactor": {
|
||||
"description": "Value to scale scorecard key and baseline value. For example, a factor of\n10 can be used to divide all values in the chart by 10.\nThis field is optional.",
|
||||
"format": "double",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"SearchDeveloperMetadataRequest": {
|
||||
"description": "A request to retrieve all developer metadata matching the set of specified\ncriteria.",
|
||||
"id": "SearchDeveloperMetadataRequest",
|
||||
@@ -5061,6 +5246,13 @@
|
||||
"$ref": "DimensionGroup"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"slicers": {
|
||||
"description": "The slicers on this sheet.",
|
||||
"items": {
|
||||
"$ref": "Slicer"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -5116,6 +5308,78 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Slicer": {
|
||||
"description": "A slicer in a sheet.",
|
||||
"id": "Slicer",
|
||||
"properties": {
|
||||
"position": {
|
||||
"$ref": "EmbeddedObjectPosition",
|
||||
"description": "The position of the slicer. Note that slicer can be positioned only on\nexisting sheet. Also, width and height of slicer can be automatically\nadjusted to keep it within permitted limits."
|
||||
},
|
||||
"slicerId": {
|
||||
"description": "The ID of the slicer.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"spec": {
|
||||
"$ref": "SlicerSpec",
|
||||
"description": "The specification of the slicer."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"SlicerSpec": {
|
||||
"description": "The specifications of a slicer.",
|
||||
"id": "SlicerSpec",
|
||||
"properties": {
|
||||
"applyToPivotTables": {
|
||||
"description": "True if the filter should apply to pivot tables.\nIf not set, default to `True`.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"backgroundColor": {
|
||||
"$ref": "Color",
|
||||
"description": "The background color of the slicer."
|
||||
},
|
||||
"columnIndex": {
|
||||
"description": "The column index in the data table on which the filter is applied to.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"dataRange": {
|
||||
"$ref": "GridRange",
|
||||
"description": "The data range of the slicer."
|
||||
},
|
||||
"filterCriteria": {
|
||||
"$ref": "FilterCriteria",
|
||||
"description": "The filtering criteria of the slicer."
|
||||
},
|
||||
"horizontalAlignment": {
|
||||
"description": "The horizontal alignment of title in the slicer.\nIf unspecified, defaults to `LEFT`",
|
||||
"enum": [
|
||||
"HORIZONTAL_ALIGN_UNSPECIFIED",
|
||||
"LEFT",
|
||||
"CENTER",
|
||||
"RIGHT"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"The horizontal alignment is not specified. Do not use this.",
|
||||
"The text is explicitly aligned to the left of the cell.",
|
||||
"The text is explicitly aligned to the center of the cell.",
|
||||
"The text is explicitly aligned to the right of the cell."
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"textFormat": {
|
||||
"$ref": "TextFormat",
|
||||
"description": "The text format of title in the slicer."
|
||||
},
|
||||
"title": {
|
||||
"description": "The title of the slicer.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"SortRangeRequest": {
|
||||
"description": "Sorts data in rows based on a sort order per column.",
|
||||
"id": "SortRangeRequest",
|
||||
@@ -5138,11 +5402,19 @@
|
||||
"description": "A sort order associated with a specific column or row.",
|
||||
"id": "SortSpec",
|
||||
"properties": {
|
||||
"backgroundColor": {
|
||||
"$ref": "Color",
|
||||
"description": "The background fill color to sort by. Mutually exclusive with sorting by\ntext color. Requests to set this field will fail with a 400 error if\nforeground color is also set."
|
||||
},
|
||||
"dimensionIndex": {
|
||||
"description": "The dimension the sort should be applied to.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"foregroundColor": {
|
||||
"$ref": "Color",
|
||||
"description": "The text color to sort by. Mutually exclusive with sorting by background\nfill color. Requests to set this field will fail with a 400 error if\nbackground color is also set."
|
||||
},
|
||||
"sortOrder": {
|
||||
"description": "The order data should be sorted.",
|
||||
"enum": [
|
||||
@@ -5831,6 +6103,27 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"UpdateSlicerSpecRequest": {
|
||||
"description": "Updates a slicer’s specifications.\n(This does not move or resize a slicer. To move or resize a slicer use\nUpdateEmbeddedObjectPositionRequest.",
|
||||
"id": "UpdateSlicerSpecRequest",
|
||||
"properties": {
|
||||
"fields": {
|
||||
"description": "The fields that should be updated. At least one field must be specified.\nThe root `SlicerSpec` is implied and should not be specified. A single \"*\"`\ncan be used as short-hand for listing every field.",
|
||||
"format": "google-fieldmask",
|
||||
"type": "string"
|
||||
},
|
||||
"slicerId": {
|
||||
"description": "The id of the slicer to update.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
"spec": {
|
||||
"$ref": "SlicerSpec",
|
||||
"description": "The specification to apply to the slicer."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"UpdateSpreadsheetPropertiesRequest": {
|
||||
"description": "Updates properties of a spreadsheet.",
|
||||
"id": "UpdateSpreadsheetPropertiesRequest",
|
||||
|
||||
518
vendor/google.golang.org/api/sheets/v4/sheets-gen.go
generated
vendored
518
vendor/google.golang.org/api/sheets/v4/sheets-gen.go
generated
vendored
@@ -53,8 +53,8 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
gensupport "google.golang.org/api/gensupport"
|
||||
googleapi "google.golang.org/api/googleapi"
|
||||
gensupport "google.golang.org/api/internal/gensupport"
|
||||
option "google.golang.org/api/option"
|
||||
htransport "google.golang.org/api/transport/http"
|
||||
)
|
||||
@@ -683,6 +683,67 @@ func (s *AddSheetResponse) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// AddSlicerRequest: Adds a slicer to a sheet in the spreadsheet.
|
||||
type AddSlicerRequest struct {
|
||||
// Slicer: The slicer that should be added to the spreadsheet,
|
||||
// including
|
||||
// the position where it should be placed. The slicerId field is
|
||||
// optional; if one is not set, an id
|
||||
// will be randomly generated. (It is an error to specify the ID
|
||||
// of a slicer that already exists.)
|
||||
Slicer *Slicer `json:"slicer,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Slicer") 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. "Slicer") 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 *AddSlicerRequest) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod AddSlicerRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// AddSlicerResponse: The result of adding a slicer to a spreadsheet.
|
||||
type AddSlicerResponse struct {
|
||||
// Slicer: The newly added slicer.
|
||||
Slicer *Slicer `json:"slicer,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Slicer") 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. "Slicer") 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 *AddSlicerResponse) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod AddSlicerResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// AppendCellsRequest: Adds new cells after the last row with data in a
|
||||
// sheet,
|
||||
// inserting new rows into the sheet if necessary.
|
||||
@@ -993,6 +1054,66 @@ func (s *BandingProperties) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// BaselineValueFormat: Formatting options for baseline value.
|
||||
type BaselineValueFormat struct {
|
||||
// ComparisonType: The comparison type of key value with baseline value.
|
||||
//
|
||||
// Possible values:
|
||||
// "COMPARISON_TYPE_UNDEFINED" - Default value, do not use.
|
||||
// "ABSOLUTE_DIFFERENCE" - Use absolute difference between key and
|
||||
// baseline value.
|
||||
// "PERCENTAGE_DIFFERENCE" - Use percentage difference between key and
|
||||
// baseline value.
|
||||
ComparisonType string `json:"comparisonType,omitempty"`
|
||||
|
||||
// Description: Description which is appended after the baseline
|
||||
// value.
|
||||
// This field is optional.
|
||||
Description string `json:"description,omitempty"`
|
||||
|
||||
// NegativeColor: Color to be used, in case baseline value represents a
|
||||
// negative change for
|
||||
// key value. This field is optional.
|
||||
NegativeColor *Color `json:"negativeColor,omitempty"`
|
||||
|
||||
// Position: Specifies the horizontal text positioning of baseline
|
||||
// value.
|
||||
// This field is optional. If not specified, default positioning is
|
||||
// used.
|
||||
Position *TextPosition `json:"position,omitempty"`
|
||||
|
||||
// PositiveColor: Color to be used, in case baseline value represents a
|
||||
// positive change for
|
||||
// key value. This field is optional.
|
||||
PositiveColor *Color `json:"positiveColor,omitempty"`
|
||||
|
||||
// TextFormat: Text formatting options for baseline value.
|
||||
TextFormat *TextFormat `json:"textFormat,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "ComparisonType") 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. "ComparisonType") 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 *BaselineValueFormat) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod BaselineValueFormat
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// BasicChartAxis: An axis of the chart.
|
||||
// A chart may not have more than one axis per
|
||||
// axis position.
|
||||
@@ -2993,6 +3114,40 @@ func (s *ChartAxisViewWindowOptions) UnmarshalJSON(data []byte) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// ChartCustomNumberFormatOptions: Custom number formatting options for
|
||||
// chart attributes.
|
||||
type ChartCustomNumberFormatOptions struct {
|
||||
// Prefix: Custom prefix to be prepended to the chart attribute.
|
||||
// This field is optional.
|
||||
Prefix string `json:"prefix,omitempty"`
|
||||
|
||||
// Suffix: Custom suffix to be appended to the chart attribute.
|
||||
// This field is optional.
|
||||
Suffix string `json:"suffix,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Prefix") 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. "Prefix") 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 *ChartCustomNumberFormatOptions) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod ChartCustomNumberFormatOptions
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ChartData: The data included in a domain or series.
|
||||
type ChartData struct {
|
||||
// SourceRange: The source ranges of the data.
|
||||
@@ -3126,6 +3281,9 @@ type ChartSpec struct {
|
||||
// PieChart: A pie chart specification.
|
||||
PieChart *PieChartSpec `json:"pieChart,omitempty"`
|
||||
|
||||
// ScorecardChart: A scorecard chart specification.
|
||||
ScorecardChart *ScorecardChartSpec `json:"scorecardChart,omitempty"`
|
||||
|
||||
// Subtitle: The subtitle of the chart.
|
||||
Subtitle string `json:"subtitle,omitempty"`
|
||||
|
||||
@@ -5256,6 +5414,23 @@ type FilterCriteria struct {
|
||||
// HiddenValues: Values that should be hidden.
|
||||
HiddenValues []string `json:"hiddenValues,omitempty"`
|
||||
|
||||
// VisibleBackgroundColor: The background fill color to filter by; only
|
||||
// cells with this fill color are
|
||||
// shown. Mutually exclusive with all other filter criteria. Requests to
|
||||
// set
|
||||
// this field will fail with a 400 error if any other filter criteria
|
||||
// field is
|
||||
// set.
|
||||
VisibleBackgroundColor *Color `json:"visibleBackgroundColor,omitempty"`
|
||||
|
||||
// VisibleForegroundColor: The text color to filter by; only cells with
|
||||
// this text color are shown.
|
||||
// Mutually exclusive with all other filter criteria. Requests to set
|
||||
// this
|
||||
// field will fail with a 400 error if any other filter criteria field
|
||||
// is set.
|
||||
VisibleForegroundColor *Color `json:"visibleForegroundColor,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Condition") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
@@ -6167,6 +6342,40 @@ func (s *IterativeCalculationSettings) UnmarshalJSON(data []byte) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// KeyValueFormat: Formatting options for key value.
|
||||
type KeyValueFormat struct {
|
||||
// Position: Specifies the horizontal text positioning of key
|
||||
// value.
|
||||
// This field is optional. If not specified, default positioning is
|
||||
// used.
|
||||
Position *TextPosition `json:"position,omitempty"`
|
||||
|
||||
// TextFormat: Text formatting options for key value.
|
||||
TextFormat *TextFormat `json:"textFormat,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Position") 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. "Position") 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 *KeyValueFormat) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod KeyValueFormat
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// LineStyle: Properties that describe the style of a line.
|
||||
type LineStyle struct {
|
||||
// Type: The dash type of the line.
|
||||
@@ -7434,6 +7643,9 @@ type Request struct {
|
||||
// AddSheet: Adds a sheet.
|
||||
AddSheet *AddSheetRequest `json:"addSheet,omitempty"`
|
||||
|
||||
// AddSlicer: Adds a slicer.
|
||||
AddSlicer *AddSlicerRequest `json:"addSlicer,omitempty"`
|
||||
|
||||
// AppendCells: Appends cells after the last row with data in a sheet.
|
||||
AppendCells *AppendCellsRequest `json:"appendCells,omitempty"`
|
||||
|
||||
@@ -7593,6 +7805,9 @@ type Request struct {
|
||||
// UpdateSheetProperties: Updates a sheet's properties.
|
||||
UpdateSheetProperties *UpdateSheetPropertiesRequest `json:"updateSheetProperties,omitempty"`
|
||||
|
||||
// UpdateSlicerSpec: Updates a slicer's specifications.
|
||||
UpdateSlicerSpec *UpdateSlicerSpecRequest `json:"updateSlicerSpec,omitempty"`
|
||||
|
||||
// UpdateSpreadsheetProperties: Updates the spreadsheet's properties.
|
||||
UpdateSpreadsheetProperties *UpdateSpreadsheetPropertiesRequest `json:"updateSpreadsheetProperties,omitempty"`
|
||||
|
||||
@@ -7642,6 +7857,9 @@ type Response struct {
|
||||
// AddSheet: A reply from adding a sheet.
|
||||
AddSheet *AddSheetResponse `json:"addSheet,omitempty"`
|
||||
|
||||
// AddSlicer: A reply from adding a slicer.
|
||||
AddSlicer *AddSlicerResponse `json:"addSlicer,omitempty"`
|
||||
|
||||
// CreateDeveloperMetadata: A reply from creating a developer metadata
|
||||
// entry.
|
||||
CreateDeveloperMetadata *CreateDeveloperMetadataResponse `json:"createDeveloperMetadata,omitempty"`
|
||||
@@ -7736,6 +7954,107 @@ func (s *RowData) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ScorecardChartSpec: A scorecard chart. Scorecard charts are used to
|
||||
// highlight key performance
|
||||
// indicators, known as KPIs, on the spreadsheet. A scorecard chart
|
||||
// can
|
||||
// represent things like total sales, average cost, or a top selling
|
||||
// item. You
|
||||
// can specify a single data value, or aggregate over a range of
|
||||
// data.
|
||||
// Percentage or absolute difference from a baseline value can be
|
||||
// highlighted,
|
||||
// like changes over time.
|
||||
type ScorecardChartSpec struct {
|
||||
// AggregateType: The aggregation type for key and baseline chart data
|
||||
// in scorecard chart.
|
||||
// This field is optional.
|
||||
//
|
||||
// Possible values:
|
||||
// "CHART_AGGREGATE_TYPE_UNSPECIFIED" - Default value, do not use.
|
||||
// "AVERAGE" - Average aggregate function.
|
||||
// "COUNT" - Count aggregate function.
|
||||
// "MAX" - Maximum aggregate function.
|
||||
// "MEDIAN" - Median aggregate function.
|
||||
// "MIN" - Minimum aggregate function.
|
||||
// "SUM" - Sum aggregate function.
|
||||
AggregateType string `json:"aggregateType,omitempty"`
|
||||
|
||||
// BaselineValueData: The data for scorecard baseline value.
|
||||
// This field is optional.
|
||||
BaselineValueData *ChartData `json:"baselineValueData,omitempty"`
|
||||
|
||||
// BaselineValueFormat: Formatting options for baseline value.
|
||||
// This field is needed only if baseline_value_data is specified.
|
||||
BaselineValueFormat *BaselineValueFormat `json:"baselineValueFormat,omitempty"`
|
||||
|
||||
// CustomFormatOptions: Custom formatting options for numeric
|
||||
// key/baseline values in scorecard
|
||||
// chart. This field is used only when number_format_source is set
|
||||
// to
|
||||
// CUSTOM. This field is optional.
|
||||
CustomFormatOptions *ChartCustomNumberFormatOptions `json:"customFormatOptions,omitempty"`
|
||||
|
||||
// KeyValueData: The data for scorecard key value.
|
||||
KeyValueData *ChartData `json:"keyValueData,omitempty"`
|
||||
|
||||
// KeyValueFormat: Formatting options for key value.
|
||||
KeyValueFormat *KeyValueFormat `json:"keyValueFormat,omitempty"`
|
||||
|
||||
// NumberFormatSource: The number format source used in the scorecard
|
||||
// chart.
|
||||
// This field is optional.
|
||||
//
|
||||
// Possible values:
|
||||
// "CHART_NUMBER_FORMAT_SOURCE_UNDEFINED" - Default value, do not use.
|
||||
// "FROM_DATA" - Inherit number formatting from data.
|
||||
// "CUSTOM" - Apply custom formatting as specified by
|
||||
// ChartCustomNumberFormatOptions.
|
||||
NumberFormatSource string `json:"numberFormatSource,omitempty"`
|
||||
|
||||
// ScaleFactor: Value to scale scorecard key and baseline value. For
|
||||
// example, a factor of
|
||||
// 10 can be used to divide all values in the chart by 10.
|
||||
// This field is optional.
|
||||
ScaleFactor float64 `json:"scaleFactor,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "AggregateType") 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. "AggregateType") 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 *ScorecardChartSpec) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod ScorecardChartSpec
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
func (s *ScorecardChartSpec) UnmarshalJSON(data []byte) error {
|
||||
type NoMethod ScorecardChartSpec
|
||||
var s1 struct {
|
||||
ScaleFactor gensupport.JSONFloat64 `json:"scaleFactor"`
|
||||
*NoMethod
|
||||
}
|
||||
s1.NoMethod = (*NoMethod)(s)
|
||||
if err := json.Unmarshal(data, &s1); err != nil {
|
||||
return err
|
||||
}
|
||||
s.ScaleFactor = float64(s1.ScaleFactor)
|
||||
return nil
|
||||
}
|
||||
|
||||
// SearchDeveloperMetadataRequest: A request to retrieve all developer
|
||||
// metadata matching the set of specified
|
||||
// criteria.
|
||||
@@ -7921,6 +8240,9 @@ type Sheet struct {
|
||||
// by group depth.
|
||||
RowGroups []*DimensionGroup `json:"rowGroups,omitempty"`
|
||||
|
||||
// Slicers: The slicers on this sheet.
|
||||
Slicers []*Slicer `json:"slicers,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,
|
||||
@@ -8023,6 +8345,107 @@ func (s *SheetProperties) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// Slicer: A slicer in a sheet.
|
||||
type Slicer struct {
|
||||
// Position: The position of the slicer. Note that slicer can be
|
||||
// positioned only on
|
||||
// existing sheet. Also, width and height of slicer can be
|
||||
// automatically
|
||||
// adjusted to keep it within permitted limits.
|
||||
Position *EmbeddedObjectPosition `json:"position,omitempty"`
|
||||
|
||||
// SlicerId: The ID of the slicer.
|
||||
SlicerId int64 `json:"slicerId,omitempty"`
|
||||
|
||||
// Spec: The specification of the slicer.
|
||||
Spec *SlicerSpec `json:"spec,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Position") 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. "Position") 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 *Slicer) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod Slicer
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// SlicerSpec: The specifications of a slicer.
|
||||
type SlicerSpec struct {
|
||||
// ApplyToPivotTables: True if the filter should apply to pivot
|
||||
// tables.
|
||||
// If not set, default to `True`.
|
||||
ApplyToPivotTables bool `json:"applyToPivotTables,omitempty"`
|
||||
|
||||
// BackgroundColor: The background color of the slicer.
|
||||
BackgroundColor *Color `json:"backgroundColor,omitempty"`
|
||||
|
||||
// ColumnIndex: The column index in the data table on which the filter
|
||||
// is applied to.
|
||||
ColumnIndex int64 `json:"columnIndex,omitempty"`
|
||||
|
||||
// DataRange: The data range of the slicer.
|
||||
DataRange *GridRange `json:"dataRange,omitempty"`
|
||||
|
||||
// FilterCriteria: The filtering criteria of the slicer.
|
||||
FilterCriteria *FilterCriteria `json:"filterCriteria,omitempty"`
|
||||
|
||||
// HorizontalAlignment: The horizontal alignment of title in the
|
||||
// slicer.
|
||||
// If unspecified, defaults to `LEFT`
|
||||
//
|
||||
// Possible values:
|
||||
// "HORIZONTAL_ALIGN_UNSPECIFIED" - The horizontal alignment is not
|
||||
// specified. Do not use this.
|
||||
// "LEFT" - The text is explicitly aligned to the left of the cell.
|
||||
// "CENTER" - The text is explicitly aligned to the center of the
|
||||
// cell.
|
||||
// "RIGHT" - The text is explicitly aligned to the right of the cell.
|
||||
HorizontalAlignment string `json:"horizontalAlignment,omitempty"`
|
||||
|
||||
// TextFormat: The text format of title in the slicer.
|
||||
TextFormat *TextFormat `json:"textFormat,omitempty"`
|
||||
|
||||
// Title: The title of the slicer.
|
||||
Title string `json:"title,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "ApplyToPivotTables")
|
||||
// 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. "ApplyToPivotTables") 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 *SlicerSpec) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod SlicerSpec
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// SortRangeRequest: Sorts data in rows based on a sort order per
|
||||
// column.
|
||||
type SortRangeRequest struct {
|
||||
@@ -8059,9 +8482,23 @@ func (s *SortRangeRequest) MarshalJSON() ([]byte, error) {
|
||||
|
||||
// SortSpec: A sort order associated with a specific column or row.
|
||||
type SortSpec struct {
|
||||
// BackgroundColor: The background fill color to sort by. Mutually
|
||||
// exclusive with sorting by
|
||||
// text color. Requests to set this field will fail with a 400 error
|
||||
// if
|
||||
// foreground color is also set.
|
||||
BackgroundColor *Color `json:"backgroundColor,omitempty"`
|
||||
|
||||
// DimensionIndex: The dimension the sort should be applied to.
|
||||
DimensionIndex int64 `json:"dimensionIndex,omitempty"`
|
||||
|
||||
// ForegroundColor: The text color to sort by. Mutually exclusive with
|
||||
// sorting by background
|
||||
// fill color. Requests to set this field will fail with a 400 error
|
||||
// if
|
||||
// background color is also set.
|
||||
ForegroundColor *Color `json:"foregroundColor,omitempty"`
|
||||
|
||||
// SortOrder: The order data should be sorted.
|
||||
//
|
||||
// Possible values:
|
||||
@@ -8070,7 +8507,7 @@ type SortSpec struct {
|
||||
// "DESCENDING" - Sort descending.
|
||||
SortOrder string `json:"sortOrder,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "DimensionIndex") to
|
||||
// ForceSendFields is a list of field names (e.g. "BackgroundColor") 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
|
||||
@@ -8078,7 +8515,7 @@ type SortSpec struct {
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "DimensionIndex") to
|
||||
// NullFields is a list of field names (e.g. "BackgroundColor") 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
|
||||
@@ -9397,6 +9834,47 @@ func (s *UpdateSheetPropertiesRequest) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// UpdateSlicerSpecRequest: Updates a slicer’s specifications.
|
||||
// (This does not move or resize a slicer. To move or resize a slicer
|
||||
// use
|
||||
// UpdateEmbeddedObjectPositionRequest.
|
||||
type UpdateSlicerSpecRequest struct {
|
||||
// Fields: The fields that should be updated. At least one field must
|
||||
// be specified.
|
||||
// The root `SlicerSpec` is implied and should not be specified. A
|
||||
// single "*"
|
||||
// can be used as short-hand for listing every field.
|
||||
Fields string `json:"fields,omitempty"`
|
||||
|
||||
// SlicerId: The id of the slicer to update.
|
||||
SlicerId int64 `json:"slicerId,omitempty"`
|
||||
|
||||
// Spec: The specification to apply to the slicer.
|
||||
Spec *SlicerSpec `json:"spec,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Fields") 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. "Fields") 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 *UpdateSlicerSpecRequest) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod UpdateSlicerSpecRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// UpdateSpreadsheetPropertiesRequest: Updates properties of a
|
||||
// spreadsheet.
|
||||
type UpdateSpreadsheetPropertiesRequest struct {
|
||||
@@ -9910,7 +10388,7 @@ func (c *SpreadsheetsBatchUpdateCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsBatchUpdateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -10050,7 +10528,7 @@ func (c *SpreadsheetsCreateCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsCreateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -10227,7 +10705,7 @@ func (c *SpreadsheetsGetCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -10403,7 +10881,7 @@ func (c *SpreadsheetsGetByDataFilterCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsGetByDataFilterCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -10558,7 +11036,7 @@ func (c *SpreadsheetsDeveloperMetadataGetCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsDeveloperMetadataGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -10712,7 +11190,7 @@ func (c *SpreadsheetsDeveloperMetadataSearchCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsDeveloperMetadataSearchCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -10857,7 +11335,7 @@ func (c *SpreadsheetsSheetsCopyToCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsSheetsCopyToCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -11093,7 +11571,7 @@ func (c *SpreadsheetsValuesAppendCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsValuesAppendCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -11291,7 +11769,7 @@ func (c *SpreadsheetsValuesBatchClearCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsValuesBatchClearCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -11439,7 +11917,7 @@ func (c *SpreadsheetsValuesBatchClearByDataFilterCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsValuesBatchClearByDataFilterCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -11648,7 +12126,7 @@ func (c *SpreadsheetsValuesBatchGetCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsValuesBatchGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -11826,7 +12304,7 @@ func (c *SpreadsheetsValuesBatchGetByDataFilterCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsValuesBatchGetByDataFilterCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -11971,7 +12449,7 @@ func (c *SpreadsheetsValuesBatchUpdateCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsValuesBatchUpdateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -12116,7 +12594,7 @@ func (c *SpreadsheetsValuesBatchUpdateByDataFilterCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsValuesBatchUpdateByDataFilterCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -12264,7 +12742,7 @@ func (c *SpreadsheetsValuesClearCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsValuesClearCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -12474,7 +12952,7 @@ func (c *SpreadsheetsValuesGetCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsValuesGetCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
@@ -12712,7 +13190,7 @@ func (c *SpreadsheetsValuesUpdateCall) Header() http.Header {
|
||||
|
||||
func (c *SpreadsheetsValuesUpdateCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.11.0 gdcl/20190802")
|
||||
reqHeaders.Set("x-goog-api-client", "gl-go/1.13.4 gdcl/20191114")
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user