fusiontables

package
v0.0.0-...-e3f747d Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Overview

Package fusiontables provides access to the Fusion Tables API.

See https://developers.google.com/fusiontables

Usage example:

import "google.golang.org/api/fusiontables/v2"
...
fusiontablesService, err := fusiontables.New(oauthHttpClient)

Index

Constants

View Source
const (
	// Manage your Fusion Tables
	FusiontablesScope = "https://www.googleapis.com/auth/fusiontables"

	// View your Fusion Tables
	FusiontablesReadonlyScope = "https://www.googleapis.com/auth/fusiontables.readonly"
)

OAuth2 scopes used by this API.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bucket

type Bucket struct {
	// Color: Color of line or the interior of a polygon in #RRGGBB format.
	Color string `json:"color,omitempty"`

	// Icon: Icon name used for a point.
	Icon string `json:"icon,omitempty"`

	// Max: Maximum value in the selected column for a row to be styled
	// according to the bucket color, opacity, icon, or weight.
	Max float64 `json:"max,omitempty"`

	// Min: Minimum value in the selected column for a row to be styled
	// according to the bucket color, opacity, icon, or weight.
	Min float64 `json:"min,omitempty"`

	// Opacity: Opacity of the color: 0.0 (transparent) to 1.0 (opaque).
	Opacity float64 `json:"opacity,omitempty"`

	// Weight: Width of a line (in pixels).
	Weight int64 `json:"weight,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Color") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Color") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

Bucket: Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting.

func (*Bucket) MarshalJSON

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

func (*Bucket) UnmarshalJSON

func (s *Bucket) UnmarshalJSON(data []byte) error

type Column

type Column struct {
	// BaseColumn: Identifier of the base column. If present, this column is
	// derived from the specified base column.
	BaseColumn *ColumnBaseColumn `json:"baseColumn,omitempty"`

	// ColumnId: Identifier for the column.
	ColumnId int64 `json:"columnId,omitempty"`

	// ColumnJsonSchema: JSON schema for interpreting JSON in this column.
	ColumnJsonSchema string `json:"columnJsonSchema,omitempty"`

	// ColumnPropertiesJson: JSON object containing custom column
	// properties.
	ColumnPropertiesJson string `json:"columnPropertiesJson,omitempty"`

	// Description: Column description.
	Description string `json:"description,omitempty"`

	// FormatPattern: Format pattern.
	// Acceptable values are DT_DATE_MEDIUMe.g Dec 24, 2008 DT_DATE_SHORTfor
	// example 12/24/08 DT_DATE_TIME_MEDIUMfor example Dec 24, 2008 8:30:45
	// PM DT_DATE_TIME_SHORTfor example 12/24/08 8:30 PM
	// DT_DAY_MONTH_2_DIGIT_YEARfor example 24/12/08
	// DT_DAY_MONTH_2_DIGIT_YEAR_TIMEfor example 24/12/08 20:30
	// DT_DAY_MONTH_2_DIGIT_YEAR_TIME_MERIDIANfor example 24/12/08 8:30 PM
	// DT_DAY_MONTH_4_DIGIT_YEARfor example 24/12/2008
	// DT_DAY_MONTH_4_DIGIT_YEAR_TIMEfor example 24/12/2008 20:30
	// DT_DAY_MONTH_4_DIGIT_YEAR_TIME_MERIDIANfor example 24/12/2008 8:30 PM
	// DT_ISO_YEAR_MONTH_DAYfor example 2008-12-24
	// DT_ISO_YEAR_MONTH_DAY_TIMEfor example 2008-12-24 20:30:45
	// DT_MONTH_DAY_4_DIGIT_YEARfor example 12/24/2008 DT_TIME_LONGfor
	// example 8:30:45 PM UTC-6 DT_TIME_MEDIUMfor example 8:30:45 PM
	// DT_TIME_SHORTfor example 8:30 PM DT_YEAR_ONLYfor example 2008
	// HIGHLIGHT_UNTYPED_CELLSHighlight cell data that does not match the
	// data type NONENo formatting (default) NUMBER_CURRENCYfor example
	// $1234.56 NUMBER_DEFAULTfor example 1,234.56 NUMBER_INTEGERfor example
	// 1235 NUMBER_NO_SEPARATORfor example 1234.56 NUMBER_PERCENTfor example
	// 123,456% NUMBER_SCIENTIFICfor example 1E3
	// STRING_EIGHT_LINE_IMAGEDisplays thumbnail images as tall as eight
	// lines of text STRING_FOUR_LINE_IMAGEDisplays thumbnail images as tall
	// as four lines of text STRING_JSON_TEXTAllows editing of text as JSON
	// in UI STRING_JSON_LISTAllows editing of text as a JSON list in UI
	// STRING_LINKTreats cell as a link (must start with http:// or
	// https://) STRING_ONE_LINE_IMAGEDisplays thumbnail images as tall as
	// one line of text STRING_VIDEO_OR_MAPDisplay a video or map thumbnail
	FormatPattern string `json:"formatPattern,omitempty"`

	// GraphPredicate: Column graph predicate.
	// Used to map table to graph data model (subject,predicate,object)
	// See W3C Graph-based Data Model.
	GraphPredicate string `json:"graphPredicate,omitempty"`

	// Kind: The kind of item this is. For a column, this is always
	// fusiontables#column.
	Kind string `json:"kind,omitempty"`

	// Name: Name of the column.
	Name string `json:"name,omitempty"`

	// Type: Type of the column.
	Type string `json:"type,omitempty"`

	// ValidValues: List of valid values used to validate data and supply a
	// drop-down list of values in the web application.
	ValidValues []string `json:"validValues,omitempty"`

	// ValidateData: If true, data entered via the web application is
	// validated.
	ValidateData bool `json:"validateData,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "BaseColumn") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "BaseColumn") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

Column: Specifies the details of a column in a table.

func (*Column) MarshalJSON

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

type ColumnBaseColumn

type ColumnBaseColumn struct {
	// ColumnId: The id of the column in the base table from which this
	// column is derived.
	ColumnId int64 `json:"columnId,omitempty"`

	// TableIndex: Offset to the entry in the list of base tables in the
	// table definition.
	TableIndex int64 `json:"tableIndex,omitempty"`

	// ForceSendFields is a list of field names (e.g. "ColumnId") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "ColumnId") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ColumnBaseColumn: Identifier of the base column. If present, this column is derived from the specified base column.

func (*ColumnBaseColumn) MarshalJSON

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

type ColumnDeleteCall

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

func (*ColumnDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ColumnDeleteCall) Do

func (c *ColumnDeleteCall) Do(opts ...googleapi.CallOption) error

Do executes the "fusiontables.column.delete" call.

func (*ColumnDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ColumnDeleteCall) Header

func (c *ColumnDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ColumnGetCall

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

func (*ColumnGetCall) Context

func (c *ColumnGetCall) Context(ctx context.Context) *ColumnGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ColumnGetCall) Do

func (c *ColumnGetCall) Do(opts ...googleapi.CallOption) (*Column, error)

Do executes the "fusiontables.column.get" call. Exactly one of *Column or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Column.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ColumnGetCall) Fields

func (c *ColumnGetCall) Fields(s ...googleapi.Field) *ColumnGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ColumnGetCall) Header

