Show / Hide Table of Contents

Class ManagementResource.GoalsResource.InsertRequest

Create a new goal.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Goal>
AnalyticsBaseServiceRequest<Goal>
ManagementResource.GoalsResource.InsertRequest
Implements
IClientServiceRequest<Goal>
IClientServiceRequest
Inherited Members
AnalyticsBaseServiceRequest<Goal>.Alt
AnalyticsBaseServiceRequest<Goal>.Fields
AnalyticsBaseServiceRequest<Goal>.Key
AnalyticsBaseServiceRequest<Goal>.OauthToken
AnalyticsBaseServiceRequest<Goal>.PrettyPrint
AnalyticsBaseServiceRequest<Goal>.QuotaUser
AnalyticsBaseServiceRequest<Goal>.UserIp
ClientServiceRequest<Goal>.Execute()
ClientServiceRequest<Goal>.ExecuteAsStream()
ClientServiceRequest<Goal>.ExecuteAsync()
ClientServiceRequest<Goal>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Goal>.ExecuteAsStreamAsync()
ClientServiceRequest<Goal>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Goal>.CreateRequest(bool?)
ClientServiceRequest<Goal>.GenerateRequestUri()
ClientServiceRequest<Goal>.GetDefaultETagAction(string)
ClientServiceRequest<Goal>.ETagAction
ClientServiceRequest<Goal>.ModifyRequest
ClientServiceRequest<Goal>.ValidateParameters
ClientServiceRequest<Goal>.RequestParameters
ClientServiceRequest<Goal>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Analytics.v3
Assembly: Google.Apis.Analytics.v3.dll
Syntax
public class ManagementResource.GoalsResource.InsertRequest : AnalyticsBaseServiceRequest<Goal>, IClientServiceRequest<Goal>, IClientServiceRequest

Constructors

InsertRequest(IClientService, Goal, string, string, string)

Constructs a new Insert request.

Declaration
public InsertRequest(IClientService service, Goal body, string accountId, string webPropertyId, string profileId)
Parameters
Type Name Description
IClientService service
Goal body
string accountId
string webPropertyId
string profileId

Properties

AccountId

Account ID to create the goal for.

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

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
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
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Goal>.MethodName

ProfileId

View (Profile) ID to create the goal for.

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

RestPath

Gets the REST path.

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

WebPropertyId

Web property ID to create the goal for.

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

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Insert parameter list.

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

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX