Class ManagementResource.FiltersResource
The "filters" collection of methods.
Inherited Members
Namespace: Google.Apis.Analytics.v3
Assembly: Google.Apis.Analytics.v3.dll
Syntax
public class ManagementResource.FiltersResource
Constructors
FiltersResource(IClientService)
Constructs a new resource.
Declaration
public FiltersResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(string, string)
Delete a filter.
Declaration
public virtual ManagementResource.FiltersResource.DeleteRequest Delete(string accountId, string filterId)
Parameters
Type | Name | Description |
---|---|---|
string | accountId | Account ID to delete the filter for. |
string | filterId | ID of the filter to be deleted. |
Returns
Type | Description |
---|---|
ManagementResource.FiltersResource.DeleteRequest |
Get(string, string)
Returns filters to which the user has access.
Declaration
public virtual ManagementResource.FiltersResource.GetRequest Get(string accountId, string filterId)
Parameters
Type | Name | Description |
---|---|---|
string | accountId | Account ID to retrieve filters for. |
string | filterId | Filter ID to retrieve filters for. |
Returns
Type | Description |
---|---|
ManagementResource.FiltersResource.GetRequest |
Insert(Filter, string)
Create a new filter.
Declaration
public virtual ManagementResource.FiltersResource.InsertRequest Insert(Filter body, string accountId)
Parameters
Type | Name | Description |
---|---|---|
Filter | body | The body of the request. |
string | accountId | Account ID to create filter for. |
Returns
Type | Description |
---|---|
ManagementResource.FiltersResource.InsertRequest |
List(string)
Lists all filters for an account
Declaration
public virtual ManagementResource.FiltersResource.ListRequest List(string accountId)
Parameters
Type | Name | Description |
---|---|---|
string | accountId | Account ID to retrieve filters for. |
Returns
Type | Description |
---|---|
ManagementResource.FiltersResource.ListRequest |
Patch(Filter, string, string)
Updates an existing filter. This method supports patch semantics.
Declaration
public virtual ManagementResource.FiltersResource.PatchRequest Patch(Filter body, string accountId, string filterId)
Parameters
Type | Name | Description |
---|---|---|
Filter | body | The body of the request. |
string | accountId | Account ID to which the filter belongs. |
string | filterId | ID of the filter to be updated. |
Returns
Type | Description |
---|---|
ManagementResource.FiltersResource.PatchRequest |
Update(Filter, string, string)
Updates an existing filter.
Declaration
public virtual ManagementResource.FiltersResource.UpdateRequest Update(Filter body, string accountId, string filterId)
Parameters
Type | Name | Description |
---|---|---|
Filter | body | The body of the request. |
string | accountId | Account ID to which the filter belongs. |
string | filterId | ID of the filter to be updated. |
Returns
Type | Description |
---|---|
ManagementResource.FiltersResource.UpdateRequest |