Versions in this module Expand all Collapse all v0 v0.37.1 Dec 15, 2020 Changes in this version + type PagespeedapiRunpagespeedCall struct + func (c *PagespeedapiRunpagespeedCall) Context(ctx context.Context) *PagespeedapiRunpagespeedCall + func (c *PagespeedapiRunpagespeedCall) Do(opts ...googleapi.CallOption) (*Result, error) + func (c *PagespeedapiRunpagespeedCall) Fields(s ...googleapi.Field) *PagespeedapiRunpagespeedCall + func (c *PagespeedapiRunpagespeedCall) FilterThirdPartyResources(filterThirdPartyResources bool) *PagespeedapiRunpagespeedCall + func (c *PagespeedapiRunpagespeedCall) Header() http.Header + func (c *PagespeedapiRunpagespeedCall) IfNoneMatch(entityTag string) *PagespeedapiRunpagespeedCall + func (c *PagespeedapiRunpagespeedCall) Locale(locale string) *PagespeedapiRunpagespeedCall + func (c *PagespeedapiRunpagespeedCall) Rule(rule ...string) *PagespeedapiRunpagespeedCall + func (c *PagespeedapiRunpagespeedCall) Screenshot(screenshot bool) *PagespeedapiRunpagespeedCall + func (c *PagespeedapiRunpagespeedCall) Strategy(strategy string) *PagespeedapiRunpagespeedCall + type PagespeedapiService struct + func NewPagespeedapiService(s *Service) *PagespeedapiService + func (r *PagespeedapiService) Runpagespeed(url string) *PagespeedapiRunpagespeedCall + type Result struct + CaptchaResult string + ForceSendFields []string + FormattedResults *ResultFormattedResults + Id string + InvalidRules []string + Kind string + NullFields []string + PageStats *ResultPageStats + ResponseCode int64 + Score int64 + Screenshot *ResultScreenshot + Title string + Version *ResultVersion + func (s *Result) MarshalJSON() ([]byte, error) + type ResultFormattedResults struct + ForceSendFields []string + Locale string + NullFields []string + RuleResults map[string]ResultFormattedResultsRuleResults + func (s *ResultFormattedResults) MarshalJSON() ([]byte, error) + type ResultFormattedResultsRuleResults struct + ForceSendFields []string + LocalizedRuleName string + NullFields []string + RuleImpact float64 + UrlBlocks []*ResultFormattedResultsRuleResultsUrlBlocks + func (s *ResultFormattedResultsRuleResults) MarshalJSON() ([]byte, error) + func (s *ResultFormattedResultsRuleResults) UnmarshalJSON(data []byte) error + type ResultFormattedResultsRuleResultsUrlBlocks struct + ForceSendFields []string + Header *ResultFormattedResultsRuleResultsUrlBlocksHeader + NullFields []string + Urls []*ResultFormattedResultsRuleResultsUrlBlocksUrls + func (s *ResultFormattedResultsRuleResultsUrlBlocks) MarshalJSON() ([]byte, error) + type ResultFormattedResultsRuleResultsUrlBlocksHeader struct + Args []*ResultFormattedResultsRuleResultsUrlBlocksHeaderArgs + ForceSendFields []string + Format string + NullFields []string + func (s *ResultFormattedResultsRuleResultsUrlBlocksHeader) MarshalJSON() ([]byte, error) + type ResultFormattedResultsRuleResultsUrlBlocksHeaderArgs struct + ForceSendFields []string + NullFields []string + Type string + Value string + func (s *ResultFormattedResultsRuleResultsUrlBlocksHeaderArgs) MarshalJSON() ([]byte, error) + type ResultFormattedResultsRuleResultsUrlBlocksUrls struct + Details []*ResultFormattedResultsRuleResultsUrlBlocksUrlsDetails + ForceSendFields []string + NullFields []string + Result *ResultFormattedResultsRuleResultsUrlBlocksUrlsResult + func (s *ResultFormattedResultsRuleResultsUrlBlocksUrls) MarshalJSON() ([]byte, error) + type ResultFormattedResultsRuleResultsUrlBlocksUrlsDetails struct + Args []*ResultFormattedResultsRuleResultsUrlBlocksUrlsDetailsArgs + ForceSendFields []string + Format string + NullFields []string + func (s *ResultFormattedResultsRuleResultsUrlBlocksUrlsDetails) MarshalJSON() ([]byte, error) + type ResultFormattedResultsRuleResultsUrlBlocksUrlsDetailsArgs struct + ForceSendFields []string + NullFields []string + Type string + Value string + func (s *ResultFormattedResultsRuleResultsUrlBlocksUrlsDetailsArgs) MarshalJSON() ([]byte, error) + type ResultFormattedResultsRuleResultsUrlBlocksUrlsResult struct + Args []*ResultFormattedResultsRuleResultsUrlBlocksUrlsResultArgs + ForceSendFields []string + Format string + NullFields []string + func (s *ResultFormattedResultsRuleResultsUrlBlocksUrlsResult) MarshalJSON() ([]byte, error) + type ResultFormattedResultsRuleResultsUrlBlocksUrlsResultArgs struct + ForceSendFields []string + NullFields []string + Type string + Value string + func (s *ResultFormattedResultsRuleResultsUrlBlocksUrlsResultArgs) MarshalJSON() ([]byte, error) + type ResultPageStats struct + CssResponseBytes int64 + FlashResponseBytes int64 + ForceSendFields []string + HtmlResponseBytes int64 + ImageResponseBytes int64 + JavascriptResponseBytes int64 + NullFields []string + NumberCssResources int64 + NumberHosts int64 + NumberJsResources int64 + NumberResources int64 + NumberStaticResources int64 + OtherResponseBytes int64 + TextResponseBytes int64 + TotalRequestBytes int64 + func (s *ResultPageStats) MarshalJSON() ([]byte, error) + type ResultScreenshot struct + Data string + ForceSendFields []string + Height int64 + MimeType string + NullFields []string + Width int64 + func (s *ResultScreenshot) MarshalJSON() ([]byte, error) + type ResultVersion struct + ForceSendFields []string + Major int64 + Minor int64 + NullFields []string + func (s *ResultVersion) MarshalJSON() ([]byte, error) + type Service struct + BasePath string + Pagespeedapi *PagespeedapiService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)