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