Versions in this module Expand all Collapse all v1 v1.1.1 Jan 29, 2021 Changes in this version + type InternalError struct + func (e InternalError) Error() string v1.1.0 Nov 1, 2020 Changes in this version + const BaseUrl + type AddPermissionPayload struct + Access string + Principal Principal + SuppressEmail bool + type AddPermissionResponse struct + type ApiError struct + func (e ApiError) Error() string + type CellParam struct + Column string + Value interface{} + type Client struct + BaseURL *url.URL + HttpClient *http.Client + UserAgent string + func DefaultClient(apiKey string) *Client + func (c *Client) AddPermission(docId string, payload AddPermissionPayload) (AddPermissionResponse, error) + func (c *Client) CreateDocument(payload CreateDocumentPayload) (CreateDocumentResponse, error) + func (c *Client) DeleteDocument(id string) (DeleteDocumentResponse, error) + func (c *Client) DeletePermission(docId, permissionId string) (DeletePermissionResponse, error) + func (c *Client) DeleteRow(docId string, tableIdOrName string, rowIdOrName string) (DeleteRowResponse, error) + func (c *Client) DeleteRows(docId string, tableIdOrName string, deleteRowsParams DeleteRowsParameters) (DeleteRowsResponse, error) + func (c *Client) GetACLMetadata(docId string) (GetACLResponse, error) + func (c *Client) GetColumn(docId string, tableIdOrName string, columnIdOrName string) (GetColumnResponse, error) + func (c *Client) GetControl(docId string, controlIdOrName string) (GetControlResponse, error) + func (c *Client) GetDoc(id string) (GetDocumentResponse, error) + func (c *Client) GetDocumentCategories() (GetDocumentCategoriesResponse, error) + func (c *Client) GetFormula(docId string, formulaIdOrName string) (GetFormulaResponse, error) + func (c *Client) GetMutationStatus(requestId string) (MutationStatusResponse, error) + func (c *Client) GetPage(docId string, pageIdOrName string) (GetPageResponse, error) + func (c *Client) GetTable(docId string, tableIdOrName string) (GetTableResponse, error) + func (c *Client) GetTableRow(docId string, tableIdOrName string, rowIdOrName string, ...) (GetRowResponse, error) + func (c *Client) GetUserInfo() (UserInfoResponse, error) + func (c *Client) GetView(docId string, viewIdOrName string) (GetViewResponse, error) + func (c *Client) InsertRows(docId string, tableIdOrName string, disableParsing bool, ...) (InsertRowsResponse, error) + func (c *Client) ListACLs(docId string, paginationPayload PaginationPayload) (ListACLResponse, error) + func (c *Client) ListColumns(docId string, tableIdOrName string, payload ListColumnsPayload) (ListColumnsResponse, error) + func (c *Client) ListControls(docId string, payload ListControlsPayload) (ListControlsResponse, error) + func (c *Client) ListDocuments(payload ListDocumentsPayload) (ListDocumentsResponse, error) + func (c *Client) ListFormulas(docId string, payload ListFormulasPayload) (ListFormulasResponse, error) + func (c *Client) ListPages(docId string, paginationPayload PaginationPayload) (ListPagesResponse, error) + func (c *Client) ListTableRows(docId string, tableIdOrName string, listRowsParams ListRowsParameters) (ListRowsResponse, error) + func (c *Client) ListTables(docId string, payload ListTablesPayload) (ListTablesResponse, error) + func (c *Client) ListViewColumns(docId string, viewIdOrName string, paginationPayload PaginationPayload) (ListColumnsResponse, error) + func (c *Client) ListViewRows(docId string, viewIdOrName string, viewRowsParams ListViewRowsParameters) (ListViewRowsResponse, error) + func (c *Client) ListViews(docId string, paginationPayload PaginationPayload) (ListViewsResponse, error) + func (c *Client) PublishDocument(documentId string, payload PublishDocumentPayload) (PublishDocumentResponse, error) + func (c *Client) PushButton(docId string, tableIdOrName string, rowIdOrName string, columnIdOrName string) (PushButtonResponse, error) + func (c *Client) ResolveBrowserLink(browserLinkParams ResolveBrowserLinkParameters) (ResolveBrowserLinkResponse, error) + func (c *Client) UnpublishDocument(documentId string) error + func (c *Client) UpdatePage(docId string, pageIdOrName string, pagePayload UpdatePagePayload) (RequestResponse, error) + func (c *Client) UpdateRow(docId string, tableIdOrName string, rowIdOrName string, disableParsing bool, ...) (UpdateRowResponse, error) + type Column struct + Format ColumnFormat + IsCalculated bool + IsDisplay bool + Parent TableReference + type ColumnFormat struct + IsArray bool + Type string + type ColumnReference struct + Href string + Id string + Name string + Type string + type Control struct + ControlType string + Value interface{} + type ControlReference struct + Href string + Id string + Name string + Parent PageReference + Type string + type CreateDocumentPayload struct + FolderId string + SourceDoc string + Timezone string + Title string + type CreateDocumentResponse struct + type DeleteDocumentResponse struct + type DeletePermissionResponse struct + type DeleteRowResponse struct + Id string + RequestId string + type DeleteRowsParameters struct + RowIds []string + type DeleteRowsResponse struct + RequestId string + RowIds []string + type DocCategory struct + Name string + type DocPublished struct + BrowserLink string + Categories []string + Description string + Discoverable bool + EarnCredit bool + ImageLink string + Mode string + type DocSize struct + OverApiSizeLimit bool + PageCount int + TableAndViewCount int + TotalRowCount int + type Document struct + BrowserLink string + CreatedAt string + DocSize DocSize + Href string + Icon Icon + Id string + Name string + Owner string + OwnerName string + Published DocPublished + SourceDoc struct{ ... } + Type string + UpdatedAt string + type ErrorResponse struct + Message string + StatusCode int + StatusMessage string + type Formula struct + Value interface{} + type FormulaReference struct + Href string + Id string + Name string + Parent PageReference + Type string + type GetACLResponse struct + CanShare bool + CanShareWithOrg bool + type GetColumnResponse struct + type GetControlResponse struct + type GetDocumentCategoriesResponse struct + Categories []DocCategory + type GetDocumentResponse struct + type GetFormulaResponse struct + type GetPageResponse struct + type GetRowParameters struct + UseColumnNames bool + type GetRowResponse struct + type GetTableResponse struct + type GetViewResponse struct + type Icon struct + BrowserLink string + Name string + Type string + type Image struct + BrowserLink string + Height int + Type string + Width int + type InsertRowsParameters struct + KeyColumns []string + Rows []RowParam + type InsertRowsResponse struct + RequestId string + type InvalidRequestError struct + func (e InvalidRequestError) Error() string + type InvalidTokenError struct + func (e InvalidTokenError) Error() string + type ListACLResponse struct + Permissions []Permission + type ListColumnsPayload struct + VisibleOnly bool + type ListColumnsResponse struct + Columns []Column + type ListControlsPayload struct + SortBy string + type ListControlsResponse struct + Controls []ControlReference + type ListDocumentsPayload struct + FolderId string + InGallery bool + IsOwner bool + IsStarred bool + Query string + SourceDocument string + WorkspaceId string + type ListDocumentsResponse struct + Documents []Document + type ListFormulasPayload struct + SortBy string + type ListFormulasResponse struct + Formulas []FormulaReference + type ListPagesPayload struct + Limit int + PageToken string + type ListPagesResponse struct + Pages []Page + type ListRowsParameters struct + Query string + SortBy string + UseColumnNames bool + ValueFormat string + VisibleOnly bool + type ListRowsResponse struct + Rows []Row + type ListTablesPayload struct + SortBy string + TableTypes string + type ListTablesResponse struct + Tables []TableReference + type ListViewRowsParameters struct + Query string + SortBy string + UseColumnNames bool + ValueFormat string + type ListViewRowsResponse struct + Rows []Row + type ListViewsParameters struct + TableType string + type ListViewsResponse struct + Views []View + type MutationStatusResponse struct + IsCompleted bool + type Page struct + Children []PageReference + Icon Icon + Image Image + Parent PageReference + Subtitle string + type PageReference struct + BrowserLink string + Href string + Id string + Name string + Type string + type PaginationPayload struct + Limit int + PageToken string + type PaginationResponse struct + Href string + NextPageLink string + NextPageToken string + type Permission struct + Access string + Id string + Principal Principal + type Principal struct + Email string + Type string + type PublishDocumentPayload struct + CategoryNames []string + Discoverable bool + EarnCredit bool + Mode string + Slug string + type PublishDocumentResponse struct + RequestId string + type PushButtonResponse struct + ColumnId string + RequestId string + RowId string + type RateLimitError struct + func (e RateLimitError) Error() string + type RequestResponse struct + Id string + RequestId string + type ResolveBrowserLinkParameters struct + DegradeGracefully bool + Url string + type ResolveBrowserLinkResponse struct + BrowserLink string + Href string + Resource Resource + Type string + type Resource struct + Href string + Id string + Name string + Type string + type ResourceDeletedError struct + func (e ResourceDeletedError) Error() string + type ResourceNotFoundError struct + func (e ResourceNotFoundError) Error() string + type Row struct + BrowserLink string + CreatedAt string + Href string + Id string + Index int + Name string + Parent struct{ ... } + Type string + UpdatedAt string + Values map[string]interface{} + type RowParam struct + Cells []CellParam + type RowQueryParams struct + DisableParsing bool + type Table struct + CreatedAt string + DisplayColumn Column + Filter TableFilter + Layout string + ParentTable TableReference + RowCount int + Sorts []struct{ ... } + UpdatedAt string + type TableFilter struct + HasNowFormula bool + HasTodayFormula bool + HasUserFormula bool + IsVolatile bool + Valid bool + type TableReference struct + BrowserLink string + Href string + Id string + Name string + Parent PageReference + TableType string + Type string + type UnauthorizedError struct + func (e UnauthorizedError) Error() string + type UpdatePagePayload struct + IconName string + ImageUrl string + Name string + Subtitle string + type UpdateRowParameters struct + Row RowParam + type UpdateRowResponse struct + Id string + RequestId string + type UserInfoResponse struct + Href string + LoginId string + Name string + PictureLink string + Scoped bool + TokenName string + Type string + type View struct + BrowserLink string + CreatedAt string + DisplayColumn Column + Href string + Id string + Layout string + Name string + RowCount int + Sorts []struct{ ... } + Type string + UpdatedAt string