func (c *ColumnGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ColumnGetCall) IfNoneMatch

func (c *ColumnGetCall) IfNoneMatch(entityTag string) *ColumnGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ColumnInsertCall

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

func (*ColumnInsertCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ColumnInsertCall) Do

func (c *ColumnInsertCall) Do(opts ...googleapi.CallOption) (*Column, error)

Do executes the "fusiontables.column.insert" call. Exactly one of *Column or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Column.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ColumnInsertCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ColumnInsertCall) Header

func (c *ColumnInsertCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ColumnList

type ColumnList struct {
	// Items: List of all requested columns.
	Items []*Column `json:"items,omitempty"`

	// Kind: The kind of item this is. For a column list, this is always
	// fusiontables#columnList.
	Kind string `json:"kind,omitempty"`

	// NextPageToken: Token used to access the next page of this result. No
	// token is displayed if there are no more pages left.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// TotalItems: Total number of columns for the table.
	TotalItems int64 `json:"totalItems,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Items") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Items") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

ColumnList: Represents a list of columns in a table.

func (*ColumnList) MarshalJSON

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

type ColumnListCall

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

func (*ColumnListCall) Context

func (c *ColumnListCall) Context(ctx context.Context) *ColumnListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ColumnListCall) Do

func (c *ColumnListCall) Do(opts ...googleapi.CallOption) (*ColumnList, error)

Do executes the "fusiontables.column.list" call. Exactly one of *ColumnList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ColumnList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ColumnListCall) Fields

func (c *ColumnListCall) Fields(s ...googleapi.Field) *ColumnListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ColumnListCall) Header

func (c *ColumnListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ColumnListCall) IfNoneMatch

func (c *ColumnListCall) IfNoneMatch(entityTag string) *ColumnListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ColumnListCall) MaxResults

func (c *ColumnListCall) MaxResults(maxResults int64) *ColumnListCall

MaxResults sets the optional parameter "maxResults": Maximum number of columns to return. Default is 5.

func (*ColumnListCall) PageToken

func (c *ColumnListCall) PageToken(pageToken string) *ColumnListCall

PageToken sets the optional parameter "pageToken": Continuation token specifying which result page to return.

func (*ColumnListCall) Pages

func (c *ColumnListCall) Pages(ctx context.Context, f func(*ColumnList) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type ColumnPatchCall

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

func (*ColumnPatchCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ColumnPatchCall) Do

func (c *ColumnPatchCall) Do(opts ...googleapi.CallOption) (*Column, error)

Do executes the "fusiontables.column.patch" call. Exactly one of *Column or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Column.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ColumnPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ColumnPatchCall) Header

func (c *ColumnPatchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ColumnService

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

func NewColumnService

func NewColumnService(s *Service) *ColumnService

func (*ColumnService) Delete

func (r *ColumnService) Delete(tableId string, columnId string) *ColumnDeleteCall

Delete: Deletes the specified column.

func (*ColumnService) Get

func (r *ColumnService) Get(tableId string, columnId string) *ColumnGetCall

Get: Retrieves a specific column by its ID.

func (*ColumnService) Insert

func (r *ColumnService) Insert(tableId string, column *Column) *ColumnInsertCall

Insert: Adds a new column to the table.

func (*ColumnService) List

func (r *ColumnService) List(tableId string) *ColumnListCall

List: Retrieves a list of columns.

func (*ColumnService) Patch

func (r *ColumnService) Patch(tableId string, columnId string, column *Column) *ColumnPatchCall

Patch: Updates the name or type of an existing column. This method supports patch semantics.

func (*ColumnService) Update

func (r *ColumnService) Update(tableId string, columnId string, column *Column) *ColumnUpdateCall

Update: Updates the name or type of an existing column.

type ColumnUpdateCall

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

func (*ColumnUpdateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ColumnUpdateCall) Do

func (c *ColumnUpdateCall) Do(opts ...googleapi.CallOption) (*Column, error)

Do executes the "fusiontables.column.update" call. Exactly one of *Column or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Column.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ColumnUpdateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ColumnUpdateCall) Header

func (c *ColumnUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type Geometry

type Geometry struct {
	// Geometries: The list of geometries in this geometry collection.
	Geometries []interface{} `json:"geometries,omitempty"`

	Geometry interface{} `json:"geometry,omitempty"`

	// Type: Type: A collection of geometries.
	Type string `json:"type,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Geometries") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Geometries") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

Geometry: Represents a Geometry object.

func (*Geometry) MarshalJSON

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

type Import

type Import struct {
	// Kind: The kind of item this is. For an import, this is always
	// fusiontables#import.
	Kind string `json:"kind,omitempty"`

	// NumRowsReceived: The number of rows received from the import request.
	NumRowsReceived int64 `json:"numRowsReceived,omitempty,string"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Kind") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Kind") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

Import: Represents an import request.

func (*Import) MarshalJSON

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

type Line

type Line struct {
	// Coordinates: The coordinates that define the line.
	Coordinates [][]float64 `json:"coordinates,omitempty"`

	// Type: Type: A line geometry.
	Type string `json:"type,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Coordinates") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Coordinates") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

Line: Represents a line geometry.

func (*Line) MarshalJSON

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

type LineStyle

type LineStyle struct {
	// StrokeColor: Color of the line in #RRGGBB format.
	StrokeColor string `json:"strokeColor,omitempty"`

	// StrokeColorStyler: Column-value, gradient or buckets styler that is
	// used to determine the line color and opacity.
	StrokeColorStyler *StyleFunction `json:"strokeColorStyler,omitempty"`

	// StrokeOpacity: Opacity of the line : 0.0 (transparent) to 1.0
	// (opaque).
	StrokeOpacity float64 `json:"strokeOpacity,omitempty"`

	// StrokeWeight: Width of the line in pixels.
	StrokeWeight int64 `json:"strokeWeight,omitempty"`

	// StrokeWeightStyler: Column-value or bucket styler that is used to
	// determine the width of the line.
	StrokeWeightStyler *StyleFunction `json:"strokeWeightStyler,omitempty"`

	// ForceSendFields is a list of field names (e.g. "StrokeColor") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "StrokeColor") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

LineStyle: Represents a LineStyle within a StyleSetting

func (*LineStyle) MarshalJSON

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

func (*LineStyle) UnmarshalJSON

func (s *LineStyle) UnmarshalJSON(data []byte) error

type Point

type Point struct {
	// Coordinates: The coordinates that define the point.
	Coordinates []float64 `json:"coordinates,omitempty"`

	// Type: Point: A point geometry.
	Type string `json:"type,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Coordinates") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Coordinates") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

Point: Represents a point object.

func (*Point) MarshalJSON

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

type PointStyle

type PointStyle struct {
	// IconName: Name of the icon. Use values defined in
	// http://www.google.com/fusiontables/DataSource?dsrcid=308519
	IconName string `json:"iconName,omitempty"`

	// IconStyler: Column or a bucket value from which the icon name is to
	// be determined.
	IconStyler *StyleFunction `json:"iconStyler,omitempty"`

	// ForceSendFields is a list of field names (e.g. "IconName") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "IconName") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

PointStyle: Represents a PointStyle within a StyleSetting

func (*PointStyle) MarshalJSON

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

type Polygon

type Polygon struct {
	// Coordinates: The coordinates that define the polygon.
	Coordinates [][][]float64 `json:"coordinates,omitempty"`

	// Type: Type: A polygon geometry.
	Type string `json:"type,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Coordinates") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Coordinates") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

Polygon: Represents a polygon object.

func (*Polygon) MarshalJSON

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

type PolygonStyle

type PolygonStyle struct {
	// FillColor: Color of the interior of the polygon in #RRGGBB format.
	FillColor string `json:"fillColor,omitempty"`

	// FillColorStyler: Column-value, gradient, or bucket styler that is
	// used to determine the interior color and opacity of the polygon.
	FillColorStyler *StyleFunction `json:"fillColorStyler,omitempty"`

	// FillOpacity: Opacity of the interior of the polygon: 0.0
	// (transparent) to 1.0 (opaque).
	FillOpacity float64 `json:"fillOpacity,omitempty"`

	// StrokeColor: Color of the polygon border in #RRGGBB format.
	StrokeColor string `json:"strokeColor,omitempty"`

	// StrokeColorStyler: Column-value, gradient or buckets styler that is
	// used to determine the border color and opacity.
	StrokeColorStyler *StyleFunction `json:"strokeColorStyler,omitempty"`

	// StrokeOpacity: Opacity of the polygon border: 0.0 (transparent) to
	// 1.0 (opaque).
	StrokeOpacity float64 `json:"strokeOpacity,omitempty"`

	// StrokeWeight: Width of the polyon border in pixels.
	StrokeWeight int64 `json:"strokeWeight,omitempty"`

	// StrokeWeightStyler: Column-value or bucket styler that is used to
	// determine the width of the polygon border.
	StrokeWeightStyler *StyleFunction `json:"strokeWeightStyler,omitempty"`

	// ForceSendFields is a list of field names (e.g. "FillColor") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "FillColor") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

PolygonStyle: Represents a PolygonStyle within a StyleSetting

func (*PolygonStyle) MarshalJSON

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

func (*PolygonStyle) UnmarshalJSON

func (s *PolygonStyle) UnmarshalJSON(data []byte) error

type QueryService

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

func NewQueryService

func NewQueryService(s *Service) *QueryService

func (*QueryService) Sql

func (r *QueryService) Sql(sql string) *QuerySqlCall

Sql: Executes a Fusion Tables SQL statement, which can be any of - SELECT - INSERT - UPDATE - DELETE - SHOW - DESCRIBE - CREATE statement.

func (*QueryService) SqlGet

func (r *QueryService) SqlGet(sql string) *QuerySqlGetCall

SqlGet: Executes a SQL statement which can be any of - SELECT - SHOW - DESCRIBE

type QuerySqlCall

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

func (*QuerySqlCall) Context

func (c *QuerySqlCall) Context(ctx context.Context) *QuerySqlCall

Context sets the context to be used in this call's Do and Download methods. Any pending HTTP request will be aborted if the provided context is canceled.

func (*QuerySqlCall) Do

func (c *QuerySqlCall) Do(opts ...googleapi.CallOption) (*Sqlresponse, error)

Do executes the "fusiontables.query.sql" call. Exactly one of *Sqlresponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Sqlresponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*QuerySqlCall) Download

func (c *QuerySqlCall) Download(opts ...googleapi.CallOption) (*http.Response, error)

Download fetches the API endpoint's "media" value, instead of the normal API response value. If the returned error is nil, the Response is guaranteed to have a 2xx status code. Callers must close the Response.Body as usual.

func (*QuerySqlCall) Fields

func (c *QuerySqlCall) Fields(s ...googleapi.Field) *QuerySqlCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*QuerySqlCall) Hdrs

func (c *QuerySqlCall) Hdrs(hdrs bool) *QuerySqlCall

Hdrs sets the optional parameter "hdrs": Whether column names are included in the first row. Default is true.

func (*QuerySqlCall) Header

func (c *QuerySqlCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*QuerySqlCall) Typed

func (c *QuerySqlCall) Typed(typed bool) *QuerySqlCall

Typed sets the optional parameter "typed": Whether typed values are returned in the (JSON) response: numbers for numeric values and parsed geometries for KML values. Default is true.

type QuerySqlGetCall

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

func (*QuerySqlGetCall) Context

Context sets the context to be used in this call's Do and Download methods. Any pending HTTP request will be aborted if the provided context is canceled.

func (*QuerySqlGetCall) Do

Do executes the "fusiontables.query.sqlGet" call. Exactly one of *Sqlresponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Sqlresponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*QuerySqlGetCall) Download

func (c *QuerySqlGetCall) Download(opts ...googleapi.CallOption) (*http.Response, error)

Download fetches the API endpoint's "media" value, instead of the normal API response value. If the returned error is nil, the Response is guaranteed to have a 2xx status code. Callers must close the Response.Body as usual.

func (*QuerySqlGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*QuerySqlGetCall) Hdrs

func (c *QuerySqlGetCall) Hdrs(hdrs bool) *QuerySqlGetCall

Hdrs sets the optional parameter "hdrs": Whether column names are included (in the first row). Default is true.

func (*QuerySqlGetCall) Header

func (c *QuerySqlGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*QuerySqlGetCall) IfNoneMatch

func (c *QuerySqlGetCall) IfNoneMatch(entityTag string) *QuerySqlGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*QuerySqlGetCall) Typed

func (c *QuerySqlGetCall) Typed(typed bool) *QuerySqlGetCall

Typed sets the optional parameter "typed": Whether typed values are returned in the (JSON) response: numbers for numeric values and parsed geometries for KML values. Default is true.

type Service

type Service struct {
	BasePath  string // API endpoint base URL
	UserAgent string // optional additional User-Agent fragment

	Column *ColumnService

	Query *QueryService

	Style *StyleService

	Table *TableService

	Task *TaskService

	Template *TemplateService
	// contains filtered or unexported fields
}

func New

func New(client *http.Client) (*Service, error)

type Sqlresponse

