Versions in this module Expand all Collapse all v0 v0.25.2 May 21, 2020 Changes in this version + const FusiontablesReadonlyScope + const FusiontablesScope + type Bucket struct + Color string + ForceSendFields []string + Icon string + Max float64 + Min float64 + NullFields []string + Opacity float64 + Weight int64 + func (s *Bucket) MarshalJSON() ([]byte, error) + func (s *Bucket) UnmarshalJSON(data []byte) error + type Column struct + BaseColumn *ColumnBaseColumn + ColumnId int64 + Description string + ForceSendFields []string + GraphPredicate string + Kind string + Name string + NullFields []string + Type string + func (s *Column) MarshalJSON() ([]byte, error) + type ColumnBaseColumn struct + ColumnId int64 + ForceSendFields []string + NullFields []string + TableIndex int64 + func (s *ColumnBaseColumn) MarshalJSON() ([]byte, error) + type ColumnDeleteCall struct + func (c *ColumnDeleteCall) Context(ctx context.Context) *ColumnDeleteCall + func (c *ColumnDeleteCall) Do(opts ...googleapi.CallOption) error + func (c *ColumnDeleteCall) Fields(s ...googleapi.Field) *ColumnDeleteCall + func (c *ColumnDeleteCall) Header() http.Header + type ColumnGetCall struct + func (c *ColumnGetCall) Context(ctx context.Context) *ColumnGetCall + func (c *ColumnGetCall) Do(opts ...googleapi.CallOption) (*Column, error) + func (c *ColumnGetCall) Fields(s ...googleapi.Field) *ColumnGetCall + func (c *ColumnGetCall) Header() http.Header + func (c *ColumnGetCall) IfNoneMatch(entityTag string) *ColumnGetCall + type ColumnInsertCall struct + func (c *ColumnInsertCall) Context(ctx context.Context) *ColumnInsertCall + func (c *ColumnInsertCall) Do(opts ...googleapi.CallOption) (*Column, error) + func (c *ColumnInsertCall) Fields(s ...googleapi.Field) *ColumnInsertCall + func (c *ColumnInsertCall) Header() http.Header + type ColumnList struct + ForceSendFields []string + Items []*Column + Kind string + NextPageToken string + NullFields []string + TotalItems int64 + func (s *ColumnList) MarshalJSON() ([]byte, error) + type ColumnListCall struct + func (c *ColumnListCall) Context(ctx context.Context) *ColumnListCall + func (c *ColumnListCall) Do(opts ...googleapi.CallOption) (*ColumnList, error) + func (c *ColumnListCall) Fields(s ...googleapi.Field) *ColumnListCall + func (c *ColumnListCall) Header() http.Header + func (c *ColumnListCall) IfNoneMatch(entityTag string) *ColumnListCall + func (c *ColumnListCall) MaxResults(maxResults int64) *ColumnListCall + func (c *ColumnListCall) PageToken(pageToken string) *ColumnListCall + func (c *ColumnListCall) Pages(ctx context.Context, f func(*ColumnList) error) error + type ColumnPatchCall struct + func (c *ColumnPatchCall) Context(ctx context.Context) *ColumnPatchCall + func (c *ColumnPatchCall) Do(opts ...googleapi.CallOption) (*Column, error) + func (c *ColumnPatchCall) Fields(s ...googleapi.Field) *ColumnPatchCall + func (c *ColumnPatchCall) Header() http.Header + type ColumnService struct + func NewColumnService(s *Service) *ColumnService + func (r *ColumnService) Delete(tableId string, columnId string) *ColumnDeleteCall + func (r *ColumnService) Get(tableId string, columnId string) *ColumnGetCall + func (r *ColumnService) Insert(tableId string, column *Column) *ColumnInsertCall + func (r *ColumnService) List(tableId string) *ColumnListCall + func (r *ColumnService) Patch(tableId string, columnId string, column *Column) *ColumnPatchCall + func (r *ColumnService) Update(tableId string, columnId string, column *Column) *ColumnUpdateCall + type ColumnUpdateCall struct + func (c *ColumnUpdateCall) Context(ctx context.Context) *ColumnUpdateCall + func (c *ColumnUpdateCall) Do(opts ...googleapi.CallOption) (*Column, error) + func (c *ColumnUpdateCall) Fields(s ...googleapi.Field) *ColumnUpdateCall + func (c *ColumnUpdateCall) Header() http.Header + type Geometry struct + ForceSendFields []string + Geometries []interface{} + Geometry interface{} + NullFields []string + Type string + func (s *Geometry) MarshalJSON() ([]byte, error) + type Import struct + ForceSendFields []string + Kind string + NullFields []string + NumRowsReceived int64 + func (s *Import) MarshalJSON() ([]byte, error) + type Line struct + Coordinates [][]float64 + ForceSendFields []string + NullFields []string + Type string + func (s *Line) MarshalJSON() ([]byte, error) + type LineStyle struct + ForceSendFields []string + NullFields []string + StrokeColor string + StrokeColorStyler *StyleFunction + StrokeOpacity float64 + StrokeWeight int64 + StrokeWeightStyler *StyleFunction + func (s *LineStyle) MarshalJSON() ([]byte, error) + func (s *LineStyle) UnmarshalJSON(data []byte) error + type Point struct + Coordinates []float64 + ForceSendFields []string + NullFields []string + Type string + func (s *Point) MarshalJSON() ([]byte, error) + type PointStyle struct + ForceSendFields []string + IconName string + IconStyler *StyleFunction + NullFields []string + func (s *PointStyle) MarshalJSON() ([]byte, error) + type Polygon struct + Coordinates [][][]float64 + ForceSendFields []string + NullFields []string + Type string + func (s *Polygon) MarshalJSON() ([]byte, error) + type PolygonStyle struct + FillColor string + FillColorStyler *StyleFunction + FillOpacity float64 + ForceSendFields []string + NullFields []string + StrokeColor string + StrokeColorStyler *StyleFunction + StrokeOpacity float64 + StrokeWeight int64 + StrokeWeightStyler *StyleFunction + func (s *PolygonStyle) MarshalJSON() ([]byte, error) + func (s *PolygonStyle) UnmarshalJSON(data []byte) error + type QueryService struct + func NewQueryService(s *Service) *QueryService + func (r *QueryService) Sql(sql string) *QuerySqlCall + func (r *QueryService) SqlGet(sql string) *QuerySqlGetCall + type QuerySqlCall struct + func (c *QuerySqlCall) Context(ctx context.Context) *QuerySqlCall + func (c *QuerySqlCall) Do(opts ...googleapi.CallOption) (*Sqlresponse, error) + func (c *QuerySqlCall) Download(opts ...googleapi.CallOption) (*http.Response, error) + func (c *QuerySqlCall) Fields(s ...googleapi.Field) *QuerySqlCall + func (c *QuerySqlCall) Hdrs(hdrs bool) *QuerySqlCall + func (c *QuerySqlCall) Header() http.Header + func (c *QuerySqlCall) Typed(typed bool) *QuerySqlCall + type QuerySqlGetCall struct + func (c *QuerySqlGetCall) Context(ctx context.Context) *QuerySqlGetCall + func (c *QuerySqlGetCall) Do(opts ...googleapi.CallOption) (*Sqlresponse, error) + func (c *QuerySqlGetCall) Download(opts ...googleapi.CallOption) (*http.Response, error) + func (c *QuerySqlGetCall) Fields(s ...googleapi.Field) *QuerySqlGetCall + func (c *QuerySqlGetCall) Hdrs(hdrs bool) *QuerySqlGetCall + func (c *QuerySqlGetCall) Header() http.Header + func (c *QuerySqlGetCall) IfNoneMatch(entityTag string) *QuerySqlGetCall + func (c *QuerySqlGetCall) Typed(typed bool) *QuerySqlGetCall + type Service struct + BasePath string + Column *ColumnService + Query *QueryService + Style *StyleService + Table *TableService + Task *TaskService + Template *TemplateService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type Sqlresponse struct + Columns []string + ForceSendFields []string + Kind string + NullFields []string + Rows [][]interface{} + func (s *Sqlresponse) MarshalJSON() ([]byte, error) + type StyleDeleteCall struct + func (c *StyleDeleteCall) Context(ctx context.Context) *StyleDeleteCall + func (c *StyleDeleteCall) Do(opts ...googleapi.CallOption) error + func (c *StyleDeleteCall) Fields(s ...googleapi.Field) *StyleDeleteCall + func (c *StyleDeleteCall) Header() http.Header + type StyleFunction struct + Buckets []*Bucket + ColumnName string + ForceSendFields []string + Gradient *StyleFunctionGradient + Kind string + NullFields []string + func (s *StyleFunction) MarshalJSON() ([]byte, error) + type StyleFunctionGradient struct + Colors []*StyleFunctionGradientColors + ForceSendFields []string + Max float64 + Min float64 + NullFields []string + func (s *StyleFunctionGradient) MarshalJSON() ([]byte, error) + func (s *StyleFunctionGradient) UnmarshalJSON(data []byte) error + type StyleFunctionGradientColors struct + Color string + ForceSendFields []string + NullFields []string + Opacity float64 + func (s *StyleFunctionGradientColors) MarshalJSON() ([]byte, error) + func (s *StyleFunctionGradientColors) UnmarshalJSON(data []byte) error + type StyleGetCall struct + func (c *StyleGetCall) Context(ctx context.Context) *StyleGetCall + func (c *StyleGetCall) Do(opts ...googleapi.CallOption) (*StyleSetting, error) + func (c *StyleGetCall) Fields(s ...googleapi.Field) *StyleGetCall + func (c *StyleGetCall) Header() http.Header + func (c *StyleGetCall) IfNoneMatch(entityTag string) *StyleGetCall + type StyleInsertCall struct + func (c *StyleInsertCall) Context(ctx context.Context) *StyleInsertCall + func (c *StyleInsertCall) Do(opts ...googleapi.CallOption) (*StyleSetting, error) + func (c *StyleInsertCall) Fields(s ...googleapi.Field) *StyleInsertCall + func (c *StyleInsertCall) Header() http.Header + type StyleListCall struct + func (c *StyleListCall) Context(ctx context.Context) *StyleListCall + func (c *StyleListCall) Do(opts ...googleapi.CallOption) (*StyleSettingList, error) + func (c *StyleListCall) Fields(s ...googleapi.Field) *StyleListCall + func (c *StyleListCall) Header() http.Header + func (c *StyleListCall) IfNoneMatch(entityTag string) *StyleListCall + func (c *StyleListCall) MaxResults(maxResults int64) *StyleListCall + func (c *StyleListCall) PageToken(pageToken string) *StyleListCall + func (c *StyleListCall) Pages(ctx context.Context, f func(*StyleSettingList) error) error + type StylePatchCall struct + func (c *StylePatchCall) Context(ctx context.Context) *StylePatchCall + func (c *StylePatchCall) Do(opts ...googleapi.CallOption) (*StyleSetting, error) + func (c *StylePatchCall) Fields(s ...googleapi.Field) *StylePatchCall + func (c *StylePatchCall) Header() http.Header + type StyleService struct + func NewStyleService(s *Service) *StyleService + func (r *StyleService) Delete(tableId string, styleId int64) *StyleDeleteCall + func (r *StyleService) Get(tableId string, styleId int64) *StyleGetCall + func (r *StyleService) Insert(tableId string, stylesetting *StyleSetting) *StyleInsertCall + func (r *StyleService) List(tableId string) *StyleListCall + func (r *StyleService) Patch(tableId string, styleId int64, stylesetting *StyleSetting) *StylePatchCall + func (r *StyleService) Update(tableId string, styleId int64, stylesetting *StyleSetting) *StyleUpdateCall + type StyleSetting struct + ForceSendFields []string + Kind string + MarkerOptions *PointStyle + Name string + NullFields []string + PolygonOptions *PolygonStyle + PolylineOptions *LineStyle + StyleId int64 + TableId string + func (s *StyleSetting) MarshalJSON() ([]byte, error) + type StyleSettingList struct + ForceSendFields []string + Items []*StyleSetting + Kind string + NextPageToken string + NullFields []string + TotalItems int64 + func (s *StyleSettingList) MarshalJSON() ([]byte, error) + type StyleUpdateCall struct + func (c *StyleUpdateCall) Context(ctx context.Context) *StyleUpdateCall + func (c *StyleUpdateCall) Do(opts ...googleapi.CallOption) (*StyleSetting, error) + func (c *StyleUpdateCall) Fields(s ...googleapi.Field) *StyleUpdateCall + func (c *StyleUpdateCall) Header() http.Header + type Table struct + Attribution string + AttributionLink string + BaseTableIds []string + Columns []*Column + Description string + ForceSendFields []string + IsExportable bool + Kind string + Name string + NullFields []string + Sql string + TableId string + func (s *Table) MarshalJSON() ([]byte, error) + type TableCopyCall struct + func (c *TableCopyCall) Context(ctx context.Context) *TableCopyCall + func (c *TableCopyCall) CopyPresentation(copyPresentation bool) *TableCopyCall + func (c *TableCopyCall) Do(opts ...googleapi.CallOption) (*Table, error) + func (c *TableCopyCall) Fields(s ...googleapi.Field) *TableCopyCall + func (c *TableCopyCall) Header() http.Header + type TableDeleteCall struct + func (c *TableDeleteCall) Context(ctx context.Context) *TableDeleteCall + func (c *TableDeleteCall) Do(opts ...googleapi.CallOption) error + func (c *TableDeleteCall) Fields(s ...googleapi.Field) *TableDeleteCall + func (c *TableDeleteCall) Header() http.Header + type TableGetCall struct + func (c *TableGetCall) Context(ctx context.Context) *TableGetCall + func (c *TableGetCall) Do(opts ...googleapi.CallOption) (*Table, error) + func (c *TableGetCall) Fields(s ...googleapi.Field) *TableGetCall + func (c *TableGetCall) Header() http.Header + func (c *TableGetCall) IfNoneMatch(entityTag string) *TableGetCall + type TableImportRowsCall struct + func (c *TableImportRowsCall) Context(ctx context.Context) *TableImportRowsCall + func (c *TableImportRowsCall) Delimiter(delimiter string) *TableImportRowsCall + func (c *TableImportRowsCall) Do(opts ...googleapi.CallOption) (*Import, error) + func (c *TableImportRowsCall) Encoding(encoding string) *TableImportRowsCall + func (c *TableImportRowsCall) EndLine(endLine int64) *TableImportRowsCall + func (c *TableImportRowsCall) Fields(s ...googleapi.Field) *TableImportRowsCall + func (c *TableImportRowsCall) Header() http.Header + func (c *TableImportRowsCall) IsStrict(isStrict bool) *TableImportRowsCall + func (c *TableImportRowsCall) Media(r io.Reader, options ...googleapi.MediaOption) *TableImportRowsCall + func (c *TableImportRowsCall) ProgressUpdater(pu googleapi.ProgressUpdater) *TableImportRowsCall + func (c *TableImportRowsCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *TableImportRowsCall + func (c *TableImportRowsCall) StartLine(startLine int64) *TableImportRowsCall + type TableImportTableCall struct + func (c *TableImportTableCall) Context(ctx context.Context) *TableImportTableCall + func (c *TableImportTableCall) Delimiter(delimiter string) *TableImportTableCall + func (c *TableImportTableCall) Do(opts ...googleapi.CallOption) (*Table, error) + func (c *TableImportTableCall) Encoding(encoding string) *TableImportTableCall + func (c *TableImportTableCall) Fields(s ...googleapi.Field) *TableImportTableCall + func (c *TableImportTableCall) Header() http.Header + func (c *TableImportTableCall) Media(r io.Reader, options ...googleapi.MediaOption) *TableImportTableCall + func (c *TableImportTableCall) ProgressUpdater(pu googleapi.ProgressUpdater) *TableImportTableCall + func (c *TableImportTableCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *TableImportTableCall + type TableInsertCall struct + func (c *TableInsertCall) Context(ctx context.Context) *TableInsertCall + func (c *TableInsertCall) Do(opts ...googleapi.CallOption) (*Table, error) + func (c *TableInsertCall) Fields(s ...googleapi.Field) *TableInsertCall + func (c *TableInsertCall) Header() http.Header + type TableList struct + ForceSendFields []string + Items []*Table + Kind string + NextPageToken string + NullFields []string + func (s *TableList) MarshalJSON() ([]byte, error) + type TableListCall struct + func (c *TableListCall) Context(ctx context.Context) *TableListCall + func (c *TableListCall) Do(opts ...googleapi.CallOption) (*TableList, error) + func (c *TableListCall) Fields(s ...googleapi.Field) *TableListCall + func (c *TableListCall) Header() http.Header + func (c *TableListCall) IfNoneMatch(entityTag string) *TableListCall + func (c *TableListCall) MaxResults(maxResults int64) *TableListCall + func (c *TableListCall) PageToken(pageToken string) *TableListCall + func (c *TableListCall) Pages(ctx context.Context, f func(*TableList) error) error + type TablePatchCall struct + func (c *TablePatchCall) Context(ctx context.Context) *TablePatchCall + func (c *TablePatchCall) Do(opts ...googleapi.CallOption) (*Table, error) + func (c *TablePatchCall) Fields(s ...googleapi.Field) *TablePatchCall + func (c *TablePatchCall) Header() http.Header + func (c *TablePatchCall) ReplaceViewDefinition(replaceViewDefinition bool) *TablePatchCall + type TableService struct + func NewTableService(s *Service) *TableService + func (r *TableService) Copy(tableId string) *TableCopyCall + func (r *TableService) Delete(tableId string) *TableDeleteCall + func (r *TableService) Get(tableId string) *TableGetCall + func (r *TableService) ImportRows(tableId string) *TableImportRowsCall + func (r *TableService) ImportTable(name string) *TableImportTableCall + func (r *TableService) Insert(table *Table) *TableInsertCall + func (r *TableService) List() *TableListCall + func (r *TableService) Patch(tableId string, table *Table) *TablePatchCall + func (r *TableService) Update(tableId string, table *Table) *TableUpdateCall + type TableUpdateCall struct + func (c *TableUpdateCall) Context(ctx context.Context) *TableUpdateCall + func (c *TableUpdateCall) Do(opts ...googleapi.CallOption) (*Table, error) + func (c *TableUpdateCall) Fields(s ...googleapi.Field) *TableUpdateCall + func (c *TableUpdateCall) Header() http.Header + func (c *TableUpdateCall) ReplaceViewDefinition(replaceViewDefinition bool) *TableUpdateCall + type Task struct + ForceSendFields []string + Kind string + NullFields []string + Progress string + Started bool + TaskId int64 + Type string + func (s *Task) MarshalJSON() ([]byte, error) + type TaskDeleteCall struct + func (c *TaskDeleteCall) Context(ctx context.Context) *TaskDeleteCall + func (c *TaskDeleteCall) Do(opts ...googleapi.CallOption) error + func (c *TaskDeleteCall) Fields(s ...googleapi.Field) *TaskDeleteCall + func (c *TaskDeleteCall) Header() http.Header + type TaskGetCall struct + func (c *TaskGetCall) Context(ctx context.Context) *TaskGetCall + func (c *TaskGetCall) Do(opts ...googleapi.CallOption) (*Task, error) + func (c *TaskGetCall) Fields(s ...googleapi.Field) *TaskGetCall + func (c *TaskGetCall) Header() http.Header + func (c *TaskGetCall) IfNoneMatch(entityTag string) *TaskGetCall + type TaskList struct + ForceSendFields []string + Items []*Task + Kind string + NextPageToken string + NullFields []string + TotalItems int64 + func (s *TaskList) MarshalJSON() ([]byte, error) + type TaskListCall struct + func (c *TaskListCall) Context(ctx context.Context) *TaskListCall + func (c *TaskListCall) Do(opts ...googleapi.CallOption) (*TaskList, error) + func (c *TaskListCall) Fields(s ...googleapi.Field) *TaskListCall + func (c *TaskListCall) Header() http.Header + func (c *TaskListCall) IfNoneMatch(entityTag string) *TaskListCall + func (c *TaskListCall) MaxResults(maxResults int64) *TaskListCall + func (c *TaskListCall) PageToken(pageToken string) *TaskListCall + func (c *TaskListCall) Pages(ctx context.Context, f func(*TaskList) error) error + func (c *TaskListCall) StartIndex(startIndex int64) *TaskListCall + type TaskService struct + func NewTaskService(s *Service) *TaskService + func (r *TaskService) Delete(tableId string, taskId string) *TaskDeleteCall + func (r *TaskService) Get(tableId string, taskId string) *TaskGetCall + func (r *TaskService) List(tableId string) *TaskListCall + type Template struct + AutomaticColumnNames []string + Body string + ForceSendFields []string + Kind string + Name string + NullFields []string + TableId string + TemplateId int64 + func (s *Template) MarshalJSON() ([]byte, error) + type TemplateDeleteCall struct + func (c *TemplateDeleteCall) Context(ctx context.Context) *TemplateDeleteCall + func (c *TemplateDeleteCall) Do(opts ...googleapi.CallOption) error + func (c *TemplateDeleteCall) Fields(s ...googleapi.Field) *TemplateDeleteCall + func (c *TemplateDeleteCall) Header() http.Header + type TemplateGetCall struct + func (c *TemplateGetCall) Context(ctx context.Context) *TemplateGetCall + func (c *TemplateGetCall) Do(opts ...googleapi.CallOption) (*Template, error) + func (c *TemplateGetCall) Fields(s ...googleapi.Field) *TemplateGetCall + func (c *TemplateGetCall) Header() http.Header + func (c *TemplateGetCall) IfNoneMatch(entityTag string) *TemplateGetCall + type TemplateInsertCall struct + func (c *TemplateInsertCall) Context(ctx context.Context) *TemplateInsertCall + func (c *TemplateInsertCall) Do(opts ...googleapi.CallOption) (*Template, error) + func (c *TemplateInsertCall) Fields(s ...googleapi.Field) *TemplateInsertCall + func (c *TemplateInsertCall) Header() http.Header + type TemplateList struct + ForceSendFields []string + Items []*Template + Kind string + NextPageToken string + NullFields []string + TotalItems int64 + func (s *TemplateList) MarshalJSON() ([]byte, error) + type TemplateListCall struct + func (c *TemplateListCall) Context(ctx context.Context) *TemplateListCall + func (c *TemplateListCall) Do(opts ...googleapi.CallOption) (*TemplateList, error) + func (c *TemplateListCall) Fields(s ...googleapi.Field) *TemplateListCall + func (c *TemplateListCall) Header() http.Header + func (c *TemplateListCall) IfNoneMatch(entityTag string) *TemplateListCall + func (c *TemplateListCall) MaxResults(maxResults int64) *TemplateListCall + func (c *TemplateListCall) PageToken(pageToken string) *TemplateListCall + func (c *TemplateListCall) Pages(ctx context.Context, f func(*TemplateList) error) error + type TemplatePatchCall struct + func (c *TemplatePatchCall) Context(ctx context.Context) *TemplatePatchCall + func (c *TemplatePatchCall) Do(opts ...googleapi.CallOption) (*Template, error) + func (c *TemplatePatchCall) Fields(s ...googleapi.Field) *TemplatePatchCall + func (c *TemplatePatchCall) Header() http.Header + type TemplateService struct + func NewTemplateService(s *Service) *TemplateService + func (r *TemplateService) Delete(tableId string, templateId int64) *TemplateDeleteCall + func (r *TemplateService) Get(tableId string, templateId int64) *TemplateGetCall + func (r *TemplateService) Insert(tableId string, template *Template) *TemplateInsertCall + func (r *TemplateService) List(tableId string) *TemplateListCall + func (r *TemplateService) Patch(tableId string, templateId int64, template *Template) *TemplatePatchCall + func (r *TemplateService) Update(tableId string, templateId int64, template *Template) *TemplateUpdateCall + type TemplateUpdateCall struct + func (c *TemplateUpdateCall) Context(ctx context.Context) *TemplateUpdateCall + func (c *TemplateUpdateCall) Do(opts ...googleapi.CallOption) (*Template, error) + func (c *TemplateUpdateCall) Fields(s ...googleapi.Field) *TemplateUpdateCall + func (c *TemplateUpdateCall) Header() http.Header