v2

package
v1.1.48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Code generated by lark suite oapi sdk gen

Code generated by lark suite oapi sdk gen

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddProtectedDimension

type AddProtectedDimension struct {
	Dimension       *Dimension `json:"dimension,omitempty"`
	Editors         []int64    `json:"editors,omitempty"`
	LockInfo        string     `json:"lockInfo,omitempty"`
	ProtectId       string     `json:"protectId,omitempty"`
	ForceSendFields []string   `json:"-"`
}

func (*AddProtectedDimension) MarshalJSON

func (s *AddProtectedDimension) MarshalJSON() ([]byte, error)

type AddSheet

type AddSheet struct {
	Properties      *Properties `json:"properties,omitempty"`
	ForceSendFields []string    `json:"-"`
}

func (*AddSheet) MarshalJSON

func (s *AddSheet) MarshalJSON() ([]byte, error)

type AppendStyle

type AppendStyle struct {
	Range           string   `json:"range,omitempty"`
	Style           *Style   `json:"style,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*AppendStyle) MarshalJSON

func (s *AppendStyle) MarshalJSON() ([]byte, error)

type AppendStyleBatch

type AppendStyleBatch struct {
	Ranges          []string `json:"ranges,omitempty"`
	Style           *Style   `json:"style,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*AppendStyleBatch) MarshalJSON

func (s *AppendStyleBatch) MarshalJSON() ([]byte, error)

type BlockInfo added in v1.1.41

type BlockInfo struct {
	BlockToken      string   `json:"blockToken,omitempty"`
	BlockType       string   `json:"blockType,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*BlockInfo) MarshalJSON added in v1.1.41

func (s *BlockInfo) MarshalJSON() ([]byte, error)

type ConditionFormat

type ConditionFormat struct {
	CfId            string                 `json:"cf_id,omitempty"`
	Ranges          []string               `json:"ranges,omitempty"`
	RuleType        string                 `json:"rule_type,omitempty"`
	Attrs           []*ConditionFormatAttr `json:"attrs,omitempty"`
	Style           *ConditionFormatStyle  `json:"style,omitempty"`
	ForceSendFields []string               `json:"-"`
}

func (*ConditionFormat) MarshalJSON

func (s *ConditionFormat) MarshalJSON() ([]byte, error)

type ConditionFormatAttr

type ConditionFormatAttr struct {
	Operator        string   `json:"operator,omitempty"`
	TimePeriod      string   `json:"time_period,omitempty"`
	Formula         []string `json:"formula,omitempty"`
	Text            string   `json:"text,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*ConditionFormatAttr) MarshalJSON

func (s *ConditionFormatAttr) MarshalJSON() ([]byte, error)

type ConditionFormatFont

type ConditionFormatFont struct {
	Bold            bool     `json:"bold,omitempty"`
	Italic          bool     `json:"italic,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*ConditionFormatFont) MarshalJSON

func (s *ConditionFormatFont) MarshalJSON() ([]byte, error)

type ConditionFormatResponse

type ConditionFormatResponse struct {
	SheetId         string   `json:"sheet_id,omitempty"`
	CfId            string   `json:"cf_id,omitempty"`
	ResCode         int      `json:"res_code,omitempty"`
	ResMsg          string   `json:"res_msg,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*ConditionFormatResponse) MarshalJSON

func (s *ConditionFormatResponse) MarshalJSON() ([]byte, error)

type ConditionFormatStyle

type ConditionFormatStyle struct {
	Font            *ConditionFormatFont `json:"font,omitempty"`
	TextDecoration  int                  `json:"text_decoration,omitempty"`
	ForeColor       string               `json:"fore_color,omitempty"`
	BackColor       string               `json:"back_color,omitempty"`
	ForceSendFields []string             `json:"-"`
}

func (*ConditionFormatStyle) MarshalJSON

func (s *ConditionFormatStyle) MarshalJSON() ([]byte, error)

type CopySheet

type CopySheet struct {
	Source          *Source      `json:"source,omitempty"`
	Destination     *Destination `json:"destination,omitempty"`
	ForceSendFields []string     `json:"-"`
}

func (*CopySheet) MarshalJSON

func (s *CopySheet) MarshalJSON() ([]byte, error)

type CopySheetReply added in v1.1.41

type CopySheetReply struct {
	Properties      *Properties `json:"properties,omitempty"`
	ForceSendFields []string    `json:"-"`
}

func (*CopySheetReply) MarshalJSON added in v1.1.41

func (s *CopySheetReply) MarshalJSON() ([]byte, error)

type DataValidationDeleteResult

type DataValidationDeleteResult struct {
	Range           string   `json:"range,omitempty"`
	Msg             string   `json:"msg,omitempty"`
	Success         bool     `json:"success,omitempty"`
	UpdatedCells    int      `json:"updatedCells,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*DataValidationDeleteResult) MarshalJSON

func (s *DataValidationDeleteResult) MarshalJSON() ([]byte, error)

type DataValidationRange

type DataValidationRange struct {
	Range             string   `json:"range,omitempty"`
	DataValidationIds []int    `json:"dataValidationIds,omitempty"`
	ForceSendFields   []string `json:"-"`
}

func (*DataValidationRange) MarshalJSON

func (s *DataValidationRange) MarshalJSON() ([]byte, error)

type DataValidationRequest

type DataValidationRequest struct {
	ConditionValues    []string `json:"conditionValues,omitempty"`
	DataValidationId   int      `json:"dataValidationId,omitempty"`
	DataValidationType string   `json:"dataValidationType,omitempty"`
	Options            *Options `json:"options,omitempty"`
	ForceSendFields    []string `json:"-"`
}

func (*DataValidationRequest) MarshalJSON

func (s *DataValidationRequest) MarshalJSON() ([]byte, error)

type DataValidationResponse

type DataValidationResponse struct {
	ConditionValues    []string         `json:"conditionValues,omitempty"`
	DataValidationId   int              `json:"dataValidationId,omitempty"`
	DataValidationType string           `json:"dataValidationType,omitempty"`
	Options            *OptionsResponse `json:"options,omitempty"`
	ForceSendFields    []string         `json:"-"`
}

func (*DataValidationResponse) MarshalJSON

func (s *DataValidationResponse) MarshalJSON() ([]byte, error)

type DeleteSheet

type DeleteSheet struct {
	SheetId         string   `json:"sheetId,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*DeleteSheet) MarshalJSON

func (s *DeleteSheet) MarshalJSON() ([]byte, error)

type DeleteSheetReply

type DeleteSheetReply struct {
	Result          bool     `json:"result,omitempty"`
	SheetId         string   `json:"sheetId,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*DeleteSheetReply) MarshalJSON

func (s *DeleteSheetReply) MarshalJSON() ([]byte, error)

type Destination

type Destination struct {
	Title           string   `json:"title,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*Destination) MarshalJSON

func (s *Destination) MarshalJSON() ([]byte, error)

type Dimension

type Dimension struct {
	SheetId         string   `json:"sheetId,omitempty"`
	MajorDimension  string   `json:"majorDimension,omitempty"`
	StartIndex      int      `json:"startIndex,omitempty"`
	EndIndex        int      `json:"endIndex,omitempty"`
	Length          int      `json:"length,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*Dimension) MarshalJSON

func (s *Dimension) MarshalJSON() ([]byte, error)

type DimensionProperties

type DimensionProperties struct {
	Visible         bool     `json:"visible,omitempty"`
	FixedSize       int      `json:"fixedSize,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*DimensionProperties) MarshalJSON

func (s *DimensionProperties) MarshalJSON() ([]byte, error)

type Editors

type Editors struct {
	Users           []*User  `json:"users,omitempty"`
	AddEditors      []*User  `json:"addEditors,omitempty"`
	DelEditors      []*User  `json:"delEditors,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*Editors) MarshalJSON

func (s *Editors) MarshalJSON() ([]byte, error)

type Font

type Font struct {
	Bold            bool     `json:"bold,omitempty"`
	Italic          bool     `json:"italic,omitempty"`
	FontSize        string   `json:"fontSize,omitempty"`
	Clean           bool     `json:"clean,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*Font) MarshalJSON

func (s *Font) MarshalJSON() ([]byte, error)

type Merge

type Merge struct {
	StartRowIndex    int      `json:"startRowIndex,omitempty"`
	StartColumnIndex int      `json:"startColumnIndex,omitempty"`
	RowCount         int      `json:"rowCount,omitempty"`
	ColumnCount      int      `json:"columnCount,omitempty"`
	ForceSendFields  []string `json:"-"`
}

func (*Merge) MarshalJSON

func (s *Merge) MarshalJSON() ([]byte, error)

type MetainfoProperties

type MetainfoProperties struct {
	Title           string   `json:"title,omitempty"`
	OwnerUser       int64    `json:"ownerUser,omitempty"`
	SheetCount      int      `json:"sheetCount,omitempty"`
	Revision        int      `json:"revision,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*MetainfoProperties) MarshalJSON

func (s *MetainfoProperties) MarshalJSON() ([]byte, error)

type Options

type Options struct {
	MultipleValues     bool     `json:"multipleValues,omitempty"`
	HighlightValidData bool     `json:"highlightValidData,omitempty"`
	Colors             []string `json:"colors,omitempty"`
	ForceSendFields    []string `json:"-"`
}

func (*Options) MarshalJSON

func (s *Options) MarshalJSON() ([]byte, error)

type OptionsResponse

type OptionsResponse struct {
	MultipleValues     bool              `json:"multipleValues,omitempty"`
	HighlightValidData bool              `json:"highlightValidData,omitempty"`
	ColorValueMap      map[string]string `json:"colorValueMap,omitempty"`
	ForceSendFields    []string          `json:"-"`
}

func (*OptionsResponse) MarshalJSON

func (s *OptionsResponse) MarshalJSON() ([]byte, error)

type Properties

type Properties struct {
	SheetId         string   `json:"sheetId,omitempty"`
	Title           string   `json:"title,omitempty"`
	Index           int      `json:"index,omitempty"`
	Hidden          bool     `json:"hidden,omitempty"`
	FrozenRowCount  int      `json:"frozenRowCount,omitempty"`
	FrozenColCount  int      `json:"frozenColCount,omitempty"`
	Protect         *Protect `json:"protect,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*Properties) MarshalJSON

func (s *Properties) MarshalJSON() ([]byte, error)

type Protect

type Protect struct {
	Lock            string   `json:"lock,omitempty"`
	LockInfo        string   `json:"lockInfo,omitempty"`
	UserIds         []int64  `json:"userIds,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*Protect) MarshalJSON

func (s *Protect) MarshalJSON() ([]byte, error)

type ProtectedRange

type ProtectedRange struct {
	ProtectId       string     `json:"protectId,omitempty"`
	Dimension       *Dimension `json:"dimension,omitempty"`
	SheetId         string     `json:"sheetId,omitempty"`
	LockInfo        string     `json:"lockInfo,omitempty"`
	Editors         *Editors   `json:"editors,omitempty"`
	ForceSendFields []string   `json:"-"`
}

func (*ProtectedRange) MarshalJSON

func (s *ProtectedRange) MarshalJSON() ([]byte, error)

type ProtectedRangeUpdate

type ProtectedRangeUpdate struct {
	ProtectId       string     `json:"protectId,omitempty"`
	Dimension       *Dimension `json:"dimension,omitempty"`
	SheetId         string     `json:"sheetId,omitempty"`
	LockInfo        string     `json:"lockInfo,omitempty"`
	Editors         *Editors   `json:"editors,omitempty"`
	ForceSendFields []string   `json:"-"`
}

func (*ProtectedRangeUpdate) MarshalJSON

func (s *ProtectedRangeUpdate) MarshalJSON() ([]byte, error)

type Reply

type Reply struct {
	UpdateSheet     *Properties       `json:"updateSheet,omitempty"`
	AddSheet        *AddSheet         `json:"addSheet,omitempty"`
	CopySheet       *CopySheetReply   `json:"copySheet,omitempty"`
	DeleteSheet     *DeleteSheetReply `json:"deleteSheet,omitempty"`
	ForceSendFields []string          `json:"-"`
}

func (*Reply) MarshalJSON

func (s *Reply) MarshalJSON() ([]byte, error)

type Request added in v1.1.41

type Request struct {
	AddSheet        *AddSheet    `json:"addSheet,omitempty"`
	CopySheet       *CopySheet   `json:"copySheet,omitempty"`
	DeleteSheet     *DeleteSheet `json:"deleteSheet,omitempty"`
	UpdateSheet     *UpdateSheet `json:"updateSheet,omitempty"`
	ForceSendFields []string     `json:"-"`
}

func (*Request) MarshalJSON added in v1.1.41

func (s *Request) MarshalJSON() ([]byte, error)

type Service

type Service struct {
	Spreadsheetss *SpreadsheetsService
	// contains filtered or unexported fields
}

func NewService

func NewService(conf *config.Config) *Service

type Sheet

type Sheet struct {
	SheetId         string            `json:"sheetId,omitempty"`
	Title           string            `json:"title,omitempty"`
	Index           int               `json:"index,omitempty"`
	RowCount        int               `json:"rowCount,omitempty"`
	ColumnCount     int               `json:"columnCount,omitempty"`
	FrozenRowCount  int               `json:"frozenRowCount,omitempty"`
	FrozenColCount  int               `json:"frozenColCount,omitempty"`
	Merges          []*Merge          `json:"merges,omitempty"`
	ProtectedRange  []*ProtectedRange `json:"protectedRange,omitempty"`
	BlockInfo       *BlockInfo        `json:"blockInfo,omitempty"`
	ForceSendFields []string          `json:"-"`
}

func (*Sheet) MarshalJSON

func (s *Sheet) MarshalJSON() ([]byte, error)

type SheetCfId

type SheetCfId struct {
	SheetId         string   `json:"sheet_id,omitempty"`
	CfId            string   `json:"cf_id,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*SheetCfId) MarshalJSON

func (s *SheetCfId) MarshalJSON() ([]byte, error)

type SheetConditionFormat

type SheetConditionFormat struct {
	SheetId         string           `json:"sheet_id,omitempty"`
	ConditionFormat *ConditionFormat `json:"condition_format,omitempty"`
	ForceSendFields []string         `json:"-"`
}

func (*SheetConditionFormat) MarshalJSON

func (s *SheetConditionFormat) MarshalJSON() ([]byte, error)

type Source

type Source struct {
	SheetId         string   `json:"sheetId,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*Source) MarshalJSON

func (s *Source) MarshalJSON() ([]byte, error)

type SpreadsheetToken

type SpreadsheetToken struct {
	Range           string   `json:"range,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*SpreadsheetToken) MarshalJSON

func (s *SpreadsheetToken) MarshalJSON() ([]byte, error)

type SpreadsheetsConditionFormatsBatchCreateReqBody

type SpreadsheetsConditionFormatsBatchCreateReqBody struct {
	SheetConditionFormats []*SheetConditionFormat `json:"sheet_condition_formats,omitempty"`
	ForceSendFields       []string                `json:"-"`
}

func (*SpreadsheetsConditionFormatsBatchCreateReqBody) MarshalJSON

type SpreadsheetsConditionFormatsBatchCreateReqCall

type SpreadsheetsConditionFormatsBatchCreateReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsConditionFormatsBatchCreateReqCall) Do

func (*SpreadsheetsConditionFormatsBatchCreateReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsConditionFormatsBatchCreateReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsConditionFormatsBatchCreateResult

type SpreadsheetsConditionFormatsBatchCreateResult struct {
	Responses []*ConditionFormatResponse `json:"responses,omitempty"`
}

type SpreadsheetsConditionFormatsBatchDeleteReqBody

type SpreadsheetsConditionFormatsBatchDeleteReqBody struct {
	SheetCfIds      []*SheetCfId `json:"sheet_cf_ids,omitempty"`
	ForceSendFields []string     `json:"-"`
}

func (*SpreadsheetsConditionFormatsBatchDeleteReqBody) MarshalJSON

type SpreadsheetsConditionFormatsBatchDeleteReqCall

type SpreadsheetsConditionFormatsBatchDeleteReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsConditionFormatsBatchDeleteReqCall) Do

func (*SpreadsheetsConditionFormatsBatchDeleteReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsConditionFormatsBatchDeleteReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsConditionFormatsBatchDeleteResult

type SpreadsheetsConditionFormatsBatchDeleteResult struct {
	Responses []*ConditionFormatResponse `json:"responses,omitempty"`
}

type SpreadsheetsConditionFormatsBatchGetReqCall

type SpreadsheetsConditionFormatsBatchGetReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsConditionFormatsBatchGetReqCall) Do

func (*SpreadsheetsConditionFormatsBatchGetReqCall) SetSheetIds

func (rc *SpreadsheetsConditionFormatsBatchGetReqCall) SetSheetIds(sheetIds ...string)

func (*SpreadsheetsConditionFormatsBatchGetReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsConditionFormatsBatchGetReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsConditionFormatsBatchGetResult

type SpreadsheetsConditionFormatsBatchGetResult struct {
	SheetConditionFormats []*SheetConditionFormat `json:"sheet_condition_formats,omitempty"`
}

type SpreadsheetsConditionFormatsBatchUpdateReqBody

type SpreadsheetsConditionFormatsBatchUpdateReqBody struct {
	SheetConditionFormats []*SheetConditionFormat `json:"sheet_condition_formats,omitempty"`
	ForceSendFields       []string                `json:"-"`
}

func (*SpreadsheetsConditionFormatsBatchUpdateReqBody) MarshalJSON

type SpreadsheetsConditionFormatsBatchUpdateReqCall

type SpreadsheetsConditionFormatsBatchUpdateReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsConditionFormatsBatchUpdateReqCall) Do

func (*SpreadsheetsConditionFormatsBatchUpdateReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsConditionFormatsBatchUpdateReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsConditionFormatsBatchUpdateResult

type SpreadsheetsConditionFormatsBatchUpdateResult struct {
	Responses []*ConditionFormatResponse `json:"responses,omitempty"`
}

type SpreadsheetsDataValidationCreateReqBody

type SpreadsheetsDataValidationCreateReqBody struct {
	Range              string                 `json:"range,omitempty"`
	DataValidationType string                 `json:"dataValidationType,omitempty"`
	DataValidation     *DataValidationRequest `json:"dataValidation,omitempty"`
	ForceSendFields    []string               `json:"-"`
}

func (*SpreadsheetsDataValidationCreateReqBody) MarshalJSON

func (s *SpreadsheetsDataValidationCreateReqBody) MarshalJSON() ([]byte, error)

type SpreadsheetsDataValidationCreateReqCall

type SpreadsheetsDataValidationCreateReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsDataValidationCreateReqCall) Do

func (*SpreadsheetsDataValidationCreateReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsDataValidationCreateReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsDataValidationDeleteReqBody

type SpreadsheetsDataValidationDeleteReqBody struct {
	DataValidationRanges []*DataValidationRange `json:"dataValidationRanges,omitempty"`
	ForceSendFields      []string               `json:"-"`
}

func (*SpreadsheetsDataValidationDeleteReqBody) MarshalJSON

func (s *SpreadsheetsDataValidationDeleteReqBody) MarshalJSON() ([]byte, error)

type SpreadsheetsDataValidationDeleteReqCall

type SpreadsheetsDataValidationDeleteReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsDataValidationDeleteReqCall) Do

func (*SpreadsheetsDataValidationDeleteReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsDataValidationDeleteReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsDataValidationDeleteResult

type SpreadsheetsDataValidationDeleteResult struct {
	RangeResults []*DataValidationDeleteResult `json:"rangeResults,omitempty"`
}

type SpreadsheetsDataValidationGetReqCall

type SpreadsheetsDataValidationGetReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsDataValidationGetReqCall) Do

func (*SpreadsheetsDataValidationGetReqCall) SetDataValidationType added in v1.1.41

func (rc *SpreadsheetsDataValidationGetReqCall) SetDataValidationType(dataValidationType string)

func (*SpreadsheetsDataValidationGetReqCall) SetRange added in v1.1.41

func (rc *SpreadsheetsDataValidationGetReqCall) SetRange(range_ string)

func (*SpreadsheetsDataValidationGetReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsDataValidationGetReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsDataValidationGetResult

type SpreadsheetsDataValidationGetResult struct {
	SpreadsheetToken string                    `json:"spreadsheetToken,omitempty"`
	SheetId          string                    `json:"sheetId,omitempty"`
	DataValidations  []*DataValidationResponse `json:"dataValidations,omitempty"`
	Revision         int                       `json:"revision,omitempty"`
}

type SpreadsheetsDataValidationUpdateReqBody

type SpreadsheetsDataValidationUpdateReqBody struct {
	DataValidationType string                 `json:"dataValidationType,omitempty"`
	DataValidation     *DataValidationRequest `json:"dataValidation,omitempty"`
	ForceSendFields    []string               `json:"-"`
}

func (*SpreadsheetsDataValidationUpdateReqBody) MarshalJSON

func (s *SpreadsheetsDataValidationUpdateReqBody) MarshalJSON() ([]byte, error)

type SpreadsheetsDataValidationUpdateReqCall

type SpreadsheetsDataValidationUpdateReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsDataValidationUpdateReqCall) Do

func (*SpreadsheetsDataValidationUpdateReqCall) SetDataValidationId

func (rc *SpreadsheetsDataValidationUpdateReqCall) SetDataValidationId(dataValidationId int)

func (*SpreadsheetsDataValidationUpdateReqCall) SetSheetId

func (rc *SpreadsheetsDataValidationUpdateReqCall) SetSheetId(sheetId string)

func (*SpreadsheetsDataValidationUpdateReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsDataValidationUpdateReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsDataValidationUpdateResult

type SpreadsheetsDataValidationUpdateResult struct {
	SpreadsheetToken string                  `json:"spreadsheetToken,omitempty"`
	SheetId          string                  `json:"sheetId,omitempty"`
	DataValidation   *DataValidationResponse `json:"dataValidation,omitempty"`
}

type SpreadsheetsDimensionRangeAddReqBody

type SpreadsheetsDimensionRangeAddReqBody struct {
	Dimension       *Dimension `json:"dimension,omitempty"`
	ForceSendFields []string   `json:"-"`
}

func (*SpreadsheetsDimensionRangeAddReqBody) MarshalJSON

func (s *SpreadsheetsDimensionRangeAddReqBody) MarshalJSON() ([]byte, error)

type SpreadsheetsDimensionRangeAddReqCall

type SpreadsheetsDimensionRangeAddReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsDimensionRangeAddReqCall) Do

func (*SpreadsheetsDimensionRangeAddReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsDimensionRangeAddReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsDimensionRangeAddResult

type SpreadsheetsDimensionRangeAddResult struct {
	AddCount       int    `json:"addCount,omitempty"`
	MajorDimension string `json:"majorDimension,omitempty"`
}

type SpreadsheetsDimensionRangeDeleteReqBody

type SpreadsheetsDimensionRangeDeleteReqBody struct {
	Dimension       *Dimension `json:"dimension,omitempty"`
	ForceSendFields []string   `json:"-"`
}

func (*SpreadsheetsDimensionRangeDeleteReqBody) MarshalJSON

func (s *SpreadsheetsDimensionRangeDeleteReqBody) MarshalJSON() ([]byte, error)

type SpreadsheetsDimensionRangeDeleteReqCall

type SpreadsheetsDimensionRangeDeleteReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsDimensionRangeDeleteReqCall) Do

func (*SpreadsheetsDimensionRangeDeleteReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsDimensionRangeDeleteReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsDimensionRangeDeleteResult

type SpreadsheetsDimensionRangeDeleteResult struct {
	DelCount       int    `json:"delCount,omitempty"`
	MajorDimension string `json:"majorDimension,omitempty"`
}

type SpreadsheetsDimensionRangeUpdateReqBody

type SpreadsheetsDimensionRangeUpdateReqBody struct {
	Dimension           *Dimension           `json:"dimension,omitempty"`
	DimensionProperties *DimensionProperties `json:"dimensionProperties,omitempty"`
	ForceSendFields     []string             `json:"-"`
}

func (*SpreadsheetsDimensionRangeUpdateReqBody) MarshalJSON

func (s *SpreadsheetsDimensionRangeUpdateReqBody) MarshalJSON() ([]byte, error)

type SpreadsheetsDimensionRangeUpdateReqCall

type SpreadsheetsDimensionRangeUpdateReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsDimensionRangeUpdateReqCall) Do

func (*SpreadsheetsDimensionRangeUpdateReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsDimensionRangeUpdateReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsImportReqBody added in v1.1.35

type SpreadsheetsImportReqBody struct {
	File            []byte   `json:"file,omitempty"`
	Name            string   `json:"name,omitempty"`
	FolderToken     string   `json:"folderToken,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*SpreadsheetsImportReqBody) MarshalJSON added in v1.1.35

func (s *SpreadsheetsImportReqBody) MarshalJSON() ([]byte, error)

type SpreadsheetsImportReqCall

type SpreadsheetsImportReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsImportReqCall) Do

type SpreadsheetsImportResult

type SpreadsheetsImportResult struct {
	Ticket string `json:"ticket,omitempty"`
}

type SpreadsheetsImportResultReqCall

type SpreadsheetsImportResultReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsImportResultReqCall) Do

func (*SpreadsheetsImportResultReqCall) SetTicket

func (rc *SpreadsheetsImportResultReqCall) SetTicket(ticket string)

type SpreadsheetsImportResultResult

type SpreadsheetsImportResultResult struct {
	Ticket      string `json:"ticket,omitempty"`
	Url         string `json:"url,omitempty"`
	WarningCode int    `json:"warningCode,omitempty"`
}

type SpreadsheetsInsertDimensionRangeReqBody

type SpreadsheetsInsertDimensionRangeReqBody struct {
	Dimension       *Dimension `json:"dimension,omitempty"`
	InheritStyle    string     `json:"inheritStyle,omitempty"`
	ForceSendFields []string   `json:"-"`
}

func (*SpreadsheetsInsertDimensionRangeReqBody) MarshalJSON

func (s *SpreadsheetsInsertDimensionRangeReqBody) MarshalJSON() ([]byte, error)

type SpreadsheetsInsertDimensionRangeReqCall

type SpreadsheetsInsertDimensionRangeReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsInsertDimensionRangeReqCall) Do

func (*SpreadsheetsInsertDimensionRangeReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsInsertDimensionRangeReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsMergeCellsReqBody

type SpreadsheetsMergeCellsReqBody struct {
	SpreadsheetToken string   `json:"spreadsheetToken,omitempty"`
	Range            string   `json:"range,omitempty"`
	MergeType        string   `json:"mergeType,omitempty"`
	ForceSendFields  []string `json:"-"`
}

func (*SpreadsheetsMergeCellsReqBody) MarshalJSON

func (s *SpreadsheetsMergeCellsReqBody) MarshalJSON() ([]byte, error)

type SpreadsheetsMergeCellsReqCall

type SpreadsheetsMergeCellsReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsMergeCellsReqCall) Do

func (*SpreadsheetsMergeCellsReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsMergeCellsReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsMergeCellsResult

type SpreadsheetsMergeCellsResult struct {
	SpreadsheetToken string `json:"spreadsheetToken,omitempty"`
}

type SpreadsheetsMetainfoReqCall

type SpreadsheetsMetainfoReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsMetainfoReqCall) Do

func (*SpreadsheetsMetainfoReqCall) SetExtFields

func (rc *SpreadsheetsMetainfoReqCall) SetExtFields(extFields string)

func (*SpreadsheetsMetainfoReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsMetainfoReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsMetainfoResult

type SpreadsheetsMetainfoResult struct {
	SpreadsheetToken string              `json:"spreadsheetToken,omitempty"`
	Properties       *MetainfoProperties `json:"properties,omitempty"`
	Sheets           []*Sheet            `json:"sheets,omitempty"`
}

type SpreadsheetsProtectedRangeBatchCreateReqBody

type SpreadsheetsProtectedRangeBatchCreateReqBody struct {
	AddProtectedDimension []*AddProtectedDimension `json:"addProtectedDimension,omitempty"`
	ForceSendFields       []string                 `json:"-"`
}

func (*SpreadsheetsProtectedRangeBatchCreateReqBody) MarshalJSON

type SpreadsheetsProtectedRangeBatchCreateReqCall

type SpreadsheetsProtectedRangeBatchCreateReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsProtectedRangeBatchCreateReqCall) Do

func (*SpreadsheetsProtectedRangeBatchCreateReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsProtectedRangeBatchCreateReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsProtectedRangeBatchCreateResult

type SpreadsheetsProtectedRangeBatchCreateResult struct {
	AddProtectedDimension []*AddProtectedDimension `json:"addProtectedDimension,omitempty"`
}

type SpreadsheetsProtectedRangeBatchDeleteReqBody

type SpreadsheetsProtectedRangeBatchDeleteReqBody struct {
	ProtectIds      []string `json:"protectIds,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*SpreadsheetsProtectedRangeBatchDeleteReqBody) MarshalJSON

type SpreadsheetsProtectedRangeBatchDeleteReqCall

type SpreadsheetsProtectedRangeBatchDeleteReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsProtectedRangeBatchDeleteReqCall) Do

func (*SpreadsheetsProtectedRangeBatchDeleteReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsProtectedRangeBatchDeleteReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsProtectedRangeBatchDeleteResult

type SpreadsheetsProtectedRangeBatchDeleteResult struct {
	DelProtectIds []string `json:"delProtectIds,omitempty"`
}

type SpreadsheetsProtectedRangeBatchGetReqCall

type SpreadsheetsProtectedRangeBatchGetReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsProtectedRangeBatchGetReqCall) Do

func (*SpreadsheetsProtectedRangeBatchGetReqCall) SetMemberType

func (rc *SpreadsheetsProtectedRangeBatchGetReqCall) SetMemberType(memberType string)

func (*SpreadsheetsProtectedRangeBatchGetReqCall) SetProtectIds

func (rc *SpreadsheetsProtectedRangeBatchGetReqCall) SetProtectIds(protectIds ...string)

func (*SpreadsheetsProtectedRangeBatchGetReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsProtectedRangeBatchGetReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsProtectedRangeBatchGetResult

type SpreadsheetsProtectedRangeBatchGetResult struct {
	ProtectedRange []*ProtectedRange `json:"protectedRange,omitempty"`
}

type SpreadsheetsProtectedRangeBatchUpdateReqBody

type SpreadsheetsProtectedRangeBatchUpdateReqBody struct {
	Requests        []*ProtectedRangeUpdate `json:"requests,omitempty"`
	ForceSendFields []string                `json:"-"`
}

func (*SpreadsheetsProtectedRangeBatchUpdateReqBody) MarshalJSON

type SpreadsheetsProtectedRangeBatchUpdateReqCall

type SpreadsheetsProtectedRangeBatchUpdateReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsProtectedRangeBatchUpdateReqCall) Do

func (*SpreadsheetsProtectedRangeBatchUpdateReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsProtectedRangeBatchUpdateReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsProtectedRangeBatchUpdateResult

type SpreadsheetsProtectedRangeBatchUpdateResult struct {
	Replies []*ProtectedRangeUpdate `json:"replies,omitempty"`
}

type SpreadsheetsService

type SpreadsheetsService struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsService) ConditionFormatsBatchCreate

func (*SpreadsheetsService) ConditionFormatsBatchDelete

func (*SpreadsheetsService) ConditionFormatsBatchGet

func (spreadsheetss *SpreadsheetsService) ConditionFormatsBatchGet(ctx *core.Context, optFns ...request.OptFn) *SpreadsheetsConditionFormatsBatchGetReqCall

func (*SpreadsheetsService) ConditionFormatsBatchUpdate

func (*SpreadsheetsService) DataValidationCreate

func (*SpreadsheetsService) DataValidationDelete

func (*SpreadsheetsService) DataValidationGet

func (spreadsheetss *SpreadsheetsService) DataValidationGet(ctx *core.Context, optFns ...request.OptFn) *SpreadsheetsDataValidationGetReqCall

func (*SpreadsheetsService) DataValidationUpdate

func (*SpreadsheetsService) DimensionRangeAdd

func (*SpreadsheetsService) DimensionRangeDelete

func (*SpreadsheetsService) DimensionRangeUpdate

func (*SpreadsheetsService) Import

func (spreadsheetss *SpreadsheetsService) Import(ctx *core.Context, body *SpreadsheetsImportReqBody, optFns ...request.OptFn) *SpreadsheetsImportReqCall

func (*SpreadsheetsService) ImportResult

func (spreadsheetss *SpreadsheetsService) ImportResult(ctx *core.Context, optFns ...request.OptFn) *SpreadsheetsImportResultReqCall

func (*SpreadsheetsService) InsertDimensionRange

func (*SpreadsheetsService) MergeCells

func (*SpreadsheetsService) Metainfo

func (spreadsheetss *SpreadsheetsService) Metainfo(ctx *core.Context, optFns ...request.OptFn) *SpreadsheetsMetainfoReqCall

func (*SpreadsheetsService) ProtectedRangeBatchCreate

func (*SpreadsheetsService) ProtectedRangeBatchDelete

func (*SpreadsheetsService) ProtectedRangeBatchGet

func (spreadsheetss *SpreadsheetsService) ProtectedRangeBatchGet(ctx *core.Context, optFns ...request.OptFn) *SpreadsheetsProtectedRangeBatchGetReqCall

func (*SpreadsheetsService) ProtectedRangeBatchUpdate

func (*SpreadsheetsService) SheetsBatchUpdate

func (*SpreadsheetsService) SheetsUpdateProperties

func (*SpreadsheetsService) StyleUpdate

func (*SpreadsheetsService) StylesBatchUpdate

func (*SpreadsheetsService) UnmergeCells

func (*SpreadsheetsService) ValuesAppend

func (*SpreadsheetsService) ValuesBatchGet

func (spreadsheetss *SpreadsheetsService) ValuesBatchGet(ctx *core.Context, optFns ...request.OptFn) *SpreadsheetsValuesBatchGetReqCall

func (*SpreadsheetsService) ValuesBatchUpdate

func (*SpreadsheetsService) ValuesGet

func (spreadsheetss *SpreadsheetsService) ValuesGet(ctx *core.Context, optFns ...request.OptFn) *SpreadsheetsValuesGetReqCall

func (*SpreadsheetsService) ValuesImage

func (*SpreadsheetsService) ValuesPrepend

func (*SpreadsheetsService) ValuesUpdate

type SpreadsheetsSheetsBatchUpdateReqBody

type SpreadsheetsSheetsBatchUpdateReqBody struct {
	Requests        []*Request `json:"requests,omitempty"`
	ForceSendFields []string   `json:"-"`
}

func (*SpreadsheetsSheetsBatchUpdateReqBody) MarshalJSON

func (s *SpreadsheetsSheetsBatchUpdateReqBody) MarshalJSON() ([]byte, error)

type SpreadsheetsSheetsBatchUpdateReqCall

type SpreadsheetsSheetsBatchUpdateReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsSheetsBatchUpdateReqCall) Do

func (*SpreadsheetsSheetsBatchUpdateReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsSheetsBatchUpdateReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsSheetsBatchUpdateResult

type SpreadsheetsSheetsBatchUpdateResult struct {
	Replies []*Reply `json:"replies,omitempty"`
}

type SpreadsheetsSheetsUpdatePropertiesReqBody

type SpreadsheetsSheetsUpdatePropertiesReqBody struct {
	Properties      *Properties `json:"properties,omitempty"`
	ForceSendFields []string    `json:"-"`
}

func (*SpreadsheetsSheetsUpdatePropertiesReqBody) MarshalJSON

type SpreadsheetsSheetsUpdatePropertiesReqCall

type SpreadsheetsSheetsUpdatePropertiesReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsSheetsUpdatePropertiesReqCall) Do

func (*SpreadsheetsSheetsUpdatePropertiesReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsSheetsUpdatePropertiesReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsSheetsUpdatePropertiesResult

type SpreadsheetsSheetsUpdatePropertiesResult struct {
	SpreadsheetToken string `json:"spreadsheetToken,omitempty"`
	Title            string `json:"title,omitempty"`
}

type SpreadsheetsStyleUpdateReqBody

type SpreadsheetsStyleUpdateReqBody struct {
	AppendStyle     *AppendStyle `json:"appendStyle,omitempty"`
	ForceSendFields []string     `json:"-"`
}

func (*SpreadsheetsStyleUpdateReqBody) MarshalJSON

func (s *SpreadsheetsStyleUpdateReqBody) MarshalJSON() ([]byte, error)

type SpreadsheetsStyleUpdateReqCall

type SpreadsheetsStyleUpdateReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsStyleUpdateReqCall) Do

func (*SpreadsheetsStyleUpdateReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsStyleUpdateReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsStyleUpdateResult

type SpreadsheetsStyleUpdateResult struct {
	SpreadsheetToken string `json:"spreadsheetToken,omitempty"`
	UpdatedRange     string `json:"updatedRange,omitempty"`
	UpdatedRows      int    `json:"updatedRows,omitempty"`
	UpdatedColumns   int    `json:"updatedColumns,omitempty"`
	UpdatedCells     int    `json:"updatedCells,omitempty"`
	Revision         int    `json:"revision,omitempty"`
}

type SpreadsheetsStylesBatchUpdateReqBody

type SpreadsheetsStylesBatchUpdateReqBody struct {
	Data            *AppendStyleBatch `json:"data,omitempty"`
	ForceSendFields []string          `json:"-"`
}

func (*SpreadsheetsStylesBatchUpdateReqBody) MarshalJSON

func (s *SpreadsheetsStylesBatchUpdateReqBody) MarshalJSON() ([]byte, error)

type SpreadsheetsStylesBatchUpdateReqCall

type SpreadsheetsStylesBatchUpdateReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsStylesBatchUpdateReqCall) Do

func (*SpreadsheetsStylesBatchUpdateReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsStylesBatchUpdateReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsStylesBatchUpdateResult

type SpreadsheetsStylesBatchUpdateResult struct {
	SpreadsheetToken    string            `json:"spreadsheetToken,omitempty"`
	TotalUpdatedRows    int               `json:"totalUpdatedRows,omitempty"`
	TotalUpdatedColumns int               `json:"totalUpdatedColumns,omitempty"`
	TotalUpdatedCells   int               `json:"totalUpdatedCells,omitempty"`
	Revision            int               `json:"revision,omitempty"`
	Responses           []*UpdateResponse `json:"responses,omitempty"`
}

type SpreadsheetsUnmergeCellsReqBody

type SpreadsheetsUnmergeCellsReqBody struct {
	Range           string   `json:"range,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*SpreadsheetsUnmergeCellsReqBody) MarshalJSON

func (s *SpreadsheetsUnmergeCellsReqBody) MarshalJSON() ([]byte, error)

type SpreadsheetsUnmergeCellsReqCall

type SpreadsheetsUnmergeCellsReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsUnmergeCellsReqCall) Do

func (*SpreadsheetsUnmergeCellsReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsUnmergeCellsReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsUnmergeCellsResult

type SpreadsheetsUnmergeCellsResult struct {
	SpreadsheetToken string `json:"spreadsheetToken,omitempty"`
}

type SpreadsheetsValuesAppendReqBody

type SpreadsheetsValuesAppendReqBody struct {
	ValueRange      *ValueRange `json:"valueRange,omitempty"`
	ForceSendFields []string    `json:"-"`
}

func (*SpreadsheetsValuesAppendReqBody) MarshalJSON

func (s *SpreadsheetsValuesAppendReqBody) MarshalJSON() ([]byte, error)

type SpreadsheetsValuesAppendReqCall

type SpreadsheetsValuesAppendReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsValuesAppendReqCall) Do

func (*SpreadsheetsValuesAppendReqCall) SetInsertDataOption

func (rc *SpreadsheetsValuesAppendReqCall) SetInsertDataOption(insertDataOption string)

func (*SpreadsheetsValuesAppendReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsValuesAppendReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsValuesAppendResult

type SpreadsheetsValuesAppendResult struct {
	SpreadsheetToken string   `json:"spreadsheetToken,omitempty"`
	TableRange       string   `json:"tableRange,omitempty"`
	Revision         int      `json:"revision,omitempty"`
	Updates          *Updates `json:"updates,omitempty"`
}

type SpreadsheetsValuesBatchGetReqCall

type SpreadsheetsValuesBatchGetReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsValuesBatchGetReqCall) Do

func (*SpreadsheetsValuesBatchGetReqCall) SetDateTimeRenderOption

func (rc *SpreadsheetsValuesBatchGetReqCall) SetDateTimeRenderOption(dateTimeRenderOption string)

func (*SpreadsheetsValuesBatchGetReqCall) SetRanges

func (rc *SpreadsheetsValuesBatchGetReqCall) SetRanges(ranges ...string)

func (*SpreadsheetsValuesBatchGetReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsValuesBatchGetReqCall) SetSpreadsheetToken(spreadsheetToken string)

func (*SpreadsheetsValuesBatchGetReqCall) SetValueRenderOption

func (rc *SpreadsheetsValuesBatchGetReqCall) SetValueRenderOption(valueRenderOption string)

type SpreadsheetsValuesBatchGetResult

type SpreadsheetsValuesBatchGetResult struct {
	Revision         int           `json:"revision,omitempty"`
	SpreadsheetToken string        `json:"spreadsheetToken,omitempty"`
	TotalCells       int           `json:"totalCells,omitempty"`
	ValueRanges      []*ValueRange `json:"valueRanges,omitempty"`
}

type SpreadsheetsValuesBatchUpdateReqBody

type SpreadsheetsValuesBatchUpdateReqBody struct {
	ValueRanges     []*ValueRange `json:"valueRanges,omitempty"`
	ForceSendFields []string      `json:"-"`
}

func (*SpreadsheetsValuesBatchUpdateReqBody) MarshalJSON

func (s *SpreadsheetsValuesBatchUpdateReqBody) MarshalJSON() ([]byte, error)

type SpreadsheetsValuesBatchUpdateReqCall

type SpreadsheetsValuesBatchUpdateReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsValuesBatchUpdateReqCall) Do

func (*SpreadsheetsValuesBatchUpdateReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsValuesBatchUpdateReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsValuesBatchUpdateResult

type SpreadsheetsValuesBatchUpdateResult struct {
	Responses        []*UpdateResponse `json:"responses,omitempty"`
	Revision         int               `json:"revision,omitempty"`
	SpreadsheetToken string            `json:"spreadsheetToken,omitempty"`
}

type SpreadsheetsValuesGetReqCall

type SpreadsheetsValuesGetReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsValuesGetReqCall) Do

func (*SpreadsheetsValuesGetReqCall) SetDateTimeRenderOption

func (rc *SpreadsheetsValuesGetReqCall) SetDateTimeRenderOption(dateTimeRenderOption string)

func (*SpreadsheetsValuesGetReqCall) SetRange

func (rc *SpreadsheetsValuesGetReqCall) SetRange(range_ string)

func (*SpreadsheetsValuesGetReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsValuesGetReqCall) SetSpreadsheetToken(spreadsheetToken string)

func (*SpreadsheetsValuesGetReqCall) SetValueRenderOption

func (rc *SpreadsheetsValuesGetReqCall) SetValueRenderOption(valueRenderOption string)

type SpreadsheetsValuesGetResult

type SpreadsheetsValuesGetResult struct {
	Revision         int         `json:"revision,omitempty"`
	SpreadsheetToken string      `json:"spreadsheetToken,omitempty"`
	ValueRange       *ValueRange `json:"valueRange,omitempty"`
}

type SpreadsheetsValuesImageReqBody added in v1.1.35

type SpreadsheetsValuesImageReqBody struct {
	Range           string   `json:"range,omitempty"`
	Image           []byte   `json:"image,omitempty"`
	Name            string   `json:"name,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*SpreadsheetsValuesImageReqBody) MarshalJSON added in v1.1.35

func (s *SpreadsheetsValuesImageReqBody) MarshalJSON() ([]byte, error)

type SpreadsheetsValuesImageReqCall

type SpreadsheetsValuesImageReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsValuesImageReqCall) Do

func (*SpreadsheetsValuesImageReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsValuesImageReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsValuesImageResult

type SpreadsheetsValuesImageResult struct {
	SpreadsheetToken string `json:"spreadsheetToken,omitempty"`
}

type SpreadsheetsValuesPrependReqBody

type SpreadsheetsValuesPrependReqBody struct {
	ValueRange      *ValueRange `json:"valueRange,omitempty"`
	ForceSendFields []string    `json:"-"`
}

func (*SpreadsheetsValuesPrependReqBody) MarshalJSON

func (s *SpreadsheetsValuesPrependReqBody) MarshalJSON() ([]byte, error)

type SpreadsheetsValuesPrependReqCall

type SpreadsheetsValuesPrependReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsValuesPrependReqCall) Do

func (*SpreadsheetsValuesPrependReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsValuesPrependReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsValuesPrependResult

type SpreadsheetsValuesPrependResult struct {
	SpreadsheetToken string   `json:"spreadsheetToken,omitempty"`
	TableRange       string   `json:"tableRange,omitempty"`
	Revision         int      `json:"revision,omitempty"`
	Updates          *Updates `json:"updates,omitempty"`
}

type SpreadsheetsValuesUpdateReqBody

type SpreadsheetsValuesUpdateReqBody struct {
	ValueRange      *ValueRange `json:"valueRange,omitempty"`
	ForceSendFields []string    `json:"-"`
}

func (*SpreadsheetsValuesUpdateReqBody) MarshalJSON

func (s *SpreadsheetsValuesUpdateReqBody) MarshalJSON() ([]byte, error)

type SpreadsheetsValuesUpdateReqCall

type SpreadsheetsValuesUpdateReqCall struct {
	// contains filtered or unexported fields
}

func (*SpreadsheetsValuesUpdateReqCall) Do

func (*SpreadsheetsValuesUpdateReqCall) SetSpreadsheetToken

func (rc *SpreadsheetsValuesUpdateReqCall) SetSpreadsheetToken(spreadsheetToken string)

type SpreadsheetsValuesUpdateResult

type SpreadsheetsValuesUpdateResult struct {
	SpreadsheetToken string `json:"spreadsheetToken,omitempty"`
	UpdatedRange     string `json:"updatedRange,omitempty"`
	UpdatedRows      int    `json:"updatedRows,omitempty"`
	UpdatedColumns   int    `json:"updatedColumns,omitempty"`
	UpdatedCells     int    `json:"updatedCells,omitempty"`
	Revision         int    `json:"revision,omitempty"`
}

type Style

type Style struct {
	Font            *Font    `json:"font,omitempty"`
	TextDecoration  int      `json:"textDecoration,omitempty"`
	Formatter       string   `json:"formatter,omitempty"`
	HAlign          int      `json:"hAlign,omitempty"`
	VAlign          int      `json:"vAlign,omitempty"`
	ForeColor       string   `json:"foreColor,omitempty"`
	BackColor       string   `json:"backColor,omitempty"`
	BorderType      string   `json:"borderType,omitempty"`
	BorderColor     string   `json:"borderColor,omitempty"`
	Clean           bool     `json:"clean,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*Style) MarshalJSON

func (s *Style) MarshalJSON() ([]byte, error)

type UpdateResponse

type UpdateResponse struct {
	SpreadsheetToken string   `json:"spreadsheetToken,omitempty"`
	UpdatedRange     string   `json:"updatedRange,omitempty"`
	UpdatedRows      int      `json:"updatedRows,omitempty"`
	UpdatedColumns   int      `json:"updatedColumns,omitempty"`
	UpdatedCells     int      `json:"updatedCells,omitempty"`
	ForceSendFields  []string `json:"-"`
}

func (*UpdateResponse) MarshalJSON

func (s *UpdateResponse) MarshalJSON() ([]byte, error)

type UpdateSheet added in v1.1.41

type UpdateSheet struct {
	Properties      *Properties `json:"properties,omitempty"`
	ForceSendFields []string    `json:"-"`
}

func (*UpdateSheet) MarshalJSON added in v1.1.41

func (s *UpdateSheet) MarshalJSON() ([]byte, error)

type Updates

type Updates struct {
	SpreadsheetToken string   `json:"spreadsheetToken,omitempty"`
	UpdatedRange     string   `json:"updatedRange,omitempty"`
	UpdatedRows      int      `json:"updatedRows,omitempty"`
	UpdatedColumns   int      `json:"updatedColumns,omitempty"`
	UpdatedCells     int      `json:"updatedCells,omitempty"`
	Revision         int      `json:"revision,omitempty"`
	ForceSendFields  []string `json:"-"`
}

func (*Updates) MarshalJSON

func (s *Updates) MarshalJSON() ([]byte, error)

type User

type User struct {
	MemberType      string   `json:"memberType,omitempty"`
	MemberId        string   `json:"memberId,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*User) MarshalJSON

func (s *User) MarshalJSON() ([]byte, error)

type ValueRange

type ValueRange struct {
	MajorDimension  string        `json:"majorDimension,omitempty"`
	Range           string        `json:"range,omitempty"`
	Revision        int           `json:"revision,omitempty"`
	Values          []interface{} `json:"values,omitempty"`
	ForceSendFields []string      `json:"-"`
}

func (*ValueRange) MarshalJSON

func (s *ValueRange) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL