Show / Hide Table of Contents

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.AdExchangeBuyer.v1_4
Assembly: Google.Apis.AdExchangeBuyer.v1_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(Int32)

Gets one account by ID.

Declaration
public virtual AccountsResource.GetRequest Get(int id)
Parameters
Type Name Description
System.Int32 id

The account id

Returns
Type Description
AccountsResource.GetRequest

List()

Retrieves the authenticated user's list of accounts.

Declaration
public virtual AccountsResource.ListRequest List()
Returns
Type Description
AccountsResource.ListRequest

Patch(Account, Int32)

Updates an existing account. This method supports patch semantics.

Declaration
public virtual AccountsResource.PatchRequest Patch(Account body, int id)
Parameters
Type Name Description
Account body

The body of the request.

System.Int32 id

The account id

Returns
Type Description
AccountsResource.PatchRequest

Update(Account, Int32)

Updates an existing account.

Declaration
public virtual AccountsResource.UpdateRequest Update(Account body, int id)
Parameters
Type Name Description
Account body

The body of the request.

System.Int32 id

The account id

Returns
Type Description
AccountsResource.UpdateRequest
In This Article
Back to top