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