Class AccountsResource
The "accounts" collection of methods.
Inheritance
object
AccountsResource
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 AccountsResource
Constructors
AccountsResource(IClientService)
Constructs a new resource.
Declaration
public AccountsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Get(long, long)
Gets one account by ID.
Declaration
public virtual AccountsResource.GetRequest Get(long profileId, long id)
Parameters
Type | Name | Description |
---|---|---|
long | profileId | User profile ID associated with this request. |
long | id | Account ID. |
Returns
Type | Description |
---|---|
AccountsResource.GetRequest |
List(long)
Retrieves the list of accounts, possibly filtered. This method supports paging.
Declaration
public virtual AccountsResource.ListRequest List(long profileId)
Parameters
Type | Name | Description |
---|---|---|
long | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
AccountsResource.ListRequest |
Patch(Account, long, long)
Updates an existing account. This method supports patch semantics.
Declaration
public virtual AccountsResource.PatchRequest Patch(Account body, long profileId, long id)
Parameters
Type | Name | Description |
---|---|---|
Account | body | The body of the request. |
long | profileId | User profile ID associated with this request. |
long | id | Account ID. |
Returns
Type | Description |
---|---|
AccountsResource.PatchRequest |
Update(Account, long)
Updates an existing account.
Declaration
public virtual AccountsResource.UpdateRequest Update(Account body, long profileId)
Parameters
Type | Name | Description |
---|---|---|
Account | body | The body of the request. |
long | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
AccountsResource.UpdateRequest |