Class SubaccountsResource
The "subaccounts" collection of methods.
Inheritance
System.Object
SubaccountsResource
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 SubaccountsResource
Constructors
SubaccountsResource(IClientService)
Constructs a new resource.
Declaration
public SubaccountsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service |
Methods
Get(Int64, Int64)
Gets one subaccount by ID.
Declaration
public virtual SubaccountsResource.GetRequest Get(long profileId, long id)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | profileId | User profile ID associated with this request. |
System.Int64 | id | Subaccount ID. |
Returns
Type | Description |
---|---|
SubaccountsResource.GetRequest |
Insert(Subaccount, Int64)
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. |
System.Int64 | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
SubaccountsResource.InsertRequest |
List(Int64)
Gets a list of subaccounts, possibly filtered. This method supports paging.
Declaration
public virtual SubaccountsResource.ListRequest List(long profileId)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
SubaccountsResource.ListRequest |
Patch(Subaccount, Int64, Int64)
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. |
System.Int64 | profileId | User profile ID associated with this request. |
System.Int64 | id | Subaccount ID. |
Returns
Type | Description |
---|---|
SubaccountsResource.PatchRequest |
Update(Subaccount, Int64)
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. |
System.Int64 | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
SubaccountsResource.UpdateRequest |