Class PlacementsResource.PatchRequest
Updates an existing placement. This method supports patch semantics.
Inheritance
PlacementsResource.PatchRequest
Inherited Members
Namespace: Google.Apis.Dfareporting.v4
Assembly: Google.Apis.Dfareporting.v4.dll
Syntax
public class PlacementsResource.PatchRequest : DfareportingBaseServiceRequest<Placement>, IClientServiceRequest<Placement>, IClientServiceRequest
Constructors
PatchRequest(IClientService, Placement, long, long)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, Placement body, long profileId, long id)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Placement | body | |
long | profileId | |
long | id |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Id
Required. Placement ID.
Declaration
[RequestParameter("id", RequestParameterType.Query)]
public virtual long Id { get; }
Property Value
Type | Description |
---|---|
long |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ProfileId
User profile ID associated with this request.
Declaration
[RequestParameter("profileId", RequestParameterType.Path)]
public virtual long ProfileId { get; }
Property Value
Type | Description |
---|---|
long |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()