Versions in this module Expand all Collapse all v0 v0.37.1 Dec 15, 2020 Changes in this version + type CseListCall struct + func (c *CseListCall) C2coff(c2coff string) *CseListCall + func (c *CseListCall) Context(ctx context.Context) *CseListCall + func (c *CseListCall) Cr(cr string) *CseListCall + func (c *CseListCall) Cx(cx string) *CseListCall + func (c *CseListCall) DateRestrict(dateRestrict string) *CseListCall + func (c *CseListCall) Do(opts ...googleapi.CallOption) (*Search, error) + func (c *CseListCall) ExactTerms(exactTerms string) *CseListCall + func (c *CseListCall) ExcludeTerms(excludeTerms string) *CseListCall + func (c *CseListCall) Fields(s ...googleapi.Field) *CseListCall + func (c *CseListCall) FileType(fileType string) *CseListCall + func (c *CseListCall) Filter(filter string) *CseListCall + func (c *CseListCall) Gl(gl string) *CseListCall + func (c *CseListCall) Googlehost(googlehost string) *CseListCall + func (c *CseListCall) Header() http.Header + func (c *CseListCall) HighRange(highRange string) *CseListCall + func (c *CseListCall) Hl(hl string) *CseListCall + func (c *CseListCall) Hq(hq string) *CseListCall + func (c *CseListCall) IfNoneMatch(entityTag string) *CseListCall + func (c *CseListCall) ImgColorType(imgColorType string) *CseListCall + func (c *CseListCall) ImgDominantColor(imgDominantColor string) *CseListCall + func (c *CseListCall) ImgSize(imgSize string) *CseListCall + func (c *CseListCall) ImgType(imgType string) *CseListCall + func (c *CseListCall) LinkSite(linkSite string) *CseListCall + func (c *CseListCall) LowRange(lowRange string) *CseListCall + func (c *CseListCall) Lr(lr string) *CseListCall + func (c *CseListCall) Num(num int64) *CseListCall + func (c *CseListCall) OrTerms(orTerms string) *CseListCall + func (c *CseListCall) Q(q string) *CseListCall + func (c *CseListCall) RelatedSite(relatedSite string) *CseListCall + func (c *CseListCall) Rights(rights string) *CseListCall + func (c *CseListCall) Safe(safe string) *CseListCall + func (c *CseListCall) SearchType(searchType string) *CseListCall + func (c *CseListCall) SiteSearch(siteSearch string) *CseListCall + func (c *CseListCall) SiteSearchFilter(siteSearchFilter string) *CseListCall + func (c *CseListCall) Sort(sort string) *CseListCall + func (c *CseListCall) Start(start int64) *CseListCall + type CseService struct + Siterestrict *CseSiterestrictService + func NewCseService(s *Service) *CseService + func (r *CseService) List() *CseListCall + type CseSiterestrictListCall struct + func (c *CseSiterestrictListCall) C2coff(c2coff string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) Context(ctx context.Context) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) Cr(cr string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) Cx(cx string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) DateRestrict(dateRestrict string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) Do(opts ...googleapi.CallOption) (*Search, error) + func (c *CseSiterestrictListCall) ExactTerms(exactTerms string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) ExcludeTerms(excludeTerms string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) Fields(s ...googleapi.Field) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) FileType(fileType string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) Filter(filter string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) Gl(gl string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) Googlehost(googlehost string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) Header() http.Header + func (c *CseSiterestrictListCall) HighRange(highRange string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) Hl(hl string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) Hq(hq string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) IfNoneMatch(entityTag string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) ImgColorType(imgColorType string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) ImgDominantColor(imgDominantColor string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) ImgSize(imgSize string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) ImgType(imgType string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) LinkSite(linkSite string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) LowRange(lowRange string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) Lr(lr string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) Num(num int64) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) OrTerms(orTerms string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) Q(q string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) RelatedSite(relatedSite string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) Rights(rights string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) Safe(safe string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) SearchType(searchType string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) SiteSearch(siteSearch string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) SiteSearchFilter(siteSearchFilter string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) Sort(sort string) *CseSiterestrictListCall + func (c *CseSiterestrictListCall) Start(start int64) *CseSiterestrictListCall + type CseSiterestrictService struct + func NewCseSiterestrictService(s *Service) *CseSiterestrictService + func (r *CseSiterestrictService) List() *CseSiterestrictListCall + type Promotion struct + BodyLines []*PromotionBodyLines + DisplayLink string + ForceSendFields []string + HtmlTitle string + Image *PromotionImage + Link string + NullFields []string + Title string + func (s *Promotion) MarshalJSON() ([]byte, error) + type PromotionBodyLines struct + ForceSendFields []string + HtmlTitle string + Link string + NullFields []string + Title string + Url string + func (s *PromotionBodyLines) MarshalJSON() ([]byte, error) + type PromotionImage struct + ForceSendFields []string + Height int64 + NullFields []string + Source string + Width int64 + func (s *PromotionImage) MarshalJSON() ([]byte, error) + type Result struct + CacheId string + DisplayLink string + FileFormat string + ForceSendFields []string + FormattedUrl string + HtmlFormattedUrl string + HtmlSnippet string + HtmlTitle string + Image *ResultImage + Kind string + Labels []*ResultLabels + Link string + Mime string + NullFields []string + Pagemap googleapi.RawMessage + Snippet string + Title string + func (s *Result) MarshalJSON() ([]byte, error) + type ResultImage struct + ByteSize int64 + ContextLink string + ForceSendFields []string + Height int64 + NullFields []string + ThumbnailHeight int64 + ThumbnailLink string + ThumbnailWidth int64 + Width int64 + func (s *ResultImage) MarshalJSON() ([]byte, error) + type ResultLabels struct + DisplayName string + ForceSendFields []string + LabelWithOp string + Name string + NullFields []string + func (s *ResultLabels) MarshalJSON() ([]byte, error) + type Search struct + Context googleapi.RawMessage + ForceSendFields []string + Items []*Result + Kind string + NullFields []string + Promotions []*Promotion + Queries *SearchQueries + SearchInformation *SearchSearchInformation + Spelling *SearchSpelling + Url *SearchUrl + func (s *Search) MarshalJSON() ([]byte, error) + type SearchQueries struct + ForceSendFields []string + NextPage []*SearchQueriesNextPage + NullFields []string + PreviousPage []*SearchQueriesPreviousPage + Request []*SearchQueriesRequest + func (s *SearchQueries) MarshalJSON() ([]byte, error) + type SearchQueriesNextPage struct + Count int64 + Cr string + Cx string + DateRestrict string + DisableCnTwTranslation string + ExactTerms string + ExcludeTerms string + FileType string + Filter string + ForceSendFields []string + Gl string + GoogleHost string + HighRange string + Hl string + Hq string + ImgColorType string + ImgDominantColor string + ImgSize string + ImgType string + InputEncoding string + Language string + LinkSite string + LowRange string + NullFields []string + OrTerms string + OutputEncoding string + RelatedSite string + Rights string + Safe string + SearchTerms string + SearchType string + SiteSearch string + SiteSearchFilter string + Sort string + StartIndex int64 + StartPage int64 + Title string + TotalResults int64 + func (s *SearchQueriesNextPage) MarshalJSON() ([]byte, error) + type SearchQueriesPreviousPage struct + Count int64 + Cr string + Cx string + DateRestrict string + DisableCnTwTranslation string + ExactTerms string + ExcludeTerms string + FileType string + Filter string + ForceSendFields []string + Gl string + GoogleHost string + HighRange string + Hl string + Hq string + ImgColorType string + ImgDominantColor string + ImgSize string + ImgType string + InputEncoding string + Language string + LinkSite string + LowRange string + NullFields []string + OrTerms string + OutputEncoding string + RelatedSite string + Rights string + Safe string + SearchTerms string + SearchType string + SiteSearch string + SiteSearchFilter string + Sort string + StartIndex int64 + StartPage int64 + Title string + TotalResults int64 + func (s *SearchQueriesPreviousPage) MarshalJSON() ([]byte, error) + type SearchQueriesRequest struct + Count int64 + Cr string + Cx string + DateRestrict string + DisableCnTwTranslation string + ExactTerms string + ExcludeTerms string + FileType string + Filter string + ForceSendFields []string + Gl string + GoogleHost string + HighRange string + Hl string + Hq string + ImgColorType string + ImgDominantColor string + ImgSize string + ImgType string + InputEncoding string + Language string + LinkSite string + LowRange string + NullFields []string + OrTerms string + OutputEncoding string + RelatedSite string + Rights string + Safe string + SearchTerms string + SearchType string + SiteSearch string + SiteSearchFilter string + Sort string + StartIndex int64 + StartPage int64 + Title string + TotalResults int64 + func (s *SearchQueriesRequest) MarshalJSON() ([]byte, error) + type SearchSearchInformation struct + ForceSendFields []string + FormattedSearchTime string + FormattedTotalResults string + NullFields []string + SearchTime float64 + TotalResults string + func (s *SearchSearchInformation) MarshalJSON() ([]byte, error) + func (s *SearchSearchInformation) UnmarshalJSON(data []byte) error + type SearchSpelling struct + CorrectedQuery string + ForceSendFields []string + HtmlCorrectedQuery string + NullFields []string + func (s *SearchSpelling) MarshalJSON() ([]byte, error) + type SearchUrl struct + ForceSendFields []string + NullFields []string + Template string + Type string + func (s *SearchUrl) MarshalJSON() ([]byte, error) + type Service struct + BasePath string + Cse *CseService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)