Show / Hide Table of Contents

Class PagespeedapiResource.RunpagespeedRequest

Runs PageSpeed analysis on the page at the specified URL, and returns PageSpeed scores, a list of suggestions to make that page faster, and other information.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<PagespeedApiPagespeedResponseV5>
PagespeedInsightsBaseServiceRequest<PagespeedApiPagespeedResponseV5>
PagespeedapiResource.RunpagespeedRequest
Implements
Google.Apis.Requests.IClientServiceRequest<PagespeedApiPagespeedResponseV5>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
PagespeedInsightsBaseServiceRequest<PagespeedApiPagespeedResponseV5>.Xgafv
PagespeedInsightsBaseServiceRequest<PagespeedApiPagespeedResponseV5>.AccessToken
PagespeedInsightsBaseServiceRequest<PagespeedApiPagespeedResponseV5>.Alt
PagespeedInsightsBaseServiceRequest<PagespeedApiPagespeedResponseV5>.Callback
PagespeedInsightsBaseServiceRequest<PagespeedApiPagespeedResponseV5>.Fields
PagespeedInsightsBaseServiceRequest<PagespeedApiPagespeedResponseV5>.Key
PagespeedInsightsBaseServiceRequest<PagespeedApiPagespeedResponseV5>.OauthToken
PagespeedInsightsBaseServiceRequest<PagespeedApiPagespeedResponseV5>.PrettyPrint
PagespeedInsightsBaseServiceRequest<PagespeedApiPagespeedResponseV5>.QuotaUser
PagespeedInsightsBaseServiceRequest<PagespeedApiPagespeedResponseV5>.UploadType
PagespeedInsightsBaseServiceRequest<PagespeedApiPagespeedResponseV5>.UploadProtocol
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PagespeedInsights.v5.Data.PagespeedApiPagespeedResponseV5>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PagespeedInsights.v5.Data.PagespeedApiPagespeedResponseV5>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PagespeedInsights.v5.Data.PagespeedApiPagespeedResponseV5>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PagespeedInsights.v5.Data.PagespeedApiPagespeedResponseV5>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PagespeedInsights.v5.Data.PagespeedApiPagespeedResponseV5>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PagespeedInsights.v5.Data.PagespeedApiPagespeedResponseV5>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PagespeedInsights.v5.Data.PagespeedApiPagespeedResponseV5>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PagespeedInsights.v5.Data.PagespeedApiPagespeedResponseV5>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PagespeedInsights.v5.Data.PagespeedApiPagespeedResponseV5>.GetBody()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PagespeedInsights.v5.Data.PagespeedApiPagespeedResponseV5>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PagespeedInsights.v5.Data.PagespeedApiPagespeedResponseV5>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PagespeedInsights.v5.Data.PagespeedApiPagespeedResponseV5>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PagespeedInsights.v5.Data.PagespeedApiPagespeedResponseV5>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PagespeedInsights.v5.Data.PagespeedApiPagespeedResponseV5>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.PagespeedInsights.v5
Assembly: Google.Apis.PagespeedInsights.v5.dll
Syntax
public class RunpagespeedRequest : PagespeedInsightsBaseServiceRequest<PagespeedApiPagespeedResponseV5>, IClientServiceRequest<PagespeedApiPagespeedResponseV5>, IClientServiceRequest

Constructors

RunpagespeedRequest(IClientService)

Constructs a new Runpagespeed request.

Declaration
public RunpagespeedRequest(IClientService service)
Parameters
Type Name Description
Google.Apis.Services.IClientService service

Properties

CaptchaToken

The captcha token passed when filling out a captcha.

Declaration
[RequestParameter("captchaToken", RequestParameterType.Query)]
public virtual string CaptchaToken { get; set; }
Property Value
Type Description
System.String

Category

A Lighthouse category to run; if none are given, only Performance category will be run

Declaration
[RequestParameter("category", RequestParameterType.Query)]
public virtual PagespeedapiResource.RunpagespeedRequest.CategoryEnum? Category { get; set; }
Property Value
Type Description
System.Nullable<PagespeedapiResource.RunpagespeedRequest.CategoryEnum>

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PagespeedInsights.v5.Data.PagespeedApiPagespeedResponseV5>.HttpMethod

Locale

The locale used to localize formatted results

Declaration
[RequestParameter("locale", RequestParameterType.Query)]
public virtual string Locale { get; set; }
Property Value
Type Description
System.String

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PagespeedInsights.v5.Data.PagespeedApiPagespeedResponseV5>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PagespeedInsights.v5.Data.PagespeedApiPagespeedResponseV5>.RestPath

Strategy

The analysis strategy (desktop or mobile) to use, and desktop is the default

Declaration
[RequestParameter("strategy", RequestParameterType.Query)]
public virtual PagespeedapiResource.RunpagespeedRequest.StrategyEnum? Strategy { get; set; }
Property Value
Type Description
System.Nullable<PagespeedapiResource.RunpagespeedRequest.StrategyEnum>

Url

The URL to fetch and analyze

Declaration
[RequestParameter("url", RequestParameterType.Query)]
public virtual string Url { get; set; }
Property Value
Type Description
System.String

UtmCampaign

Campaign name for analytics.

Declaration
[RequestParameter("utm_campaign", RequestParameterType.Query)]
public virtual string UtmCampaign { get; set; }
Property Value
Type Description
System.String

UtmSource

Campaign source for analytics.

Declaration
[RequestParameter("utm_source", RequestParameterType.Query)]
public virtual string UtmSource { get; set; }
Property Value
Type Description
System.String

Methods

InitParameters()

Initializes Runpagespeed parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.PagespeedInsights.v5.PagespeedInsightsBaseServiceRequest<Google.Apis.PagespeedInsights.v5.Data.PagespeedApiPagespeedResponseV5>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
Back to top