type Sqlresponse struct {
	// Columns: Columns in the table.
	Columns []string `json:"columns,omitempty"`

	// Kind: The kind of item this is. For responses to SQL queries, this is
	// always fusiontables#sqlresponse.
	Kind string `json:"kind,omitempty"`

	// Rows: The rows in the table. For each cell we print out whatever cell
	// value (e.g., numeric, string) exists. Thus it is important that each
	// cell contains only one value.
	Rows [][]interface{} `json:"rows,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Columns") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Columns") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

Sqlresponse: Represents a response to a SQL statement.

func (*Sqlresponse) MarshalJSON

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

type StyleDeleteCall

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

func (*StyleDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*StyleDeleteCall) Do

func (c *StyleDeleteCall) Do(opts ...googleapi.CallOption) error

Do executes the "fusiontables.style.delete" call.

func (*StyleDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*StyleDeleteCall) Header

func (c *StyleDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type StyleFunction

type StyleFunction struct {
	// Buckets: Bucket function that assigns a style based on the range a
	// column value falls into.
	Buckets []*Bucket `json:"buckets,omitempty"`

	// ColumnName: Name of the column whose value is used in the style.
	ColumnName string `json:"columnName,omitempty"`

	// Gradient: Gradient function that interpolates a range of colors based
	// on column value.
	Gradient *StyleFunctionGradient `json:"gradient,omitempty"`

	// Kind: Stylers can be one of three kinds: "fusiontables#fromColumn if
	// the column value is to be used as is, i.e., the column values can
	// have colors in #RRGGBBAA format or integer line widths or icon names;
	// fusiontables#gradient if the styling of the row is to be based on
	// applying the gradient function on the column value; or
	// fusiontables#buckets if the styling is to based on the bucket into
	// which the the column value falls.
	Kind string `json:"kind,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Buckets") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Buckets") to include in
	// API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

StyleFunction: Represents a StyleFunction within a StyleSetting

func (*StyleFunction) MarshalJSON

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

type StyleFunctionGradient

type StyleFunctionGradient struct {
	// Colors: Array with two or more colors.
	Colors []*StyleFunctionGradientColors `json:"colors,omitempty"`

	// Max: Higher-end of the interpolation range: rows with this value will
	// be assigned to colors[n-1].
	Max float64 `json:"max,omitempty"`

	// Min: Lower-end of the interpolation range: rows with this value will
	// be assigned to colors[0].
	Min float64 `json:"min,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Colors") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Colors") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

StyleFunctionGradient: Gradient function that interpolates a range of colors based on column value.

func (*StyleFunctionGradient) MarshalJSON

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

func (*StyleFunctionGradient) UnmarshalJSON

func (s *StyleFunctionGradient) UnmarshalJSON(data []byte) error

type StyleFunctionGradientColors

type StyleFunctionGradientColors struct {
	// Color: Color in #RRGGBB format.
	Color string `json:"color,omitempty"`

	// Opacity: Opacity of the color: 0.0 (transparent) to 1.0 (opaque).
	Opacity float64 `json:"opacity,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Color") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Color") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

func (*StyleFunctionGradientColors) MarshalJSON

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

func (*StyleFunctionGradientColors) UnmarshalJSON

func (s *StyleFunctionGradientColors) UnmarshalJSON(data []byte) error

type StyleGetCall

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

func (*StyleGetCall) Context

func (c *StyleGetCall) Context(ctx context.Context) *StyleGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*StyleGetCall) Do

func (c *StyleGetCall) Do(opts ...googleapi.CallOption) (*StyleSetting, error)

Do executes the "fusiontables.style.get" call. Exactly one of *StyleSetting or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *StyleSetting.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*StyleGetCall) Fields

func (c *StyleGetCall) Fields(s ...googleapi.Field) *StyleGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*StyleGetCall) Header

func (c *StyleGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*StyleGetCall) IfNoneMatch

func (c *StyleGetCall) IfNoneMatch(entityTag string) *StyleGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type StyleInsertCall

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

func (*StyleInsertCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*StyleInsertCall) Do

Do executes the "fusiontables.style.insert" call. Exactly one of *StyleSetting or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *StyleSetting.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*StyleInsertCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*StyleInsertCall) Header

func (c *StyleInsertCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type StyleListCall

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

func (*StyleListCall) Context

func (c *StyleListCall) Context(ctx context.Context) *StyleListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*StyleListCall) Do

Do executes the "fusiontables.style.list" call. Exactly one of *StyleSettingList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *StyleSettingList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*StyleListCall) Fields

func (c *StyleListCall) Fields(s ...googleapi.Field) *StyleListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*StyleListCall) Header

func (c *StyleListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*StyleListCall) IfNoneMatch

func (c *StyleListCall) IfNoneMatch(entityTag string) *StyleListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*StyleListCall) MaxResults

func (c *StyleListCall) MaxResults(maxResults int64) *StyleListCall

MaxResults sets the optional parameter "maxResults": Maximum number of styles to return. Default is 5.

func (*StyleListCall) PageToken

func (c *StyleListCall) PageToken(pageToken string) *StyleListCall

PageToken sets the optional parameter "pageToken": Continuation token specifying which result page to return.

func (*StyleListCall) Pages

func (c *StyleListCall) Pages(ctx context.Context, f func(*StyleSettingList) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type StylePatchCall

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

func (*StylePatchCall) Context

func (c *StylePatchCall) Context(ctx context.Context) *StylePatchCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*StylePatchCall) Do

Do executes the "fusiontables.style.patch" call. Exactly one of *StyleSetting or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *StyleSetting.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*StylePatchCall) Fields

func (c *StylePatchCall) Fields(s ...googleapi.Field) *StylePatchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*StylePatchCall) Header

func (c *StylePatchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type StyleService

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

func NewStyleService

func NewStyleService(s *Service) *StyleService

func (*StyleService) Delete

func (r *StyleService) Delete(tableId string, styleId int64) *StyleDeleteCall

Delete: Deletes a style.

func (*StyleService) Get

func (r *StyleService) Get(tableId string, styleId int64) *StyleGetCall

Get: Gets a specific style.

func (*StyleService) Insert

func (r *StyleService) Insert(tableId string, stylesetting *StyleSetting) *StyleInsertCall

Insert: Adds a new style for the table.

func (*StyleService) List

func (r *StyleService) List(tableId string) *StyleListCall

List: Retrieves a list of styles.

func (*StyleService) Patch

func (r *StyleService) Patch(tableId string, styleId int64, stylesetting *StyleSetting) *StylePatchCall

Patch: Updates an existing style. This method supports patch semantics.

func (*StyleService) Update

func (r *StyleService) Update(tableId string, styleId int64, stylesetting *StyleSetting) *StyleUpdateCall

Update: Updates an existing style.

type StyleSetting

type StyleSetting struct {
	// Kind: The kind of item this is. A StyleSetting contains the style
	// definitions for points, lines, and polygons in a table. Since a table
	// can have any one or all of them, a style definition can have point,
	// line and polygon style definitions.
	Kind string `json:"kind,omitempty"`

	// MarkerOptions: Style definition for points in the table.
	MarkerOptions *PointStyle `json:"markerOptions,omitempty"`

	// Name: Optional name for the style setting.
	Name string `json:"name,omitempty"`

	// PolygonOptions: Style definition for polygons in the table.
	PolygonOptions *PolygonStyle `json:"polygonOptions,omitempty"`

	// PolylineOptions: Style definition for lines in the table.
	PolylineOptions *LineStyle `json:"polylineOptions,omitempty"`

	// StyleId: Identifier for the style setting (unique only within
	// tables).
	StyleId int64 `json:"styleId,omitempty"`

	// TableId: Identifier for the table.
	TableId string `json:"tableId,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Kind") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Kind") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

StyleSetting: Represents a complete StyleSettings object. The primary key is a combination of the tableId and a styleId.

func (*StyleSetting) MarshalJSON

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

type StyleSettingList

type StyleSettingList struct {
	// Items: All requested style settings.
	Items []*StyleSetting `json:"items,omitempty"`

	// Kind: The kind of item this is. For a style list, this is always
	// fusiontables#styleSettingList .
	Kind string `json:"kind,omitempty"`

	// NextPageToken: Token used to access the next page of this result. No
	// token is displayed if there are no more styles left.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// TotalItems: Total number of styles for the table.
	TotalItems int64 `json:"totalItems,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Items") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Items") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

StyleSettingList: Represents a list of styles for a given table.

func (*StyleSettingList) MarshalJSON

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

type StyleUpdateCall

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

func (*StyleUpdateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*StyleUpdateCall) Do

Do executes the "fusiontables.style.update" call. Exactly one of *StyleSetting or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *StyleSetting.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*StyleUpdateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*StyleUpdateCall) Header

