Class ContentCategoriesResource
The "contentCategories" collection of methods.
Inherited Members
Namespace: Google.Apis.Dfareporting.v4
Assembly: Google.Apis.Dfareporting.v4.dll
Syntax
public class ContentCategoriesResource
Constructors
ContentCategoriesResource(IClientService)
Constructs a new resource.
Declaration
public ContentCategoriesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(long, long)
Deletes an existing content category.
Declaration
public virtual ContentCategoriesResource.DeleteRequest Delete(long profileId, long id)
Parameters
Type | Name | Description |
---|---|---|
long | profileId | User profile ID associated with this request. |
long | id | Content category ID. |
Returns
Type | Description |
---|---|
ContentCategoriesResource.DeleteRequest |
Get(long, long)
Gets one content category by ID.
Declaration
public virtual ContentCategoriesResource.GetRequest Get(long profileId, long id)
Parameters
Type | Name | Description |
---|---|---|
long | profileId | User profile ID associated with this request. |
long | id | Content category ID. |
Returns
Type | Description |
---|---|
ContentCategoriesResource.GetRequest |
Insert(ContentCategory, long)
Inserts a new content category.
Declaration
public virtual ContentCategoriesResource.InsertRequest Insert(ContentCategory body, long profileId)
Parameters
Type | Name | Description |
---|---|---|
ContentCategory | body | The body of the request. |
long | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
ContentCategoriesResource.InsertRequest |
List(long)
Retrieves a list of content categories, possibly filtered. This method supports paging.
Declaration
public virtual ContentCategoriesResource.ListRequest List(long profileId)
Parameters
Type | Name | Description |
---|---|---|
long | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
ContentCategoriesResource.ListRequest |
Patch(ContentCategory, long, long)
Updates an existing content category. This method supports patch semantics.
Declaration
public virtual ContentCategoriesResource.PatchRequest Patch(ContentCategory body, long profileId, long id)
Parameters
Type | Name | Description |
---|---|---|
ContentCategory | body | The body of the request. |
long | profileId | User profile ID associated with this request. |
long | id | Required. ContentCategory ID. |
Returns
Type | Description |
---|---|
ContentCategoriesResource.PatchRequest |
Update(ContentCategory, long)
Updates an existing content category.
Declaration
public virtual ContentCategoriesResource.UpdateRequest Update(ContentCategory body, long profileId)
Parameters
Type | Name | Description |
---|---|---|
ContentCategory | body | The body of the request. |
long | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
ContentCategoriesResource.UpdateRequest |