Class ManagementResource.ProfilesResource
The "profiles" collection of methods.
Inherited Members
Namespace: Google.Apis.Analytics.v3
Assembly: Google.Apis.Analytics.v3.dll
Syntax
public class ManagementResource.ProfilesResource
Constructors
ProfilesResource(IClientService)
Constructs a new resource.
Declaration
public ProfilesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(string, string, string)
Deletes a view (profile).
Declaration
public virtual ManagementResource.ProfilesResource.DeleteRequest Delete(string accountId, string webPropertyId, string profileId)
Parameters
Type | Name | Description |
---|---|---|
string | accountId | Account ID to delete the view (profile) for. |
string | webPropertyId | Web property ID to delete the view (profile) for. |
string | profileId | ID of the view (profile) to be deleted. |
Returns
Type | Description |
---|---|
ManagementResource.ProfilesResource.DeleteRequest |
Get(string, string, string)
Gets a view (profile) to which the user has access.
Declaration
public virtual ManagementResource.ProfilesResource.GetRequest Get(string accountId, string webPropertyId, string profileId)
Parameters
Type | Name | Description |
---|---|---|
string | accountId | Account ID to retrieve the view (profile) for. |
string | webPropertyId | Web property ID to retrieve the view (profile) for. |
string | profileId | View (Profile) ID to retrieve the view (profile) for. |
Returns
Type | Description |
---|---|
ManagementResource.ProfilesResource.GetRequest |
Insert(Profile, string, string)
Create a new view (profile).
Declaration
public virtual ManagementResource.ProfilesResource.InsertRequest Insert(Profile body, string accountId, string webPropertyId)
Parameters
Type | Name | Description |
---|---|---|
Profile | body | The body of the request. |
string | accountId | Account ID to create the view (profile) for. |
string | webPropertyId | Web property ID to create the view (profile) for. |
Returns
Type | Description |
---|---|
ManagementResource.ProfilesResource.InsertRequest |
List(string, string)
Lists views (profiles) to which the user has access.
Declaration
public virtual ManagementResource.ProfilesResource.ListRequest List(string accountId, string webPropertyId)
Parameters
Type | Name | Description |
---|---|---|
string | accountId | Account ID for the view (profiles) to retrieve. Can either be a specific account ID or '~all', which refers to all the accounts to which the user has access. |
string | webPropertyId | Web property ID for the views (profiles) to retrieve. Can either be a specific web property ID or '~all', which refers to all the web properties to which the user has access. |
Returns
Type | Description |
---|---|
ManagementResource.ProfilesResource.ListRequest |
Patch(Profile, string, string, string)
Updates an existing view (profile). This method supports patch semantics.
Declaration
public virtual ManagementResource.ProfilesResource.PatchRequest Patch(Profile body, string accountId, string webPropertyId, string profileId)
Parameters
Type | Name | Description |
---|---|---|
Profile | body | The body of the request. |
string | accountId | Account ID to which the view (profile) belongs |
string | webPropertyId | Web property ID to which the view (profile) belongs |
string | profileId | ID of the view (profile) to be updated. |
Returns
Type | Description |
---|---|
ManagementResource.ProfilesResource.PatchRequest |
Update(Profile, string, string, string)
Updates an existing view (profile).
Declaration
public virtual ManagementResource.ProfilesResource.UpdateRequest Update(Profile body, string accountId, string webPropertyId, string profileId)
Parameters
Type | Name | Description |
---|---|---|
Profile | body | The body of the request. |
string | accountId | Account ID to which the view (profile) belongs |
string | webPropertyId | Web property ID to which the view (profile) belongs |
string | profileId | ID of the view (profile) to be updated. |
Returns
Type | Description |
---|---|
ManagementResource.ProfilesResource.UpdateRequest |