func (c *StyleUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type Table

type Table struct {
	// Attribution: Attribution assigned to the table.
	Attribution string `json:"attribution,omitempty"`

	// AttributionLink: Optional link for attribution.
	AttributionLink string `json:"attributionLink,omitempty"`

	// BaseTableIds: Base table identifier if this table is a view or merged
	// table.
	BaseTableIds []string `json:"baseTableIds,omitempty"`

	// ColumnPropertiesJsonSchema: Default JSON schema for validating all
	// JSON column properties.
	ColumnPropertiesJsonSchema string `json:"columnPropertiesJsonSchema,omitempty"`

	// Columns: Columns in the table.
	Columns []*Column `json:"columns,omitempty"`

	// Description: Description assigned to the table.
	Description string `json:"description,omitempty"`

	// IsExportable: Variable for whether table is exportable.
	IsExportable bool `json:"isExportable,omitempty"`

	// Kind: The kind of item this is. For a table, this is always
	// fusiontables#table.
	Kind string `json:"kind,omitempty"`

	// Name: Name assigned to a table.
	Name string `json:"name,omitempty"`

	// Sql: SQL that encodes the table definition for derived tables.
	Sql string `json:"sql,omitempty"`

	// TableId: Encrypted unique alphanumeric identifier for the table.
	TableId string `json:"tableId,omitempty"`

	// TablePropertiesJson: JSON object containing custom table properties.
	TablePropertiesJson string `json:"tablePropertiesJson,omitempty"`

	// TablePropertiesJsonSchema: JSON schema for validating the JSON table
	// properties.
	TablePropertiesJsonSchema string `json:"tablePropertiesJsonSchema,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Attribution") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Attribution") to include
	// in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. However, any field with
	// an empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

Table: Represents a table.

func (*Table) MarshalJSON

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

type TableCopyCall

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

func (*TableCopyCall) Context

func (c *TableCopyCall) Context(ctx context.Context) *TableCopyCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*TableCopyCall) CopyPresentation

func (c *TableCopyCall) CopyPresentation(copyPresentation bool) *TableCopyCall

CopyPresentation sets the optional parameter "copyPresentation": Whether to also copy tabs, styles, and templates. Default is false.

func (*TableCopyCall) Do

func (c *TableCopyCall) Do(opts ...googleapi.CallOption) (*Table, error)

Do executes the "fusiontables.table.copy" call. Exactly one of *Table or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Table.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*TableCopyCall) Fields

func (c *TableCopyCall) Fields(s ...googleapi.Field) *TableCopyCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TableCopyCall) Header

func (c *TableCopyCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type TableDeleteCall

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

func (*TableDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*TableDeleteCall) Do

func (c *TableDeleteCall) Do(opts ...googleapi.CallOption) error

Do executes the "fusiontables.table.delete" call.

func (*TableDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TableDeleteCall) Header

func (c *TableDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type TableGetCall

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

func (*TableGetCall) Context

func (c *TableGetCall) Context(ctx context.Context) *TableGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*TableGetCall) Do

func (c *TableGetCall) Do(opts ...googleapi.CallOption) (*Table, error)

Do executes the "fusiontables.table.get" call. Exactly one of *Table or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Table.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*TableGetCall) Fields

func (c *TableGetCall) Fields(s ...googleapi.Field) *TableGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TableGetCall) Header

func (c *TableGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*TableGetCall) IfNoneMatch

func (c *TableGetCall) IfNoneMatch(entityTag string) *TableGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type TableImportRowsCall

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

func (*TableImportRowsCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled. This context will supersede any context previously provided to the ResumableMedia method.

func (*TableImportRowsCall) Delimiter

func (c *TableImportRowsCall) Delimiter(delimiter string) *TableImportRowsCall

Delimiter sets the optional parameter "delimiter": The delimiter used to separate cell values. This can only consist of a single character. Default is ,.

func (*TableImportRowsCall) Do

Do executes the "fusiontables.table.importRows" call. Exactly one of *Import or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Import.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*TableImportRowsCall) Encoding

func (c *TableImportRowsCall) Encoding(encoding string) *TableImportRowsCall

Encoding sets the optional parameter "encoding": The encoding of the content. Default is UTF-8. Use auto-detect if you are unsure of the encoding.

func (*TableImportRowsCall) EndLine

func (c *TableImportRowsCall) EndLine(endLine int64) *TableImportRowsCall

EndLine sets the optional parameter "endLine": The index of the line up to which data will be imported. Default is to import the entire file. If endLine is negative, it is an offset from the end of the file; the imported content will exclude the last endLine lines.

func (*TableImportRowsCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TableImportRowsCall) Header

func (c *TableImportRowsCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*TableImportRowsCall) IsStrict

func (c *TableImportRowsCall) IsStrict(isStrict bool) *TableImportRowsCall

IsStrict sets the optional parameter "isStrict": Whether the imported CSV must have the same number of values for each row. If false, rows with fewer values will be padded with empty values. Default is true.

func (*TableImportRowsCall) Media

Media specifies the media to upload in one or more chunks. The chunk size may be controlled by supplying a MediaOption generated by googleapi.ChunkSize. The chunk size defaults to googleapi.DefaultUploadChunkSize.The Content-Type header used in the upload request will be determined by sniffing the contents of r, unless a MediaOption generated by googleapi.ContentType is supplied. At most one of Media and ResumableMedia may be set.

func (*TableImportRowsCall) ProgressUpdater

ProgressUpdater provides a callback function that will be called after every chunk. It should be a low-latency function in order to not slow down the upload operation. This should only be called when using ResumableMedia (as opposed to Media).

func (*TableImportRowsCall) ResumableMedia deprecated

func (c *TableImportRowsCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *TableImportRowsCall

ResumableMedia specifies the media to upload in chunks and can be canceled with ctx.

Deprecated: use Media instead.

At most one of Media and ResumableMedia may be set. mediaType identifies the MIME media type of the upload, such as "image/png". If mediaType is "", it will be auto-detected. The provided ctx will supersede any context previously provided to the Context method.

func (*TableImportRowsCall) StartLine

func (c *TableImportRowsCall) StartLine(startLine int64) *TableImportRowsCall

StartLine sets the optional parameter "startLine": The index of the first line from which to start importing, inclusive. Default is 0.

type TableImportTableCall

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

func (*TableImportTableCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled. This context will supersede any context previously provided to the ResumableMedia method.

func (*TableImportTableCall) Delimiter

func (c *TableImportTableCall) Delimiter(delimiter string) *TableImportTableCall

Delimiter sets the optional parameter "delimiter": The delimiter used to separate cell values. This can only consist of a single character. Default is ,.

func (*TableImportTableCall) Do

Do executes the "fusiontables.table.importTable" call. Exactly one of *Table or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Table.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*TableImportTableCall) Encoding

func (c *TableImportTableCall) Encoding(encoding string) *TableImportTableCall

Encoding sets the optional parameter "encoding": The encoding of the content. Default is UTF-8. Use auto-detect if you are unsure of the encoding.

func (*TableImportTableCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TableImportTableCall) Header

func (c *TableImportTableCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*TableImportTableCall) Media

Media specifies the media to upload in one or more chunks. The chunk size may be controlled by supplying a MediaOption generated by googleapi.ChunkSize. The chunk size defaults to googleapi.DefaultUploadChunkSize.The Content-Type header used in the upload request will be determined by sniffing the contents of r, unless a MediaOption generated by googleapi.ContentType is supplied. At most one of Media and ResumableMedia may be set.

func (*TableImportTableCall) ProgressUpdater

ProgressUpdater provides a callback function that will be called after every chunk. It should be a low-latency function in order to not slow down the upload operation. This should only be called when using ResumableMedia (as opposed to Media).

func (*TableImportTableCall) ResumableMedia deprecated

func (c *TableImportTableCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *TableImportTableCall

ResumableMedia specifies the media to upload in chunks and can be canceled with ctx.

Deprecated: use Media instead.

At most one of Media and ResumableMedia may be set. mediaType identifies the MIME media type of the upload, such as "image/png". If mediaType is "", it will be auto-detected. The provided ctx will supersede any context previously provided to the Context method.

type TableInsertCall

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

func (*TableInsertCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*TableInsertCall) Do

func (c *TableInsertCall) Do(opts ...googleapi.CallOption) (*Table, error)

Do executes the "fusiontables.table.insert" call. Exactly one of *Table or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Table.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*TableInsertCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TableInsertCall) Header

func (c *TableInsertCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type TableList

type TableList struct {
	// Items: List of all requested tables.
	Items []*Table `json:"items,omitempty"`

	// Kind: The kind of item this is. For table list, this is always
	// fusiontables#tableList.
	Kind string `json:"kind,omitempty"`

	// NextPageToken: Token used to access the next page of this result. No
	// token is displayed if there are no more pages left.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Items") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Items") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

TableList: Represents a list of tables.

func (*TableList) MarshalJSON

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

type TableListCall

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

func (*TableListCall) Context

func (c *TableListCall) Context(ctx context.Context) *TableListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*TableListCall) Do

func (c *TableListCall) Do(opts ...googleapi.CallOption) (*TableList, error)

Do executes the "fusiontables.table.list" call. Exactly one of *TableList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TableList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*TableListCall) Fields

func (c *TableListCall) Fields(s ...googleapi.Field) *TableListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TableListCall) Header

func (c *TableListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*TableListCall) IfNoneMatch

func (c *TableListCall) IfNoneMatch(entityTag string) *TableListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*TableListCall) MaxResults

func (c *TableListCall) MaxResults(maxResults int64) *TableListCall

MaxResults sets the optional parameter "maxResults": Maximum number of tables to return. Default is 5.

func (*TableListCall) PageToken

func (c *TableListCall) PageToken(pageToken string) *TableListCall

PageToken sets the optional parameter "pageToken": Continuation token specifying which result page to return.

func (*TableListCall) Pages

func (c *TableListCall) Pages(ctx context.Context, f func(*TableList) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type TablePatchCall

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

func (*TablePatchCall) Context

func (c *TablePatchCall) Context(ctx context.Context) *TablePatchCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*TablePatchCall) Do

func (c *TablePatchCall) Do(opts ...googleapi.CallOption) (*Table, error)

Do executes the "fusiontables.table.patch" call. Exactly one of *Table or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Table.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*TablePatchCall) Fields

func (c *TablePatchCall) Fields(s ...googleapi.Field) *TablePatchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TablePatchCall) Header

func (c *TablePatchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*TablePatchCall) ReplaceViewDefinition

func (c *TablePatchCall) ReplaceViewDefinition(replaceViewDefinition bool) *TablePatchCall

ReplaceViewDefinition sets the optional parameter "replaceViewDefinition": Whether the view definition is also updated. The specified view definition replaces the existing one. Only a view can be updated with a new definition.

type TableRefetchSheetCall

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

func (*TableRefetchSheetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*TableRefetchSheetCall) Do

Do executes the "fusiontables.table.refetchSheet" call. Exactly one of *Task or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Task.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*TableRefetchSheetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TableRefetchSheetCall) Header

func (c *TableRefetchSheetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type TableReplaceRowsCall

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

func (*TableReplaceRowsCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled. This context will supersede any context previously provided to the ResumableMedia method.

func (*TableReplaceRowsCall) Delimiter

func (c *TableReplaceRowsCall) Delimiter(delimiter string) *TableReplaceRowsCall

Delimiter sets the optional parameter "delimiter": The delimiter used to separate cell values. This can only consist of a single character. Default is ,.

func (*TableReplaceRowsCall) Do

func (c *TableReplaceRowsCall) Do(opts ...googleapi.CallOption) (*Task, error)

Do executes the "fusiontables.table.replaceRows" call. Exactly one of *Task or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Task.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*TableReplaceRowsCall) Encoding

func (c *TableReplaceRowsCall) Encoding(encoding string) *TableReplaceRowsCall

Encoding sets the optional parameter "encoding": The encoding of the content. Default is UTF-8. Use 'auto-detect' if you are unsure of the encoding.

func (*TableReplaceRowsCall) EndLine

func (c *TableReplaceRowsCall) EndLine(endLine int64) *TableReplaceRowsCall

EndLine sets the optional parameter "endLine": The index of the line up to which data will be imported. Default is to import the entire file. If endLine is negative, it is an offset from the end of the file; the imported content will exclude the last endLine lines.

func (*TableReplaceRowsCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TableReplaceRowsCall) Header

func (c *TableReplaceRowsCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*TableReplaceRowsCall) IsStrict

func (c *TableReplaceRowsCall) IsStrict(isStrict bool) *TableReplaceRowsCall

IsStrict sets the optional parameter "isStrict": Whether the imported CSV must have the same number of column values for each row. If true, throws an exception if the CSV does not have the same number of columns. If false, rows with fewer column values will be padded with empty values. Default is true.

func (*TableReplaceRowsCall) Media

Media specifies the media to upload in one or more chunks. The chunk size may be controlled by supplying a MediaOption generated by googleapi.ChunkSize. The chunk size defaults to googleapi.DefaultUploadChunkSize.The Content-Type header used in the upload request will be determined by sniffing the contents of r, unless a MediaOption generated by googleapi.ContentType is supplied. At most one of Media and ResumableMedia may be set.

func (*TableReplaceRowsCall) ProgressUpdater

ProgressUpdater provides a callback function that will be called after every chunk. It should be a low-latency function in order to not slow down the upload operation. This should only be called when using ResumableMedia (as opposed to Media).

func (*TableReplaceRowsCall) ResumableMedia deprecated

func (c *TableReplaceRowsCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *TableReplaceRowsCall

ResumableMedia specifies the media to upload in chunks and can be canceled with ctx.

Deprecated: use Media instead.

At most one of Media and ResumableMedia may be set. mediaType identifies the MIME media type of the upload, such as "image/png". If mediaType is "", it will be auto-detected. The provided ctx will supersede any context previously provided to the Context method.

func (*TableReplaceRowsCall) StartLine

func (c *TableReplaceRowsCall) StartLine(startLine int64) *TableReplaceRowsCall

StartLine sets the optional parameter "startLine": The index of the first line from which to start importing, inclusive. Default is 0.

type TableService

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

func NewTableService

func NewTableService(s *Service) *TableService

func (*TableService) Copy

func (r *TableService) Copy(tableId string) *TableCopyCall

Copy: Copies a table.

func (*TableService) Delete

func (r *TableService) Delete(tableId string) *TableDeleteCall

Delete: Deletes a table.

func (*TableService) Get

func (r *TableService) Get(tableId string) *TableGetCall

Get: Retrieves a specific table by its ID.

func (*TableService) ImportRows

func (r *TableService) ImportRows(tableId string) *TableImportRowsCall

ImportRows: Imports more rows into a table.

func (*TableService) ImportTable

func (r *TableService) ImportTable(name string) *TableImportTableCall

ImportTable: Imports a new table.

func (*TableService) Insert

func (r *TableService) Insert(table *Table) *TableInsertCall

Insert: Creates a new table.

func (*TableService) List

func (r *TableService) List() *TableListCall

List: Retrieves a list of tables a user owns.

func (*TableService) Patch

func (r *TableService) Patch(tableId string, table *Table) *TablePatchCall

Patch: Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated. This method supports patch semantics.

func (*TableService) RefetchSheet

func (r *TableService) RefetchSheet(tableId string) *TableRefetchSheetCall

RefetchSheet: Replaces rows of the table with the rows of the spreadsheet that is first imported from. Current rows remain visible until all replacement rows are ready.

func (*TableService) ReplaceRows

func (r *TableService) ReplaceRows(tableId string) *TableReplaceRowsCall

ReplaceRows: Replaces rows of an existing table. Current rows remain visible until all replacement rows are ready.

func (*TableService) Update

func (r *TableService) Update(tableId string, table *Table) *TableUpdateCall

Update: Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated.

type TableUpdateCall

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

func (*TableUpdateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*TableUpdateCall) Do

func (c *TableUpdateCall) Do(opts ...googleapi.CallOption) (*Table, error)

Do executes the "fusiontables.table.update" call. Exactly one of *Table or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Table.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*TableUpdateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TableUpdateCall) Header

func (c *TableUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*TableUpdateCall) ReplaceViewDefinition

func (c *TableUpdateCall) ReplaceViewDefinition(replaceViewDefinition bool) *TableUpdateCall

ReplaceViewDefinition sets the optional parameter "replaceViewDefinition": Whether the view definition is also updated. The specified view definition replaces the existing one. Only a view can be updated with a new definition.

type Task

type Task struct {
	// Kind: Type of the resource. This is always "fusiontables#task".
	Kind string `json:"kind,omitempty"`

	// Progress: Task percentage completion.
	Progress string `json:"progress,omitempty"`

	// Started: false while the table is busy with some other task. true if
	// this background task is currently running.
	Started bool `json:"started,omitempty"`

	// TaskId: Identifier for the task.
	TaskId int64 `json:"taskId,omitempty,string"`

	// Type: Type of background task.
	Type string `json:"type,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Kind") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Kind") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

Task: A background task on a table, initiated for time- or resource-consuming operations such as changing column types or deleting all rows.

func (*Task) MarshalJSON

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

type TaskDeleteCall

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

func (*TaskDeleteCall) Context

func (c *TaskDeleteCall) Context(ctx context.Context) *TaskDeleteCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*TaskDeleteCall) Do

