Show / Hide Table of Contents

Class ManagementResource.GoalsResource.UpdateRequest

Updates an existing goal.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<Goal>
AnalyticsBaseServiceRequest<Goal>
ManagementResource.GoalsResource.UpdateRequest
Implements
Google.Apis.Requests.IClientServiceRequest<Goal>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
AnalyticsBaseServiceRequest<Goal>.Alt
AnalyticsBaseServiceRequest<Goal>.Fields
AnalyticsBaseServiceRequest<Goal>.Key
AnalyticsBaseServiceRequest<Goal>.OauthToken
AnalyticsBaseServiceRequest<Goal>.PrettyPrint
AnalyticsBaseServiceRequest<Goal>.QuotaUser
AnalyticsBaseServiceRequest<Goal>.UserIp
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Goal>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Goal>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Goal>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Goal>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Goal>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Goal>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Goal>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Goal>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Goal>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Goal>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Goal>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Goal>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Goal>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Goal>.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.Analytics.v3
Assembly: Google.Apis.Analytics.v3.dll
Syntax
public class UpdateRequest : AnalyticsBaseServiceRequest<Goal>, IClientServiceRequest<Goal>, IClientServiceRequest

Constructors

UpdateRequest(IClientService, Goal, String, String, String, String)

Constructs a new Update request.

Declaration
public UpdateRequest(IClientService service, Goal body, string accountId, string webPropertyId, string profileId, string goalId)
Parameters
Type Name Description
Google.Apis.Services.IClientService service
Goal body
System.String accountId
System.String webPropertyId
System.String profileId
System.String goalId

Properties

AccountId

Account ID to update the goal.

Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual string AccountId { get; }
Property Value
Type Description
System.String

GoalId

Index of the goal to be updated.

Declaration
[RequestParameter("goalId", RequestParameterType.Path)]
public virtual string GoalId { get; }
Property Value
Type Description
System.String

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

ProfileId

View (Profile) ID to update the goal.

Declaration
[RequestParameter("profileId", RequestParameterType.Path)]
public virtual string ProfileId { get; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

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

WebPropertyId

Web property ID to update the goal.

Declaration
[RequestParameter("webPropertyId", RequestParameterType.Path)]
public virtual string WebPropertyId { get; }
Property Value
Type Description
System.String

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Goal>.GetBody()

InitParameters()

Initializes Update parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Analytics.v3.AnalyticsBaseServiceRequest<Google.Apis.Analytics.v3.Data.Goal>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top