Show / Hide Table of Contents

Class ContentCategoriesResource

The "contentCategories" collection of methods.

Inheritance
System.Object
ContentCategoriesResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Dfareporting.v3_4
Assembly: Google.Apis.Dfareporting.v3_4.dll
Syntax
public class ContentCategoriesResource

Constructors

ContentCategoriesResource(IClientService)

Constructs a new resource.

Declaration
public ContentCategoriesResource(IClientService service)
Parameters
Type Name Description
Google.Apis.Services.IClientService service

Methods

Delete(Int64, Int64)

Deletes an existing content category.

Declaration
public virtual ContentCategoriesResource.DeleteRequest Delete(long profileId, long id)
Parameters
Type Name Description
System.Int64 profileId

User profile ID associated with this request.

System.Int64 id

Content category ID.

Returns
Type Description
ContentCategoriesResource.DeleteRequest

Get(Int64, Int64)

Gets one content category by ID.

Declaration
public virtual ContentCategoriesResource.GetRequest Get(long profileId, long id)
Parameters
Type Name Description
System.Int64 profileId

User profile ID associated with this request.

System.Int64 id

Content category ID.

Returns
Type Description
ContentCategoriesResource.GetRequest

Insert(ContentCategory, Int64)

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.

System.Int64 profileId

User profile ID associated with this request.

Returns
Type Description
ContentCategoriesResource.InsertRequest

List(Int64)

Retrieves a list of content categories, possibly filtered. This method supports paging.

Declaration
public virtual ContentCategoriesResource.ListRequest List(long profileId)
Parameters
Type Name Description
System.Int64 profileId

User profile ID associated with this request.

Returns
Type Description
ContentCategoriesResource.ListRequest

Patch(ContentCategory, Int64, Int64)

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.

System.Int64 profileId

User profile ID associated with this request.

System.Int64 id

ContentCategory ID.

Returns
Type Description
ContentCategoriesResource.PatchRequest

Update(ContentCategory, Int64)

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.

System.Int64 profileId

User profile ID associated with this request.

Returns
Type Description
ContentCategoriesResource.UpdateRequest
In This Article
Back to top