func (c *TaskDeleteCall) Do(opts ...googleapi.CallOption) error

Do executes the "fusiontables.task.delete" call.

func (*TaskDeleteCall) Fields

func (c *TaskDeleteCall) Fields(s ...googleapi.Field) *TaskDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TaskDeleteCall) Header

func (c *TaskDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type TaskGetCall

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

func (*TaskGetCall) Context

func (c *TaskGetCall) Context(ctx context.Context) *TaskGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*TaskGetCall) Do

func (c *TaskGetCall) Do(opts ...googleapi.CallOption) (*Task, error)

Do executes the "fusiontables.task.get" call. Exactly one of *Task or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Task.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*TaskGetCall) Fields

func (c *TaskGetCall) Fields(s ...googleapi.Field) *TaskGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TaskGetCall) Header

func (c *TaskGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*TaskGetCall) IfNoneMatch

func (c *TaskGetCall) IfNoneMatch(entityTag string) *TaskGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type TaskList

type TaskList struct {
	// Items: List of all requested tasks.
	Items []*Task `json:"items,omitempty"`

	// Kind: Type of the resource. This is always "fusiontables#taskList".
	Kind string `json:"kind,omitempty"`

	// NextPageToken: Token used to access the next page of this result. No
	// token is displayed if there are no more pages left.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// TotalItems: Total number of tasks for the table.
	TotalItems int64 `json:"totalItems,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Items") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Items") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

TaskList: Represents a list of tasks for a table.

func (*TaskList) MarshalJSON

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

type TaskListCall

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

func (*TaskListCall) Context

func (c *TaskListCall) Context(ctx context.Context) *TaskListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*TaskListCall) Do

func (c *TaskListCall) Do(opts ...googleapi.CallOption) (*TaskList, error)

Do executes the "fusiontables.task.list" call. Exactly one of *TaskList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TaskList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*TaskListCall) Fields

func (c *TaskListCall) Fields(s ...googleapi.Field) *TaskListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TaskListCall) Header

func (c *TaskListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*TaskListCall) IfNoneMatch

func (c *TaskListCall) IfNoneMatch(entityTag string) *TaskListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*TaskListCall) MaxResults

func (c *TaskListCall) MaxResults(maxResults int64) *TaskListCall

MaxResults sets the optional parameter "maxResults": Maximum number of tasks to return. Default is 5.

func (*TaskListCall) PageToken

func (c *TaskListCall) PageToken(pageToken string) *TaskListCall

PageToken sets the optional parameter "pageToken": Continuation token specifying which result page to return.

func (*TaskListCall) Pages

func (c *TaskListCall) Pages(ctx context.Context, f func(*TaskList) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

func (*TaskListCall) StartIndex

func (c *TaskListCall) StartIndex(startIndex int64) *TaskListCall

StartIndex sets the optional parameter "startIndex": Index of the first result returned in the current page.

type TaskService

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

func NewTaskService

func NewTaskService(s *Service) *TaskService

func (*TaskService) Delete

func (r *TaskService) Delete(tableId string, taskId string) *TaskDeleteCall

Delete: Deletes a specific task by its ID, unless that task has already started running.

func (*TaskService) Get

func (r *TaskService) Get(tableId string, taskId string) *TaskGetCall

Get: Retrieves a specific task by its ID.

func (*TaskService) List

func (r *TaskService) List(tableId string) *TaskListCall

List: Retrieves a list of tasks.

type Template

type Template struct {
	// AutomaticColumnNames: List of columns from which the template is to
	// be automatically constructed. Only one of body or automaticColumns
	// can be specified.
	AutomaticColumnNames []string `json:"automaticColumnNames,omitempty"`

	// Body: Body of the template. It contains HTML with {column_name} to
	// insert values from a particular column. The body is sanitized to
	// remove certain tags, e.g., script. Only one of body or
	// automaticColumns can be specified.
	Body string `json:"body,omitempty"`

	// Kind: The kind of item this is. For a template, this is always
	// fusiontables#template.
	Kind string `json:"kind,omitempty"`

	// Name: Optional name assigned to a template.
	Name string `json:"name,omitempty"`

	// TableId: Identifier for the table for which the template is defined.
	TableId string `json:"tableId,omitempty"`

	// TemplateId: Identifier for the template, unique within the context of
	// a particular table.
	TemplateId int64 `json:"templateId,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g.
	// "AutomaticColumnNames") to unconditionally include in API requests.
	// By default, fields with empty values are omitted from API requests.
	// However, any non-pointer, non-interface field appearing in
	// ForceSendFields will be sent to the server regardless of whether the
	// field is empty or not. This may be used to include empty fields in
	// Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "AutomaticColumnNames") to
	// include in API requests with the JSON null value. By default, fields
	// with empty values are omitted from API requests. However, any field
	// with an empty value appearing in NullFields will be sent to the
	// server as null. It is an error if a field in this list has a
	// non-empty value. This may be used to include null fields in Patch
	// requests.
	NullFields []string `json:"-"`
}

