Class ManagementResource.GoalsResource.GetRequest
Gets a goal to which the user has access.
Inheritance
ManagementResource.GoalsResource.GetRequest
Inherited Members
Namespace: Google.Apis.Analytics.v3
Assembly: Google.Apis.Analytics.v3.dll
Syntax
public class ManagementResource.GoalsResource.GetRequest : AnalyticsBaseServiceRequest<Goal>, IClientServiceRequest<Goal>, IClientServiceRequest
Constructors
GetRequest(IClientService, string, string, string, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string accountId, string webPropertyId, string profileId, string goalId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | accountId | |
string | webPropertyId | |
string | profileId | |
string | goalId |
Properties
AccountId
Account ID to retrieve the goal for.
Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual string AccountId { get; }
Property Value
Type | Description |
---|---|
string |
GoalId
Goal ID to retrieve the goal for.
Declaration
[RequestParameter("goalId", RequestParameterType.Path)]
public virtual string GoalId { 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 retrieve 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 retrieve the goal for.
Declaration
[RequestParameter("webPropertyId", RequestParameterType.Path)]
public virtual string WebPropertyId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()