Class ManagementResource.GoalsResource.ListRequest
Lists goals to which the user has access.
Inheritance
Inherited Members
Namespace: Google.Apis.Analytics.v3
Assembly: Google.Apis.Analytics.v3.dll
Syntax
public class ManagementResource.GoalsResource.ListRequest : AnalyticsBaseServiceRequest<Goals>, IClientServiceRequest<Goals>, IClientServiceRequest
Constructors
ListRequest(IClientService, string, string, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string accountId, string webPropertyId, string profileId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | accountId | |
string | webPropertyId | |
string | profileId |
Properties
AccountId
Account ID to retrieve goals for. Can either be a specific account ID or '~all', which refers to all the accounts that user has access to.
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
MaxResults
The maximum number of goals to include in this response.
Declaration
[RequestParameter("max-results", RequestParameterType.Query)]
public virtual int? MaxResults { get; set; }
Property Value
Type | Description |
---|---|
int? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ProfileId
View (Profile) ID to retrieve goals for. Can either be a specific view (profile) ID or '~all', which refers to all the views (profiles) that user has access to.
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
StartIndex
An index of the first goal to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
Declaration
[RequestParameter("start-index", RequestParameterType.Query)]
public virtual int? StartIndex { get; set; }
Property Value
Type | Description |
---|---|
int? |
WebPropertyId
Web property ID to retrieve goals for. Can either be a specific web property ID or '~all', which refers to all the web properties that user has access to.
Declaration
[RequestParameter("webPropertyId", RequestParameterType.Path)]
public virtual string WebPropertyId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()