Template: Represents the contents of InfoWindow templates.

func (*Template) MarshalJSON

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

type TemplateDeleteCall

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

func (*TemplateDeleteCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*TemplateDeleteCall) Do

Do executes the "fusiontables.template.delete" call.

func (*TemplateDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TemplateDeleteCall) Header

func (c *TemplateDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type TemplateGetCall

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

func (*TemplateGetCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*TemplateGetCall) Do

func (c *TemplateGetCall) Do(opts ...googleapi.CallOption) (*Template, error)

Do executes the "fusiontables.template.get" call. Exactly one of *Template or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Template.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*TemplateGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TemplateGetCall) Header

func (c *TemplateGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*TemplateGetCall) IfNoneMatch

func (c *TemplateGetCall) IfNoneMatch(entityTag string) *TemplateGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type TemplateInsertCall

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

func (*TemplateInsertCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*TemplateInsertCall) Do

Do executes the "fusiontables.template.insert" call. Exactly one of *Template or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Template.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*TemplateInsertCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TemplateInsertCall) Header

func (c *TemplateInsertCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type TemplateList

type TemplateList struct {
	// Items: List of all requested templates.
	Items []*Template `json:"items,omitempty"`

	// Kind: The kind of item this is. For a template list, this is always
	// fusiontables#templateList .
	Kind string `json:"kind,omitempty"`

	// NextPageToken: Token used to access the next page of this result. No
	// token is displayed if there are no more pages left.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// TotalItems: Total number of templates for the table.
	TotalItems int64 `json:"totalItems,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Items") to
	// unconditionally include in API requests. By default, fields with
	// empty values are omitted from API requests. However, any non-pointer,
	// non-interface field appearing in ForceSendFields will be sent to the
	// server regardless of whether the field is empty or not. This may be
	// used to include empty fields in Patch requests.
	ForceSendFields []string `json:"-"`

	// NullFields is a list of field names (e.g. "Items") to include in API
	// requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. However, any field with an
	// empty value appearing in NullFields will be sent to the server as
	// null. It is an error if a field in this list has a non-empty value.
	// This may be used to include null fields in Patch requests.
	NullFields []string `json:"-"`
}

TemplateList: Represents a list of templates for a given table.

func (*TemplateList) MarshalJSON

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

type TemplateListCall

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

func (*TemplateListCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*TemplateListCall) Do

Do executes the "fusiontables.template.list" call. Exactly one of *TemplateList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TemplateList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*TemplateListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TemplateListCall) Header

func (c *TemplateListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*TemplateListCall) IfNoneMatch

func (c *TemplateListCall) IfNoneMatch(entityTag string) *TemplateListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*TemplateListCall) MaxResults

func (c *TemplateListCall) MaxResults(maxResults int64) *TemplateListCall

MaxResults sets the optional parameter "maxResults": Maximum number of templates to return. Default is 5.

func (*TemplateListCall) PageToken

func (c *TemplateListCall) PageToken(pageToken string) *TemplateListCall

PageToken sets the optional parameter "pageToken": Continuation token specifying which results page to return.

func (*TemplateListCall) Pages

func (c *TemplateListCall) Pages(ctx context.Context, f func(*TemplateList) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type TemplatePatchCall

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

func (*TemplatePatchCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*TemplatePatchCall) Do

Do executes the "fusiontables.template.patch" call. Exactly one of *Template or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Template.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*TemplatePatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TemplatePatchCall) Header

func (c *TemplatePatchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type TemplateService

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

func NewTemplateService

func NewTemplateService(s *Service) *TemplateService

func (*TemplateService) Delete

func (r *TemplateService) Delete(tableId string, templateId int64) *TemplateDeleteCall

Delete: Deletes a template

func (*TemplateService) Get

func (r *TemplateService) Get(tableId string, templateId int64) *TemplateGetCall

Get: Retrieves a specific template by its id

func (*TemplateService) Insert

func (r *TemplateService) Insert(tableId string, template *Template) *TemplateInsertCall

Insert: Creates a new template for the table.

func (*TemplateService) List

func (r *TemplateService) List(tableId string) *TemplateListCall

List: Retrieves a list of templates.

func (*TemplateService) Patch

func (r *TemplateService) Patch(tableId string, templateId int64, template *Template) *TemplatePatchCall

Patch: Updates an existing template. This method supports patch semantics.

func (*TemplateService) Update

func (r *TemplateService) Update(tableId string, templateId int64, template *Template) *TemplateUpdateCall

Update: Updates an existing template

type TemplateUpdateCall

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

func (*TemplateUpdateCall) Context

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*TemplateUpdateCall) Do

Do executes the "fusiontables.template.update" call. Exactly one of *Template or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Template.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*TemplateUpdateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TemplateUpdateCall) Header

func (c *TemplateUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

Jump to

Keyboard shortcuts

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