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