Class AdvertisersResource.ManualTriggersResource.PatchRequest
Updates a manual trigger. Returns the updated manual trigger if successful. Warning: Line Items using manual triggers no longer serve in Display & Video 360. This method will sunset on August 1, 2023. Read our feature deprecation announcement for more information.
Inheritance
AdvertisersResource.ManualTriggersResource.PatchRequest
Inherited Members
Namespace: Google.Apis.DisplayVideo.v1
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class AdvertisersResource.ManualTriggersResource.PatchRequest : DisplayVideoBaseServiceRequest<ManualTrigger>, IClientServiceRequest<ManualTrigger>, IClientServiceRequest
Constructors
PatchRequest(IClientService, ManualTrigger, long, long)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, ManualTrigger body, long advertiserId, long triggerId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ManualTrigger | body | |
long | advertiserId | |
long | triggerId |
Properties
AdvertiserId
Required. Immutable. The unique ID of the advertiser that the manual trigger belongs to.
Declaration
[RequestParameter("advertiserId", RequestParameterType.Path)]
public virtual long AdvertiserId { get; }
Property Value
Type | Description |
---|---|
long |
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.ManualTrigger>.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.ManualTrigger>.MethodName
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.ManualTrigger>.RestPath
TriggerId
Output only. The unique ID of the manual trigger.
Declaration
[RequestParameter("triggerId", RequestParameterType.Path)]
public virtual long TriggerId { get; }
Property Value
Type | Description |
---|---|
long |
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.ManualTrigger>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()