Versions in this module Expand all Collapse all v0 v0.25.2 May 21, 2020 Changes in this version + const OpenIDScope + type AuditRefs struct + ForceSendFields []string + Group string + Id string + NullFields []string + Weight float64 + func (s *AuditRefs) MarshalJSON() ([]byte, error) + func (s *AuditRefs) UnmarshalJSON(data []byte) error + type Bucket struct + ForceSendFields []string + Max int64 + Min int64 + NullFields []string + Proportion float64 + func (s *Bucket) MarshalJSON() ([]byte, error) + func (s *Bucket) UnmarshalJSON(data []byte) error + type Categories struct + Accessibility *LighthouseCategoryV5 + BestPractices *LighthouseCategoryV5 + ForceSendFields []string + NullFields []string + Performance *LighthouseCategoryV5 + Pwa *LighthouseCategoryV5 + Seo *LighthouseCategoryV5 + func (s *Categories) MarshalJSON() ([]byte, error) + type CategoryGroupV5 struct + Description string + ForceSendFields []string + NullFields []string + Title string + func (s *CategoryGroupV5) MarshalJSON() ([]byte, error) + type ConfigSettings struct + Channel string + EmulatedFormFactor string + ForceSendFields []string + Locale string + NullFields []string + OnlyCategories interface{} + func (s *ConfigSettings) MarshalJSON() ([]byte, error) + type Environment struct + BenchmarkIndex float64 + ForceSendFields []string + HostUserAgent string + NetworkUserAgent string + NullFields []string + func (s *Environment) MarshalJSON() ([]byte, error) + func (s *Environment) UnmarshalJSON(data []byte) error + type I18n struct + ForceSendFields []string + NullFields []string + RendererFormattedStrings *RendererFormattedStrings + func (s *I18n) MarshalJSON() ([]byte, error) + type LighthouseAuditResultV5 struct + Description string + Details googleapi.RawMessage + DisplayValue string + ErrorMessage string + Explanation string + ForceSendFields []string + Id string + NullFields []string + NumericValue float64 + Score interface{} + ScoreDisplayMode string + Title string + Warnings interface{} + func (s *LighthouseAuditResultV5) MarshalJSON() ([]byte, error) + func (s *LighthouseAuditResultV5) UnmarshalJSON(data []byte) error + type LighthouseCategoryV5 struct + AuditRefs []*AuditRefs + Description string + ForceSendFields []string + Id string + ManualDescription string + NullFields []string + Score interface{} + Title string + func (s *LighthouseCategoryV5) MarshalJSON() ([]byte, error) + type LighthouseResultV5 struct + Audits map[string]LighthouseAuditResultV5 + Categories *Categories + CategoryGroups map[string]CategoryGroupV5 + ConfigSettings *ConfigSettings + Environment *Environment + FetchTime string + FinalUrl string + ForceSendFields []string + I18n *I18n + LighthouseVersion string + NullFields []string + RequestedUrl string + RunWarnings []interface{} + RuntimeError *RuntimeError + StackPacks []*StackPack + Timing *Timing + UserAgent string + func (s *LighthouseResultV5) MarshalJSON() ([]byte, error) + type PagespeedApiLoadingExperienceV5 struct + ForceSendFields []string + Id string + InitialUrl string + Metrics map[string]UserPageLoadMetricV5 + NullFields []string + OverallCategory string + func (s *PagespeedApiLoadingExperienceV5) MarshalJSON() ([]byte, error) + type PagespeedApiPagespeedResponseV5 struct + AnalysisUTCTimestamp string + CaptchaResult string + ForceSendFields []string + Id string + Kind string + LighthouseResult *LighthouseResultV5 + LoadingExperience *PagespeedApiLoadingExperienceV5 + NullFields []string + OriginLoadingExperience *PagespeedApiLoadingExperienceV5 + Version *PagespeedVersion + func (s *PagespeedApiPagespeedResponseV5) MarshalJSON() ([]byte, error) + type PagespeedVersion struct + ForceSendFields []string + Major string + Minor string + NullFields []string + func (s *PagespeedVersion) MarshalJSON() ([]byte, error) + type PagespeedapiRunpagespeedCall struct + func (c *PagespeedapiRunpagespeedCall) CaptchaToken(captchaToken string) *PagespeedapiRunpagespeedCall + func (c *PagespeedapiRunpagespeedCall) Category(category ...string) *PagespeedapiRunpagespeedCall + func (c *PagespeedapiRunpagespeedCall) Context(ctx context.Context) *PagespeedapiRunpagespeedCall + func (c *PagespeedapiRunpagespeedCall) Do(opts ...googleapi.CallOption) (*PagespeedApiPagespeedResponseV5, error) + func (c *PagespeedapiRunpagespeedCall) Fields(s ...googleapi.Field) *PagespeedapiRunpagespeedCall + func (c *PagespeedapiRunpagespeedCall) Header() http.Header + func (c *PagespeedapiRunpagespeedCall) IfNoneMatch(entityTag string) *PagespeedapiRunpagespeedCall + func (c *PagespeedapiRunpagespeedCall) Locale(locale string) *PagespeedapiRunpagespeedCall + func (c *PagespeedapiRunpagespeedCall) Strategy(strategy string) *PagespeedapiRunpagespeedCall + func (c *PagespeedapiRunpagespeedCall) Url(url 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() *PagespeedapiRunpagespeedCall + type RendererFormattedStrings struct + AuditGroupExpandTooltip string + CrcInitialNavigation string + CrcLongestDurationLabel string + ErrorLabel string + ErrorMissingAuditInfo string + ForceSendFields []string + LabDataTitle string + LsPerformanceCategoryDescription string + ManualAuditsGroupTitle string + NotApplicableAuditsGroupTitle string + NullFields []string + OpportunityResourceColumnLabel string + OpportunitySavingsColumnLabel string + PassedAuditsGroupTitle string + ScorescaleLabel string + ToplevelWarningsMessage string + VarianceDisclaimer string + WarningHeader string + func (s *RendererFormattedStrings) MarshalJSON() ([]byte, error) + type RuntimeError struct + Code string + ForceSendFields []string + Message string + NullFields []string + func (s *RuntimeError) 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) + type StackPack struct + Descriptions map[string]string + ForceSendFields []string + IconDataURL string + Id string + NullFields []string + Title string + func (s *StackPack) MarshalJSON() ([]byte, error) + type Timing struct + ForceSendFields []string + NullFields []string + Total float64 + func (s *Timing) MarshalJSON() ([]byte, error) + func (s *Timing) UnmarshalJSON(data []byte) error + type UserPageLoadMetricV5 struct + Category string + Distributions []*Bucket + ForceSendFields []string + FormFactor string + Median int64 + MetricId string + NullFields []string + Percentile int64 + func (s *UserPageLoadMetricV5) MarshalJSON() ([]byte, error)