Show / Hide Table of Contents

Class Trigger

Inheritance
object
Trigger
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudSearch.v1.Data
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class Trigger : IDirectResponseSchema

Properties

ActionType

Each dispatcher should use an enum to for the actions that it supports. If a dispatcher has only one action, this does not need to be set. (It can be expanded later, defining the default behaviour as type 0.) For purposes such as batching, the type of a trigger is (dispatcher, action_type).

Declaration
[JsonProperty("actionType")]
public virtual long? ActionType { get; set; }
Property Value
Type Description
long?

BatchTimeUs

Maximum possible delay in micros that can be tolerated so triggers can be batched, which makes processing more efficient compared to firing triggers individually. Note that the actual fire time will be somewhere in the timerange interval [fire_time_us, fire_time_us + batch_time_us).

Declaration
[JsonProperty("batchTimeUs")]
public virtual long? BatchTimeUs { get; set; }
Property Value
Type Description
long?

Dispatcher

Which server should interpret action_type.

Declaration
[JsonProperty("dispatcher")]
public virtual string Dispatcher { get; set; }
Property Value
Type Description
string

DispatchId

Must be set for DISPATCHER_STUBBY_DISPATCHER.

Declaration
[JsonProperty("dispatchId")]
public virtual long? DispatchId { get; set; }
Property Value
Type Description
long?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

FireTimeUs

Earliest time to fire at in microseconds. The actual time that the trigger will fire will be in the timerange: [fire_time_us, fire_time_us + batch_time_us).

Declaration
[JsonProperty("fireTimeUs")]
public virtual long? FireTimeUs { get; set; }
Property Value
Type Description
long?

JobsettedServerSpec

Must be set for DISPATCHER_JOBSETTED_PRIMARY.

Declaration
[JsonProperty("jobsettedServerSpec")]
public virtual JobsettedServerSpec JobsettedServerSpec { get; set; }
Property Value
Type Description
JobsettedServerSpec

Key

The trigger key, if applicable.

Declaration
[JsonProperty("key")]
public virtual string Key { get; set; }
Property Value
Type Description
string

RpcOptions

Declaration
[JsonProperty("rpcOptions")]
public virtual RpcOptions RpcOptions { get; set; }
Property Value
Type Description
RpcOptions

SliceFireTimeUs

The slice_fire_time_us is automatically computed and stored as part of the trigger write. It represents the exact fire time at which the trigger will be queued to fire and will satisfy fire_time_us < slice_fire_time_us <= fire_time_us + batch_time_us Triggers have an index row in the slice trigger index with the row prefix matching this time. Note that this field is internal to gmail_cp and is ignored if set by external clients when adding / updating triggers.

Declaration
[JsonProperty("sliceFireTimeUs")]
public virtual long? SliceFireTimeUs { get; set; }
Property Value
Type Description
long?

TriggerAction

Trigger action to perform. This should always be set.

Declaration
[JsonProperty("triggerAction")]
public virtual TriggerAction TriggerAction { get; set; }
Property Value
Type Description
TriggerAction

TriggerKey

The TriggerKey will uniquely determine a trigger within a given context. A context is a single message for message triggers or a single account for account triggers.

Declaration
[JsonProperty("triggerKey")]
public virtual TriggerKey TriggerKey { get; set; }
Property Value
Type Description
TriggerKey

Implements

IDirectResponseSchema
In This Article
Back to top Generated by DocFX