Versions in this module Expand all Collapse all v0 v0.25.2 May 21, 2020 Changes in this version + type PagespeedApiFormatStringV4 struct + Args []*PagespeedApiFormatStringV4Args + ForceSendFields []string + Format string + NullFields []string + func (s *PagespeedApiFormatStringV4) MarshalJSON() ([]byte, error) + type PagespeedApiFormatStringV4Args struct + ForceSendFields []string + Key string + NullFields []string + Rects []*PagespeedApiFormatStringV4ArgsRects + SecondaryRects []*PagespeedApiFormatStringV4ArgsSecondaryRects + Type string + Value string + func (s *PagespeedApiFormatStringV4Args) MarshalJSON() ([]byte, error) + type PagespeedApiFormatStringV4ArgsRects struct + ForceSendFields []string + Height int64 + Left int64 + NullFields []string + Top int64 + Width int64 + func (s *PagespeedApiFormatStringV4ArgsRects) MarshalJSON() ([]byte, error) + type PagespeedApiFormatStringV4ArgsSecondaryRects struct + ForceSendFields []string + Height int64 + Left int64 + NullFields []string + Top int64 + Width int64 + func (s *PagespeedApiFormatStringV4ArgsSecondaryRects) MarshalJSON() ([]byte, error) + type PagespeedApiImageV4 struct + Data string + ForceSendFields []string + Height int64 + Key string + MimeType string + NullFields []string + PageRect *PagespeedApiImageV4PageRect + Width int64 + func (s *PagespeedApiImageV4) MarshalJSON() ([]byte, error) + type PagespeedApiImageV4PageRect struct + ForceSendFields []string + Height int64 + Left int64 + NullFields []string + Top int64 + Width int64 + func (s *PagespeedApiImageV4PageRect) MarshalJSON() ([]byte, error) + type PagespeedApiPagespeedResponseV4 struct + CaptchaResult string + ForceSendFields []string + FormattedResults *PagespeedApiPagespeedResponseV4FormattedResults + Id string + InvalidRules []string + Kind string + LoadingExperience *PagespeedApiPagespeedResponseV4LoadingExperience + NullFields []string + PageStats *PagespeedApiPagespeedResponseV4PageStats + ResponseCode int64 + RuleGroups map[string]PagespeedApiPagespeedResponseV4RuleGroups + Screenshot *PagespeedApiImageV4 + Snapshots []*PagespeedApiImageV4 + Title string + Version *PagespeedApiPagespeedResponseV4Version + func (s *PagespeedApiPagespeedResponseV4) MarshalJSON() ([]byte, error) + type PagespeedApiPagespeedResponseV4FormattedResults struct + ForceSendFields []string + Locale string + NullFields []string + RuleResults map[string]PagespeedApiPagespeedResponseV4FormattedResultsRuleResults + func (s *PagespeedApiPagespeedResponseV4FormattedResults) MarshalJSON() ([]byte, error) + type PagespeedApiPagespeedResponseV4FormattedResultsRuleResults struct + Beta bool + ForceSendFields []string + Groups []string + LocalizedRuleName string + NullFields []string + RuleImpact float64 + Summary *PagespeedApiFormatStringV4 + UrlBlocks []*PagespeedApiPagespeedResponseV4FormattedResultsRuleResultsUrlBlocks + func (s *PagespeedApiPagespeedResponseV4FormattedResultsRuleResults) MarshalJSON() ([]byte, error) + func (s *PagespeedApiPagespeedResponseV4FormattedResultsRuleResults) UnmarshalJSON(data []byte) error + type PagespeedApiPagespeedResponseV4FormattedResultsRuleResultsUrlBlocks struct + ForceSendFields []string + Header *PagespeedApiFormatStringV4 + NullFields []string + Urls []*PagespeedApiPagespeedResponseV4FormattedResultsRuleResultsUrlBlocksUrls + func (s *PagespeedApiPagespeedResponseV4FormattedResultsRuleResultsUrlBlocks) MarshalJSON() ([]byte, error) + type PagespeedApiPagespeedResponseV4FormattedResultsRuleResultsUrlBlocksUrls struct + Details []*PagespeedApiFormatStringV4 + ForceSendFields []string + NullFields []string + Result *PagespeedApiFormatStringV4 + func (s *PagespeedApiPagespeedResponseV4FormattedResultsRuleResultsUrlBlocksUrls) MarshalJSON() ([]byte, error) + type PagespeedApiPagespeedResponseV4LoadingExperience struct + ForceSendFields []string + Id string + InitialUrl string + Metrics map[string]PagespeedApiPagespeedResponseV4LoadingExperienceMetrics + NullFields []string + OverallCategory string + func (s *PagespeedApiPagespeedResponseV4LoadingExperience) MarshalJSON() ([]byte, error) + type PagespeedApiPagespeedResponseV4LoadingExperienceMetrics struct + Category string + Distributions []*PagespeedApiPagespeedResponseV4LoadingExperienceMetricsDistributions + ForceSendFields []string + Median int64 + NullFields []string + func (s *PagespeedApiPagespeedResponseV4LoadingExperienceMetrics) MarshalJSON() ([]byte, error) + type PagespeedApiPagespeedResponseV4LoadingExperienceMetricsDistributions struct + ForceSendFields []string + Max int64 + Min int64 + NullFields []string + Proportion float64 + func (s *PagespeedApiPagespeedResponseV4LoadingExperienceMetricsDistributions) MarshalJSON() ([]byte, error) + func (s *PagespeedApiPagespeedResponseV4LoadingExperienceMetricsDistributions) UnmarshalJSON(data []byte) error + type PagespeedApiPagespeedResponseV4PageStats struct + Cms string + CssResponseBytes int64 + FlashResponseBytes int64 + ForceSendFields []string + HtmlResponseBytes int64 + ImageResponseBytes int64 + JavascriptResponseBytes int64 + NullFields []string + NumRenderBlockingRoundTrips int64 + NumTotalRoundTrips int64 + NumberCssResources int64 + NumberHosts int64 + NumberJsResources int64 + NumberResources int64 + NumberRobotedResources int64 + NumberStaticResources int64 + NumberTransientFetchFailureResources int64 + OtherResponseBytes int64 + OverTheWireResponseBytes int64 + RobotedUrls []string + TextResponseBytes int64 + TotalRequestBytes int64 + TransientFetchFailureUrls []string + func (s *PagespeedApiPagespeedResponseV4PageStats) MarshalJSON() ([]byte, error) + type PagespeedApiPagespeedResponseV4RuleGroups struct + ForceSendFields []string + NullFields []string + Pass bool + Score int64 + func (s *PagespeedApiPagespeedResponseV4RuleGroups) MarshalJSON() ([]byte, error) + type PagespeedApiPagespeedResponseV4Version struct + ForceSendFields []string + Major int64 + Minor int64 + NullFields []string + func (s *PagespeedApiPagespeedResponseV4Version) MarshalJSON() ([]byte, error) + type PagespeedapiRunpagespeedCall struct + func (c *PagespeedapiRunpagespeedCall) Context(ctx context.Context) *PagespeedapiRunpagespeedCall + func (c *PagespeedapiRunpagespeedCall) Do(opts ...googleapi.CallOption) (*PagespeedApiPagespeedResponseV4, 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) Snapshots(snapshots bool) *PagespeedapiRunpagespeedCall + func (c *PagespeedapiRunpagespeedCall) Strategy(strategy string) *PagespeedapiRunpagespeedCall + func (c *PagespeedapiRunpagespeedCall) UtmCampaign(utmCampaign string) *PagespeedapiRunpagespeedCall + func (c *PagespeedapiRunpagespeedCall) UtmSource(utmSource string) *PagespeedapiRunpagespeedCall + type PagespeedapiService struct + func NewPagespeedapiService(s *Service) *PagespeedapiService + func (r *PagespeedapiService) Runpagespeed(url string) *PagespeedapiRunpagespeedCall + 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)