Show / Hide Table of Contents

Class SubaccountsResource

The "subaccounts" collection of methods.

Inheritance
object
SubaccountsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dfareporting.v3_5
Assembly: Google.Apis.Dfareporting.v3_5.dll
Syntax
public class SubaccountsResource

Constructors

SubaccountsResource(IClientService)

Constructs a new resource.

Declaration
public SubaccountsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Get(long, long)

Gets one subaccount by ID.

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

User profile ID associated with this request.

long id

Subaccount ID.

Returns
Type Description
SubaccountsResource.GetRequest

Insert(Subaccount, long)

Inserts a new subaccount.

Declaration
public virtual SubaccountsResource.InsertRequest Insert(Subaccount body, long profileId)
Parameters
Type Name Description
Subaccount body

The body of the request.

long profileId

User profile ID associated with this request.

Returns
Type Description
SubaccountsResource.InsertRequest

List(long)

Gets a list of subaccounts, possibly filtered. This method supports paging.

Declaration
public virtual SubaccountsResource.ListRequest List(long profileId)
Parameters
Type Name Description
long profileId

User profile ID associated with this request.

Returns
Type Description
SubaccountsResource.ListRequest

Patch(Subaccount, long, long)

Updates an existing subaccount. This method supports patch semantics.

Declaration
public virtual SubaccountsResource.PatchRequest Patch(Subaccount body, long profileId, long id)
Parameters
Type Name Description
Subaccount body

The body of the request.

long profileId

User profile ID associated with this request.

long id

Subaccount ID.

Returns
Type Description
SubaccountsResource.PatchRequest

Update(Subaccount, long)

Updates an existing subaccount.

Declaration
public virtual SubaccountsResource.UpdateRequest Update(Subaccount body, long profileId)
Parameters
Type Name Description
Subaccount body

The body of the request.

long profileId

User profile ID associated with this request.

Returns
Type Description
SubaccountsResource.UpdateRequest
In This Article
Back to top Generated by DocFX