Class AdvertisersResource.ManualTriggersResource.ActivateRequest
Activates a manual trigger. Each activation of the manual trigger must be at least 5 minutes apart, otherwise an error will be returned.
Inheritance
System.Object
AdvertisersResource.ManualTriggersResource.ActivateRequest
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.DisplayVideo.v1
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class ActivateRequest : DisplayVideoBaseServiceRequest<ManualTrigger>, IClientServiceRequest<ManualTrigger>, IClientServiceRequest
Constructors
ActivateRequest(IClientService, ActivateManualTriggerRequest, Int64, Int64)
Constructs a new Activate request.
Declaration
public ActivateRequest(IClientService service, ActivateManualTriggerRequest body, long advertiserId, long triggerId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ActivateManualTriggerRequest | body | |
System.Int64 | advertiserId | |
System.Int64 | triggerId |
Properties
AdvertiserId
Required. The ID of the advertiser that the manual trigger belongs.
Declaration
[RequestParameter("advertiserId", RequestParameterType.Path)]
public virtual long AdvertiserId { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.ManualTrigger>.RestPath
TriggerId
Required. The ID of the manual trigger to activate.
Declaration
[RequestParameter("triggerId", RequestParameterType.Path)]
public virtual long TriggerId { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.ManualTrigger>.GetBody()
InitParameters()
Initializes Activate parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.DisplayVideo.v1.DisplayVideoBaseServiceRequest<Google.Apis.DisplayVideo.v1.Data.ManualTrigger>.InitParameters()