Class SubaccountsResource
The "subaccounts" collection of methods.
Inherited Members
Namespace: Google.Apis.Dfareporting.v4
Assembly: Google.Apis.Dfareporting.v4.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 | Required. 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 |