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 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 | |
| System.String | accountId | |
| System.String | webPropertyId | |
| System.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 |
|---|---|
| System.String |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.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 |
|---|---|
| System.Nullable<System.Int32> |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.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 |
|---|---|
| System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.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 |
|---|---|
| System.Nullable<System.Int32> |
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 |
|---|---|
| System.String |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()