Class GuaranteedOrdersResource.PatchRequest
Updates an existing guaranteed order. Returns the updated guaranteed order if successful.
Inheritance
GuaranteedOrdersResource.PatchRequest
Inherited Members
Namespace: Google.Apis.DisplayVideo.v1
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class GuaranteedOrdersResource.PatchRequest : DisplayVideoBaseServiceRequest<GuaranteedOrder>, IClientServiceRequest<GuaranteedOrder>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GuaranteedOrder, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GuaranteedOrder body, string guaranteedOrderId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GuaranteedOrder | body | |
string | guaranteedOrderId |
Properties
AdvertiserId
The ID of the advertiser that the request is being made within.
Declaration
[RequestParameter("advertiserId", RequestParameterType.Query)]
public virtual long? AdvertiserId { get; set; }
Property Value
Type | Description |
---|---|
long? |
GuaranteedOrderId
Output only. The unique identifier of the guaranteed order. The guaranteed order IDs have the format
{exchange}-{legacy_guaranteed_order_id}
.
Declaration
[RequestParameter("guaranteedOrderId", RequestParameterType.Path)]
public virtual string GuaranteedOrderId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.GuaranteedOrder>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.GuaranteedOrder>.MethodName
PartnerId
The ID of the partner that the request is being made within.
Declaration
[RequestParameter("partnerId", RequestParameterType.Query)]
public virtual long? PartnerId { get; set; }
Property Value
Type | Description |
---|---|
long? |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.GuaranteedOrder>.RestPath
UpdateMask
Required. The mask to control which fields to update.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.GuaranteedOrder>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()