Versions in this module Expand all Collapse all v0 v0.25.2 May 21, 2020 Changes in this version + const DocumentsReadonlyScope + const DocumentsScope + const DriveFileScope + const DriveReadonlyScope + const DriveScope + type AutoText struct + ForceSendFields []string + NullFields []string + SuggestedDeletionIds []string + SuggestedInsertionIds []string + SuggestedTextStyleChanges map[string]SuggestedTextStyle + TextStyle *TextStyle + Type string + func (s *AutoText) MarshalJSON() ([]byte, error) + type Background struct + Color *OptionalColor + ForceSendFields []string + NullFields []string + func (s *Background) MarshalJSON() ([]byte, error) + type BackgroundSuggestionState struct + BackgroundColorSuggested bool + ForceSendFields []string + NullFields []string + func (s *BackgroundSuggestionState) MarshalJSON() ([]byte, error) + type BatchUpdateDocumentRequest struct + ForceSendFields []string + NullFields []string + Requests []*Request + WriteControl *WriteControl + func (s *BatchUpdateDocumentRequest) MarshalJSON() ([]byte, error) + type BatchUpdateDocumentResponse struct + DocumentId string + ForceSendFields []string + NullFields []string + Replies []*Response + WriteControl *WriteControl + func (s *BatchUpdateDocumentResponse) MarshalJSON() ([]byte, error) + type Body struct + Content []*StructuralElement + ForceSendFields []string + NullFields []string + func (s *Body) MarshalJSON() ([]byte, error) + type Bullet struct + ForceSendFields []string + ListId string + NestingLevel int64 + NullFields []string + TextStyle *TextStyle + func (s *Bullet) MarshalJSON() ([]byte, error) + type BulletSuggestionState struct + ForceSendFields []string + ListIdSuggested bool + NestingLevelSuggested bool + NullFields []string + TextStyleSuggestionState *TextStyleSuggestionState + func (s *BulletSuggestionState) MarshalJSON() ([]byte, error) + type Color struct + ForceSendFields []string + NullFields []string + RgbColor *RgbColor + func (s *Color) MarshalJSON() ([]byte, error) + type ColumnBreak struct + ForceSendFields []string + NullFields []string + SuggestedDeletionIds []string + SuggestedInsertionIds []string + SuggestedTextStyleChanges map[string]SuggestedTextStyle + TextStyle *TextStyle + func (s *ColumnBreak) MarshalJSON() ([]byte, error) + type CreateFooterRequest struct + ForceSendFields []string + NullFields []string + SectionBreakLocation *Location + Type string + func (s *CreateFooterRequest) MarshalJSON() ([]byte, error) + type CreateFooterResponse struct + FooterId string + ForceSendFields []string + NullFields []string + func (s *CreateFooterResponse) MarshalJSON() ([]byte, error) + type CreateFootnoteRequest struct + EndOfSegmentLocation *EndOfSegmentLocation + ForceSendFields []string + Location *Location + NullFields []string + func (s *CreateFootnoteRequest) MarshalJSON() ([]byte, error) + type CreateFootnoteResponse struct + FootnoteId string + ForceSendFields []string + NullFields []string + func (s *CreateFootnoteResponse) MarshalJSON() ([]byte, error) + type CreateHeaderRequest struct + ForceSendFields []string + NullFields []string + SectionBreakLocation *Location + Type string + func (s *CreateHeaderRequest) MarshalJSON() ([]byte, error) + type CreateHeaderResponse struct + ForceSendFields []string + HeaderId string + NullFields []string + func (s *CreateHeaderResponse) MarshalJSON() ([]byte, error) + type CreateNamedRangeRequest struct + ForceSendFields []string + Name string + NullFields []string + Range *Range + func (s *CreateNamedRangeRequest) MarshalJSON() ([]byte, error) + type CreateNamedRangeResponse struct + ForceSendFields []string + NamedRangeId string + NullFields []string + func (s *CreateNamedRangeResponse) MarshalJSON() ([]byte, error) + type CreateParagraphBulletsRequest struct + BulletPreset string + ForceSendFields []string + NullFields []string + Range *Range + func (s *CreateParagraphBulletsRequest) MarshalJSON() ([]byte, error) + type CropProperties struct + Angle float64 + ForceSendFields []string + NullFields []string + OffsetBottom float64 + OffsetLeft float64 + OffsetRight float64 + OffsetTop float64 + func (s *CropProperties) MarshalJSON() ([]byte, error) + func (s *CropProperties) UnmarshalJSON(data []byte) error + type CropPropertiesSuggestionState struct + AngleSuggested bool + ForceSendFields []string + NullFields []string + OffsetBottomSuggested bool + OffsetLeftSuggested bool + OffsetRightSuggested bool + OffsetTopSuggested bool + func (s *CropPropertiesSuggestionState) MarshalJSON() ([]byte, error) + type DeleteContentRangeRequest struct + ForceSendFields []string + NullFields []string + Range *Range + func (s *DeleteContentRangeRequest) MarshalJSON() ([]byte, error) + type DeleteFooterRequest struct + FooterId string + ForceSendFields []string + NullFields []string + func (s *DeleteFooterRequest) MarshalJSON() ([]byte, error) + type DeleteHeaderRequest struct + ForceSendFields []string + HeaderId string + NullFields []string + func (s *DeleteHeaderRequest) MarshalJSON() ([]byte, error) + type DeleteNamedRangeRequest struct + ForceSendFields []string + Name string + NamedRangeId string + NullFields []string + func (s *DeleteNamedRangeRequest) MarshalJSON() ([]byte, error) + type DeleteParagraphBulletsRequest struct + ForceSendFields []string + NullFields []string + Range *Range + func (s *DeleteParagraphBulletsRequest) MarshalJSON() ([]byte, error) + type DeletePositionedObjectRequest struct + ForceSendFields []string + NullFields []string + ObjectId string + func (s *DeletePositionedObjectRequest) MarshalJSON() ([]byte, error) + type DeleteTableColumnRequest struct + ForceSendFields []string + NullFields []string + TableCellLocation *TableCellLocation + func (s *DeleteTableColumnRequest) MarshalJSON() ([]byte, error) + type DeleteTableRowRequest struct + ForceSendFields []string + NullFields []string + TableCellLocation *TableCellLocation + func (s *DeleteTableRowRequest) MarshalJSON() ([]byte, error) + type Dimension struct + ForceSendFields []string + Magnitude float64 + NullFields []string + Unit string + func (s *Dimension) MarshalJSON() ([]byte, error) + func (s *Dimension) UnmarshalJSON(data []byte) error + type Document struct + Body *Body + DocumentId string + DocumentStyle *DocumentStyle + Footers map[string]Footer + Footnotes map[string]Footnote + ForceSendFields []string + Headers map[string]Header + InlineObjects map[string]InlineObject + Lists map[string]List + NamedRanges map[string]NamedRanges + NamedStyles *NamedStyles + NullFields []string + PositionedObjects map[string]PositionedObject + RevisionId string + SuggestedDocumentStyleChanges map[string]SuggestedDocumentStyle + SuggestedNamedStylesChanges map[string]SuggestedNamedStyles + SuggestionsViewMode string + Title string + func (s *Document) MarshalJSON() ([]byte, error) + type DocumentStyle struct + Background *Background + DefaultFooterId string + DefaultHeaderId string + EvenPageFooterId string + EvenPageHeaderId string + FirstPageFooterId string + FirstPageHeaderId string + ForceSendFields []string + MarginBottom *Dimension + MarginFooter *Dimension + MarginHeader *Dimension + MarginLeft *Dimension + MarginRight *Dimension + MarginTop *Dimension + NullFields []string + PageNumberStart int64 + PageSize *Size + UseCustomHeaderFooterMargins bool + UseEvenPageHeaderFooter bool + UseFirstPageHeaderFooter bool + func (s *DocumentStyle) MarshalJSON() ([]byte, error) + type DocumentStyleSuggestionState struct + BackgroundSuggestionState *BackgroundSuggestionState + DefaultFooterIdSuggested bool + DefaultHeaderIdSuggested bool + EvenPageFooterIdSuggested bool + EvenPageHeaderIdSuggested bool + FirstPageFooterIdSuggested bool + FirstPageHeaderIdSuggested bool + ForceSendFields []string + MarginBottomSuggested bool + MarginFooterSuggested bool + MarginHeaderSuggested bool + MarginLeftSuggested bool + MarginRightSuggested bool + MarginTopSuggested bool + NullFields []string + PageNumberStartSuggested bool + PageSizeSuggestionState *SizeSuggestionState + UseCustomHeaderFooterMarginsSuggested bool + UseEvenPageHeaderFooterSuggested bool + UseFirstPageHeaderFooterSuggested bool + func (s *DocumentStyleSuggestionState) MarshalJSON() ([]byte, error) + type DocumentsBatchUpdateCall struct + func (c *DocumentsBatchUpdateCall) Context(ctx context.Context) *DocumentsBatchUpdateCall + func (c *DocumentsBatchUpdateCall) Do(opts ...googleapi.CallOption) (*BatchUpdateDocumentResponse, error) + func (c *DocumentsBatchUpdateCall) Fields(s ...googleapi.Field) *DocumentsBatchUpdateCall + func (c *DocumentsBatchUpdateCall) Header() http.Header + type DocumentsCreateCall struct + func (c *DocumentsCreateCall) Context(ctx context.Context) *DocumentsCreateCall + func (c *DocumentsCreateCall) Do(opts ...googleapi.CallOption) (*Document, error) + func (c *DocumentsCreateCall) Fields(s ...googleapi.Field) *DocumentsCreateCall + func (c *DocumentsCreateCall) Header() http.Header + type DocumentsGetCall struct + func (c *DocumentsGetCall) Context(ctx context.Context) *DocumentsGetCall + func (c *DocumentsGetCall) Do(opts ...googleapi.CallOption) (*Document, error) + func (c *DocumentsGetCall) Fields(s ...googleapi.Field) *DocumentsGetCall + func (c *DocumentsGetCall) Header() http.Header + func (c *DocumentsGetCall) IfNoneMatch(entityTag string) *DocumentsGetCall + func (c *DocumentsGetCall) SuggestionsViewMode(suggestionsViewMode string) *DocumentsGetCall + type DocumentsService struct + func NewDocumentsService(s *Service) *DocumentsService + func (r *DocumentsService) BatchUpdate(documentId string, batchupdatedocumentrequest *BatchUpdateDocumentRequest) *DocumentsBatchUpdateCall + func (r *DocumentsService) Create(document *Document) *DocumentsCreateCall + func (r *DocumentsService) Get(documentId string) *DocumentsGetCall + type EmbeddedDrawingProperties struct + type EmbeddedDrawingPropertiesSuggestionState struct + type EmbeddedObject struct + Description string + EmbeddedDrawingProperties *EmbeddedDrawingProperties + EmbeddedObjectBorder *EmbeddedObjectBorder + ForceSendFields []string + ImageProperties *ImageProperties + LinkedContentReference *LinkedContentReference + MarginBottom *Dimension + MarginLeft *Dimension + MarginRight *Dimension + MarginTop *Dimension + NullFields []string + Size *Size + Title string + func (s *EmbeddedObject) MarshalJSON() ([]byte, error) + type EmbeddedObjectBorder struct + Color *OptionalColor + DashStyle string + ForceSendFields []string + NullFields []string + PropertyState string + Width *Dimension + func (s *EmbeddedObjectBorder) MarshalJSON() ([]byte, error) + type EmbeddedObjectBorderSuggestionState struct + ColorSuggested bool + DashStyleSuggested bool + ForceSendFields []string + NullFields []string + PropertyStateSuggested bool + WidthSuggested bool + func (s *EmbeddedObjectBorderSuggestionState) MarshalJSON() ([]byte, error) + type EmbeddedObjectSuggestionState struct + DescriptionSuggested bool + EmbeddedDrawingPropertiesSuggestionState *EmbeddedDrawingPropertiesSuggestionState + EmbeddedObjectBorderSuggestionState *EmbeddedObjectBorderSuggestionState + ForceSendFields []string + ImagePropertiesSuggestionState *ImagePropertiesSuggestionState + LinkedContentReferenceSuggestionState *LinkedContentReferenceSuggestionState + MarginBottomSuggested bool + MarginLeftSuggested bool + MarginRightSuggested bool + MarginTopSuggested bool + NullFields []string + SizeSuggestionState *SizeSuggestionState + TitleSuggested bool + func (s *EmbeddedObjectSuggestionState) MarshalJSON() ([]byte, error) + type EndOfSegmentLocation struct + ForceSendFields []string + NullFields []string + SegmentId string + func (s *EndOfSegmentLocation) MarshalJSON() ([]byte, error) + type Equation struct + ForceSendFields []string + NullFields []string + SuggestedDeletionIds []string + SuggestedInsertionIds []string + func (s *Equation) MarshalJSON() ([]byte, error) + type Footer struct + Content []*StructuralElement + FooterId string + ForceSendFields []string + NullFields []string + func (s *Footer) MarshalJSON() ([]byte, error) + type Footnote struct + Content []*StructuralElement + FootnoteId string + ForceSendFields []string + NullFields []string + func (s *Footnote) MarshalJSON() ([]byte, error) + type FootnoteReference struct + FootnoteId string + FootnoteNumber string + ForceSendFields []string + NullFields []string + SuggestedDeletionIds []string + SuggestedInsertionIds []string + SuggestedTextStyleChanges map[string]SuggestedTextStyle + TextStyle *TextStyle + func (s *FootnoteReference) MarshalJSON() ([]byte, error) + type Header struct + Content []*StructuralElement + ForceSendFields []string + HeaderId string + NullFields []string + func (s *Header) MarshalJSON() ([]byte, error) + type HorizontalRule struct + ForceSendFields []string + NullFields []string + SuggestedDeletionIds []string + SuggestedInsertionIds []string + SuggestedTextStyleChanges map[string]SuggestedTextStyle + TextStyle *TextStyle + func (s *HorizontalRule) MarshalJSON() ([]byte, error) + type ImageProperties struct + Angle float64 + Brightness float64 + ContentUri string + Contrast float64 + CropProperties *CropProperties + ForceSendFields []string + NullFields []string + SourceUri string + Transparency float64 + func (s *ImageProperties) MarshalJSON() ([]byte, error) + func (s *ImageProperties) UnmarshalJSON(data []byte) error + type ImagePropertiesSuggestionState struct + AngleSuggested bool + BrightnessSuggested bool + ContentUriSuggested bool + ContrastSuggested bool + CropPropertiesSuggestionState *CropPropertiesSuggestionState + ForceSendFields []string + NullFields []string + SourceUriSuggested bool + TransparencySuggested bool + func (s *ImagePropertiesSuggestionState) MarshalJSON() ([]byte, error) + type InlineObject struct + ForceSendFields []string + InlineObjectProperties *InlineObjectProperties + NullFields []string + ObjectId string + SuggestedDeletionIds []string + SuggestedInlineObjectPropertiesChanges map[string]SuggestedInlineObjectProperties + SuggestedInsertionId string + func (s *InlineObject) MarshalJSON() ([]byte, error) + type InlineObjectElement struct + ForceSendFields []string + InlineObjectId string + NullFields []string + SuggestedDeletionIds []string + SuggestedInsertionIds []string + SuggestedTextStyleChanges map[string]SuggestedTextStyle + TextStyle *TextStyle + func (s *InlineObjectElement) MarshalJSON() ([]byte, error) + type InlineObjectProperties struct + EmbeddedObject *EmbeddedObject + ForceSendFields []string + NullFields []string + func (s *InlineObjectProperties) MarshalJSON() ([]byte, error) + type InlineObjectPropertiesSuggestionState struct + EmbeddedObjectSuggestionState *EmbeddedObjectSuggestionState + ForceSendFields []string + NullFields []string + func (s *InlineObjectPropertiesSuggestionState) MarshalJSON() ([]byte, error) + type InsertInlineImageRequest struct + EndOfSegmentLocation *EndOfSegmentLocation + ForceSendFields []string + Location *Location + NullFields []string + ObjectSize *Size + Uri string + func (s *InsertInlineImageRequest) MarshalJSON() ([]byte, error) + type InsertInlineImageResponse struct + ForceSendFields []string + NullFields []string + ObjectId string + func (s *InsertInlineImageResponse) MarshalJSON() ([]byte, error) + type InsertInlineSheetsChartResponse struct + ForceSendFields []string + NullFields []string + ObjectId string + func (s *InsertInlineSheetsChartResponse) MarshalJSON() ([]byte, error) + type InsertPageBreakRequest struct + EndOfSegmentLocation *EndOfSegmentLocation + ForceSendFields []string + Location *Location + NullFields []string + func (s *InsertPageBreakRequest) MarshalJSON() ([]byte, error) + type InsertSectionBreakRequest struct + EndOfSegmentLocation *EndOfSegmentLocation + ForceSendFields []string + Location *Location + NullFields []string + SectionType string + func (s *InsertSectionBreakRequest) MarshalJSON() ([]byte, error) + type InsertTableColumnRequest struct + ForceSendFields []string + InsertRight bool + NullFields []string + TableCellLocation *TableCellLocation + func (s *InsertTableColumnRequest) MarshalJSON() ([]byte, error) + type InsertTableRequest struct + Columns int64 + EndOfSegmentLocation *EndOfSegmentLocation + ForceSendFields []string + Location *Location + NullFields []string + Rows int64 + func (s *InsertTableRequest) MarshalJSON() ([]byte, error) + type InsertTableRowRequest struct + ForceSendFields []string + InsertBelow bool + NullFields []string + TableCellLocation *TableCellLocation + func (s *InsertTableRowRequest) MarshalJSON() ([]byte, error) + type InsertTextRequest struct + EndOfSegmentLocation *EndOfSegmentLocation + ForceSendFields []string + Location *Location + NullFields []string + Text string + func (s *InsertTextRequest) MarshalJSON() ([]byte, error) + type Link struct + BookmarkId string + ForceSendFields []string + HeadingId string + NullFields []string + Url string + func (s *Link) MarshalJSON() ([]byte, error) + type LinkedContentReference struct + ForceSendFields []string + NullFields []string + SheetsChartReference *SheetsChartReference + func (s *LinkedContentReference) MarshalJSON() ([]byte, error) + type LinkedContentReferenceSuggestionState struct + ForceSendFields []string + NullFields []string + SheetsChartReferenceSuggestionState *SheetsChartReferenceSuggestionState + func (s *LinkedContentReferenceSuggestionState) MarshalJSON() ([]byte, error) + type List struct + ForceSendFields []string + ListProperties *ListProperties + NullFields []string + SuggestedDeletionIds []string + SuggestedInsertionId string + SuggestedListPropertiesChanges map[string]SuggestedListProperties + func (s *List) MarshalJSON() ([]byte, error) + type ListProperties struct + ForceSendFields []string + NestingLevels []*NestingLevel + NullFields []string + func (s *ListProperties) MarshalJSON() ([]byte, error) + type ListPropertiesSuggestionState struct + ForceSendFields []string + NestingLevelsSuggestionStates []*NestingLevelSuggestionState + NullFields []string + func (s *ListPropertiesSuggestionState) MarshalJSON() ([]byte, error) + type Location struct + ForceSendFields []string + Index int64 + NullFields []string + SegmentId string + func (s *Location) MarshalJSON() ([]byte, error) + type MergeTableCellsRequest struct + ForceSendFields []string + NullFields []string + TableRange *TableRange + func (s *MergeTableCellsRequest) MarshalJSON() ([]byte, error) + type NamedRange struct + ForceSendFields []string + Name string + NamedRangeId string + NullFields []string + Ranges []*Range + func (s *NamedRange) MarshalJSON() ([]byte, error) + type NamedRanges struct + ForceSendFields []string + Name string + NamedRanges []*NamedRange + NullFields []string + func (s *NamedRanges) MarshalJSON() ([]byte, error) + type NamedStyle struct + ForceSendFields []string + NamedStyleType string + NullFields []string + ParagraphStyle *ParagraphStyle + TextStyle *TextStyle + func (s *NamedStyle) MarshalJSON() ([]byte, error) + type NamedStyleSuggestionState struct + ForceSendFields []string + NamedStyleType string + NullFields []string + ParagraphStyleSuggestionState *ParagraphStyleSuggestionState + TextStyleSuggestionState *TextStyleSuggestionState + func (s *NamedStyleSuggestionState) MarshalJSON() ([]byte, error) + type NamedStyles struct + ForceSendFields []string + NullFields []string + Styles []*NamedStyle + func (s *NamedStyles) MarshalJSON() ([]byte, error) + type NamedStylesSuggestionState struct + ForceSendFields []string + NullFields []string + StylesSuggestionStates []*NamedStyleSuggestionState + func (s *NamedStylesSuggestionState) MarshalJSON() ([]byte, error) + type NestingLevel struct + BulletAlignment string + ForceSendFields []string + GlyphFormat string + GlyphSymbol string + GlyphType string + IndentFirstLine *Dimension + IndentStart *Dimension + NullFields []string + StartNumber int64 + TextStyle *TextStyle + func (s *NestingLevel) MarshalJSON() ([]byte, error) + type NestingLevelSuggestionState struct + BulletAlignmentSuggested bool + ForceSendFields []string + GlyphFormatSuggested bool + GlyphSymbolSuggested bool + GlyphTypeSuggested bool + IndentFirstLineSuggested bool + IndentStartSuggested bool + NullFields []string + StartNumberSuggested bool + TextStyleSuggestionState *TextStyleSuggestionState + func (s *NestingLevelSuggestionState) MarshalJSON() ([]byte, error) + type ObjectReferences struct + ForceSendFields []string + NullFields []string + ObjectIds []string + func (s *ObjectReferences) MarshalJSON() ([]byte, error) + type OptionalColor struct + Color *Color + ForceSendFields []string + NullFields []string + func (s *OptionalColor) MarshalJSON() ([]byte, error) + type PageBreak struct + ForceSendFields []string + NullFields []string + SuggestedDeletionIds []string + SuggestedInsertionIds []string + SuggestedTextStyleChanges map[string]SuggestedTextStyle + TextStyle *TextStyle + func (s *PageBreak) MarshalJSON() ([]byte, error) + type Paragraph struct + Bullet *Bullet + Elements []*ParagraphElement + ForceSendFields []string + NullFields []string + ParagraphStyle *ParagraphStyle + PositionedObjectIds []string + SuggestedBulletChanges map[string]SuggestedBullet + SuggestedParagraphStyleChanges map[string]SuggestedParagraphStyle + SuggestedPositionedObjectIds map[string]ObjectReferences + func (s *Paragraph) MarshalJSON() ([]byte, error) + type ParagraphBorder struct + Color *OptionalColor + DashStyle string + ForceSendFields []string + NullFields []string + Padding *Dimension + Width *Dimension + func (s *ParagraphBorder) MarshalJSON() ([]byte, error) + type ParagraphElement struct + AutoText *AutoText + ColumnBreak *ColumnBreak + EndIndex int64 + Equation *Equation + FootnoteReference *FootnoteReference + ForceSendFields []string + HorizontalRule *HorizontalRule + InlineObjectElement *InlineObjectElement + NullFields []string + PageBreak *PageBreak + StartIndex int64 + TextRun *TextRun + func (s *ParagraphElement) MarshalJSON() ([]byte, error) + type ParagraphStyle struct + Alignment string + AvoidWidowAndOrphan bool + BorderBetween *ParagraphBorder + BorderBottom *ParagraphBorder + BorderLeft *ParagraphBorder + BorderRight *ParagraphBorder + BorderTop *ParagraphBorder + Direction string + ForceSendFields []string + HeadingId string + IndentEnd *Dimension + IndentFirstLine *Dimension + IndentStart *Dimension + KeepLinesTogether bool + KeepWithNext bool + LineSpacing float64 + NamedStyleType string + NullFields []string + Shading *Shading + SpaceAbove *Dimension + SpaceBelow *Dimension + SpacingMode string + TabStops []*TabStop + func (s *ParagraphStyle) MarshalJSON() ([]byte, error) + func (s *ParagraphStyle) UnmarshalJSON(data []byte) error + type ParagraphStyleSuggestionState struct + AlignmentSuggested bool + AvoidWidowAndOrphanSuggested bool + BorderBetweenSuggested bool + BorderBottomSuggested bool + BorderLeftSuggested bool + BorderRightSuggested bool + BorderTopSuggested bool + DirectionSuggested bool + ForceSendFields []string + HeadingIdSuggested bool + IndentEndSuggested bool + IndentFirstLineSuggested bool + IndentStartSuggested bool + KeepLinesTogetherSuggested bool + KeepWithNextSuggested bool + LineSpacingSuggested bool + NamedStyleTypeSuggested bool + NullFields []string + ShadingSuggestionState *ShadingSuggestionState + SpaceAboveSuggested bool + SpaceBelowSuggested bool + SpacingModeSuggested bool + func (s *ParagraphStyleSuggestionState) MarshalJSON() ([]byte, error) + type PositionedObject struct + ForceSendFields []string + NullFields []string + ObjectId string + PositionedObjectProperties *PositionedObjectProperties + SuggestedDeletionIds []string + SuggestedInsertionId string + SuggestedPositionedObjectPropertiesChanges map[string]SuggestedPositionedObjectProperties + func (s *PositionedObject) MarshalJSON() ([]byte, error) + type PositionedObjectPositioning struct + ForceSendFields []string + Layout string + LeftOffset *Dimension + NullFields []string + TopOffset *Dimension + func (s *PositionedObjectPositioning) MarshalJSON() ([]byte, error) + type PositionedObjectPositioningSuggestionState struct + ForceSendFields []string + LayoutSuggested bool + LeftOffsetSuggested bool + NullFields []string + TopOffsetSuggested bool + func (s *PositionedObjectPositioningSuggestionState) MarshalJSON() ([]byte, error) + type PositionedObjectProperties struct + EmbeddedObject *EmbeddedObject + ForceSendFields []string + NullFields []string + Positioning *PositionedObjectPositioning + func (s *PositionedObjectProperties) MarshalJSON() ([]byte, error) + type PositionedObjectPropertiesSuggestionState struct + EmbeddedObjectSuggestionState *EmbeddedObjectSuggestionState + ForceSendFields []string + NullFields []string + PositioningSuggestionState *PositionedObjectPositioningSuggestionState + func (s *PositionedObjectPropertiesSuggestionState) MarshalJSON() ([]byte, error) + type Range struct + EndIndex int64 + ForceSendFields []string + NullFields []string + SegmentId string + StartIndex int64 + func (s *Range) MarshalJSON() ([]byte, error) + type ReplaceAllTextRequest struct + ContainsText *SubstringMatchCriteria + ForceSendFields []string + NullFields []string + ReplaceText string + func (s *ReplaceAllTextRequest) MarshalJSON() ([]byte, error) + type ReplaceAllTextResponse struct + ForceSendFields []string + NullFields []string + OccurrencesChanged int64 + func (s *ReplaceAllTextResponse) MarshalJSON() ([]byte, error) + type ReplaceImageRequest struct + ForceSendFields []string + ImageObjectId string + ImageReplaceMethod string + NullFields []string + Uri string + func (s *ReplaceImageRequest) MarshalJSON() ([]byte, error) + type ReplaceNamedRangeContentRequest struct + ForceSendFields []string + NamedRangeId string + NamedRangeName string + NullFields []string + Text string + func (s *ReplaceNamedRangeContentRequest) MarshalJSON() ([]byte, error) + type Request struct + CreateFooter *CreateFooterRequest + CreateFootnote *CreateFootnoteRequest + CreateHeader *CreateHeaderRequest + CreateNamedRange *CreateNamedRangeRequest + CreateParagraphBullets *CreateParagraphBulletsRequest + DeleteContentRange *DeleteContentRangeRequest + DeleteFooter *DeleteFooterRequest + DeleteHeader *DeleteHeaderRequest + DeleteNamedRange *DeleteNamedRangeRequest + DeleteParagraphBullets *DeleteParagraphBulletsRequest + DeletePositionedObject *DeletePositionedObjectRequest + DeleteTableColumn *DeleteTableColumnRequest + DeleteTableRow *DeleteTableRowRequest + ForceSendFields []string + InsertInlineImage *InsertInlineImageRequest + InsertPageBreak *InsertPageBreakRequest + InsertSectionBreak *InsertSectionBreakRequest + InsertTable *InsertTableRequest + InsertTableColumn *InsertTableColumnRequest + InsertTableRow *InsertTableRowRequest + InsertText *InsertTextRequest + MergeTableCells *MergeTableCellsRequest + NullFields []string + ReplaceAllText *ReplaceAllTextRequest + ReplaceImage *ReplaceImageRequest + ReplaceNamedRangeContent *ReplaceNamedRangeContentRequest + UnmergeTableCells *UnmergeTableCellsRequest + UpdateDocumentStyle *UpdateDocumentStyleRequest + UpdateParagraphStyle *UpdateParagraphStyleRequest + UpdateSectionStyle *UpdateSectionStyleRequest + UpdateTableCellStyle *UpdateTableCellStyleRequest + UpdateTableColumnProperties *UpdateTableColumnPropertiesRequest + UpdateTableRowStyle *UpdateTableRowStyleRequest + UpdateTextStyle *UpdateTextStyleRequest + func (s *Request) MarshalJSON() ([]byte, error) + type Response struct + CreateFooter *CreateFooterResponse + CreateFootnote *CreateFootnoteResponse + CreateHeader *CreateHeaderResponse + CreateNamedRange *CreateNamedRangeResponse + ForceSendFields []string + InsertInlineImage *InsertInlineImageResponse + InsertInlineSheetsChart *InsertInlineSheetsChartResponse + NullFields []string + ReplaceAllText *ReplaceAllTextResponse + func (s *Response) MarshalJSON() ([]byte, error) + type RgbColor struct + Blue float64 + ForceSendFields []string + Green float64 + NullFields []string + Red float64 + func (s *RgbColor) MarshalJSON() ([]byte, error) + func (s *RgbColor) UnmarshalJSON(data []byte) error + type SectionBreak struct + ForceSendFields []string + NullFields []string + SectionStyle *SectionStyle + SuggestedDeletionIds []string + SuggestedInsertionIds []string + func (s *SectionBreak) MarshalJSON() ([]byte, error) + type SectionColumnProperties struct + ForceSendFields []string + NullFields []string + PaddingEnd *Dimension + Width *Dimension + func (s *SectionColumnProperties) MarshalJSON() ([]byte, error) + type SectionStyle struct + ColumnProperties []*SectionColumnProperties + ColumnSeparatorStyle string + ContentDirection string + DefaultFooterId string + DefaultHeaderId string + EvenPageFooterId string + EvenPageHeaderId string + FirstPageFooterId string + FirstPageHeaderId string + ForceSendFields []string + MarginBottom *Dimension + MarginFooter *Dimension + MarginHeader *Dimension + MarginLeft *Dimension + MarginRight *Dimension + MarginTop *Dimension + NullFields []string + PageNumberStart int64 + SectionType string + UseFirstPageHeaderFooter bool + func (s *SectionStyle) MarshalJSON() ([]byte, error) + type Service struct + BasePath string + Documents *DocumentsService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type Shading struct + BackgroundColor *OptionalColor + ForceSendFields []string + NullFields []string + func (s *Shading) MarshalJSON() ([]byte, error) + type ShadingSuggestionState struct + BackgroundColorSuggested bool + ForceSendFields []string + NullFields []string + func (s *ShadingSuggestionState) MarshalJSON() ([]byte, error) + type SheetsChartReference struct + ChartId int64 + ForceSendFields []string + NullFields []string + SpreadsheetId string + func (s *SheetsChartReference) MarshalJSON() ([]byte, error) + type SheetsChartReferenceSuggestionState struct + ChartIdSuggested bool + ForceSendFields []string + NullFields []string + SpreadsheetIdSuggested bool + func (s *SheetsChartReferenceSuggestionState) MarshalJSON() ([]byte, error) + type Size struct + ForceSendFields []string + Height *Dimension + NullFields []string + Width *Dimension + func (s *Size) MarshalJSON() ([]byte, error) + type SizeSuggestionState struct + ForceSendFields []string + HeightSuggested bool + NullFields []string + WidthSuggested bool + func (s *SizeSuggestionState) MarshalJSON() ([]byte, error) + type StructuralElement struct + EndIndex int64 + ForceSendFields []string + NullFields []string + Paragraph *Paragraph + SectionBreak *SectionBreak + StartIndex int64 + Table *Table + TableOfContents *TableOfContents + func (s *StructuralElement) MarshalJSON() ([]byte, error) + type SubstringMatchCriteria struct + ForceSendFields []string + MatchCase bool + NullFields []string + Text string + func (s *SubstringMatchCriteria) MarshalJSON() ([]byte, error) + type SuggestedBullet struct + Bullet *Bullet + BulletSuggestionState *BulletSuggestionState + ForceSendFields []string + NullFields []string + func (s *SuggestedBullet) MarshalJSON() ([]byte, error) + type SuggestedDocumentStyle struct + DocumentStyle *DocumentStyle + DocumentStyleSuggestionState *DocumentStyleSuggestionState + ForceSendFields []string + NullFields []string + func (s *SuggestedDocumentStyle) MarshalJSON() ([]byte, error) + type SuggestedInlineObjectProperties struct + ForceSendFields []string + InlineObjectProperties *InlineObjectProperties + InlineObjectPropertiesSuggestionState *InlineObjectPropertiesSuggestionState + NullFields []string + func (s *SuggestedInlineObjectProperties) MarshalJSON() ([]byte, error) + type SuggestedListProperties struct + ForceSendFields []string + ListProperties *ListProperties + ListPropertiesSuggestionState *ListPropertiesSuggestionState + NullFields []string + func (s *SuggestedListProperties) MarshalJSON() ([]byte, error) + type SuggestedNamedStyles struct + ForceSendFields []string + NamedStyles *NamedStyles + NamedStylesSuggestionState *NamedStylesSuggestionState + NullFields []string + func (s *SuggestedNamedStyles) MarshalJSON() ([]byte, error) + type SuggestedParagraphStyle struct + ForceSendFields []string + NullFields []string + ParagraphStyle *ParagraphStyle + ParagraphStyleSuggestionState *ParagraphStyleSuggestionState + func (s *SuggestedParagraphStyle) MarshalJSON() ([]byte, error) + type SuggestedPositionedObjectProperties struct + ForceSendFields []string + NullFields []string + PositionedObjectProperties *PositionedObjectProperties + PositionedObjectPropertiesSuggestionState *PositionedObjectPropertiesSuggestionState + func (s *SuggestedPositionedObjectProperties) MarshalJSON() ([]byte, error) + type SuggestedTableCellStyle struct + ForceSendFields []string + NullFields []string + TableCellStyle *TableCellStyle + TableCellStyleSuggestionState *TableCellStyleSuggestionState + func (s *SuggestedTableCellStyle) MarshalJSON() ([]byte, error) + type SuggestedTableRowStyle struct + ForceSendFields []string + NullFields []string + TableRowStyle *TableRowStyle + TableRowStyleSuggestionState *TableRowStyleSuggestionState + func (s *SuggestedTableRowStyle) MarshalJSON() ([]byte, error) + type SuggestedTextStyle struct + ForceSendFields []string + NullFields []string + TextStyle *TextStyle + TextStyleSuggestionState *TextStyleSuggestionState + func (s *SuggestedTextStyle) MarshalJSON() ([]byte, error) + type TabStop struct + Alignment string + ForceSendFields []string + NullFields []string + Offset *Dimension + func (s *TabStop) MarshalJSON() ([]byte, error) + type Table struct + Columns int64 + ForceSendFields []string + NullFields []string + Rows int64 + SuggestedDeletionIds []string + SuggestedInsertionIds []string + TableRows []*TableRow + TableStyle *TableStyle + func (s *Table) MarshalJSON() ([]byte, error) + type TableCell struct + Content []*StructuralElement + EndIndex int64 + ForceSendFields []string + NullFields []string + StartIndex int64 + SuggestedDeletionIds []string + SuggestedInsertionIds []string + SuggestedTableCellStyleChanges map[string]SuggestedTableCellStyle + TableCellStyle *TableCellStyle + func (s *TableCell) MarshalJSON() ([]byte, error) + type TableCellBorder struct + Color *OptionalColor + DashStyle string + ForceSendFields []string + NullFields []string + Width *Dimension + func (s *TableCellBorder) MarshalJSON() ([]byte, error) + type TableCellLocation struct + ColumnIndex int64 + ForceSendFields []string + NullFields []string + RowIndex int64 + TableStartLocation *Location + func (s *TableCellLocation) MarshalJSON() ([]byte, error) + type TableCellStyle struct + BackgroundColor *OptionalColor + BorderBottom *TableCellBorder + BorderLeft *TableCellBorder + BorderRight *TableCellBorder + BorderTop *TableCellBorder + ColumnSpan int64 + ContentAlignment string + ForceSendFields []string + NullFields []string + PaddingBottom *Dimension + PaddingLeft *Dimension + PaddingRight *Dimension + PaddingTop *Dimension + RowSpan int64 + func (s *TableCellStyle) MarshalJSON() ([]byte, error) + type TableCellStyleSuggestionState struct + BackgroundColorSuggested bool + BorderBottomSuggested bool + BorderLeftSuggested bool + BorderRightSuggested bool + BorderTopSuggested bool + ColumnSpanSuggested bool + ContentAlignmentSuggested bool + ForceSendFields []string + NullFields []string + PaddingBottomSuggested bool + PaddingLeftSuggested bool + PaddingRightSuggested bool + PaddingTopSuggested bool + RowSpanSuggested bool + func (s *TableCellStyleSuggestionState) MarshalJSON() ([]byte, error) + type TableColumnProperties struct + ForceSendFields []string + NullFields []string + Width *Dimension + WidthType string + func (s *TableColumnProperties) MarshalJSON() ([]byte, error) + type TableOfContents struct + Content []*StructuralElement + ForceSendFields []string + NullFields []string + SuggestedDeletionIds []string + SuggestedInsertionIds []string + func (s *TableOfContents) MarshalJSON() ([]byte, error) + type TableRange struct + ColumnSpan int64 + ForceSendFields []string + NullFields []string + RowSpan int64 + TableCellLocation *TableCellLocation + func (s *TableRange) MarshalJSON() ([]byte, error) + type TableRow struct + EndIndex int64 + ForceSendFields []string + NullFields []string + StartIndex int64 + SuggestedDeletionIds []string + SuggestedInsertionIds []string + SuggestedTableRowStyleChanges map[string]SuggestedTableRowStyle + TableCells []*TableCell + TableRowStyle *TableRowStyle + func (s *TableRow) MarshalJSON() ([]byte, error) + type TableRowStyle struct + ForceSendFields []string + MinRowHeight *Dimension + NullFields []string + func (s *TableRowStyle) MarshalJSON() ([]byte, error) + type TableRowStyleSuggestionState struct + ForceSendFields []string + MinRowHeightSuggested bool + NullFields []string + func (s *TableRowStyleSuggestionState) MarshalJSON() ([]byte, error) + type TableStyle struct + ForceSendFields []string + NullFields []string + TableColumnProperties []*TableColumnProperties + func (s *TableStyle) MarshalJSON() ([]byte, error) + type TextRun struct + Content string + ForceSendFields []string + NullFields []string + SuggestedDeletionIds []string + SuggestedInsertionIds []string + SuggestedTextStyleChanges map[string]SuggestedTextStyle + TextStyle *TextStyle + func (s *TextRun) MarshalJSON() ([]byte, error) + type TextStyle struct + BackgroundColor *OptionalColor + BaselineOffset string + Bold bool + FontSize *Dimension + ForceSendFields []string + ForegroundColor *OptionalColor + Italic bool + Link *Link + NullFields []string + SmallCaps bool + Strikethrough bool + Underline bool + WeightedFontFamily *WeightedFontFamily + func (s *TextStyle) MarshalJSON() ([]byte, error) + type TextStyleSuggestionState struct + BackgroundColorSuggested bool + BaselineOffsetSuggested bool + BoldSuggested bool + FontSizeSuggested bool + ForceSendFields []string + ForegroundColorSuggested bool + ItalicSuggested bool + LinkSuggested bool + NullFields []string + SmallCapsSuggested bool + StrikethroughSuggested bool + UnderlineSuggested bool + WeightedFontFamilySuggested bool + func (s *TextStyleSuggestionState) MarshalJSON() ([]byte, error) + type UnmergeTableCellsRequest struct + ForceSendFields []string + NullFields []string + TableRange *TableRange + func (s *UnmergeTableCellsRequest) MarshalJSON() ([]byte, error) + type UpdateDocumentStyleRequest struct + DocumentStyle *DocumentStyle + Fields string + ForceSendFields []string + NullFields []string + func (s *UpdateDocumentStyleRequest) MarshalJSON() ([]byte, error) + type UpdateParagraphStyleRequest struct + Fields string + ForceSendFields []string + NullFields []string + ParagraphStyle *ParagraphStyle + Range *Range + func (s *UpdateParagraphStyleRequest) MarshalJSON() ([]byte, error) + type UpdateSectionStyleRequest struct + Fields string + ForceSendFields []string + NullFields []string + Range *Range + SectionStyle *SectionStyle + func (s *UpdateSectionStyleRequest) MarshalJSON() ([]byte, error) + type UpdateTableCellStyleRequest struct + Fields string + ForceSendFields []string + NullFields []string + TableCellStyle *TableCellStyle + TableRange *TableRange + TableStartLocation *Location + func (s *UpdateTableCellStyleRequest) MarshalJSON() ([]byte, error) + type UpdateTableColumnPropertiesRequest struct + ColumnIndices []int64 + Fields string + ForceSendFields []string + NullFields []string + TableColumnProperties *TableColumnProperties + TableStartLocation *Location + func (s *UpdateTableColumnPropertiesRequest) MarshalJSON() ([]byte, error) + type UpdateTableRowStyleRequest struct + Fields string + ForceSendFields []string + NullFields []string + RowIndices []int64 + TableRowStyle *TableRowStyle + TableStartLocation *Location + func (s *UpdateTableRowStyleRequest) MarshalJSON() ([]byte, error) + type UpdateTextStyleRequest struct + Fields string + ForceSendFields []string + NullFields []string + Range *Range + TextStyle *TextStyle + func (s *UpdateTextStyleRequest) MarshalJSON() ([]byte, error) + type WeightedFontFamily struct + FontFamily string + ForceSendFields []string + NullFields []string + Weight int64 + func (s *WeightedFontFamily) MarshalJSON() ([]byte, error) + type WriteControl struct + ForceSendFields []string + NullFields []string + RequiredRevisionId string + TargetRevisionId string + func (s *WriteControl) MarshalJSON() ([]byte, error)