Class DirectorySitesResource
The "directorySites" collection of methods.
Inherited Members
Namespace: Google.Apis.Dfareporting.v4
Assembly: Google.Apis.Dfareporting.v4.dll
Syntax
public class DirectorySitesResource
Constructors
DirectorySitesResource(IClientService)
Constructs a new resource.
Declaration
public DirectorySitesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Get(long, long)
Gets one directory site by ID.
Declaration
public virtual DirectorySitesResource.GetRequest Get(long profileId, long id)
Parameters
Type | Name | Description |
---|---|---|
long | profileId | User profile ID associated with this request. |
long | id | Directory site ID. |
Returns
Type | Description |
---|---|
DirectorySitesResource.GetRequest |
Insert(DirectorySite, long)
Inserts a new directory site.
Declaration
public virtual DirectorySitesResource.InsertRequest Insert(DirectorySite body, long profileId)
Parameters
Type | Name | Description |
---|---|---|
DirectorySite | body | The body of the request. |
long | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
DirectorySitesResource.InsertRequest |
List(long)
Retrieves a list of directory sites, possibly filtered. This method supports paging.
Declaration
public virtual DirectorySitesResource.ListRequest List(long profileId)
Parameters
Type | Name | Description |
---|---|---|
long | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
DirectorySitesResource.ListRequest |